File:  [DragonFly] / src / gnu / usr.bin / cc3 / f771 / Attic / Makefile
Revision 1.4: download - view: text, annotated - select for diffs
Mon Feb 2 23:35:11 2004 UTC (10 years, 7 months ago) by dillon
Branches: MAIN
CVS tags: HEAD
Update the GCC3 infrastructure Stage 1/2.  This commit generates the basic
infrastructure needed to support /usr/src/contrib/gcc-3.3 (a pristine gcc
dist) intead of /usr/src/contrib/gcc3 (munged version taken from FreeBSD-5).

This stage does not have all the fbsd/dfly specific extensions, such as
-fformat-extensions.

# $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.4 2004/02/02 23:35:11 dillon Exp $

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

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

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

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
NOMAN=

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

DPADD=	${LIBCC_INT} 
LDADD=	${LIBCC_INT}

build-tools: fini
fini: fini.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
.endfor

SRCS+=		${FINIHDRS:M*.h}
CLEANFILES+=	${FINIHDRS}

.include <bsd.prog.mk>