1 |
# |
# |
2 |
# Copyright (c) 2002 Nicolas Burrus <nes@lrde.epita.fr> |
# Copyright (c) 2002 Jean-Charles Salzeber <jc@varspool.net> |
3 |
# |
# |
4 |
# This file is part of pengfork program. |
# This file is part of pengfork program. |
5 |
# |
# |
18 |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
19 |
# 02111-1307, USA. |
# 02111-1307, USA. |
20 |
# |
# |
21 |
|
# Nicolas Burrus <nes@lrde.epita.fr>, 2002 |
22 |
|
# |
23 |
|
|
24 |
PACKAGE = @PACKAGE@ |
PACKAGE = @PACKAGE@ |
25 |
VERSION = @VERSION@ |
VERSION = @VERSION@ |
49 |
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir) -I$(top_srcdir)/lib |
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir) -I$(top_srcdir)/lib |
50 |
|
|
51 |
if BUILD_MODEM |
if BUILD_MODEM |
|
MODEM_SUBDIRS = modem |
|
52 |
MODEM_LIBS = $(top_builddir)/src/modem/libmodem.a |
MODEM_LIBS = $(top_builddir)/src/modem/libmodem.a |
53 |
endif BUILD_MODEM |
endif BUILD_MODEM |
54 |
|
|
55 |
if BUILD_CABLE |
if BUILD_CABLE |
|
CABLE_SUBDIRS = cable |
|
56 |
CABLE_LIBS = $(top_builddir)/src/cable/libcable.a |
CABLE_LIBS = $(top_builddir)/src/cable/libcable.a |
57 |
endif BUILD_CABLE |
endif BUILD_CABLE |
58 |
|
|
59 |
if BUILD_DSL |
if BUILD_DSL |
|
DSL_SUBDIRS = dsl |
|
60 |
DSL_LIBS = $(top_builddir)/src/dsl/libdsl.a |
DSL_LIBS = $(top_builddir)/src/dsl/libdsl.a |
61 |
endif BUILD_DSL |
endif BUILD_DSL |
62 |
|
|
63 |
if BUILD_TCPIP |
if BUILD_TCPIP |
|
TCPIP_SUBDIRS = tcpip |
|
64 |
TCPIP_LIBS = $(top_builddir)/src/tcpip/libtcpip.a |
TCPIP_LIBS = $(top_builddir)/src/tcpip/libtcpip.a |
65 |
endif BUILD_TCPIP |
endif BUILD_TCPIP |
66 |
|
|
67 |
if BUILD_TUN |
if BUILD_TUN |
|
TUN_SUBDIRS = tun |
|
68 |
TUN_LIBS = $(top_builddir)/src/tun/libtun.a \ |
TUN_LIBS = $(top_builddir)/src/tun/libtun.a \ |
69 |
$(top_builddir)/src/tun/@ARCH_DIR@/libsystem.a |
$(top_builddir)/src/tun/@ARCH_DIR@/libsystem.a |
70 |
endif BUILD_TUN |
endif BUILD_TUN |
71 |
|
|
72 |
if BUILD_P3 |
if BUILD_P3 |
|
P3_SUBDIRS = p3 |
|
73 |
P3_LIBS = $(top_builddir)/src/p3/libp3.a |
P3_LIBS = $(top_builddir)/src/p3/libp3.a |
74 |
endif BUILD_P3 |
endif BUILD_P3 |
75 |
|
|
76 |
if BUILD_L2TP |
if BUILD_L2TP |
|
L2TP_SUBDIRS = l2tp |
|
77 |
L2TP_LIBS = $(top_builddir)/src/l2tp/libl2tp.a |
L2TP_LIBS = $(top_builddir)/src/l2tp/libl2tp.a |
78 |
endif BUILD_L2TP |
endif BUILD_L2TP |
79 |
|
|
80 |
SUBDIRS = fdo \ |
SUBDIRS = fdo \ |
81 |
iptunnel \ |
iptunnel \ |
82 |
$(MODEM_SUBDIRS) \ |
modem \ |
83 |
$(CABLE_SUBDIRS) \ |
cable \ |
84 |
$(DSL_SUBDIRS) \ |
dsl \ |
85 |
$(TCPIP_SUBDIRS) \ |
tcpip \ |
86 |
$(TUN_SUBDIRS) \ |
tun \ |
87 |
$(P3_SUBDIRS) \ |
p3 \ |
88 |
$(L2TP_SUBDIRS) |
l2tp |
89 |
|
|
90 |
|
|
91 |
pengfork_LDADD = $(top_builddir)/src/fdo/libfdo.a \ |
pengfork_LDADD = $(top_builddir)/src/fdo/libfdo.a \ |