2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-09-03 15:56:00 +00:00

No longer need xerrwarn.o; use OLD_LEXER instead of SAVE_COMMENTS

This commit is contained in:
Ted Lemon
1996-08-28 01:18:37 +00:00
parent d172a5e2de
commit 6ae5ceaa6f

View File

@@ -157,7 +157,7 @@ CSRC = options.c errwarn.c convert.c \
COBJ = options.o errwarn.o convert.o \ COBJ = options.o errwarn.o convert.o \
tree.o memory.o alloc.o print.o hash.o tables.o inet.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 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 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 OBJS = dhcpd.o dhcp.o bootp.o conflex.o confpars.o db.o
PROGS = dhcpd dhclient PROGS = dhcpd dhclient
@@ -207,25 +207,19 @@ dhcpd: $(OBJS) $(COBJ)
dhclient: dhclient.o $(COBJ) dhclient: dhclient.o $(COBJ)
$(CC) -o dhclient dhclient.o $(COBJ) $(LIBS) $(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 hash.o alloc.o
$(CC) -o dhcpxlt \ $(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 \ hash.o alloc.o \
$(LIBS) $(LIBS)
xconflex.o: dhcpd.h cdefs.h osdep.h site.h $(CF) dhcp.h tree.h \ xconflex.o: dhcpd.h cdefs.h osdep.h site.h $(CF) dhcp.h tree.h \
hash.h inet.h dhctoken.h conflex.c hash.h inet.h dhctoken.h conflex.c
@cp conflex.c xconflex.c @cp conflex.c xconflex.c
$(CC) $(CFLAGS) -c xconflex.c -DSAVE_COMMENTS $(CC) $(CFLAGS) -c xconflex.c -DOLD_LEXER
@-rm -f xconflex.c @-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) # Dependencies (semi-automatically-generated)
options.o: dhcpd.h cdefs.h osdep.h site.h $(CF) dhcp.h tree.h \ options.o: dhcpd.h cdefs.h osdep.h site.h $(CF) dhcp.h tree.h \