Ticket #18436: GNUmakefile.diff
File GNUmakefile.diff, 1.3 KB (added by lperry (Perry Lee), 16 years ago) |
---|
-
GNUmakefile
old new 45 45 osdep-unknown.c osdep-openbsd.c osdep-freebsd.c osdep-linux.c \ 46 46 osdep-darwin.c attributes.c 47 47 48 CC?= gcc49 INCDIRS+= -I. -I-50 CFLAGS+= -DBUILD="\"$(VERSION) ($(DATE))\"" -DMETA="'${META}'"48 CC?= __CC__ 49 INCDIRS+= -I. 50 CFLAGS+= __CFLAGS__ -DBUILD="\"$(VERSION) ($(DATE))\"" -DMETA="'${META}'" 51 51 ifdef FDEBUG 52 52 CFLAGS+= -g -ggdb -DDEBUG 53 53 LDFLAGS+= -rdynamic … … 58 58 CFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare 59 59 CFLAGS+= -Wundef -Wbad-function-cast -Winline -Wcast-align 60 60 61 LDFLAGS+= 61 LDFLAGS+= __LDFLAGS__ 62 62 LIBS+= -lncurses 63 63 64 PREFIX?= /usr/local65 MANDIR?= $(PREFIX)/ man/man164 PREFIX?= __PREFIX__ 65 MANDIR?= $(PREFIX)/share/man/man1 66 66 INSTALLDIR= install -d 67 INSTALLBIN= install - g bin -o root -m 55568 INSTALLMAN= install - g bin -o root -m 44467 INSTALLBIN= install -m 555 68 INSTALLMAN= install -m 444 69 69 70 70 ifeq ($(shell uname),IRIX64) 71 71 INCDIRS+= -Icompat -I/usr/local/include/ncurses … … 89 89 endif 90 90 91 91 ifeq ($(shell uname),Darwin) 92 INCDIRS+= -Icompat93 92 SRCS+= compat/strtonum.c compat/bsd-poll.c compat/vis.c 94 93 CFLAGS+= -DNO_STRTONUM -DNO_SETRESUID -DNO_SETRESGID -DNO_SETPROCTITLE \ 95 94 -DNO_QUEUE_H -DNO_TREE_H -DBROKEN_POLL