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@…>, 16 years ago
|
Add tests for time
|
-
Property mode set to
100644
|
File size:
681 bytes
|
Rev | Line | |
---|
[06b2bcf] | 1 | |
---|
| 2 | PREFIX=../ |
---|
| 3 | CC=gcc |
---|
| 4 | |
---|
| 5 | INCLUDE = -I$(PREFIX)/lib |
---|
| 6 | CFLAGS = -Wall -Wimplicit -Wformat -pipe -g -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE |
---|
| 7 | CFLAGS += $(INCLUDE) |
---|
| 8 | libdir = $(PREFIX)/lib/.libs |
---|
| 9 | LDLIBS = -L$(libdir) -ltrace |
---|
| 10 | |
---|
[1b4901a] | 11 | BINS = 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 | |
---|
| 15 | all: $(BINS) |
---|
[5b91b48] | 16 | |
---|
| 17 | test: all |
---|
| 18 | for i in $(BINS); do \ |
---|
| 19 | echo \* $$i; \ |
---|
| 20 | LD_LIBRARY_PATH=$(libdir) \ |
---|
| 21 | ./$$i || exit $$?; \ |
---|
| 22 | done |
---|
[06b2bcf] | 23 | |
---|
| 24 | clean: |
---|
| 25 | $(RM) $(BINS) $(OBJS) |
---|
| 26 | |
---|
| 27 | distclean: |
---|
| 28 | $(RM) $(BINS) $(OBJS) |
---|
| 29 | |
---|
| 30 | install: |
---|
| 31 | @true |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | # vim: noet ts=8 sw=8 |
---|
Note: See
TracBrowser
for help on using the repository browser.