1999-03-01 18:57:07 +00:00
|
|
|
bin_PROGRAMS = wiretap filterc
|
1999-01-13 04:14:29 +00:00
|
|
|
noinst_LIBRARIES = @LIBWIRETAP_A@
|
|
|
|
|
|
|
|
EXTRA_LIBRARIES = libwiretap.a
|
|
|
|
|
1999-03-01 18:57:07 +00:00
|
|
|
CLEANFILES = \
|
|
|
|
libwiretap.a \
|
|
|
|
filterc \
|
|
|
|
*~ \
|
|
|
|
ct-grammar.c \
|
|
|
|
ct-scanner.c \
|
|
|
|
ct-tokdefs.h \
|
|
|
|
rt-grammar.c \
|
|
|
|
rt-grammar.y \
|
|
|
|
rt-scanner.c \
|
|
|
|
rt-scanner.l \
|
|
|
|
rt-tokdefs.h
|
1998-11-12 00:06:47 +00:00
|
|
|
|
|
|
|
libwiretap_a_SOURCES = \
|
1999-03-01 18:57:07 +00:00
|
|
|
bpf.c \
|
|
|
|
bpf-engine.c \
|
1998-11-12 00:06:47 +00:00
|
|
|
buffer.c \
|
1998-11-17 05:34:29 +00:00
|
|
|
buffer.h \
|
|
|
|
config.h \
|
1998-11-12 00:06:47 +00:00
|
|
|
file.c \
|
1999-01-02 06:10:55 +00:00
|
|
|
iptrace.c \
|
1999-01-04 01:31:18 +00:00
|
|
|
iptrace.h \
|
1998-11-12 06:01:27 +00:00
|
|
|
lanalyzer.c \
|
1998-11-17 05:34:29 +00:00
|
|
|
lanalyzer.h \
|
1998-11-15 05:29:17 +00:00
|
|
|
libpcap.c \
|
1998-11-17 05:34:29 +00:00
|
|
|
libpcap.h \
|
1999-01-17 09:33:15 +00:00
|
|
|
netmon.c \
|
|
|
|
netmon.h \
|
1999-02-20 06:49:27 +00:00
|
|
|
netxray.c \
|
|
|
|
netxray.h \
|
1998-11-12 00:06:47 +00:00
|
|
|
ngsniffer.c \
|
1998-11-17 05:34:29 +00:00
|
|
|
ngsniffer.h \
|
1999-03-01 18:57:07 +00:00
|
|
|
rt-compile.c \
|
|
|
|
rt-grammar.c \
|
|
|
|
rt-scanner.c \
|
1998-11-15 05:29:17 +00:00
|
|
|
snoop.c \
|
1998-11-17 05:34:29 +00:00
|
|
|
snoop.h \
|
|
|
|
wtap.c \
|
|
|
|
wtap.h
|
1999-03-01 18:57:07 +00:00
|
|
|
|
|
|
|
filterc_SOURCES = \
|
|
|
|
ct-compile.c \
|
|
|
|
ct-grammar.c \
|
|
|
|
ct-main.c \
|
|
|
|
ct-scanner.c \
|
|
|
|
glib-new.c
|
|
|
|
|
|
|
|
FILTERS = \
|
|
|
|
filter-eth \
|
|
|
|
filter-tr
|
|
|
|
|
1999-03-28 18:32:03 +00:00
|
|
|
CT_YACC=@YACC@
|
|
|
|
CT_LEX=@LEX@ -i
|
|
|
|
RT_YACC=@YACC@ -p wtap_
|
|
|
|
RT_LEX=@LEX@ -i -Pwtap_
|
1999-03-01 18:57:07 +00:00
|
|
|
|
|
|
|
ct-grammar.c : ct-grammar.y
|
|
|
|
@rm -f $@ ct-tokdefs.h
|
|
|
|
$(CT_YACC) -d $<
|
|
|
|
mv y.tab.c ct-grammar.c
|
|
|
|
mv y.tab.h ct-tokdefs.h
|
|
|
|
|
|
|
|
ct-scanner.c : ct-scanner.l
|
|
|
|
@rm -f $@
|
|
|
|
$(CT_LEX) -t $< > $@
|
|
|
|
|
1999-03-02 07:04:55 +00:00
|
|
|
rt-scanner.l : rt-scanner-skel.l filterc $(FILTERS)
|
1999-03-01 18:57:07 +00:00
|
|
|
cat $(FILTERS) | ./filterc > /dev/null
|
|
|
|
|
|
|
|
rt-scanner.c : rt-scanner.l rt-grammar.c
|
|
|
|
@rm -f $@
|
|
|
|
$(RT_LEX) -t $< > $@
|
|
|
|
|
1999-03-02 07:04:55 +00:00
|
|
|
rt-grammar.y : rt-grammar-skel.y filterc $(FILTERS)
|
1999-03-01 18:57:07 +00:00
|
|
|
cat $(FILTERS) | ./filterc > /dev/null
|
|
|
|
|
|
|
|
rt-grammar.c : rt-grammar.y
|
|
|
|
@rm -f $@ rt-tokdefs.h
|
|
|
|
$(RT_YACC) -d $<
|
|
|
|
mv y.tab.c rt-grammar.c
|
|
|
|
mv y.tab.h rt-tokdefs.h
|
|
|
|
|
|
|
|
wiretap_SOURCES = \
|
|
|
|
wiretap.c \
|
|
|
|
glib-new.c
|
|
|
|
|
|
|
|
wiretap_LDADD = libwiretap.a
|