From: Ted Lemon Date: Sat, 22 Feb 1997 08:29:03 +0000 (+0000) Subject: Add target for dhcrelay X-Git-Tag: DHCP_970222~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f94fe9ff407818a74e9fbad6e442525f3bb8d7c;p=thirdparty%2Fdhcp.git Add target for dhcrelay --- diff --git a/Makefile.dist b/Makefile.dist index bb3e93c92..d860f8f75 100644 --- a/Makefile.dist +++ b/Makefile.dist @@ -192,17 +192,18 @@ COBJ = options.o errwarn.o convert.o conflex.o parse.o \ XOBJ = dhcpxlt.o xconflex.o SRCS = dhcpd.c dhcp.c bootp.c confpars.c db.c OBJS = dhcpd.o dhcp.o bootp.o confpars.o db.o -PROGS = dhcpd dhclient +PROGS = dhcpd dhclient dhcrelay MAN = dhcpd.8 dhcpd.conf.5 DEBUG = -g CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS) -all: dhcpd dhclient dhcpxlt $(CATMANPAGES) +all: $(PROGS) dhcpxlt $(CATMANPAGES) -install: dhcpd dhclient $(CATMANPAGES) +install: $(PROGS) $(CATMANPAGES) $(INSTALL) dhcpd $(BINDIR); $(CHMOD) 755 $(BINDIR)/dhcpd $(INSTALL) dhclient $(BINDIR); $(CHMOD) 755 $(BINDIR)/dhclient + $(INSTALL) dhcrelay $(BINDIR); $(CHMOD) 755 $(BINDIR)/dhcrelay if [ ! -d $(ADMMANDIR) ]; then \ mkdir $(ADMMANDIR); \ chmod 755 $(ADMMANDIR); \ @@ -224,10 +225,10 @@ clean: -rm -f $(OBJS) $(COBJ) $(XOBJ) dhclient.o realclean: clean - -rm -f dhcpd dhclient dhcpxlt $(CATMANPAGES) *~ #* + -rm -f $(PROGS) dhcpxlt $(CATMANPAGES) *~ #* distclean: clean - -rm -f dhcpd dhclient dhcpxlt $(CATMANPAGES) Makefile + -rm -f $(PROGS) dhcpxlt $(CATMANPAGES) Makefile # These should only be done on 4.4 BSD-based systems, since the mandoc # macros aren't available on older unices. Catted man pages are @@ -247,6 +248,9 @@ dhcpd: $(OBJS) $(COBJ) dhclient: dhclient.o clparse.o $(COBJ) $(CC) $(LFLAGS) -o dhclient dhclient.o clparse.o $(COBJ) $(LIBS) +dhcrelay: dhcrelay.o $(COBJ) + $(CC) $(LFLAGS) -o dhcrelay dhcrelay.o $(COBJ) $(LIBS) + dhcpxlt: dhcpxlt.o errwarn.o convert.o tables.o inet.o xconflex.o \ hash.o alloc.o $(CC) $(LFLAGS) -o dhcpxlt \