Made it 2.0.0, and removed the changes that are in 1.1.x, as
[freeradius.git] / src / modules / rlm_eap / types / Makefile
1 TARGET_LIBS = static dynamic
2
3 all:
4         $(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
5
6 static:
7         $(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
8
9 dynamic:
10         $(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
11
12 clean:
13         $(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
14
15 install:
16         $(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
17
18 # List tls first, other modules depend on it
19 common: 
20         @for mod in rlm_eap_tls rlm_eap*; do \
21                 what=$(WHAT_TO_MAKE); \
22                 [ "$$what" = "all" ] && what="$(TARGET_LIBS)"; \
23                 if [ -d $$mod ] && [ -f $$mod/Makefile ]; then \
24                         echo "Making $$what in $$mod..."; \
25                         (cd $$mod && $(MAKE) $(MFLAGS) $$what) || exit $?; \
26                 fi; \
27         done
28