From a97ec0069ec91111e0294e24a3740e86f45a5a01 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Mon, 23 Jun 2003 14:43:43 +0000 Subject: [PATCH] Bring back IPFilter headers to /usr/include, now that SHARED=symlinks installs the per-header symlinks. Prodded by: many --- include/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/include/Makefile b/include/Makefile index a9320029a061..ff317a190d3d 100644 --- a/include/Makefile +++ b/include/Makefile @@ -104,8 +104,11 @@ copies: ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 $i/*.h \ ${DESTDIR}${INCLUDEDIR}/$i .endfor - cd ${.CURDIR}/../sys; \ - ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 opencrypto/*.h \ + cd ${.CURDIR}/../sys/contrib/ipfilter/netinet; \ + ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ + ${DESTDIR}${INCLUDEDIR}/netinet + cd ${.CURDIR}/../sys/opencrypto; \ + ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ ${DESTDIR}${INCLUDEDIR}/crypto cd ${.CURDIR}/../sys/${MACHINE_ARCH}/include; \ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ @@ -136,6 +139,11 @@ symlinks: ln -fs ../../../../../sys/$i/$$h ${DESTDIR}${INCLUDEDIR}/$i; \ done .endfor + cd ${.CURDIR}/../sys/contrib/ipfilter/netinet; \ + for h in *.h; do \ + ln -fs ../../../sys/contrib/ipfilter/netinet/$$h \ + ${DESTDIR}${INCLUDEDIR}/netinet; \ + done cd ${.CURDIR}/../sys/opencrypto; \ for h in *.h; do \ ln -fs ../../../sys/opencrypto/$$h \