]>
Commit | Line | Data |
---|---|---|
94439e4e | 1 | # Makefile for storage modules in the Squid Object Cache server |
2 | # | |
3 | # $Id: Makefile.in,v 1.1 2001/01/07 23:36:43 hno Exp $ | |
4 | # | |
5 | ||
6 | # The 'nop' is in the SUBDIRS list because some Unixes that can't | |
7 | # handle empty for lists. | |
8 | ||
9 | SUBDIRS = @AUTH_BASIC_HELPERS@ nop | |
10 | ||
11 | all: | |
12 | @for dir in $(SUBDIRS); do \ | |
13 | if [ -f $$dir/Makefile ]; then \ | |
14 | sh -c "cd $$dir && $(MAKE) all" || exit 1; \ | |
15 | fi; \ | |
16 | done; | |
17 | ||
18 | clean: | |
19 | -for dir in *; do \ | |
20 | if [ -f $$dir/Makefile ]; then \ | |
21 | sh -c "cd $$dir && $(MAKE) clean"; \ | |
22 | fi; \ | |
23 | done | |
24 | ||
25 | distclean: | |
26 | -rm -f Makefile | |
27 | -for dir in *; do \ | |
28 | if [ -f $$dir/Makefile ]; then \ | |
29 | sh -c "cd $$dir && $(MAKE) distclean"; \ | |
30 | fi; \ | |
31 | done | |
32 | ||
33 | .DEFAULT: | |
34 | @for dir in $(SUBDIRS); do \ | |
35 | if [ -f $$dir/Makefile ]; then \ | |
36 | sh -c "cd $$dir && $(MAKE) $@" || exit 1; \ | |
37 | fi; \ | |
38 | done; |