1995-01-12 22:06:53 +03:00
|
|
|
# $Id: Makefile,v 1.11 1995/01/12 19:11:12 jtc Exp $
|
1993-08-02 21:18:41 +04:00
|
|
|
|
1993-09-24 03:28:29 +04:00
|
|
|
SUBDIR= libg++ genclass
|
1993-07-15 23:05:11 +04:00
|
|
|
|
1993-11-17 23:43:37 +03:00
|
|
|
INCLUDEDIRS= iostream libg++ g++-include
|
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
|
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
|
1993-09-24 03:28:29 +04:00
|
|
|
@echo installing includes from g++-include/gen
|
|
|
|
@(cd g++-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; \
|
1993-07-15 23:05:11 +04:00
|
|
|
done)
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.subdir.mk>
|