1996-03-09 03:18:56 +03:00
|
|
|
# $NetBSD: Makefile,v 1.12 1996/03/09 00:19:02 phil Exp $
|
1993-08-02 21:18:41 +04:00
|
|
|
|
1996-03-09 03:18:56 +03:00
|
|
|
SUBDIR= libg++ libstdc++ # libio libiostream
|
1993-07-15 23:05:11 +04:00
|
|
|
|
1996-03-09 03:18:56 +03:00
|
|
|
INCLUDEDIRS= include libg++/src
|
1993-07-15 23:05:11 +04:00
|
|
|
|
|
|
|
beforeinstall:
|
1995-01-12 22:06:53 +03:00
|
|
|
install -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
|
|
|
${DESTDIR}/usr/include/g++
|
|
|
|
install -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
|
|
|
${DESTDIR}/usr/include/g++/gen
|
1996-03-09 03:18:56 +03:00
|
|
|
install -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
|
|
|
${DESTDIR}/usr/include/g++/std
|
|
|
|
install -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
|
|
|
${DESTDIR}/usr/include/g++/stl
|
1993-07-15 23:05:11 +04:00
|
|
|
@-for i in ${INCLUDEDIRS}; do \
|
|
|
|
echo installing includes from $$i ; \
|
|
|
|
(cd $$i; for j in *.[ih]; do \
|
|
|
|
cmp -s $$j ${DESTDIR}/usr/include/g++/$$j || \
|
1993-09-24 03:28:29 +04:00
|
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m 644 $$j \
|
|
|
|
${DESTDIR}/usr/include/g++/$$j; \
|
1993-07-15 23:05:11 +04:00
|
|
|
done); \
|
|
|
|
done
|
1996-03-09 03:18:56 +03:00
|
|
|
@echo installing includes from include/gen
|
|
|
|
@(cd include/gen ; for j in *.*P; do \
|
1993-09-24 03:28:29 +04:00
|
|
|
cmp -s $$j ${DESTDIR}/usr/include/g++/gen/$$j || \
|
|
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \
|
|
|
|
${DESTDIR}/usr/include/g++/gen/$$j; \
|
1993-07-15 23:05:11 +04:00
|
|
|
done)
|
1996-03-09 03:18:56 +03:00
|
|
|
@echo installing includes from libstdc++/std
|
|
|
|
@(cd libstdc++/std ; for j in *.h; do \
|
|
|
|
cmp -s $$j ${DESTDIR}/usr/libstdc++/g++/std/$$j || \
|
|
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \
|
|
|
|
${DESTDIR}/usr/libstdc++/g++/std/$$j; \
|
|
|
|
done)
|
|
|
|
@echo installing includes from libstdc++/stl
|
|
|
|
@(cd libstdc++/stl ; for j in *.h; do \
|
|
|
|
cmp -s $$j ${DESTDIR}/usr/libstdc++/g++/stl/$$j || \
|
|
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \
|
|
|
|
${DESTDIR}/usr/libstdc++/g++/stl/$$j; \
|
|
|
|
done)
|
1993-07-15 23:05:11 +04:00
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.subdir.mk>
|