04d56e6287
'target'. Latter is problematic in particular as apparently FreeBSD's bsd.prog.mk re-defines it under some circumstances. This causes an unexpected failures like -dumpmachine not working for cc while working fine for c++. Do not re-define IN_GCC in multipe places, it gets inherited from Makefile.in anyway. PR: gnu/110143 Submitted by: usleepless at gmail
22 lines
326 B
Makefile
22 lines
326 B
Makefile
# $FreeBSD$
|
|
|
|
.include "../Makefile.inc"
|
|
.include "../Makefile.fe"
|
|
|
|
.PATH: ${GCCDIR}/f ${GCCDIR}
|
|
|
|
PROG= f77
|
|
SRCS= gcc.c g77spec.c
|
|
|
|
CFLAGS+= -DFORTRAN_INIT=\"-lg2c\" -DFORTRAN_INIT_PROFILE=\"-lg2c_p\"
|
|
|
|
DPADD= ${LIBCC_INT}
|
|
LDADD= ${LIBCC_INT}
|
|
|
|
CLEANFILES= f77.1
|
|
|
|
f77.1: g77.1
|
|
cat ${.ALLSRC} > ${.TARGET}
|
|
|
|
.include <bsd.prog.mk>
|