File:  [DragonFly] / src / gnu / usr.bin / cc3 / f771 / Attic / Makefile
Revision 1.5: download - view: text, annotated - select for diffs
Tue Feb 3 03:47:12 2004 UTC (11 years, 5 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

Add [DragonFly] to gcc3's version ident.

# $FreeBSD: src/gnu/usr.bin/cc/f771/Makefile,v 1.10 2004/01/11 20:45:46 ru Exp $
# $DragonFly: src/gnu/usr.bin/cc3/f771/Makefile,v 1.5 2004/02/03 03:47:12 dillon Exp $

.include "${.CURDIR}/../"

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

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

PROG=	f771
SRCS=	bad.c bit.c bld.c com.c data.c equiv.c expr.c global.c implic.c info.c \
	intrin.c lab.c lex.c malloc.c name.c parse.c        src.c st.c sta.c \
	stb.c stc.c std.c ste.c storag.c stp.c str.c sts.c stt.c stu.c stv.c \
	stw.c symbol.c target.c top.c type.c where.c main.c \
	xmalloc.c xexit.c

CFLAGS+= -I${GCCDIR}/gcc/f -I.


build-tools: fini
fini: fini.o xmalloc.o xexit.o
	${CC} -static ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}

CLEANFILES=	fini fini.o

# str-* gunk

.for i in 1t 2t fo io nq op ot
.ORDER: str-$i.h str-$i.j
str-$i.j str-$i.h: str-$i.fin fini
	./fini ${GCCDIR}/gcc/f/str-$i.fin str-$i.j str-$i.h

FINIHDRS+=	str-$i.j str-$i.h


.include <>