summaryrefslogtreecommitdiff
path: root/Makefile.dist
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1996-08-28 01:18:37 +0000
committerTed Lemon <source@isc.org>1996-08-28 01:18:37 +0000
commit6ae5ceaa6fd25a81f5e39de8e57cab51c326e15e (patch)
treefda2c23908ad4e9b27d833cb8e3a938f2d201cab /Makefile.dist
parentd172a5e2de4c853e3aea0bf6481db6a3274c4762 (diff)
downloadisc-dhcp-6ae5ceaa6fd25a81f5e39de8e57cab51c326e15e.tar.gz
No longer need xerrwarn.o; use OLD_LEXER instead of SAVE_COMMENTS
Diffstat (limited to 'Makefile.dist')
-rw-r--r--Makefile.dist14
1 files changed, 4 insertions, 10 deletions
diff --git a/Makefile.dist b/Makefile.dist
index 727b5307..fdf6cbac 100644
--- a/Makefile.dist
+++ b/Makefile.dist
@@ -157,7 +157,7 @@ CSRC = options.c errwarn.c convert.c \
COBJ = options.o errwarn.o convert.o \
tree.o memory.o alloc.o print.o hash.o tables.o inet.o \
dispatch.o bpf.o packet.o raw.o nit.o socket.o
-XOBJ = dhcpxlt.o xconflex.o xerrwarn.o
+XOBJ = dhcpxlt.o xconflex.o
SRCS = dhcpd.c dhcp.c bootp.c conflex.c confpars.c db.c
OBJS = dhcpd.o dhcp.o bootp.o conflex.o confpars.o db.o
PROGS = dhcpd dhclient
@@ -207,25 +207,19 @@ dhcpd: $(OBJS) $(COBJ)
dhclient: dhclient.o $(COBJ)
$(CC) -o dhclient dhclient.o $(COBJ) $(LIBS)
-dhcpxlt: dhcpxlt.o xerrwarn.o convert.o tables.o inet.o xconflex.o \
+dhcpxlt: dhcpxlt.o errwarn.o convert.o tables.o inet.o xconflex.o \
hash.o alloc.o
$(CC) -o dhcpxlt \
- dhcpxlt.o xerrwarn.o convert.o tables.o inet.o xconflex.o \
+ dhcpxlt.o errwarn.o convert.o tables.o inet.o xconflex.o \
hash.o alloc.o \
$(LIBS)
xconflex.o: dhcpd.h cdefs.h osdep.h site.h $(CF) dhcp.h tree.h \
hash.h inet.h dhctoken.h conflex.c
@cp conflex.c xconflex.c
- $(CC) $(CFLAGS) -c xconflex.c -DSAVE_COMMENTS
+ $(CC) $(CFLAGS) -c xconflex.c -DOLD_LEXER
@-rm -f xconflex.c
-xerrwarn.o: dhcpd.h cdefs.h osdep.h site.h $(CF) dhcp.h tree.h \
- hash.h inet.h errwarn.c
- @cp errwarn.c xerrwarn.c
- $(CC) $(CFLAGS) -c xerrwarn.c -DDEBUG
- @-rm -f xerrwarn.c
-
# Dependencies (semi-automatically-generated)
options.o: dhcpd.h cdefs.h osdep.h site.h $(CF) dhcp.h tree.h \