opnsense-src/gnu/usr.bin/cc/f771/Makefile

41 lines
919 B
Makefile
Raw Normal View History

2001-12-17 22:21:49 -05:00
# $FreeBSD$
.include "${.CURDIR}/../Makefile.inc"
2002-04-06 18:18:01 -05:00
.PATH: ${GCCDIR}/f ${GCCDIR}
2001-12-17 22:21:49 -05:00
PROG= f771
SRCS= bad.c bit.c bld.c com.c data.c equiv.c expr.c global.c implic.c info.c \
2002-04-06 18:18:01 -05:00
intrin.c lab.c lex.c malloc.c name.c parse.c src.c st.c sta.c \
2001-12-17 22:21:49 -05:00
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
2001-12-17 22:21:49 -05:00
BINDIR= /usr/libexec
NOMAN=
CFLAGS+= -I${GCCDIR}/f -I.
DPADD= ${LIBCC_INT}
LDADD= ${LIBCC_INT}
build-tools: fini
2002-04-06 18:18:01 -05:00
fini: fini.o
${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
2001-12-17 22:21:49 -05:00
2002-05-12 08:06:19 -04:00
CLEANFILES= fini fini.o
2001-12-17 22:21:49 -05:00
#-----------------------------------------------------------------------
# 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}/f/str-$i.fin str-$i.j str-$i.h
FINIHDRS+= str-$i.j str-$i.h
.endfor
SRCS+= ${FINIHDRS:M*.h}
2001-12-17 22:21:49 -05:00
CLEANFILES+= ${FINIHDRS}
.include <bsd.prog.mk>