File: Jamfile

package info (click to toggle)
xorp 1.6-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 53,200 kB
  • ctags: 61,417
  • sloc: cpp: 399,321; sh: 24,357; ansic: 20,231; python: 5,142; makefile: 3,964; lex: 1,632; yacc: 1,474; awk: 956; sed: 33
file content (170 lines) | stat: -rw-r--r-- 3,471 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
#
# $XORP: xorp/fea/Jamfile,v 1.27 2008/04/30 20:53:35 bms Exp $
#

SubDir TOP fea ;
SubIncludeOnce TOP libxorp ;
SubIncludeOnce TOP libcomm ;
SubIncludeOnce TOP xrl interfaces ;
SubIncludeOnce TOP xrl targets ;
SubIncludeOnce TOP libxipc ;
SubIncludeOnce TOP libproto ;
SubIncludeOnce TOP libfeaclient ;
SubIncludeOnce TOP mrt ;
SubIncludeOnce TOP cli ;
SubIncludeOnce TOP cli libtecla ;
SubIncludeOnce TOP fea data_plane ;
SubDir TOP fea ;

Library libfea_data_plane_base :
	fea_data_plane_manager.cc
	fibconfig_forwarding.cc
	ifconfig_property.cc
	io_ip.cc
	io_link.cc
	io_tcpudp.cc
	;

Library libfea : 
	fea_io.cc
	fea_node.cc
	fibconfig.cc
	fibconfig_transaction.cc
	firewall_entry.cc
	firewall_manager.cc
	firewall_transaction.cc
	ifconfig.cc
	ifconfig_reporter.cc
	ifconfig_transaction.cc
	iftree.cc
	io_ip_manager.cc
	io_link_manager.cc
	io_tcpudp_manager.cc
	libfeaclient_bridge.cc
	mfea_config.cc
	mfea_dataflow.cc
	mfea_mrouter.cc
	mfea_node.cc
	mfea_node_cli.cc
	mfea_vif.cc
	nexthop_port_mapper.cc
	profile_vars.cc
	xrl_fea_io.cc
	xrl_fea_node.cc
	xrl_fea_target.cc
	xrl_fib_client_manager.cc
	xrl_io_ip_manager.cc
	xrl_io_link_manager.cc
	xrl_io_tcpudp_manager.cc
	xrl_mfea_node.cc
	;

FEA_LDADD =
	libfea
	libxorp_data_plane_managers
	libxorp_fibconfig
	libxorp_firewall
	libxorp_ifconfig
	libxorp_io
	libxorp_control_socket
	libfea_data_plane_base
	libfeafibclientxif
	libfearawlinkclientxif
	libfearawpkt4clientxif
	libfearawpkt6clientxif
	libsocket4userxif
	libsocket6userxif
	libfindereventnotifierxif
	libfeabase
	libclimanagerxif
	libmfeaclientxif
	libmfeabase
	libmrt
	libcli
	libtecla
	libcliprocessorxif
	libclibase
	libfeaclient
	libfeaifmgrmirrorxif
	libprofileclientxif
	libproto
	libxipc
	libcomm
	libxorp
	;

Main xorp_fea : xorp_fea.cc ;
LINKLIBS on xorp_fea = $(LINKLIBS) $(PCAP_LIB) ;
LinkLibraries xorp_fea : $(FEA_LDADD) ;

#
# Hack to build dummy FEA in Jam in a hopefully portable way.
#
# XXX: MainFromObjects supplies the SUFEXE suffix if and only if
# the filename is not explicitly gristed. Here, it has to be.
#
MainFromObjects <fea>xorp_fea_dummy$(SUFEXE) : <fea>fea_dummy$(SUFOBJ) ;
LINKLIBS on <fea>xorp_fea_dummy$(SUFEXE) = $(LINKLIBS) $(PCAP_LIB) ;
LinkLibraries <fea>xorp_fea_dummy$(SUFEXE) : $(FEA_LDADD) ;
Object <fea>fea_dummy$(SUFOBJ) : xorp_fea.cc ;
C++FLAGS on <fea>fea_dummy$(SUFOBJ) += -DFEA_DUMMY ;

if $(MAKE_CHECK) {

 Main test_fea_rawlink : test_fea_rawlink.cc ;
 LinkLibraries test_fea_rawlink :
	libfea
	libxorp_data_plane_managers
	libxorp_fibconfig
	libxorp_ifconfig
	libxorp_control_socket
	libfea_data_plane_base
	libfearawlinkxif
	libfearawlinkclientxif
	libtestfearawlink
	libxipc
	libcomm
	libxorp
	;

 Main test_xrl_sockets4_udp : test_xrl_sockets4_udp.cc ;
 LinkLibraries test_xrl_sockets4_udp :
	libfea
	libxorp_data_plane_managers
	libxorp_fibconfig
	libxorp_ifconfig
	libxorp_control_socket
	libfea_data_plane_base
	libsocket4xif
	libsocket6xif
	libsocket4userxif
	libsocket6userxif
	libtestsocket4
	libxipc
	libcomm
	libxorp
	;

 Main test_xrl_sockets4_tcp : test_xrl_sockets4_tcp.cc ;
 LinkLibraries test_xrl_sockets4_tcp :
	libfea
	libxorp_data_plane_managers
	libxorp_fibconfig
	libxorp_ifconfig
	libxorp_control_socket
	libfea_data_plane_base
	libsocket4xif
	libsocket6xif
	libsocket4userxif
	libsocket6userxif
	libtestsocket4
	libxipc
	libcomm
	libxorp
	;
} # MAKE_CHECK

InstallBin $(PREFIX)/fea :
	xorp_fea xorp_fea_click_config_generator xorp_fea_dummy ;

SubIncludeOnce TOP fea tools ;