View | Details | Raw Unified | Return to bug 38594 | Differences between
and this patch

Collapse All | Expand All

(-)gnu/lib/Makefile (-1 / +1 lines)
Lines 19-25 Link Here
19
.endif
19
.endif
20
20
21
.if !defined(NO_FORTRAN)
21
.if !defined(NO_FORTRAN)
22
SUBDIR+= libg2c
22
SUBDIR+= libfrtbegin libg2c
23
.endif
23
.endif
24
24
25
.include <bsd.subdir.mk>
25
.include <bsd.subdir.mk>
(-)gnu/lib/libfrtbegin/MAIN.c (+4 lines)
Line 0 Link Here
1
/* $FreeBSD: src/gnu/lib/libg2c/MAIN.c,v 1.2 2000/10/31 11:36:33 obrien Exp $ */
2
3
int
4
MAIN__(){ return 0; }
(-)gnu/lib/libfrtbegin/Makefile (+16 lines)
Line 0 Link Here
1
# $FreeBSD: src/gnu/lib/libg2c/Makefile,v 1.9 2002/05/12 16:00:46 ru Exp $
2
3
SRCDIR=	${.CURDIR}/../../../contrib/libf2c
4
5
.PATH: ${SRCDIR} ${SRCDIR}/libF77
6
7
LIB=		frtbegin
8
SHLIB_MAJOR=	1
9
SHLIB_MINOR=	0
10
11
SRCS=		main.c MAIN.c
12
13
CFLAGS+=	-I${SRCDIR} -I${SRCDIR}/libF77
14
CFLAGS+=	-I${.CURDIR}
15
16
.include <bsd.lib.mk>
(-)gnu/lib/libg2c/Makefile (-2 / +2 lines)
Lines 10-16 Link Here
10
10
11
# Traditional FORTRAN Library members defined in libF77
11
# Traditional FORTRAN Library members defined in libF77
12
12
13
F77MISC=	F77_aloc.c main.c s_rnge.c abort_.c getarg_.c \
13
F77MISC=	F77_aloc.c s_rnge.c abort_.c getarg_.c \
14
		iargc_.c getenv_.c signal_.c s_stop.c s_paus.c system_.c \
14
		iargc_.c getenv_.c signal_.c s_stop.c s_paus.c system_.c \
15
		cabs.c derf_.c derfc_.c erf_.c erfc_.c sig_die.c exit_.c \
15
		cabs.c derf_.c derfc_.c erf_.c erfc_.c sig_die.c exit_.c \
16
		setarg.c setsig.c
16
		setarg.c setsig.c
Lines 79-85 Link Here
79
		secnds.o second.o signal.o sleep.o srand.o stat.o symlnk.o \
79
		secnds.o second.o signal.o sleep.o srand.o stat.o symlnk.o \
80
		system.o time.o ttynam.o umask.o unlink.o vxtidt.o vxttim.o
80
		system.o time.o ttynam.o umask.o unlink.o vxtidt.o vxttim.o
81
81
82
LIBF77SRCS=	${F77SRCS} ${I77SRCS} ${U77SRCS} ${E77SRCS} MAIN.c
82
LIBF77SRCS=	${F77SRCS} ${I77SRCS} ${U77SRCS} ${E77SRCS}
83
83
84
SRCS=		${LIBF77SRCS}
84
SRCS=		${LIBF77SRCS}
85
OBJS=		${E77OBJS}
85
OBJS=		${E77OBJS}

Return to bug 38594