source: libpacketdump/Makefile.am @ 2ec8434

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since 2ec8434 was e845da6, checked in by Shane Alcock <salcock@…>, 11 years ago
  • Added a libpacketdump decoder for IPv6 fragment headers
  • Fixed identation of IPv6 header fields in libpacketdump
  • Property mode set to 100644
File size: 3.0 KB
RevLine 
[61ecfb6]1lib_LTLIBRARIES = libpacketdump.la
[7ecfe7f]2include_HEADERS = libpacketdump.h
[61ecfb6]3
[7ecfe7f]4plugindir = $(libdir)/libpacketdump
[77509e9]5
[7ecfe7f]6BIN_PROTOCOLS=
7TXT_PROTOCOLS=
[77509e9]8
[7ecfe7f]9# Link layers supported
[9e528f6]10# Legacy
11BIN_PROTOCOLS+=link_0.la
12
13# HDLC_POS
[ac7037b]14BIN_PROTOCOLS+=link_1.la
[9e528f6]15
16# Ethernet
17BIN_PROTOCOLS+=link_2.la
18
19# ATM
20TXT_PROTOCOLS+=link_3.protocol
21
22# 802.11
23BIN_PROTOCOLS+=link_4.la
24
25# NONE
26#
27
28# Linux SLL
[bed8c66]29#TXT_PROTOCOLS+=link_6.protocol
30BIN_PROTOCOLS+=link_6.la
[9e528f6]31
32# PFLog
33#       
34
35# Obsolete legacy
36#               
37
38# Obsolete Legacy ATM
39#                               
40
[dbdc23f]41# PoS
[ac7037b]42BIN_PROTOCOLS+=link_9.la
[dbdc23f]43
[9e528f6]44# Obsolete Legacy Ethernet
45BIN_PROTOCOLS+=link_10.la       
46
[dbdc23f]47# 802.11 Prism
[9e528f6]48BIN_PROTOCOLS+=link_11.la       
49
[dbdc23f]50# 13: AAL5
[9e528f6]51#                       
[dbdc23f]52# 14: Duck
53#
[003cb8a]54
[dbdc23f]55# 15: Radiotap
[1dc7df3]56BIN_PROTOCOLS+=link_15.la
57
[dbdc23f]58# 16: LLC/SNAP
59#
60# 17: PPP
61TXT_PROTOCOLS+=link_17.protocol
62
[7ecfe7f]63# Decoders for various ethertypes (in decimal)
[9e528f6]64# IPv4
[6ebfd24]65BIN_PROTOCOLS+=eth_0.la
[9e528f6]66BIN_PROTOCOLS+=eth_2048.la
67# ARP
68BIN_PROTOCOLS+=eth_2054.la     
[4e4a77f]69# VLAN (802.1Q)
70BIN_PROTOCOLS+=eth_33024.la
[09ebdb4]71# MPLS
72BIN_PROTOCOLS+=eth_34887.la
[0c47bf4]73# pppoe
74BIN_PROTOCOLS+=eth_34916.la
[6758276]75# 802.1x
76BIN_PROTOCOLS+=eth_34958.la
[61ecfb6]77
[176646e]78# IPv6
79BIN_PROTOCOLS+=eth_34525.la
80
[7ecfe7f]81# IP Protocol decoders
[9e528f6]82# ICMP
83BIN_PROTOCOLS+=ip_1.la
84# TCP
85BIN_PROTOCOLS+=ip_6.la
86# UDP
87BIN_PROTOCOLS+=ip_17.la
88# DCCP
89BIN_PROTOCOLS+=ip_33.la
[e845da6]90# IPv6 Fragment Header
91BIN_PROTOCOLS+=ip_44.la
[9b06a91]92# GRE
93BIN_PROTOCOLS+=ip_47.la
[9e528f6]94# ICMP6
95TXT_PROTOCOLS+=ip_58.protocol
96# SCTP
97BIN_PROTOCOLS+=ip_132.la       
[61ecfb6]98
[7ecfe7f]99# TCP protocol decoders
100# (tcp_*.la)
[61ecfb6]101
[7ecfe7f]102# UDP protocol decoders
103# (udp_*.la)
[61ecfb6]104
[7ecfe7f]105# I shouldn't need to do this
106link_0_la_LDFLAGS=-module
[ac7037b]107link_1_la_LDFLAGS=-module
[7ecfe7f]108link_2_la_LDFLAGS=-module
109link_4_la_LDFLAGS=-module
[66ad025]110link_6_la_LDFLAGS=-module
[ac7037b]111link_9_la_LDFLAGS=-module
[7ecfe7f]112link_10_la_LDFLAGS=-module
113link_11_la_LDFLAGS=-module
[1dc7df3]114link_15_la_LDFLAGS=-module
[6ebfd24]115eth_0_la_LDFLAGS=-module
[0a22046]116eth_2048_la_LDFLAGS=-module
117eth_2054_la_LDFLAGS=-module
[4e4a77f]118eth_33024_la_LDFLAGS=-module
[09ebdb4]119eth_34887_la_LDFLAGS=-module
[0c47bf4]120eth_34916_la_LDFLAGS=-module
[6758276]121eth_34958_la_LDFLAGS=-module
[176646e]122eth_34525_la_LDFLAGS=-module
[0a22046]123
124ip_1_la_LDFLAGS=-module
125ip_6_la_LDFLAGS=-module
126ip_17_la_LDFLAGS=-module
127ip_33_la_LDFLAGS=-module
[e845da6]128ip_44_la_LDFLAGS=-module
[9b06a91]129ip_47_la_LDFLAGS=-module
[0a22046]130ip_132_la_LDFLAGS=-module
131
[176646e]132
[e2b0232]133libpacketdump_la_SOURCES = libpacketdump.cc \
[4f666aa]134                        lexer.l parser.y bitbuffer.c bitbuffer.h grammar.h
[61ecfb6]135
[7ecfe7f]136plugin_LTLIBRARIES = $(BIN_PROTOCOLS)
[1034a10]137dist_plugin_DATA = $(TXT_PROTOCOLS)
[7ecfe7f]138
[4f666aa]139INCLUDES= @ADD_INCLS@ -I../lib
[bf0f554]140
141# NOTE: You CANNOT add @LEXLIBS@ here, as they are statically compiled
142# which on non x86_32 platforms means that they cannot be linked into
143# a shared library.
144libpacketdump_la_LIBADD = @ADD_LIBS@
[7ecfe7f]145libpacketdump_la_LDFLAGS=\
146        -version-info @LIBTRACE_MAJOR@:@LIBTRACE_MINOR@:@LIBTRACE_MID@ \
[4a4cc39]147        @ADD_LDFLAGS@
[61ecfb6]148
[7ecfe7f]149AM_CXXFLAGS=-g -Wall -DDIRNAME=\"$(plugindir)\" $(INCLUDES)
[4f666aa]150BUILT_SOURCES=parser.h
151AM_YFLAGS=-d
152EXTRA_DIST=lexer.l parser.y
[dbdc23f]153
154install-exec-hook:
[fabd05a]155        $(AM_V_GEN)mkdir -p $(DESTDIR)$(plugindir)
156        $(AM_V_GEN)cd $(DESTDIR)$(plugindir) && $(LN_S) -f eth_2048.so ppp_33.so
157        $(AM_V_GEN)cd $(DESTDIR)$(plugindir) && $(LN_S) -f eth_2048.so link_5.so
[0316f8b]158        $(AM_V_GEN)cd $(DESTDIR)$(plugindir) && $(LN_S) -f eth_34525.so ip_41.so
Note: See TracBrowser for help on using the repository browser.