Expand PMF_FN_* macros.
[netbsd-mini2440.git] / gnu / usr.bin / gcc4 / frontend / Makefile
blob10782f15e4e77f506a87e7bea9cf8593fe950e9f
1 # $NetBSD: Makefile,v 1.3 2008/05/03 14:48:30 lukem Exp $
3 LIBISPRIVATE= yes
5 # For ../Makefile.inc and bsd.own.mk
6 .include <bsd.init.mk>
8 LIB= frontend
10 SRCS= gcc.c version.c intl.c prefix.c
12 CPPFLAGS+= -I${GCCARCH} -I${BACKENDOBJ} -I. \
13 ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \
14 -DPREFIX=\"/usr\" \
15 -DDEFAULT_TARGET_VERSION=\"${G_version}\" \
16 -DDEFAULT_TARGET_MACHINE=\"${MACHINE_GNU_PLATFORM}\"
17 HOST_CPPFLAGS+= -I${GCCARCH} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
19 DPSRCS+= specs.h
21 MKPIC:= no
22 MKPICLIB:= no
24 .include <bsd.lib.mk>
26 COPTS+= -Wno-stack-protector
28 .PATH: ${DIST}/gcc
31 # Build the specs.h file
33 CLEANFILES+= specs.h
34 specs.h: Makefile
35 for f in cp objc; do \
36 echo "#include \"$$f/lang-specs.h\""; \
37 done > specs.h