NetBSD/gnu/lib/libg++/Makefile

44 lines
1.5 KiB
Makefile
Raw Normal View History

1996-03-09 03:18:56 +03:00
# $NetBSD: Makefile,v 1.12 1996/03/09 00:19:02 phil Exp $
1996-03-09 03:18:56 +03:00
SUBDIR= libg++ libstdc++ # libio libiostream
1996-03-09 03:18:56 +03:00
INCLUDEDIRS= include libg++/src
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
@-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 || \
install -c -o ${BINOWN} -g ${BINGRP} -m 644 $$j \
${DESTDIR}/usr/include/g++/$$j; \
done); \
done
1996-03-09 03:18:56 +03:00
@echo installing includes from include/gen
@(cd include/gen ; for j in *.*P; do \
cmp -s $$j ${DESTDIR}/usr/include/g++/gen/$$j || \
install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \
${DESTDIR}/usr/include/g++/gen/$$j; \
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-03-21 12:45:37 +03:00
.include <bsd.subdir.mk>