1999-12-06 05:15:58 +00:00
|
|
|
--- Makefile.orig Thu Sep 23 10:18:18 1999
|
2000-04-25 08:04:55 +00:00
|
|
|
+++ Makefile Tue Apr 25 00:30:11 2000
|
1999-12-06 05:15:58 +00:00
|
|
|
@@ -9,12 +9,13 @@
|
1999-01-18 04:21:04 +00:00
|
|
|
# debugging
|
|
|
|
# DFLAGS = -DTEST -DDEBUG
|
1999-12-06 05:15:58 +00:00
|
|
|
DFLAGS = -DREGEX
|
1999-01-18 04:21:04 +00:00
|
|
|
-CFLAGS =-O -Wall
|
1999-12-06 05:15:58 +00:00
|
|
|
+CFLAGS ?=-O -Wall
|
1999-01-18 04:21:04 +00:00
|
|
|
XFLAGS = # xtra cflags, set by systype targets
|
|
|
|
XLIBS = # xtra libs if necessary?
|
|
|
|
# -Bstatic for sunos, -static for gcc, etc. You want this, trust me.
|
1999-04-16 10:33:19 +00:00
|
|
|
STATIC =
|
|
|
|
-CC = cc $(CFLAGS)
|
|
|
|
+CC ?= cc
|
1999-12-06 05:15:58 +00:00
|
|
|
+CC += $(CFLAGS)
|
1999-04-16 10:33:19 +00:00
|
|
|
LD = $(CC) -s # linker; defaults to stripped executables
|
|
|
|
o = o # object extension
|
|
|
|
CKTEMP_OBJS=check_tmp.o daemon.o list_utils.o usage.o
|
1999-12-06 05:15:58 +00:00
|
|
|
@@ -60,7 +61,8 @@
|
1999-04-16 10:33:19 +00:00
|
|
|
|
|
|
|
OpenBSD:
|
|
|
|
make -e $(ALL) $(MFLAGS) \
|
|
|
|
- XFLAGS='-DBSD -DREGEX -DREGCOMP_3C' CC="gcc $(CFLAGS)" STATIC=-static
|
2000-04-25 08:04:55 +00:00
|
|
|
+ XFLAGS='-DREGEX -DREGCOMP_3C' CC="$(CC) $(CFLAGS)" \
|
1999-04-16 10:33:19 +00:00
|
|
|
+ STATIC=-static
|
|
|
|
|
|
|
|
generic:
|
|
|
|
make -e $(ALL) $(MFLAGS) \
|