source: libpacketdump/Makefile.am @ 4a4cc39

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

Due to Gentooisms libpacketdump now needs to be linked with -lpacketdump -lfl

  • Property mode set to 100644
File size: 2.0 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
28TXT_PROTOCOLS+=link_6.protocol 
29
30# PFLog
31#       
32
33# Obsolete legacy
34#               
35
36# POS
37BIN_PROTOCOLS+=link_9.la
38
39# Obsolete Legacy ATM
40#                               
41
42# Obsolete Legacy Ethernet
43BIN_PROTOCOLS+=link_10.la       
44
45# 802.11 Prisom
46BIN_PROTOCOLS+=link_11.la       
47
48# AAL5
49#                       
50# Duck
51
52#                               
53
54# Decoders for various ethertypes (in decimal)
55# IPv4
56BIN_PROTOCOLS+=eth_2048.la
57# ARP
58BIN_PROTOCOLS+=eth_2054.la     
59# IPv6
60TXT_PROTOCOLS+=eth_33024.protocol       
61
62# IP Protocol decoders
63# ICMP
64BIN_PROTOCOLS+=ip_1.la
65# TCP
66BIN_PROTOCOLS+=ip_6.la
67# UDP
68BIN_PROTOCOLS+=ip_17.la
69# DCCP
70BIN_PROTOCOLS+=ip_33.la
71# IPv6
72TXT_PROTOCOLS+=ip_41.protocol
73# ICMP6
74TXT_PROTOCOLS+=ip_58.protocol
75# SCTP
76BIN_PROTOCOLS+=ip_132.la       
77
78# TCP protocol decoders
79# (tcp_*.la)
80
81# UDP protocol decoders
82# (udp_*.la)
83
84# I shouldn't need to do this
85link_0_la_LDFLAGS=-module
86link_2_la_LDFLAGS=-module
87link_4_la_LDFLAGS=-module
88link_9_la_LDFLAGS=-module
89link_10_la_LDFLAGS=-module
90link_11_la_LDFLAGS=-module
91
92eth_2048_la_LDFLAGS=-module
93eth_2054_la_LDFLAGS=-module
94
95ip_1_la_LDFLAGS=-module
96ip_6_la_LDFLAGS=-module
97ip_17_la_LDFLAGS=-module
98ip_33_la_LDFLAGS=-module
99ip_132_la_LDFLAGS=-module
100
101libpacketdump_la_SOURCES = libpacketdump.cc \
102                        parser/lexer.l \
103                        parser/parser.y \
104                        parser/bitbuffer.c \
105                        parser/bitbuffer.h \
106                        parser/grammer.h
107
108plugin_LTLIBRARIES = $(BIN_PROTOCOLS)
109dist_plugin_DATA = $(TXT_PROTOCOLS)
110
111INCLUDES= @ADD_INCLS@ -I../lib -I../
112libpacketdump_la_LIBADD = @ADD_LIBS@
113libpacketdump_la_LDFLAGS=\
114        -version-info @LIBTRACE_MAJOR@:@LIBTRACE_MINOR@:@LIBTRACE_MID@ \
115        @ADD_LDFLAGS@
116
117AM_CXXFLAGS=-g -Wall -DDIRNAME=\"$(plugindir)\" $(INCLUDES)
118
119EXTRA_DIST=lexer.l parser.y
120BUILT_SOURCES=parser.h
121AM_YFLAGS=-d
122
Note: See TracBrowser for help on using the repository browser.