develop
Last change
on this file since 71f218a was
e78e408,
checked in by Jacob van Walraven <jacobvw@…>, 2 years ago
|
Add some tests for trace_get_outermost_vlan, trace_get_outermost_mpls and trace_get_layer2_headers
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | |
---|
2 | RM=rm |
---|
3 | PREFIX=../ |
---|
4 | CC=gcc |
---|
5 | |
---|
6 | INCLUDE = -I$(PREFIX)/lib -I$(PREFIX)/libpacketdump |
---|
7 | CFLAGS = -Wall -Wimplicit -Wformat -W -pedantic -pipe -g -O2 -std=gnu99 -pthread \ |
---|
8 | -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE |
---|
9 | CFLAGS += $(INCLUDE) |
---|
10 | libdir = $(PREFIX)/lib/.libs:$(PREFIX)/libpacketdump/.libs |
---|
11 | LDLIBS = -L$(PREFIX)/lib/.libs -L$(PREFIX)/libpacketdump/.libs -ltrace -lpacketdump |
---|
12 | |
---|
13 | BINS_DATASTRUCT = test-datastruct-vector test-datastruct-deque \ |
---|
14 | test-datastruct-ringbuffer |
---|
15 | BINS_PARALLEL = test-format-parallel test-format-parallel-hasher \ |
---|
16 | test-format-parallel-singlethreaded test-format-parallel-stressthreads \ |
---|
17 | test-format-parallel-singlethreaded-hasher test-format-parallel-reporter test-tracetime-parallel |
---|
18 | |
---|
19 | BINS = test-pcap-bpf test-event test-time test-dir test-wireless test-errors \ |
---|
20 | test-plen test-autodetect test-ports test-fragment test-live \ |
---|
21 | test-live-snaplen test-vxlan test-setcaplen test-wlen test-vlan \ |
---|
22 | test-mpls test-layer2-headers \ |
---|
23 | $(BINS_DATASTRUCT) $(BINS_PARALLEL) |
---|
24 | |
---|
25 | .PHONY: all clean distclean install depend test |
---|
26 | |
---|
27 | all: $(BINS) test-drops test-format test-decode test-decode2 test-write test-convert test-convert2 |
---|
28 | |
---|
29 | clean: |
---|
30 | $(RM) $(BINS) $(OBJS) test-format test-decode test-convert \ |
---|
31 | test-decode2 test-write test-drops test-convert2 |
---|
32 | |
---|
33 | distclean: |
---|
34 | $(RM) $(BINS) $(OBJS) test-format test-decode test-convert test-drops test-convert2 |
---|
35 | |
---|
36 | install: |
---|
37 | @true |
---|
38 | |
---|
39 | # vim: noet ts=8 sw=8 |
---|
Note: See
TracBrowser
for help on using the repository browser.