source: libpacketdump/Makefile.am @ 14d8a63

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since 14d8a63 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
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)
8
9PLUGINSOURCES=$(LINK_LAYERS) $(ETH_LAYERS) $(IP_LAYERS) $(TCP_LAYERS)
10PLUGINS=$(addsuffix .so,$(basename $(PLUGINSOURCES)))
11
12libpacketdump_la_SOURCES = libpacketdump.cc $(PLUGINSOURCES)
[61ecfb6]13
14PLUGINDIR=$(libdir)/libpacketdump
15
[77509e9]16INCLUDES= @ADD_INCLS@ -I../lib -I../
[0b4684a]17libpacketdump_la_LIBADD = @ADD_LIBS@  -ldl
[14d8a63]18libpacketdump_la_LDFLAGS=-version-info 3:0:0 @ADD_LDFLAGS@
[61ecfb6]19
[d18312c]20AM_CXXFLAGS=-g -Wall -DDIRNAME=\"$(PLUGINDIR)\" -rdynamic $(INCLUDES)
[61ecfb6]21
22
23
24%.so: %.cc
25        $(CXX) $(AM_CXXFLAGS) -fpic -shared $^ -o $@
26
27all-local: $(PLUGINS)
28       
29clean-local:
[77509e9]30        rm -f $(PLUGINS)
[61ecfb6]31
32install-exec-local:
33        for plugin in $(PLUGINS); do install -D -m 755 $$plugin $(PLUGINDIR)/$$plugin; done
[4a605a9]34
[5540efc]35uninstall-local:
[4a605a9]36        for plugin in $(PLUGINS); do rm -f $(PLUGINDIR)/$$plugin; done
[dc98704]37        rmdir $(PLUGINDIR)
Note: See TracBrowser for help on using the repository browser.