5 # This makefile controls the build process of shared and static PAM modules.
9 MODDIRS=$(shell /bin/ls -d pam_*)
11 # ////////////////////////////////////////////////////
12 # // You should not modify anything below this line //
13 # ////////////////////////////////////////////////////
16 @echo "*** This is not a top-level Makefile! ***"
18 # -----------------------------------------------------------
21 @echo modules for $(OS) are:
22 @ls -d $(MODDIRS) 2>/dev/null ; echo :--------
25 rm -f ./_static_module_*
27 @for i in $(MODDIRS) ; do \
28 if [ -d $$i ]; then { \
29 $(MAKE) -C $$i all ; \
30 if [ $$? -ne 0 ]; then exit 1 ; fi ; \
31 } elif [ -f ./.$$i ]; then { \
40 for i in $(MODDIRS) ; do \
41 if [ -d $$i ]; then { \
42 $(MAKE) -C $$i install ; \
43 if [ $$? -ne 0 ]; then exit 1 ; fi ; \
48 for i in $(MODDIRS) ; do \
49 if [ -d $$i ]; then { \
50 $(MAKE) -C $$i remove ; \
55 rm -f _static_module_*
58 for i in $(MODDIRS) ; do \
59 if [ -d $$i ]; then { \
60 $(MAKE) -C $$i clean ; \
65 for i in $(MODDIRS) ; do \
67 $(MAKE) -C $$i extraclean ; \