1999-08-27 23:37:10 +00:00
|
|
|
# $FreeBSD$
|
1999-04-04 16:36:35 +00:00
|
|
|
|
|
|
|
.include "../Makefile.inc"
|
2012-04-29 09:32:44 +00:00
|
|
|
NO_MAN=
|
|
|
|
.include <bsd.own.mk>
|
1999-04-04 16:36:35 +00:00
|
|
|
|
2002-05-13 03:27:03 +00:00
|
|
|
.PATH: ${GCCDIR}
|
2007-05-19 04:25:59 +00:00
|
|
|
|
1999-08-16 04:10:48 +00:00
|
|
|
PROG= cc1
|
2007-05-19 04:25:59 +00:00
|
|
|
SRCS= main.c c-parser.c c-lang.c
|
1994-08-02 20:15:59 +00:00
|
|
|
BINDIR= /usr/libexec
|
2012-04-29 09:32:44 +00:00
|
|
|
.if ${MK_SHARED_TOOLCHAIN} == "no"
|
2004-12-21 09:59:45 +00:00
|
|
|
NO_SHARED?=yes
|
2012-04-29 09:32:44 +00:00
|
|
|
.endif
|
1999-11-04 04:46:04 +00:00
|
|
|
|
2007-05-19 04:25:59 +00:00
|
|
|
OBJS+= ${PROG}-checksum.o
|
|
|
|
DPADD= ${LIBBACKEND} ${LIBCPP} ${LIBDECNUMBER} ${LIBIBERTY}
|
|
|
|
LDADD= ${LIBBACKEND} ${LIBCPP} ${LIBDECNUMBER} ${LIBIBERTY}
|
2002-05-13 03:27:03 +00:00
|
|
|
|
2007-05-19 04:25:59 +00:00
|
|
|
DOBJS+= ${SRCS:N*.h:R:S/$/.o/g}
|
|
|
|
${PROG}-dummy: ${DOBJS}
|
|
|
|
${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${DOBJS} ${LDADD}
|
|
|
|
CLEANFILES+= ${PROG}-dummy
|
2000-01-24 09:17:09 +00:00
|
|
|
|
2007-05-19 04:25:59 +00:00
|
|
|
${PROG}-checksum.c: ${PROG}-dummy
|
|
|
|
../cc_tools/genchecksum ${PROG}-dummy > ${.TARGET}
|
|
|
|
CLEANFILES+= ${PROG}-checksum.c
|
2000-01-24 09:17:09 +00:00
|
|
|
|
1994-08-02 20:15:59 +00:00
|
|
|
.include <bsd.prog.mk>
|