source: libpacketdump/Makefile.am @ 8013711

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

fixes in libpacketdump's Makefile

  • Property mode set to 100644
File size: 880 bytes
Line 
1lib_LTLIBRARIES = libpacketdump.la
2include_HEADERS = libpacketdump.h
3
4libpacketdump_la_SOURCES = libpacketdump.cc
5
6PLUGINDIR=$(libdir)/libpacketdump
7
8INCLUDES= @ADD_INCLS@ -I../lib
9libpacketdump_la_LIBADD = @ADD_LIBS@ 
10libpacketdump_la_LDFLAGS=-version-info 2:23:0 @ADD_LDFLAGS@
11
12AM_CXXFLAGS=-g -Wall -DDIRNAME=\"$(PLUGINDIR)\" -rdynamic $(INCLUDES)
13
14LINK_LAYERS=$(addsuffix .so,$(basename $(wildcard link_*.cc)))
15ETH_LAYERS=$(addsuffix .so,$(basename $(wildcard eth_*.cc)))
16IP_LAYERS=$(addsuffix .so,$(basename $(wildcard ip_*.cc)))
17TCP_LAYERS=$(addsuffix .so,$(basename $(wildcard tcp_*.cc)))
18PLUGINS=$(LINK_LAYERS) $(ETH_LAYERS) $(IP_LAYERS) $(TCP_LAYERS)
19
20
21%.so: %.cc
22        $(CXX) $(AM_CXXFLAGS) -fpic -shared $^ -o $@
23
24all-local: $(PLUGINS)
25       
26clean-local:
27        rm $(PLUGINS)
28
29install-exec-local:
30        for plugin in $(PLUGINS); do install -D -m 755 $$plugin $(PLUGINDIR)/$$plugin; done
Note: See TracBrowser for help on using the repository browser.