2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

Fix recursion so it works with GNU make.

This commit is contained in:
Ted Lemon
1999-02-14 18:33:12 +00:00
parent b97a65785d
commit fa93f422e7

View File

@@ -1,6 +1,6 @@
# Makefile.dist # Makefile.dist
# #
# Copyright (c) 1996, 1997, 1998 The Internet Software Consortium. # Copyright (c) 1996, 1997, 1998, 1999 The Internet Software Consortium.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@@ -35,36 +35,36 @@ SUBDIRS= common server client relay statmsg sysconfd dhcpctl
all: all:
@for dir in ${SUBDIRS}; do \ @for dir in ${SUBDIRS}; do \
echo "Making all in $$dir"; \ echo "Making all in $$dir"; \
(cd $$dir; $(MAKE) all); \ (cd $$dir; $(MAKE) all) || exit 1; \
done done
install: install:
@for dir in ${SUBDIRS}; do \ @for dir in ${SUBDIRS}; do \
echo "Installing in $$dir"; \ echo "Installing in $$dir"; \
(cd $$dir; $(MAKE) install); \ (cd $$dir; $(MAKE) install) || exit 1; \
done done
depend: depend:
@for dir in ${SUBDIRS}; do \ @for dir in ${SUBDIRS}; do \
echo "Making dependencies in $$dir"; \ echo "Making dependencies in $$dir"; \
(cd $$dir; $(MAKE) depend); \ (cd $$dir; $(MAKE) depend) || exit 1; \
done done
clean: clean:
@for dir in ${SUBDIRS}; do \ @for dir in ${SUBDIRS}; do \
echo "Cleaning in $$dir"; \ echo "Cleaning in $$dir"; \
(cd $$dir; $(MAKE) clean); \ (cd $$dir; $(MAKE) clean) || exit 1; \
done done
realclean: realclean:
@for dir in ${SUBDIRS}; do \ @for dir in ${SUBDIRS}; do \
echo "Really cleaning in $$dir"; \ echo "Really cleaning in $$dir"; \
(cd $$dir; $(MAKE) realclean); \ (cd $$dir; $(MAKE) realclean) || exit 1; \
done done
distclean: distclean:
@for dir in ${SUBDIRS}; do \ @for dir in ${SUBDIRS}; do \
echo "Really, really cleaning in $$dir"; \ echo "Really, really cleaning in $$dir"; \
(cd $$dir; $(MAKE) distclean); \ (cd $$dir; $(MAKE) distclean) || exit 1; \
done done
@rm -f Makefile @rm -f Makefile