source: libpacketdump/Makefile.am @ 67825b2

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since 67825b2 was bf0f554, checked in by Perry Lorier <perry@…>, 15 years ago

Dont link shared librarys against static libraries

  • Property mode set to 100644
File size: 2.3 KB
Line 
1lib_LTLIBRARIES = libpacketdump.la
2include_HEADERS = libpacketdump.h
3
4plugindir = $(libdir)/libpacketdump
5
6BIN_PROTOCOLS=
7TXT_PROTOCOLS=
8
9# Link layers supported
10# Legacy
11BIN_PROTOCOLS+=link_0.la
12
13# HDLC_POS
14
15# Ethernet
16BIN_PROTOCOLS+=link_2.la
17
18# ATM
19TXT_PROTOCOLS+=link_3.protocol
20
21# 802.11
22BIN_PROTOCOLS+=link_4.la
23
24# NONE
25#
26
27# Linux SLL
28#TXT_PROTOCOLS+=link_6.protocol
29BIN_PROTOCOLS+=link_6.la
30
31# PFLog
32#       
33
34# Obsolete legacy
35#               
36
37# POS
38BIN_PROTOCOLS+=link_9.la
39
40# Obsolete Legacy ATM
41#                               
42
43# Obsolete Legacy Ethernet
44BIN_PROTOCOLS+=link_10.la       
45
46# 802.11 Prisom
47BIN_PROTOCOLS+=link_11.la       
48
49# AAL5
50#                       
51# Duck
52
53#                               
54
55# Radiotap
56BIN_PROTOCOLS+=link_15.la
57
58# Decoders for various ethertypes (in decimal)
59# IPv4
60BIN_PROTOCOLS+=eth_2048.la
61# ARP
62BIN_PROTOCOLS+=eth_2054.la     
63# IPv6
64TXT_PROTOCOLS+=eth_33024.protocol       
65# MPLS
66BIN_PROTOCOLS+=eth_34887.la
67# 802.1x
68BIN_PROTOCOLS+=eth_34958.la
69
70# IP Protocol decoders
71# ICMP
72BIN_PROTOCOLS+=ip_1.la
73# TCP
74BIN_PROTOCOLS+=ip_6.la
75# UDP
76BIN_PROTOCOLS+=ip_17.la
77# DCCP
78BIN_PROTOCOLS+=ip_33.la
79# IPv6
80TXT_PROTOCOLS+=ip_41.protocol
81# ICMP6
82TXT_PROTOCOLS+=ip_58.protocol
83# SCTP
84BIN_PROTOCOLS+=ip_132.la       
85
86# TCP protocol decoders
87# (tcp_*.la)
88
89# UDP protocol decoders
90# (udp_*.la)
91
92# I shouldn't need to do this
93link_0_la_LDFLAGS=-module
94link_2_la_LDFLAGS=-module
95link_4_la_LDFLAGS=-module
96link_6_la_LDFLAGS=-module
97link_9_la_LDFLAGS=-module
98link_10_la_LDFLAGS=-module
99link_11_la_LDFLAGS=-module
100link_15_la_LDFLAGS=-module
101eth_2048_la_LDFLAGS=-module
102eth_2054_la_LDFLAGS=-module
103eth_34887_la_LDFLAGS=-module
104eth_34958_la_LDFLAGS=-module
105
106ip_1_la_LDFLAGS=-module
107ip_6_la_LDFLAGS=-module
108ip_17_la_LDFLAGS=-module
109ip_33_la_LDFLAGS=-module
110ip_132_la_LDFLAGS=-module
111
112libpacketdump_la_SOURCES = libpacketdump.cc \
113                        lexer.l parser.y bitbuffer.c bitbuffer.h grammar.h
114
115plugin_LTLIBRARIES = $(BIN_PROTOCOLS)
116dist_plugin_DATA = $(TXT_PROTOCOLS)
117
118INCLUDES= @ADD_INCLS@ -I../lib
119
120# NOTE: You CANNOT add @LEXLIBS@ here, as they are statically compiled
121# which on non x86_32 platforms means that they cannot be linked into
122# a shared library.
123libpacketdump_la_LIBADD = @ADD_LIBS@
124libpacketdump_la_LDFLAGS=\
125        -version-info @LIBTRACE_MAJOR@:@LIBTRACE_MINOR@:@LIBTRACE_MID@ \
126        @ADD_LDFLAGS@
127
128AM_CXXFLAGS=-g -Wall -DDIRNAME=\"$(plugindir)\" $(INCLUDES)
129BUILT_SOURCES=parser.h
130AM_YFLAGS=-d
131EXTRA_DIST=lexer.l parser.y
Note: See TracBrowser for help on using the repository browser.