I'm too tired to mess with this. I'll probably break something. Time to go to bed.
17 lines
485 B
Makefile
17 lines
485 B
Makefile
KMOD = libcpprt
|
|
SRCS = libcpprt_entry.c libcpprt.cc
|
|
RUNTIME_SOURCES = c++_runtime.cc c++_exceptions_runtime.cc
|
|
|
|
.PATH: ${.CURDIR}/runtime
|
|
RUNTIME_SOURCES+= typeinfo.cc libelftc_dem_gnu3.c dynamic_cast.cc
|
|
RUNTIME_SOURCES+= exception.cc
|
|
RUNTIME_SOURCES+= auxhelper.cc guard.cc memory.cc stdexcept.cc terminate.cc
|
|
|
|
SRCS+= $(RUNTIME_SOURCES)
|
|
|
|
CXXFLAGS+= -I. -Iinclude -std=c++11
|
|
#CXXFLAGS+= -I. -Iinclude -std=c++11 -fno-rtti -fno-exceptions
|
|
CFLAGS+= -I. -Iinclude
|
|
|
|
.include <bsd.kmod.mk>
|