File:  [DragonFly] / src / gnu / usr.bin / cc3 / f77 / Attic / Makefile
Revision 1.6: download - view: text, annotated - select for diffs
Tue Feb 3 03:47:12 2004 UTC (10 years, 7 months ago) by dillon
Branches: MAIN
CVS tags: HEAD
Undo the xmalloc->malloc optimization FreeBSD made in certain cases
where xmalloc gets defined to malloc which gets defined to xmalloc which
gets defined to malloc again which gets defined to ... and so on.
Culprits: parser files, gcc/system.h, dragonfly-native.h, and various
Makefile's.

Add [DragonFly] to gcc3's version ident.

# $FreeBSD: src/gnu/usr.bin/cc/f77/Makefile,v 1.21 2004/01/05 20:23:16 kan Exp $
# $DragonFly: src/gnu/usr.bin/cc3/f77/Makefile,v 1.6 2004/02/03 03:47:12 dillon Exp $

.include "../Makefile.inc"
.include "../Makefile.fe"

CFLAGS+=        -I${.CURDIR}/../config

.PATH: ${GCCDIR}/gcc/f ${GCCDIR}/gcc ${GCCDIR}/libiberty

PROG=	f77
SRCS=	gcc_local.c g77spec.c
SRCS+=  make-relative-prefix.c lrealpath.c xmalloc.c xexit.c

CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
CFLAGS+= -DCCVER=\"$(MY_CCVER)\"
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>