mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 14:25:41 +00:00
Fix depend target. Don't echo building of links.
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
|
||||
CATMANPAGES = dhcpctl.cat3
|
||||
SEDMANPAGES = dhcpctl.man3
|
||||
MAN = dhcpctl.3
|
||||
SRC = res_mkupdate.c res_init.c res_update.c res_send.c res_comp.c \
|
||||
res_sendsigned.c res_findzonecut.c res_query.c res_mkquery.c \
|
||||
ns_date.c ns_parse.c ns_sign.c ns_name.c ns_samedomain.c ns_verify.c \
|
||||
@@ -27,9 +28,10 @@ OBJ = res_mkupdate.o res_init.o res_update.o res_send.o res_comp.o \
|
||||
res_sendsigned.o res_findzonecut.o res_query.o res_mkquery.o \
|
||||
ns_date.o ns_parse.o ns_sign.o ns_name.o ns_samedomain.o ns_verify.o \
|
||||
dst_api.o hmac_link.o md5_dgst.o prandom.o support.o base64.o
|
||||
HDRS = dst_internal.h md5.h md5_locl.h
|
||||
|
||||
DEBUG = -g
|
||||
INCLUDES = $(BINDINC) -I../includes
|
||||
INCLUDES = $(BINDINC) -I$(TOP)/includes
|
||||
CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS) -DHMAC_MD5 -DMINIRES_LIB
|
||||
|
||||
all: libres.a
|
||||
@@ -42,7 +44,7 @@ libres.a: $(OBJ)
|
||||
$(RANLIB) libres.a
|
||||
|
||||
depend:
|
||||
mkdep $(INCLUDES) $(PREDEFINES) $(SRC)
|
||||
$(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRC)
|
||||
|
||||
clean:
|
||||
-rm -f $(OBJ) libres.a
|
||||
@@ -53,6 +55,14 @@ realclean: clean
|
||||
distclean: realclean
|
||||
-rm -f Makefile
|
||||
|
||||
links:
|
||||
@for foo in $(SRC) $(MAN) $(HDRS); do \
|
||||
if [ ! -b $$foo ]; then \
|
||||
rm -f $$foo; \
|
||||
fi; \
|
||||
ln -s $(TOP)/minires/$$foo $$foo; \
|
||||
done
|
||||
|
||||
dhcpctl.cat3: dhcpctl.man3
|
||||
nroff -man dhcpctl.man3 >dhcpctl.cat3
|
||||
|
||||
|
@@ -26,7 +26,7 @@ OBJ = protocol.o buffer.o alloc.o result.o connection.o errwarn.o \
|
||||
MAN = omapi.3
|
||||
|
||||
DEBUG = -g
|
||||
INCLUDES = $(BINDINC) -I../includes
|
||||
INCLUDES = $(BINDINC) -I$(TOP)/includes
|
||||
CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
|
||||
|
||||
all: libomapi.a test $(CATMANPAGES)
|
||||
@@ -53,7 +53,7 @@ install: all
|
||||
$(INSTALL) libomapi.a $(DESTDIR)$(LIBDIR)
|
||||
$(CHMOD) 644 $(DESTDIR)$(LIBDIR)/libomapi.a
|
||||
for file in alloc.h buffer.h omapip.h; do \
|
||||
$(INSTALL) ../includes/omapip/$$file $(DESTDIR)$(INCDIR)/omapip; \
|
||||
$(INSTALL) $(TOP)/includes/omapip/$$file $(DESTDIR)$(INCDIR)/omapip; \
|
||||
$(CHMOD) 644 $(DESTDIR)$(INCDIR)/omapip/$$file; \
|
||||
done
|
||||
for man in $(MAN); do \
|
||||
@@ -64,7 +64,7 @@ install: all
|
||||
done
|
||||
|
||||
depend:
|
||||
mkdep $(INCLUDES) $(PREDEFINES) $(SRC)
|
||||
$(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRC)
|
||||
|
||||
clean:
|
||||
-rm -f $(OBJ) test.o test
|
||||
@@ -75,6 +75,14 @@ realclean: clean
|
||||
distclean: realclean
|
||||
-rm -f Makefile
|
||||
|
||||
links:
|
||||
@for foo in $(SRC) $(MAN) test.c; do \
|
||||
if [ ! -b $$foo ]; then \
|
||||
rm -f $$foo; \
|
||||
fi; \
|
||||
ln -s $(TOP)/omapip/$$foo $$foo; \
|
||||
done
|
||||
|
||||
omapi.cat3: omapi.man3
|
||||
nroff -man omapi.man3 >omapi.cat3
|
||||
|
||||
|
@@ -25,7 +25,7 @@ PROG = dhcrelay
|
||||
MAN = dhcrelay.8
|
||||
|
||||
DEBUG = -g
|
||||
INCLUDES = -I.. $(BINDINC) -I../includes
|
||||
INCLUDES = -I$(TOP) $(BINDINC) -I$(TOP)/includes
|
||||
DHCPLIB = ../common/libdhcp.a ../omapip/libomapi.a
|
||||
CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
|
||||
|
||||
@@ -48,7 +48,7 @@ install: all
|
||||
$(DESTDIR)$(ADMMANDIR)/dhcrelay$(ADMMANEXT)
|
||||
|
||||
depend:
|
||||
mkdep $(INCLUDES) $(PREDEFINES) $(SRCS)
|
||||
$(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRCS)
|
||||
|
||||
clean:
|
||||
-rm -f $(OBJS) dhclient.o
|
||||
@@ -59,6 +59,14 @@ realclean: clean
|
||||
distclean: realclean
|
||||
-rm -f Makefile
|
||||
|
||||
links:
|
||||
@for foo in $(SRCS) $(MAN); do \
|
||||
if [ ! -b $$foo ]; then \
|
||||
rm -f $$foo; \
|
||||
fi; \
|
||||
ln -s $(TOP)/relay/$$foo $$foo; \
|
||||
done
|
||||
|
||||
# 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
|
||||
# provided in the distribution so that this doesn't become a problem.
|
||||
|
@@ -27,7 +27,7 @@ PROG = dhcpd
|
||||
MAN = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5
|
||||
|
||||
DEBUG = -g
|
||||
INCLUDES = -I.. $(BINDINC) -I../includes
|
||||
INCLUDES = -I$(TOP) $(BINDINC) -I$(TOP)/includes
|
||||
DHCPLIB = ../common/libdhcp.a ../omapip/libomapi.a $(BINDLIB)
|
||||
CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
|
||||
|
||||
@@ -54,7 +54,7 @@ install: all
|
||||
$(DESTDIR)$(FFMANDIR)/dhcpd.leases$(FFMANEXT)
|
||||
|
||||
depend:
|
||||
mkdep $(INCLUDES) $(PREDEFINES) $(SRCS)
|
||||
$(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRCS)
|
||||
|
||||
clean:
|
||||
-rm -f $(OBJS)
|
||||
@@ -65,6 +65,14 @@ realclean: clean
|
||||
distclean: realclean
|
||||
-rm -f Makefile
|
||||
|
||||
links:
|
||||
@for foo in $(SRCS) $(MAN); do \
|
||||
if [ ! -b $$foo ]; then \
|
||||
rm -f $$foo; \
|
||||
fi; \
|
||||
ln -s $(TOP)/server/$$foo $$foo; \
|
||||
done
|
||||
|
||||
# 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
|
||||
# provided in the distribution so that this doesn't become a problem.
|
||||
|
Reference in New Issue
Block a user