2 # Makefile Makefile for the cistron-radius package.
4 # Version: @(#)Makefile 1.00 01-Jul-1999 miquels@cistron.nl
7 @INCLUDE@ @IQUOTE@Make.inc@IQUOTE@
9 SUBDIRS = src raddb doc scripts
13 @$(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
16 @$(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
20 @$(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
23 @for dir in $(SUBDIRS); do \
24 echo "Making $(WHAT_TO_MAKE) in $$dir..."; \
25 (cd $$dir ; $(MAKE) $(MFLAGS) $(WHAT_TO_MAKE)) || exit 1;\
29 rm -f config.cache config.log config.status
30 -find . ! -name configure.in -name \*.in -print | \
32 while read file; do rm -f $$file; done
34 ######################################################################
36 # Automatic remaking rules suggested by info:autoconf#Automatic_Remaking
38 ######################################################################
39 configure: configure.in
42 # autoheader might not change config.h.in, so touch a stamp file
43 config.h.in: stamp-h.in
44 stamp-h.in: configure.in acconfig.h config.h.top config.h.bot
46 echo timestamp > stamp-h.in
49 stamp-h: config.h.in config.status
52 config.status: configure
53 ./config.status --recheck