~yolanda.robla/ubuntu/saucy/freeradius/dep-8-tests

« back to all changes in this revision

Viewing changes to src/main/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Josip Rodin
  • Date: 2009-11-23 03:57:37 UTC
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: james.westby@ubuntu.com-20091123035737-snauioz5r9tf8sdr
Tags: upstream-2.1.7+dfsg
ImportĀ upstreamĀ versionĀ 2.1.7+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
 
# $Id: Makefile.in,v 1.76 2008/04/30 17:43:19 aland Exp $
 
2
# $Id$
3
3
#
4
4
 
5
5
include ../../Make.inc
6
6
 
7
7
SERVER_SRCS     = acct.c auth.c client.c conffile.c crypt.c exec.c files.c \
8
8
                  listen.c log.c mainconfig.c modules.c modcall.c \
9
 
                  radiusd.c radius_snmp.c \
10
 
                  session.c smux.c threads.c util.c valuepair.c version.c  \
 
9
                  radiusd.c stats.c \
 
10
                  session.c threads.c util.c valuepair.c version.c  \
11
11
                  xlat.c event.c realms.c evaluate.c vmps.c detail.c
12
12
 
13
13
SERVER_OBJS     += $(SERVER_SRCS:.c=.lo)
14
14
 
15
15
INCLUDES        = ../include/autoconf.h ../include/conf.h    \
16
16
                  ../include/libradius.h ../include/radius.h \
17
 
                  ../include/radiusd.h ../include/ident.h
 
17
                  ../include/radiusd.h ../include/ident.h ../include/stats.h
18
18
 
19
19
CFLAGS          += -I$(top_builddir)/src
20
20
CFLAGS          += -DHOSTINFO=\"${HOSTINFO}\"
24
24
VFLAGS          = -DRADIUSD_MAJOR_VERSION=$(RADIUSD_MAJOR_VERSION)
25
25
VFLAGS          += -DRADIUSD_MINOR_VERSION=$(RADIUSD_MINOR_VERSION)
26
26
MODULE_LIBS     = $(STATIC_MODULES)
27
 
BINARIES        = radiusd radwho radclient
 
27
BINARIES        = radiusd radwho radclient radmin radconf2xml
28
28
 
29
29
#
30
30
#  The RADIUS sniffer
99
99
        $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c session.c
100
100
 
101
101
# It's #include'd for simplicity.  This should be fixed...
102
 
listen.lo: dhcpd.c
 
102
listen.lo: listen.c dhcpd.c command.c
 
103
        $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(INCLTDL) -c listen.c
103
104
 
104
105
#
105
106
# Helper programs
123
124
radwho: radwho.lo util.lo log.lo conffile.lo $(LIBRADIUS)
124
125
        $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(LINK_MODE) -o radwho radwho.lo util.lo log.lo conffile.lo $(LIBRADIUS) $(LIBS)
125
126
 
 
127
radmin: radmin.lo $(LIBRADIUS) util.lo log.lo conffile.lo
 
128
        $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(LINK_MODE) -o $@ $^ $(LIBREADLINE) $(LIBS)
 
129
 
 
130
radconf2xml: radconf2xml.lo $(LIBRADIUS) util.lo log.lo conffile.lo
 
131
        $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(LINK_MODE) -o $@ $^ $(LIBS)
126
132
 
127
133
clean:
128
134
        rm -rf *.o *.so *.lo *~ $(BINARIES) .libs
131
137
        $(INSTALL) -d -m 755    $(R)$(sbindir)
132
138
        $(INSTALL) -d -m 755    $(R)$(bindir)
133
139
        $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(INSTALLSTRIP) radiusd$(EXEEXT)    $(R)$(sbindir)
 
140
        $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(INSTALLSTRIP) radmin$(EXEEXT)     $(R)$(sbindir)
134
141
        $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(INSTALLSTRIP) radclient$(EXEEXT)  $(R)$(bindir)
135
142
        $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(INSTALLSTRIP) radwho$(EXEEXT)     $(R)$(bindir)
 
143
        $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(INSTALLSTRIP) radconf2xml$(EXEEXT)        $(R)$(bindir)
136
144
ifneq ($(PCAP_LIBS),)
137
145
        $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(INSTALLSTRIP) radsniff$(EXEEXT)   $(R)$(bindir)
138
146
endif
140
148
        $(INSTALL) -m 755    radlast                    $(R)$(bindir)
141
149
        $(INSTALL) -m 755    radtest                    $(R)$(bindir)
142
150
        $(INSTALL) -m 755    radzap                     $(R)$(bindir)
 
151
 
 
152
.PHONY: scan
 
153
scan:
 
154
        @[ "$(SCAN_BUILD)" == "" ] || ($(MAKE) SCAN=yes LIBTOOL= 2>&1) | grep 'scan-view' || true