24 lines
570 B
Makefile
24 lines
570 B
Makefile
# $NetBSD: Makefile.frontend,v 1.2 2006/07/04 18:28:00 tron Exp $
|
|
|
|
BINDIR= /usr/bin
|
|
|
|
CPPFLAGS+= -I${GCCARCH} -I${FRONTENDOBJ} \
|
|
${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
DPADD= ${FRONTENDOBJ}/libfrontend.a ${LIBIBERTYOBJ}/libiberty.a
|
|
LDADD= -L${FRONTENDOBJ} -lfrontend -L${LIBIBERTYOBJ} -liberty
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
gcc-vers.texi:
|
|
(echo "@set version-GCC $(BASEVER)"; \
|
|
if [ "$(DEVPHASE)" = "experimental" ]; then \
|
|
echo "@set DEVELOPMENT"; \
|
|
else \
|
|
echo "@clear DEVELOPMENT"; \
|
|
fi) > ${.TARGET}
|
|
|
|
CLEANFILES+= gcc-vers.texi
|