1# $NetBSD: Makefile.frontend,v 1.2 2011/06/29 02:14:28 mrg Exp $ 2 3BINDIR= /usr/bin 4 5CPPFLAGS+= -I${GCCARCH} -I${FRONTENDOBJ} \ 6 ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} 7 8.include <bsd.own.mk> 9 10DPADD= ${FRONTENDOBJ}/libfrontend.a ${LIBIBERTYOBJ}/libiberty.a 11LDADD= -L${FRONTENDOBJ} -lfrontend -L${LIBIBERTYOBJ} -liberty 12 13.include <bsd.prog.mk> 14 15gcc-vers.texi: 16 (echo "@set version-GCC $(BASEVER)"; \ 17 if [ "$(DEVPHASE)" = "experimental" ]; then \ 18 echo "@set DEVELOPMENT"; \ 19 else \ 20 echo "@clear DEVELOPMENT"; \ 21 fi; \ 22 echo "@set srcdir $(DIST)/gcc"; \ 23 if [ -n "$(PKGVERSION)" ]; then \ 24 echo "@set VERSION_PACKAGE $(PKGVERSION)"; \ 25 fi; \ 26 echo "@set BUGURL $(BUGURL)"; \ 27 ) > ${.TARGET} 28 29CLEANFILES+= gcc-vers.texi 30