1SubDir HAIKU_TOP src bin network tcpdump libpcap ;
2
3UseHeaders [ FDirName $(SUBDIR) ] : true ;
4SEARCH_SOURCE += [ FDirName $(SUBDIR) bpf net ] ;
5
6local defines = [ FDefines HAVE_CONFIG_H=1 _U_=\"__attribute__((unused))\" yylval=pcap_lval ] ;
7
8SubDirCcFlags $(defines) ;
9SubDirC++Flags $(defines) ;
10
11StaticLibrary libpcap.a :
12	fad-gifc.c
13	pcap-haiku.cpp
14
15	bpf_filter.c
16	bpf_image.c
17	bpf_dump.c
18	etherent.c
19	gencode.c
20	grammar.y
21	inet.c
22	nametoaddr.c
23	optimize.c
24	pcap.c
25	savefile.c
26	scanner.l
27	version.c
28;
29
30# scanner.l includes the generated grammar.h
31Includes [ FGristFiles scanner.l ] : [ FGristFiles grammar.h ] ;
32