mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
make depend and subdir rules use single-colon
This commit is contained in:
parent
93593fa445
commit
c1e462cbda
@ -50,13 +50,18 @@ all: ${SUBDIRS} ${TARGETS}
|
||||
|
||||
ALL_SUBDIRS = ${SUBDIRS} nulldir
|
||||
|
||||
${ALL_SUBDIRS}::
|
||||
#
|
||||
# We use a single-colon rule so that additional dependencies of
|
||||
# subdirectories can be specified after the inclusion of this file.
|
||||
# The "depend" target is treated the same way.
|
||||
#
|
||||
${ALL_SUBDIRS}: FORCE
|
||||
@if [ "$@" != "nulldir" -a -d $@ ]; then \
|
||||
echo "making all in `pwd`/$@"; \
|
||||
(cd $@; ${MAKE} ${MAKEDEFS} all); \
|
||||
fi
|
||||
|
||||
install depend clean distclean::
|
||||
install clean distclean::
|
||||
@for i in ${ALL_SUBDIRS}; do \
|
||||
if [ "$$i" != "nulldir" -a -d $$i ]; then \
|
||||
echo "making $@ in `pwd`/$$i"; \
|
||||
@ -114,7 +119,13 @@ clean distclean::
|
||||
distclean::
|
||||
rm -f Makefile
|
||||
|
||||
depend::
|
||||
depend:
|
||||
@for i in ${ALL_SUBDIRS}; do \
|
||||
if [ "$$i" != "nulldir" -a -d $$i ]; then \
|
||||
echo "making depend in `pwd`/$$i"; \
|
||||
(cd $$i; ${MAKE} ${MAKEDEFS} $@); \
|
||||
fi \
|
||||
done
|
||||
@if [ X"${SRCS}" != X -a X"${PSRCS}" != X ] ; then \
|
||||
echo ${MKDEP} ${ALL_CPPFLAGS} ${SRCS}; \
|
||||
${MKDEP} ${ALL_CPPFLAGS} ${SRCS}; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user