--- client/Makefile.dist | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) Index: dhcp-2.0pl5/client/Makefile.dist =================================================================== --- dhcp-2.0pl5.orig/client/Makefile.dist 2006-05-07 20:56:26.000000000 +0200 +++ dhcp-2.0pl5/client/Makefile.dist 2006-05-07 20:58:38.000000000 +0200 @@ -37,6 +37,7 @@ SRCS = dhclient.c clparse.c OBJS = dhclient.o clparse.o PROG = dhclient +PROG_S = dhclient.static MAN = dhclient.8 dhclient.conf.5 dhclient-script.8 dhclient.leases.5 DEBUG = -g @@ -45,7 +46,7 @@ CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS) \ -DCLIENT_PATH=${CLIENT_PATH} -all: $(PROG) $(CATMANPAGES) +all: $(PROG) $(PROG_S) $(CATMANPAGES) install: all for dir in $(CLIENTBINDIR) $(ETC) $(FFMANDIR) $(ADMMANDIR) $(VARDB); \ @@ -123,6 +124,10 @@ dhclient: $(OBJS) $(DHCPLIB) $(CC) $(LFLAGS) -o $(PROG) $(OBJS) $(DHCPLIB) $(LIBS) +dhclient.static: $(OBJS) $(DHCPLIB) + $(CC) $(LFLAGS) -o $@ $(OBJS) $(DHCPLIB) $(LIBS) -static + strip $@ + # Dependencies (semi-automatically-generated) dhclient.o: dhclient.c ../includes/dhcpd.h \