2 # Makefile Makefile for the cistron-radius package.
4 # NOTE: This top-level Makefile must not
5 # use GNU-make extensions. The lower ones can.
7 # Version: @(#)Makefile 1.10 21-Aug-1999 miquels@cistron.nl
10 @INCLUDE@ @IQUOTE@Make.inc@IQUOTE@
13 SUBDIRS = src raddb doc scripts
17 @$(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
20 @$(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
24 @$(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
27 @for dir in $(SUBDIRS); do \
28 echo "Making $(WHAT_TO_MAKE) in $$dir..."; \
29 (cd $$dir ; $(MAKE) $(MFLAGS) $(WHAT_TO_MAKE)) || exit 1;\
33 rm -f config.cache config.log config.status
34 -find . ! -name configure.in -name \*.in -print | \
36 while read file; do rm -f $$file; done
38 ######################################################################
40 # Automatic remaking rules suggested by info:autoconf#Automatic_Remaking
42 ######################################################################
43 configure: configure.in
46 # autoheader might not change config.h.in, so touch a stamp file
47 config.h.in: stamp-h.in
48 stamp-h.in: configure.in acconfig.h config.h.top config.h.bot
50 echo timestamp > stamp-h.in
53 stamp-h: config.h.in config.status
56 config.status: configure
57 ./config.status --recheck