acpi.4: Fix typo, ACPI_POWER -> ACPI_POWERRES.
[dragonfly.git] / gnu / usr.bin / cc80 / drivers / c++ / Makefile
1 GCC_LANG_DIR=   gcc/cp
2 .include "../Makefile.inc"
3 .include "../../Makefile.langs"
4 .include "../../../Makefile.cco"
5
6 PROG_CXX=       c++
7 LINKS=          ${BINDIR}/c++ ${BINDIR}/g++
8 LINKS+=         ${BINDIR}/c++ ${BINDIR}/CC
9 MAN=            # man pages installed by cc (MLINK)
10
11 SRCS=           ${GCC_SRCS} g++spec.c ${EXTRA_GCC_SRCS}
12
13 CFLAGS+=        -DCONFIGURE_SPECS="\"\"" \
14                 -DACCEL_DIR_SUFFIX="\"\"" \
15                 -DDEFAULT_REAL_TARGET_MACHINE="\"${target_machine}\""
16
17 # hack to force c++ compiler to compile *.c files to create program
18 .for cfile in ${SRCS}
19 ${cfile:.c=.o}: ${cfile}
20         ${CXX} ${STATIC_CXXFLAGS} ${CXXFLAGS} -c ${.IMPSRC} -o ${.TARGET}
21 .endfor
22
23 .include <bsd.prog.mk>