mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
3e9a47f55e
PR: 11432 Submitted by: maintainer
38 lines
1.6 KiB
Plaintext
38 lines
1.6 KiB
Plaintext
--- Makefile.orig Sun Jun 14 08:11:40 1998
|
|
+++ Makefile Sat May 1 14:52:37 1999
|
|
@@ -1,16 +1,16 @@
|
|
#{{{script}}}#{{{ Linux, moria machines, gcc
|
|
-CFLAGS= -g -pipe -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common
|
|
+#CFLAGS= -g -pipe -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common
|
|
# The XDR library needs _BSD_SOURCE :(
|
|
CPPFLAGS= -D_BSD_SOURCE
|
|
#CPPFLAGS= -DTHE_ELECTRIC_FENCE
|
|
#CPPFLAGS= -I/usr/dmalloc/include -DDMALLOC
|
|
-LDFLAGS= -g
|
|
+#LDFLAGS= -g
|
|
#LDFLAGS= -g -L/usr/efence/lib
|
|
#LDFLAGS= -g -L/usr/dmalloc/lib
|
|
-LIBS= -lcurses -lm
|
|
+#LIBS= -lcurses -lm
|
|
#LIBS= -lcurses -lm -lefence
|
|
#LIBS= -lcurses -lm -ldmalloc
|
|
-MAKEDEPEND= mkdep -d
|
|
+#MAKEDEPEND= mkdep -d
|
|
#}}}
|
|
#{{{ Linux, Slackware/Redhat/Debian Distribution, gcc
|
|
#CC= gcc
|
|
@@ -22,10 +22,9 @@
|
|
#MAKEDEPEND= gcc -MM
|
|
#}}}
|
|
#{{{ FreeBSD 2.x, gcc
|
|
-#CC= gcc
|
|
-#CFLAGS= -pipe -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common
|
|
-#CPPFLAGS= -I./.curses.h -DNO_POSIX_SOURCE
|
|
-#LIBS= -lncurses -lmytinfo -lm
|
|
+CC?= gcc
|
|
+CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common -I./.curses.h -DNO_POSIX_SOURCE
|
|
+LIBS= -lncurses -lmytinfo -lm
|
|
#LDFLAGS=
|
|
#MAKEDEPEND= gcc -MM
|
|
#}}}
|