summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libg2c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-08-16 05:00:59 +0000
committerobrien <obrien@FreeBSD.org>1999-08-16 05:00:59 +0000
commit4deb73986596555407f06b611704581398c765e5 (patch)
tree589349b6c8561f3829b096541830511a29c4755c /gnu/lib/libg2c
parent7981feaa109147ef4f1b35419d603896827e2082 (diff)
downloadFreeBSD-src-4deb73986596555407f06b611704581398c765e5.zip
FreeBSD-src-4deb73986596555407f06b611704581398c765e5.tar.gz
{EGCSDIR}->{SRCDIR} + associated tweaks.
This is in prepreparation of the gcc-2.95 upgrade. Also seems I was -I'ing several GCC directories I did not need to.
Diffstat (limited to 'gnu/lib/libg2c')
-rw-r--r--gnu/lib/libg2c/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/gnu/lib/libg2c/Makefile b/gnu/lib/libg2c/Makefile
index 2a2d785..3dbe9e8 100644
--- a/gnu/lib/libg2c/Makefile
+++ b/gnu/lib/libg2c/Makefile
@@ -1,9 +1,8 @@
# $Id: Makefile,v 1.4 1999/05/23 10:02:46 obrien Exp $
-EGCSDIR= ${.CURDIR}/../../../contrib/egcs
+SRCDIR= ${.CURDIR}/../../../contrib/egcs/libf2c
-.PATH: ${EGCSDIR}/libf2c ${EGCSDIR}/libf2c/libU77 ${EGCSDIR}/libf2c/libF77 \
- ${EGCSDIR}/libf2c/libI77
+.PATH: ${SRCDIR} ${SRCDIR}/libU77 ${SRCDIR}/libF77 ${SRCDIR}/libI77
LIB= g2c
SHLIB_MAJOR= 1
@@ -88,15 +87,13 @@ OBJS= ${E77OBJS}
CFLAGS+= -DHAVE_CONFIG_H=1 -DSTDC_HEADERS=1 -DHAVE_TEMPNAM=1
CFLAGS+= -DNO_EOF_CHAR_CHECK=1 -DRETSIGTYPE=void
CFLAGS+= -DSkip_f2c_Undefs=1 -DIEEE_drem=1 -DAllow_TYQUAD -DPedantic
-CFLAGS+= -I${EGCSDIR}/libf2c -I${EGCSDIR}/libf2c/libF77
-CFLAGS+= -I${EGCSDIR}/libf2c/libI77 -I${EGCSDIR}/libf2c/libU77
-CFLAGS+= -I${EGCSDIR}/gcc/f -I${EGCSDIR}/gcc -I${EGCSDIR}/gcc/config
+CFLAGS+= -I${SRCDIR} -I${SRCDIR}/libF77 -I${SRCDIR}/libI77 -I${SRCDIR}/libU77
CFLAGS+= -I${.CURDIR}
.for x in F I U
${x}77SRCS+= Version${x}.c
CLEANFILES+= Version${x}.c
-Version${x}.c: ${EGCSDIR}/libf2c/lib${x}77/Version.c
+Version${x}.c: ${SRCDIR}/lib${x}77/Version.c
ln -sf ${.ALLSRC} ${.TARGET}
.endfor
OpenPOWER on IntegriCloud