source: test/Makefile @ f051c1b

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivelibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since f051c1b was f051c1b, checked in by Richard Sanger <rsangerarj@…>, 7 years ago

Tidies up the state messages received, now all states are passed through created->resumed->paused->stopped this might simplify some code. Removed the extra paused state.
Hooks up the reporter method through trace_pstart, hopefully resulting in simpler code most of the time. Also renames this from reducer to reporter anywhere it was not already. Adds a test for this also.
Removes is_packet from a result in favour of a more generic type, with packet being one of these.
Moves configuration for tuning relelated settings into a single structure.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1
2RM=rm
3PREFIX=../
4CC=gcc
5
6INCLUDE = -I$(PREFIX)/lib -I$(PREFIX)/libpacketdump
7CFLAGS = -Wall -Wimplicit -Wformat -W -pedantic -pipe -g -O2 -std=gnu99 -pthread \
8                -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
9CFLAGS += $(INCLUDE)
10libdir = $(PREFIX)/lib/.libs:$(PREFIX)/libpacketdump/.libs
11LDLIBS = -L$(PREFIX)/lib/.libs -L$(PREFIX)/libpacketdump/.libs -ltrace -lpacketdump
12
13BINS_DATASTRUCT = test-datastruct-vector test-datastruct-deque \
14        test-datastruct-ringbuffer
15BINS_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
18
19BINS = test-pcap-bpf test-event test-time test-dir test-wireless test-errors \
20        test-plen test-autodetect test-ports test-fragment test-live test-live-snaplen \
21        $(BINS_DATASTRUCT) $(BINS_PARALLEL)
22
23.PHONY: all clean distclean install depend test
24
25all: $(BINS) test-drops test-format test-decode test-decode2 test-write test-convert test-convert2
26
27clean:
28        $(RM) $(BINS) $(OBJS) test-format test-decode test-convert \
29        test-decode2 test-write test-drops test-convert2
30
31distclean:
32        $(RM) $(BINS) $(OBJS) test-format test-decode test-convert test-drops test-convert2
33
34install:
35        @true
36
37# vim: noet ts=8 sw=8
Note: See TracBrowser for help on using the repository browser.