diff options
author | peter <peter@FreeBSD.org> | 1996-08-30 01:59:46 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-08-30 01:59:46 +0000 |
commit | ccd40c8c6245ddcbf1e6e6ce40c461359d92d5b4 (patch) | |
tree | 5796d0fb19c7e242b622b14d6765b26b4fa35f92 /lib | |
parent | f6fa94816af49f6a3ba933fd5a2bee74dd072d52 (diff) | |
download | FreeBSD-src-ccd40c8c6245ddcbf1e6e6ce40c461359d92d5b4.zip FreeBSD-src-ccd40c8c6245ddcbf1e6e6ce40c461359d92d5b4.tar.gz |
cmp -s || install -c ==> install -C, use .for loop for includes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libpcap/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile index 1d40b7d..52deb1a 100644 --- a/lib/libpcap/Makefile +++ b/lib/libpcap/Makefile @@ -1,5 +1,5 @@ # Makefile for libpcap -# $Id: Makefile,v 1.10 1996/08/20 05:43:51 pst Exp $ +# $Id: Makefile,v 1.11 1996/08/21 16:50:08 pst Exp $ LIB= pcap SRCS= pcap-bpf.c \ @@ -27,13 +27,10 @@ CFLAGS+=-I${PCAP_DISTDIR} -I${PCAP_DISTDIR}/lbl .PATH: ${PCAP_DISTDIR}/bpf/net beforeinstall: - -cmp -s ${PCAP_DISTDIR}/pcap.h ${DESTDIR}/usr/include/pcap.h || \ - ( $(INSTALL) -c -o ${BINOWN} -g ${BINGRP} -m 444 \ - ${PCAP_DISTDIR}/pcap.h ${DESTDIR}/usr/include; ) - -cmp -s ${PCAP_DISTDIR}/pcap-namedb.h ${DESTDIR}/usr/include/pcap-namedb.h || \ - ( $(INSTALL) -c -o ${BINOWN} -g ${BINGRP} -m 444 \ - ${PCAP_DISTDIR}/pcap-namedb.h ${DESTDIR}/usr/include; ) - +.for i in pcap.h pcap-namedb.h + ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${PCAP_DISTDIR}/$i \ + ${DESTDIR}/usr/include +.endfor scanner.o: tokdefs.h |