summaryrefslogtreecommitdiffstats
path: root/gnu/lib
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-08-16 04:58:10 +0000
committerobrien <obrien@FreeBSD.org>1999-08-16 04:58:10 +0000
commit7981feaa109147ef4f1b35419d603896827e2082 (patch)
tree06890110624cf597ec59cfaa4c383ad60afcecdb /gnu/lib
parent242733a2af72bd5eb36060f111f4d23da6abd444 (diff)
downloadFreeBSD-src-7981feaa109147ef4f1b35419d603896827e2082.zip
FreeBSD-src-7981feaa109147ef4f1b35419d603896827e2082.tar.gz
{EGCSDIR}->{SRCDIR} + associated tweaks.
This is in prepreparation of the gcc-2.95 upgrade.
Diffstat (limited to 'gnu/lib')
-rw-r--r--gnu/lib/libstdc++/Makefile21
-rw-r--r--gnu/lib/libstdc++/doc/Makefile10
2 files changed, 15 insertions, 16 deletions
diff --git a/gnu/lib/libstdc++/Makefile b/gnu/lib/libstdc++/Makefile
index a43601e..f5c32c5 100644
--- a/gnu/lib/libstdc++/Makefile
+++ b/gnu/lib/libstdc++/Makefile
@@ -1,8 +1,8 @@
-# $Id: Makefile,v 1.20 1999/04/25 16:59:54 obrien Exp $
+# $Id: Makefile,v 1.21 1999/04/25 16:59:54 obrien Exp $
-EGCSDIR= ${.CURDIR}/../../../contrib/egcs
+SRCDIR= ${.CURDIR}/../../../contrib/egcs/libstdc++
-.PATH: ${EGCSDIR}/libstdc++ ${EGCSDIR}/libstdc++/stl ${EGCSDIR}/libio
+.PATH: ${SRCDIR} ${SRCDIR}/stl ${SRCDIR}/../libio
SUBDIR= doc
@@ -10,9 +10,8 @@ LIB= stdc++
SHLIB_MAJOR= 3
SHLIB_MINOR= 0
-CFLAGS+= -I${.CURDIR} -I${EGCSDIR}/include -I${EGCSDIR}/libio -I.
-CXXFLAGS+= -I${EGCSDIR}/libstdc++/stl -I${EGCSDIR}/libstdc++ \
- -I${EGCSDIR}/gcc/cp/inc -I.
+CFLAGS+= -I${.CURDIR} -I${SRCDIR}/include -I${SRCDIR}/../libio -I.
+CXXFLAGS+= -I${SRCDIR}/stl -I${SRCDIR} -I${SRCDIR}/../gcc/cp/inc -I.
CXXFLAGS+= -nostdinc++ -fno-implicit-templates
LDADD+= -lm
@@ -71,12 +70,12 @@ SRCS+= cleanup.c filedoalloc.c fileops.c floatconv.c genops.c iofclose.c \
beforeinstall:
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
${.CURDIR}/_G_config.h \
- ${HDRS:S;^;${EGCSDIR}/libstdc++/;} \
- ${IHDRS:S;^;${EGCSDIR}/libio/;} \
- ${STLHDRS:S;^;${EGCSDIR}/libstdc++/stl/;} \
+ ${HDRS:S;^;${SRCDIR}/;} \
+ ${IHDRS:S;^;${SRCDIR}/../libio/;} \
+ ${STLHDRS:S;^;${SRCDIR}/stl/;} \
${DESTDIR}/usr/include/g++
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
- ${SHDRS:S;^;${EGCSDIR}/libstdc++/std/;} \
+ ${SHDRS:S;^;${SRCDIR}/std/;} \
${DESTDIR}/usr/include/g++/std
CLEANFILES+= dummy.h dummy.c dummy.C
@@ -183,7 +182,7 @@ ldcomio.cc: cinst.cc
make_G_config_h:
CC="${CC}" CXX="${CXX}" CONFIG_NM="nm" \
CPP="${CC} -E -nostdinc -idirafter ${DESTDIR}/usr/include" \
- sh ${EGCSDIR}/libio/gen-params \
+ sh ${SRCDIR}/../libio/gen-params \
LIB_VERSION=${SHLIB_MAJOR}.${SHLIB_MINOR}.0 >${.TARGET}
.include <bsd.lib.mk>
diff --git a/gnu/lib/libstdc++/doc/Makefile b/gnu/lib/libstdc++/doc/Makefile
index 92adf1d..aafa2fb 100644
--- a/gnu/lib/libstdc++/doc/Makefile
+++ b/gnu/lib/libstdc++/doc/Makefile
@@ -1,13 +1,13 @@
-# $Id: Makefile,v 1.7 1997/12/17 19:57:35 bde Exp $
+# $Id: Makefile,v 1.2 1999/04/05 10:21:30 obrien Exp $
-EGCSDIR= ${.CURDIR}/../../../../contrib/egcs
+SRCDIR= ${.CURDIR}/../../../../contrib/egcs/libstdc++
-.PATH: ${EGCSDIR}/libio
+.PATH: ${SRCDIR}/../libio
INFO = iostream
-INFOENTRY_iostream= "* iostream: (iostream). The EGCS GNU C++ I/O library."
+INFOENTRY_iostream= "* iostream: (iostream). The GNU C++ I/O library."
-MAKEINFOFLAGS+= -I ${EGCSDIR}/libio
+MAKEINFOFLAGS+= -I ${SRCDIR}/../libio
.include <bsd.info.mk>
OpenPOWER on IntegriCloud