~ubuntu-branches/ubuntu/edgy/freeradius/edgy-updates

« back to all changes in this revision

Viewing changes to src/modules/rlm_eap/types/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Jeremie Corbier
  • Date: 2006-07-08 19:41:05 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060708194105-2dabtaxd16o7p90g
Tags: 1.1.2-2ubuntu1
* Merge from debian unstable.
* Remove previous patches merged upstream:
  - 14_freeradius-dictionary-fix.dpatch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
TARGET_LIBS = static dynamic
 
1
#
 
2
# Makefile
 
3
#
 
4
# Version:      $Id: Makefile,v 1.3.2.1.2.2 2006/05/25 16:24:41 nbk Exp $
 
5
#
2
6
 
3
7
all:
4
8
        $(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
5
9
 
6
 
static:
7
 
        $(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
8
 
 
9
 
dynamic:
10
 
        $(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
11
 
 
12
10
clean:
13
11
        $(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
14
12
 
15
13
install:
16
14
        $(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
17
15
 
18
 
common: 
 
16
common:
19
17
        @for mod in rlm_eap*; do \
20
 
                what=$(WHAT_TO_MAKE); \
21
 
                [ "$$what" = "all" ] && what="$(TARGET_LIBS)"; \
22
18
                if [ -d $$mod ] && [ -f $$mod/Makefile ]; then \
23
 
                        echo "Making $$what in $$mod..."; \
24
 
                        (cd $$mod && $(MAKE) $(MFLAGS) $$what) || exit $?; \
 
19
                        echo "Making $(WHAT_TO_MAKE) in $$mod..."; \
 
20
                        $(MAKE) $(MFLAGS) -C $$mod $(WHAT_TO_MAKE) || exit $$?; \
25
21
                fi; \
26
22
        done
27