kernel: fix sanity check
[minix.git] / external / gpl3 / gcc / usr.bin / Makefile.frontend
bloba61c957af09d34893eb93dfb0c1abbfbdaf8b127
1 #       $NetBSD: Makefile.frontend,v 1.2 2011/06/29 02:14:28 mrg Exp $
3 BINDIR=         /usr/bin
5 CPPFLAGS+=      -I${GCCARCH} -I${FRONTENDOBJ} \
6                 ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
8 .include <bsd.own.mk>
10 DPADD=          ${FRONTENDOBJ}/libfrontend.a ${LIBIBERTYOBJ}/libiberty.a
11 LDADD=          -L${FRONTENDOBJ} -lfrontend -L${LIBIBERTYOBJ} -liberty
13 .include <bsd.prog.mk>
15 gcc-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}
29 CLEANFILES+=    gcc-vers.texi