mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 14:39:37 +00:00
22d085f9da
Add -I${PCAP_DISTDIR}/bpf to CFLAGS since our <net/bpf.h> is out of date. Remove -Wall and -Dlint. DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 \ -DHAVE_SOCKADDR_SA_LEN=1 -DLBL_ALIGN=1 CFLAGS+=-I. -Dyylval=pcap_lval ${DEFS} SHLIB_MAJOR=2 SHLIB_MINOR=2 # # Magic to grab sources out of src/contrib # PCAP_DISTDIR?=${.CURDIR}/../../contrib/libpcap CFLAGS+=-I${PCAP_DISTDIR} -I${PCAP_DISTDIR}/lbl -I${PCAP_DISTDIR}/bpf .PATH: ${PCAP_DISTDIR} .PATH: ${PCAP_DISTDIR}/bpf/net beforeinstall: .for i in pcap.h pcap-namedb.h ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${PCAP_DISTDIR}/$i \ ${DESTDIR}/usr/include .endfor tokdefs.h grammar.c: grammar.y ${YACC} ${YACCFLAGS} -d ${PCAP_DISTDIR}/grammar.y mv y.tab.c grammar.c mv y.tab.h tok/home/ncvs/CVSROOT/commitcheck |
||
---|---|---|
.. | ||
Makefile |