Install includes from libio and enable building and installation of libio and

libiostream.  Some functions are duplicated in libio, libiostream and
libstdc++.  If needed, we can remove duplicated functions later.
(Fixes PR 2390)
This commit is contained in:
phil 1996-05-15 22:56:13 +00:00
parent 370990b210
commit 0534b81c29
2 changed files with 16 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.16 1996/04/25 01:16:07 jtc Exp $
# $NetBSD: Makefile,v 1.17 1996/05/15 22:56:13 phil Exp $
SUBDIR= libg++ libstdc++ # libio libiostream
SUBDIR= libg++ libstdc++ libio libiostream
HEADERS= cassert cctype cerrno cfloat ciso646 climits clocale cmath complex \
csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime \
@ -28,6 +28,12 @@ includes:
install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \
${DESTDIR}/usr/include/g++/gen/$$j; \
done)
@echo installing includes from libio
@(cd libio ; for j in *.h; do \
cmp -s $$j ${DESTDIR}/usr/include/g++/$$j || \
install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \
${DESTDIR}/usr/include/g++/$$j; \
done)
@echo installing includes from libstdc++/std
@(cd libstdc++/std ; for j in *.h; do \
cmp -s $$j ${DESTDIR}/usr/include/g++/std/$$j || \

View File

@ -1,6 +1,6 @@
#!/usr/gnu/bin/perl
#
# $NetBSD: libg++2netbsd,v 1.7 1996/04/25 01:16:10 jtc Exp $
# $NetBSD: libg++2netbsd,v 1.8 1996/05/15 22:56:16 phil Exp $
#
# Perl script to convert a standard distribution directory for libg++ into
# a NetBSD source tree.
@ -424,7 +424,7 @@ __END__
%% file Makefile
%% NetBSD
SUBDIR= libg++ libstdc++ # libio libiostream
SUBDIR= libg++ libstdc++ libio libiostream
HEADERS= cassert cctype cerrno cfloat ciso646 climits clocale cmath complex \
csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime \
@ -452,6 +452,12 @@ includes:
install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \
${DESTDIR}/usr/include/g++/gen/$$j; \
done)
@echo installing includes from libio
@(cd libio ; for j in *.h; do \
cmp -s $$j ${DESTDIR}/usr/include/g++/$$j || \
install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \
${DESTDIR}/usr/include/g++/$$j; \
done)
@echo installing includes from libstdc++/std
@(cd libstdc++/std ; for j in *.h; do \
cmp -s $$j ${DESTDIR}/usr/include/g++/std/$$j || \