source: libpacketdump/Makefile.am @ 1034a10

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

Always distribute .protocol files

  • Property mode set to 100644
File size: 1.9 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
10BIN_PROTOCOLS+=link_0.la        # Legacy
11#                               # HDLC_POS
12BIN_PROTOCOLS+=link_2.la        # Ethernet
13TXT_PROTOCOLS+=link_3.protocol  # ATM
14BIN_PROTOCOLS+=link_4.la        # 802.11
15#                               # NONE
16BIN_PROTOCOLS+=link_6.la        # Linux SLL
17TXT_PROTOCOLS+=link_7.protocol  # PFLog
18#                               # Obsolete legacy
19BIN_PROTOCOLS+=link_9.la        # POS
20#                               # Obsolete Legacy ATM
21BIN_PROTOCOLS+=link_10.la       # Obsolete Legacy Ethernet
22BIN_PROTOCOLS+=link_11.la       # 802.11 Prism
23#                               # AAL5
24#                               # Duck
[003cb8a]25
[7ecfe7f]26# Decoders for various ethertypes (in decimal)
[0a22046]27BIN_PROTOCOLS+=eth_2048.la              # IPv4
28BIN_PROTOCOLS+=eth_2054.la              # ARP
29TXT_PROTOCOLS+=eth_33024.protocol       # IPv6
[61ecfb6]30
[7ecfe7f]31# IP Protocol decoders
32BIN_PROTOCOLS+=ip_1.la  # ICMP
33BIN_PROTOCOLS+=ip_6.la  # TCP
34BIN_PROTOCOLS+=ip_17.la # UDP
35BIN_PROTOCOLS+=ip_33.la # DCCP
36TXT_PROTOCOLS+=ip_41.protocol # IPv6
37TXT_PROTOCOLS+=ip_58.protocol # ICMP6
38BIN_PROTOCOLS+=ip_132.la        # SCTP
[61ecfb6]39
[7ecfe7f]40# TCP protocol decoders
41# (tcp_*.la)
[61ecfb6]42
[7ecfe7f]43# UDP protocol decoders
44# (udp_*.la)
[61ecfb6]45
[7ecfe7f]46# I shouldn't need to do this
47link_0_la_LDFLAGS=-module
48link_2_la_LDFLAGS=-module
49link_4_la_LDFLAGS=-module
50link_6_la_LDFLAGS=-module
51link_9_la_LDFLAGS=-module
52link_10_la_LDFLAGS=-module
53link_11_la_LDFLAGS=-module
[61ecfb6]54
[0a22046]55eth_2048_la_LDFLAGS=-module
56eth_2054_la_LDFLAGS=-module
57
58ip_1_la_LDFLAGS=-module
59ip_6_la_LDFLAGS=-module
60ip_17_la_LDFLAGS=-module
61ip_33_la_LDFLAGS=-module
62ip_132_la_LDFLAGS=-module
63
[7ecfe7f]64SUBDIRS = parser
[61ecfb6]65
[7ecfe7f]66libpacketdump_la_SOURCES = libpacketdump.cc $(BIN_PROTOCOLS)
[61ecfb6]67
[7ecfe7f]68plugin_LTLIBRARIES = $(BIN_PROTOCOLS)
[1034a10]69dist_plugin_DATA = $(TXT_PROTOCOLS)
[7ecfe7f]70
71INCLUDES= @ADD_INCLS@ -I../lib -I../
72libpacketdump_la_LIBADD = @ADD_LIBS@ -lparser
73libpacketdump_la_LDFLAGS=\
74        -version-info @LIBTRACE_MAJOR@:@LIBTRACE_MINOR@:@LIBTRACE_MID@ \
75        @ADD_LDFLAGS@ \
76        -L./parser
[61ecfb6]77
[7ecfe7f]78AM_CXXFLAGS=-g -Wall -DDIRNAME=\"$(plugindir)\" $(INCLUDES)
[4a605a9]79
Note: See TracBrowser for help on using the repository browser.