diff options
| author | svn2git <svn2git@FreeBSD.org> | 1993-11-01 08:00:00 +0000 |
|---|---|---|
| committer | svn2git <svn2git@FreeBSD.org> | 1993-11-01 08:00:00 +0000 |
| commit | 8503f4f13f77abf7adc8f7e329c6f9c1d52b6a20 (patch) | |
| tree | c5b2ce776438e0a52b492a2ab6ab41360b8ba1f6 /gnu/libg++/Makefile | |
Release FreeBSD 1.0upstream/1.0.0_cvsrelease/1.0.0_cvs
This commit was manufactured to restore the state of the 1.0-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
Diffstat (limited to 'gnu/libg++/Makefile')
| -rw-r--r-- | gnu/libg++/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/gnu/libg++/Makefile b/gnu/libg++/Makefile new file mode 100644 index 000000000000..6d6b02d6c82e --- /dev/null +++ b/gnu/libg++/Makefile @@ -0,0 +1,42 @@ +SUBDIR= libg++ genclass + +INCLUDEDIRS= iostream libg++ g++-include + +beforeinstall: + @-if [ ! -d ${DESTDIR}/usr/include/g++ ]; then \ + mkdir ${DESTDIR}/usr/include/g++; \ + chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/g++; \ + chmod 755 ${DESTDIR}/usr/include/g++; \ + fi + @-if [ ! -d ${DESTDIR}/usr/include/g++/gen ]; then \ + mkdir ${DESTDIR}/usr/include/g++/gen; \ + chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/g++/gen; \ + chmod 755 ${DESTDIR}/usr/include/g++/gen; \ + fi + @-if [ ! -d ${DESTDIR}/usr/include/g++/sys ]; then \ + mkdir ${DESTDIR}/usr/include/g++/sys; \ + chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/g++/sys; \ + chmod 755 ${DESTDIR}/usr/include/g++/sys; \ + fi + @-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 444 $$j \ + ${DESTDIR}/usr/include/g++/$$j; \ + done); \ + done + @echo installing includes from g++-include/sys + @(cd g++-include/sys ; for j in *.[ih]; do \ + cmp -s $$j ${DESTDIR}/usr/include/g++/sys/$$j || \ + install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \ + ${DESTDIR}/usr/include/g++/sys/$$j; \ + done) + @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; \ + done) + +.include <bsd.subdir.mk> |
