source: test/Makefile @ c6a6c3a

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

Add tests for time

  • Property mode set to 100644
File size: 681 bytes
RevLine 
[06b2bcf]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
[1b4901a]11BINS = test1 test2 test-pcap test-pcap-bpf test-erf-write test-erf-to-pcap \
[c6a6c3a]12        test-pcap-to-erf test-wtf test-rtclient test-event test-time
[5b91b48]13.PHONY: all clean distclean install depend test
[06b2bcf]14
15all: $(BINS) 
[5b91b48]16
17test: all
18        for i in $(BINS); do                                    \
19                echo \* $$i;                                    \
20                LD_LIBRARY_PATH=$(libdir)                       \
21                 ./$$i || exit $$?;                             \
22        done                           
[06b2bcf]23 
24clean:
25        $(RM) $(BINS) $(OBJS) 
26
27distclean:
28        $(RM) $(BINS) $(OBJS) 
29
30install:
31        @true
32
33
34# vim: noet ts=8 sw=8
Note: See TracBrowser for help on using the repository browser.