source: libpacketdump/Makefile.am @ bd6869b

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

Add IPv6 header decoding

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[61ecfb6]1lib_LTLIBRARIES = libpacketdump.la
2include_HEADERS = libpacketdump.h
3
[77509e9]4LINK_LAYERS=$(wildcard link_*.cc)
5ETH_LAYERS=$(wildcard eth_*.cc)
6IP_LAYERS=$(wildcard ip_*.cc)
7TCP_LAYERS=$(wildcard tcp_*.cc)
[7d78151]8TEXT_PROTOCOLS=$(wildcard *.protocol)
[77509e9]9
10PLUGINSOURCES=$(LINK_LAYERS) $(ETH_LAYERS) $(IP_LAYERS) $(TCP_LAYERS)
[7d78151]11PLUGINS=$(addsuffix .so,$(basename $(PLUGINSOURCES))) $(TEXT_PROTOCOLS)
[77509e9]12
[003cb8a]13SUBDIRS = parser
14
[77509e9]15libpacketdump_la_SOURCES = libpacketdump.cc $(PLUGINSOURCES)
[61ecfb6]16
17PLUGINDIR=$(libdir)/libpacketdump
18
[77509e9]19INCLUDES= @ADD_INCLS@ -I../lib -I../
[003cb8a]20libpacketdump_la_LIBADD = @ADD_LIBS@ -lparser
[e5f1431]21libpacketdump_la_LDFLAGS=\
22        -version-info @LIBTRACE_MAJOR@:@LIBTRACE_MINOR@:@LIBTRACE_MID@ \
[003cb8a]23        @ADD_LDFLAGS@ \
24        -L./parser
[61ecfb6]25
[d18312c]26AM_CXXFLAGS=-g -Wall -DDIRNAME=\"$(PLUGINDIR)\" -rdynamic $(INCLUDES)
[61ecfb6]27
28
29
30%.so: %.cc
31        $(CXX) $(AM_CXXFLAGS) -fpic -shared $^ -o $@
32
33all-local: $(PLUGINS)
34       
35clean-local:
[77509e9]36        rm -f $(PLUGINS)
[61ecfb6]37
38install-exec-local:
[4e65f42]39        mkdir -p $(DESTDIR)$(PLUGINDIR); for plugin in $(PLUGINS); do install -m 755 $$plugin $(DESTDIR)$(PLUGINDIR)/$$plugin; done
[4a605a9]40
[5540efc]41uninstall-local:
[4a605a9]42        for plugin in $(PLUGINS); do rm -f $(PLUGINDIR)/$$plugin; done
[dc98704]43        rmdir $(PLUGINDIR)
Note: See TracBrowser for help on using the repository browser.