source: examples/munge/lib/Makefile @ 05e83dc

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since 05e83dc was 05e83dc, checked in by Daniel Lawson <dlawson@…>, 16 years ago

some assorted fixes in the examples tree, to support building under freebsd. Isn't quite there yet.

Changed trace_read_packet to use pcap_next_ex, and to set a timeout of 1ms on pcap_open. This fixes the blocking under freebsd, it seems

  • Property mode set to 100644
File size: 548 bytes
Line 
1
2CC=gcc
3
4CFLAGS = -Wall -Wimplicit -Wformat -pipe -O2 -fPIC -g
5CFLAGS += -I ../../../ -I/usr/local/include
6LDFLAGS = -L/tmp/lib -L/usr/local/lib -L.
7
8BINS = libtrace_enc.a test-enc
9.PHONY: all clean distclean install depend
10
11all: $(BINS) 
12
13clean:
14        $(RM) *~ *.o $(BINS) $(OBJS) core
15
16distclean:
17        $(RM) *~ *.o $(BINS) $(OBJS) core
18
19install:
20        @true
21
22
23libtrace_enc.a: libtrace_enc.a(libtrace_enc.o) \
24                libtrace_enc.a(panon.o) \
25                libtrace_enc.a(rijndael.o)
26
27test-enc: LDLIBS=libtrace_enc.a
28test-enc: libtrace_enc.o test-enc.c
29
30
31# vim: noet ts=8 sw=8
Note: See TracBrowser for help on using the repository browser.