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

« back to all changes in this revision

Viewing changes to src/modules/rlm_mschap/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
#
 
2
# Makefile
 
3
#
 
4
# Version:      $Id: Makefile,v 1.14.2.1.2.1 2006/02/10 19:48:05 nbk Exp $
 
5
#
 
6
 
1
7
TARGET          = rlm_mschap
2
8
SRCS            = rlm_mschap.c smbdes.c
3
 
HEADERS         = 
 
9
HEADERS         =
4
10
RLM_CFLAGS      =
5
 
RLM_LDFLAGS     = 
 
11
RLM_LDFLAGS     =
 
12
RLM_LIBS        =
6
13
RLM_UTILS       = smbencrypt
7
14
RLM_INSTALL     = smbencrypt-install
8
15
 
9
16
# over-ride the previous assignment if we're not building anything
10
17
include ../rules.mak
11
18
 
12
 
$(STATIC_OBJS): $(HEADERS)
13
 
 
14
 
$(DYNAMIC_OBJS): $(HEADERS)
15
 
 
16
 
smbencrypt: smbencrypt.o smbdes.o $(HEADERS)
17
 
        $(CC) -I../../include $(LDFLAGS) -o smbencrypt smbencrypt.o smbdes.o ../../lib/libradius.a
 
19
$(LT_OBJS): $(HEADERS)
 
20
 
 
21
smbencrypt: smbencrypt.lo smbdes.lo ../../lib/libradius.la
 
22
        $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(RLM_LDFLAGS) \
 
23
                -o $@ $^ $(RLM_LIBS) $(LIBS)
18
24
 
19
25
smbencrypt-install:
20
26
        $(INSTALL) -d -m 755 $(R)$(bindir)
21
 
        $(INSTALL) -m 755 $(INSTALLSTRIP) smbencrypt$(EXEEXT) $(R)$(bindir)
 
27
        $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(INSTALLSTRIP) \
 
28
                smbencrypt$(EXEEXT) $(R)$(bindir)