1 # If we defined SRCS, the mkdep fails because it evaluates files with .c
2 # extension with cc instead of c++ (go figure). To avoid that, we need
3 # to define OBJS directly
7 .include "../../../Makefile.inc"
17 GUTS= ../../guts/guts-common/libguts-common.a \
18 ../../guts/guts-target/libguts-target.a
19 LIBS= ${LIBCOMMONTARG} ${LIBCOMMON} ${LIBCPP} \
20 ${LIBBACKTRACE} ${LIBIBERTY} ${LIBDECNUMBER}
25 # hack to force c++ compiler to compile *.c files to create library
27 ${ofile}: ${ofile:.o=.c}
28 ${CXX} ${STATIC_CXXFLAGS} ${CXXFLAGS} -c ${.IMPSRC} -o ${.TARGET}
31 .include <bsd.prog.mk>