1 # $Id: Makefile.in,v 1.1.48.1 2005/08/08 12:05:25 honor Exp $
2 # Makefile for LNS handlers
6 exec_prefix=@
exec_prefix@
8 docdir
=@
prefix@
/doc
/rp-pppoe-
$(VERSION
)
10 install_dir
=@INSTALL@
-d
13 HANDLERS
=sync-pppd.so cmd.so
15 OBJS
=pty.o sync-pppd.o dstring.o
17 CFLAGS
=-g
-O2
-I..
-I..
/libevent
-I..
/..
/libevent
-I.
-Wall
19 all: $(HANDLERS
) l2tp-control
21 l2tp-control
: cmd-control.o
22 @CC@
-o l2tp-control cmd-control.o
24 cmd-control.o
: cmd-control.c
28 @CC@
$(CFLAGS
) -fPIC
-c
-o
$@
$<
30 sync-pppd.so
: pty.o sync-pppd.o
33 cmd.so
: cmd.o dstring.o
41 -mkdir
-p
$(RPM_INSTALL_ROOT
)$(sbindir
)
42 -mkdir
-p
$(RPM_INSTALL_ROOT
)$(prefix)/lib
/l2tp
/plugins
43 $(install) -m
755 -s l2tp-control
$(RPM_INSTALL_ROOT
)$(sbindir
)
44 $(install) -m
755 $(HANDLERS
) $(RPM_INSTALL_ROOT
)$(prefix)/lib
/l2tp
/plugins