]> git.cameronkatri.com Git - apple_cmds.git/blob - network_cmds/ecnprobe/Makefile
network_cmds: Get it all working
[apple_cmds.git] / network_cmds / ecnprobe / Makefile
1 PROG= ecnprobe
2 MAN= ecnprobe.1
3 SRCS= capture.c ecn_probe.c ecn.c gmt2local.c \
4 history.c inet.c session.c support.c
5
6 # libpcap sources
7 SRCS+= pcap.c bpf_filter.c gencode.c grammar.y \
8 scanner.l nametoaddr.c optimize.c pcap-bpf.c \
9 fad-getad.c pcap-darwin.c pcap-common.c \
10 fmtutils.c pcap-util.c pcapng.c sf-pcapng.c \
11 savefile.c sf-pcap.c
12
13 CLEANFILES=scanner.h
14 YFLAGS+=-p pcap_
15 LFLAGS+=-Ppcap_ --header-file=${.OBJDIR}/scanner.h --nounput
16
17 CFLAGS+=-I${.CURDIR}/../../lib/libpcap/libpcap/
18 CFLAGS+=-I${.OBJDIR} -I${.CURDIR} -DHAVE_CONFIG_H
19
20 gencode.o: scanner.c
21
22 .PATH: ${.CURDIR}/../../lib/libpcap/libpcap
23
24 BINDIR=/usr/bin
25
26 .include <bsd.prog.mk>