~ubuntu-branches/ubuntu/natty/freeradius/natty-updates

« back to all changes in this revision

Viewing changes to src/modules/rlm_otp/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Jeremie Corbier
  • Date: 2006-07-08 19:41:05 UTC
  • mto: (3.1.8 edgy) (4.1.3 sid) (1.1.14 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20060708194105-bxbr4e6m4dfw2x4x
Tags: upstream-1.1.2
ImportĀ upstreamĀ versionĀ 1.1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
# ../main/Makefile for building the version of the server with
17
17
# statically linked modules.  Get it from autoconf.
18
18
#
19
 
# RLM_INSTALL is the names of additional rules you need to install 
 
19
# RLM_INSTALL is the names of additional rules you need to install
20
20
# some particular portion of the module.  Usually, leave it blank.
21
21
#
22
22
#######################################################################
27
27
RLM_CFLAGS     = @otp_cflags@ $(OPENSSL_INCLUDE)
28
28
CARDOPS_LTLIBS = $(patsubst %.c,%.lo,$(wildcard cardops/*.c))
29
29
RLM_LIBS       = @otp_ldflags@ $(OPENSSL_LIBS) $(CARDOPS_LTLIBS)
30
 
 
31
 
RLM_SUBDIRS = cardops
 
30
RLM_SUBDIRS    = cardops
32
31
 
33
32
## this uses the RLM_CFLAGS and RLM_LIBS and SRCS defs to make TARGET.
34
33
include ../rules.mak
36
35
# Not part of RLM_CFLAGS to avoid propagation to subdirs
37
36
CFLAGS     += -Wno-unused-label -Wno-cast-qual
38
37
 
39
 
$(STATIC_OBJS): $(HEADERS) $(CARDOPS_LTLIBS)
40
 
 
41
 
$(DYNAMIC_OBJS): $(HEADERS) $(CARDOPS_LTLIBS)
 
38
$(LT_OBJS): $(HEADERS) $(CARDOPS_LTLIBS)
42
39
 
43
40
# Note: dynamic libs only
44
41
$(CARDOPS_LTLIBS) common:
45
 
        @what=$(WHAT_TO_MAKE); \
46
 
        [ -z "$$what" ] && what=dynamic; \
47
42
        for dir in $(RLM_SUBDIRS); do \
48
 
                echo "Making $$what in $$dir ..."; \
49
 
                $(MAKE) $(MFLAGS) -C $$dir RLM_CFLAGS="$(RLM_CFLAGS)" $$what || exit $?; \
 
43
                echo "Making $(WHAT_TO_MAKE) in $$dir ..."; \
 
44
                $(MAKE) $(MFLAGS) -C $$dir RLM_CFLAGS="$(RLM_CFLAGS)" $(WHAT_TO_MAKE) || exit $$?; \
50
45
        done