mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-30 05:47:45 +00:00
Fix recursion so it works with GNU make.
This commit is contained in:
parent
b97a65785d
commit
fa93f422e7
@ -1,6 +1,6 @@
|
||||
# Makefile.dist
|
||||
#
|
||||
# Copyright (c) 1996, 1997, 1998 The Internet Software Consortium.
|
||||
# Copyright (c) 1996, 1997, 1998, 1999 The Internet Software Consortium.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@ -35,36 +35,36 @@ SUBDIRS= common server client relay statmsg sysconfd dhcpctl
|
||||
all:
|
||||
@for dir in ${SUBDIRS}; do \
|
||||
echo "Making all in $$dir"; \
|
||||
(cd $$dir; $(MAKE) all); \
|
||||
(cd $$dir; $(MAKE) all) || exit 1; \
|
||||
done
|
||||
|
||||
install:
|
||||
@for dir in ${SUBDIRS}; do \
|
||||
echo "Installing in $$dir"; \
|
||||
(cd $$dir; $(MAKE) install); \
|
||||
(cd $$dir; $(MAKE) install) || exit 1; \
|
||||
done
|
||||
|
||||
depend:
|
||||
@for dir in ${SUBDIRS}; do \
|
||||
echo "Making dependencies in $$dir"; \
|
||||
(cd $$dir; $(MAKE) depend); \
|
||||
(cd $$dir; $(MAKE) depend) || exit 1; \
|
||||
done
|
||||
|
||||
clean:
|
||||
@for dir in ${SUBDIRS}; do \
|
||||
echo "Cleaning in $$dir"; \
|
||||
(cd $$dir; $(MAKE) clean); \
|
||||
(cd $$dir; $(MAKE) clean) || exit 1; \
|
||||
done
|
||||
|
||||
realclean:
|
||||
@for dir in ${SUBDIRS}; do \
|
||||
echo "Really cleaning in $$dir"; \
|
||||
(cd $$dir; $(MAKE) realclean); \
|
||||
(cd $$dir; $(MAKE) realclean) || exit 1; \
|
||||
done
|
||||
|
||||
distclean:
|
||||
@for dir in ${SUBDIRS}; do \
|
||||
echo "Really, really cleaning in $$dir"; \
|
||||
(cd $$dir; $(MAKE) distclean); \
|
||||
(cd $$dir; $(MAKE) distclean) || exit 1; \
|
||||
done
|
||||
@rm -f Makefile
|
||||
|
Loading…
x
Reference in New Issue
Block a user