source: libpacketdump/Makefile.am @ 64b6517

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since 64b6517 was 14d8a63, checked in by Daniel Lawson <dlawson@…>, 16 years ago

update to version 3.0.0
zero-copy patch - trace.c updated with new trace_create_packet() etc
format_*.c updated with zero-copy codepath

  • Property mode set to 100644
File size: 957 bytes
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)
8
9PLUGINSOURCES=$(LINK_LAYERS) $(ETH_LAYERS) $(IP_LAYERS) $(TCP_LAYERS)
10PLUGINS=$(addsuffix .so,$(basename $(PLUGINSOURCES)))
11
12libpacketdump_la_SOURCES = libpacketdump.cc $(PLUGINSOURCES)
13
14PLUGINDIR=$(libdir)/libpacketdump
15
16INCLUDES= @ADD_INCLS@ -I../lib -I../
17libpacketdump_la_LIBADD = @ADD_LIBS@  -ldl
18libpacketdump_la_LDFLAGS=-version-info 3:0:0 @ADD_LDFLAGS@
19
20AM_CXXFLAGS=-g -Wall -DDIRNAME=\"$(PLUGINDIR)\" -rdynamic $(INCLUDES)
21
22
23
24%.so: %.cc
25        $(CXX) $(AM_CXXFLAGS) -fpic -shared $^ -o $@
26
27all-local: $(PLUGINS)
28       
29clean-local:
30        rm -f $(PLUGINS)
31
32install-exec-local:
33        for plugin in $(PLUGINS); do install -D -m 755 $$plugin $(PLUGINDIR)/$$plugin; done
34
35uninstall-local:
36        for plugin in $(PLUGINS); do rm -f $(PLUGINDIR)/$$plugin; done
37        rmdir $(PLUGINDIR)
Note: See TracBrowser for help on using the repository browser.