d55200198b99520bca92baa998017450f7372870
[freeradius.git] / src / modules / rlm_eap / types / Makefile
1 #
2 # Makefile
3 #
4 # Version:      $Id$
5 #
6
7 all:
8         $(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
9
10 clean:
11         $(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
12
13 install:
14         $(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
15
16 reconfig:
17         $(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
18
19 SUBDIRS := $(patsubst %/,%,$(dir $(wildcard rlm_eap*/Makefile)))
20
21 .PHONY: common $(SUBDIRS)
22
23 common: $(SUBDIRS)
24
25 # The PEAP and TTLS sub-modules require eap_tls.
26 #
27 # If they're not being built, this rule is ignored because they're
28 # phony targets.
29
30 rlm_eap_peap rlm_eap_ttls: rlm_eap_tls
31
32 $(PLUGINS): 
33         echo "Making $(WHAT_TO_MAKE) in $@..."
34         $(MAKE) $(MFLAGS) -C $@ $(WHAT_TO_MAKE)