gcc50: Bring in makefiles but leave them unhooked
[dragonfly.git] / gnu / usr.bin / cc50 / backends / guts / guts-cxx / Makefile
1 # Despite the .c extension, these files and headers must be built by c++
2
3 GCC_NO_LIBS=    yes
4 GCC_LANG_DIR=   gcc/cp
5 TOP_PREFIX=     ../../
6
7 .include "../../../Makefile.inc"
8 .include "../../../Makefile.langs"
9
10 LIB=            guts-cxx
11
12 # note C_TARGET_OBJS == CXX_TARGET_OBJS
13 .for object in ${CXX_AND_OBJCXX_OBJS}
14 . if ! ${C_COMMON_OBJS:M${object}}
15 .  if ! ${C_TARGET_OBJS:M${object}}
16 SRCS+=          ${object:T:.o=.c}
17 .  endif
18 . endif
19 .endfor
20
21 .include "../../../Makefile.intcxx_lib"