source: test/Makefile @ 0d57541

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since 0d57541 was 0d57541, checked in by Perry Lorier <perry@…>, 15 years ago

Add preliminary seek support

  • Property mode set to 100644
File size: 694 bytes
Line 
1
2PREFIX=../
3CC=gcc
4
5INCLUDE = -I$(PREFIX)/lib
6CFLAGS = -Wall -Wimplicit -Wformat -pipe -g -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
7CFLAGS += $(INCLUDE)
8libdir = $(PREFIX)/lib/.libs
9LDLIBS = -L$(libdir) -ltrace
10
11BINS = test1 test2 test-pcap test-pcap-bpf test-erf-write test-erf-to-pcap \
12        test-pcap-to-erf test-wtf test-rtclient test-event test-time \
13        test-seek
14.PHONY: all clean distclean install depend test
15
16all: $(BINS) 
17
18test: all
19        for i in $(BINS); do                                    \
20                echo \* $$i;                                    \
21                LD_LIBRARY_PATH=$(libdir)                       \
22                 ./$$i || exit $$?;                             \
23        done                           
24 
25clean:
26        $(RM) $(BINS) $(OBJS) 
27
28distclean:
29        $(RM) $(BINS) $(OBJS) 
30
31install:
32        @true
33
34
35# vim: noet ts=8 sw=8
Note: See TracBrowser for help on using the repository browser.