4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change
on this file since 44c6c85 was
77509e9,
checked in by Daniel Lawson <dlawson@…>, 17 years ago
|
fixed makefile in libpacketdump to actually work!
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | lib_LTLIBRARIES = libpacketdump.la |
---|
2 | include_HEADERS = libpacketdump.h |
---|
3 | |
---|
4 | #LINK_LAYERS=$(addsuffix .so,$(basename $(wildcard link_*.cc))) |
---|
5 | #ETH_LAYERS=$(addsuffix .so,$(basename $(wildcard eth_*.cc))) |
---|
6 | #IP_LAYERS=$(addsuffix .so,$(basename $(wildcard ip_*.cc))) |
---|
7 | #TCP_LAYERS=$(addsuffix .so,$(basename $(wildcard tcp_*.cc))) |
---|
8 | |
---|
9 | LINK_LAYERS=$(wildcard link_*.cc) |
---|
10 | ETH_LAYERS=$(wildcard eth_*.cc) |
---|
11 | IP_LAYERS=$(wildcard ip_*.cc) |
---|
12 | TCP_LAYERS=$(wildcard tcp_*.cc) |
---|
13 | |
---|
14 | PLUGINSOURCES=$(LINK_LAYERS) $(ETH_LAYERS) $(IP_LAYERS) $(TCP_LAYERS) |
---|
15 | PLUGINS=$(addsuffix .so,$(basename $(PLUGINSOURCES))) |
---|
16 | |
---|
17 | libpacketdump_la_SOURCES = libpacketdump.cc $(PLUGINSOURCES) |
---|
18 | |
---|
19 | PLUGINDIR=$(libdir)/libpacketdump |
---|
20 | |
---|
21 | INCLUDES= @ADD_INCLS@ -I../lib -I../ |
---|
22 | libpacketdump_la_LIBADD = @ADD_LIBS@ |
---|
23 | libpacketdump_la_LDFLAGS=-version-info 2:23:0 @ADD_LDFLAGS@ |
---|
24 | |
---|
25 | AM_CXXFLAGS=-g -Wall -DDIRNAME=\"$(PLUGINDIR)\" -rdynamic $(INCLUDES) |
---|
26 | |
---|
27 | |
---|
28 | |
---|
29 | %.so: %.cc |
---|
30 | $(CXX) $(AM_CXXFLAGS) -fpic -shared $^ -o $@ |
---|
31 | |
---|
32 | all-local: $(PLUGINS) |
---|
33 | |
---|
34 | clean-local: |
---|
35 | rm -f $(PLUGINS) |
---|
36 | |
---|
37 | install-exec-local: |
---|
38 | for plugin in $(PLUGINS); do install -D -m 755 $$plugin $(PLUGINDIR)/$$plugin; done |
---|
Note: See
TracBrowser
for help on using the repository browser.