Rev | Line | |
---|
[34] | 1 | AS = $(CROSS_COMPILE)as |
---|
| 2 | LD = $(CROSS_COMPILE)ld |
---|
| 3 | CC = $(CROSS_COMPILE)gcc |
---|
| 4 | CPP = $(CC) -E |
---|
| 5 | AR = $(CROSS_COMPILE)ar |
---|
| 6 | RANLIB = $(CROSS_COMPILE)ranlib |
---|
| 7 | NM = $(CROSS_COMPILE)nm |
---|
| 8 | STRIP = $(CROSS_COMPILE)strip |
---|
| 9 | OBJCOPY = $(CROSS_COMPILE)objcopy |
---|
| 10 | OBJDUMP = $(CROSS_COMPILE)objdump |
---|
| 11 | |
---|
| 12 | MSGFMT = msgfmt |
---|
| 13 | MSGMERGE = msgmerge |
---|
| 14 | |
---|
| 15 | INSTALL = install |
---|
| 16 | INSTALL_DIR = $(INSTALL) -d -m0755 -p |
---|
| 17 | INSTALL_DATA = $(INSTALL) -m0644 -p |
---|
| 18 | INSTALL_PROG = $(INSTALL) -m0755 -p |
---|
| 19 | |
---|
| 20 | LIB64DIR = lib64 |
---|
| 21 | |
---|
| 22 | SOCKET_LIBS = |
---|
| 23 | CURSES_LIBS = -lncurses |
---|
| 24 | SONAME_LDFLAG = -soname |
---|
| 25 | SHLIB_CFLAGS = -shared |
---|
| 26 | |
---|
| 27 | ifneq ($(debug),y) |
---|
| 28 | # Optimisation flags are overridable |
---|
| 29 | CFLAGS ?= -O2 -fomit-frame-pointer |
---|
| 30 | else |
---|
| 31 | # Less than -O1 produces bad code and large stack frames |
---|
| 32 | CFLAGS ?= -O1 -fno-omit-frame-pointer |
---|
| 33 | endif |
---|
Note: See
TracBrowser
for help on using the repository browser.