1# Makefile for libpcap
| 1# Makefile for libpcap
|
2# $FreeBSD: head/lib/libpcap/Makefile 127667 2004-03-31 09:15:09Z bms $
| 2# $FreeBSD: head/lib/libpcap/Makefile 136027 2004-10-01 15:38:07Z kensmith $
|
3 4LIB= pcap 5SRCS= grammar.y tokdefs.h version.h pcap-bpf.c \ 6 pcap.c inet.c fad-getad.c gencode.c optimize.c nametoaddr.c \ 7 etherent.c savefile.c bpf_filter.c bpf_image.c bpf_dump.c \ 8 scanner.l version.c 9INCS= pcap.h pcap-int.h pcap-namedb.h 10MAN= pcap.3 11CLEANFILES=tokdefs.h version.h version.c 12 13YFLAGS+=-p pcapyy 14LFLAGS+=-Ppcapyy 15CFLAGS+=-DHAVE_CONFIG_H -Dyylval=pcapyylval -I${.CURDIR} -I. 16CFLAGS+=-D_U_="__attribute__((unused))" 17CFLAGS+=-DHAVE_SNPRINTF -DHAVE_VSNPRINTF 18.if !defined(NOINET6) 19CFLAGS+=-DINET6 20.endif 21
| 3 4LIB= pcap 5SRCS= grammar.y tokdefs.h version.h pcap-bpf.c \ 6 pcap.c inet.c fad-getad.c gencode.c optimize.c nametoaddr.c \ 7 etherent.c savefile.c bpf_filter.c bpf_image.c bpf_dump.c \ 8 scanner.l version.c 9INCS= pcap.h pcap-int.h pcap-namedb.h 10MAN= pcap.3 11CLEANFILES=tokdefs.h version.h version.c 12 13YFLAGS+=-p pcapyy 14LFLAGS+=-Ppcapyy 15CFLAGS+=-DHAVE_CONFIG_H -Dyylval=pcapyylval -I${.CURDIR} -I. 16CFLAGS+=-D_U_="__attribute__((unused))" 17CFLAGS+=-DHAVE_SNPRINTF -DHAVE_VSNPRINTF 18.if !defined(NOINET6) 19CFLAGS+=-DINET6 20.endif 21
|
22SHLIB_MAJOR=2
| 22SHLIB_MAJOR=3
|
23 24# 25# Magic to grab sources out of src/contrib 26# 27PCAP_DISTDIR?=${.CURDIR}/../../contrib/libpcap 28CFLAGS+=-I${PCAP_DISTDIR} 29.PATH: ${PCAP_DISTDIR} 30.PATH: ${PCAP_DISTDIR}/bpf/net
--- 13 unchanged lines hidden --- | 23 24# 25# Magic to grab sources out of src/contrib 26# 27PCAP_DISTDIR?=${.CURDIR}/../../contrib/libpcap 28CFLAGS+=-I${PCAP_DISTDIR} 29.PATH: ${PCAP_DISTDIR} 30.PATH: ${PCAP_DISTDIR}/bpf/net
--- 13 unchanged lines hidden --- |