source: libpacketdump/Makefile.am @ 11c4044

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

Add IPv6 header decoding

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