source: libpacketdump/Makefile.am @ c6fed13

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since c6fed13 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
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
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
[bed8c66]28#TXT_PROTOCOLS+=link_6.protocol
29BIN_PROTOCOLS+=link_6.la
[9e528f6]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#                               
[003cb8a]54
[1dc7df3]55# Radiotap
56BIN_PROTOCOLS+=link_15.la
57
[7ecfe7f]58# Decoders for various ethertypes (in decimal)
[9e528f6]59# IPv4
60BIN_PROTOCOLS+=eth_2048.la
61# ARP
62BIN_PROTOCOLS+=eth_2054.la     
63# IPv6
64TXT_PROTOCOLS+=eth_33024.protocol       
[09ebdb4]65# MPLS
66BIN_PROTOCOLS+=eth_34887.la
[6758276]67# 802.1x
68BIN_PROTOCOLS+=eth_34958.la
[61ecfb6]69
[7ecfe7f]70# IP Protocol decoders
[9e528f6]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       
[61ecfb6]85
[7ecfe7f]86# TCP protocol decoders
87# (tcp_*.la)
[61ecfb6]88
[7ecfe7f]89# UDP protocol decoders
90# (udp_*.la)
[61ecfb6]91
[7ecfe7f]92# I shouldn't need to do this
93link_0_la_LDFLAGS=-module
94link_2_la_LDFLAGS=-module
95link_4_la_LDFLAGS=-module
[bed8c66]96link_6_la_LDFLAGS=-module
[7ecfe7f]97link_9_la_LDFLAGS=-module
98link_10_la_LDFLAGS=-module
99link_11_la_LDFLAGS=-module
[1dc7df3]100link_15_la_LDFLAGS=-module
[0a22046]101eth_2048_la_LDFLAGS=-module
102eth_2054_la_LDFLAGS=-module
[09ebdb4]103eth_34887_la_LDFLAGS=-module
[6758276]104eth_34958_la_LDFLAGS=-module
[0a22046]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
[e2b0232]112libpacketdump_la_SOURCES = libpacketdump.cc \
[4f666aa]113                        lexer.l parser.y bitbuffer.c bitbuffer.h grammar.h
[61ecfb6]114
[7ecfe7f]115plugin_LTLIBRARIES = $(BIN_PROTOCOLS)
[1034a10]116dist_plugin_DATA = $(TXT_PROTOCOLS)
[7ecfe7f]117
[4f666aa]118INCLUDES= @ADD_INCLS@ -I../lib
[bf0f554]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@
[7ecfe7f]124libpacketdump_la_LDFLAGS=\
125        -version-info @LIBTRACE_MAJOR@:@LIBTRACE_MINOR@:@LIBTRACE_MID@ \
[4a4cc39]126        @ADD_LDFLAGS@
[61ecfb6]127
[7ecfe7f]128AM_CXXFLAGS=-g -Wall -DDIRNAME=\"$(plugindir)\" $(INCLUDES)
[4f666aa]129BUILT_SOURCES=parser.h
130AM_YFLAGS=-d
131EXTRA_DIST=lexer.l parser.y
Note: See TracBrowser for help on using the repository browser.