2011-12-22 15:19:25 +00:00
|
|
|
include $(REP_DIR)/lib/import/import-qt_webcore.mk
|
|
|
|
|
|
|
|
SHARED_LIB = yes
|
|
|
|
|
|
|
|
# additional defines for the Genode version
|
|
|
|
CC_OPT += -DSQLITE_NO_SYNC=1 -DSQLITE_THREADSAFE=0
|
|
|
|
|
|
|
|
# enable C++ functions that use C99 math functions (disabled by default in the Genode tool chain)
|
|
|
|
CC_CXX_OPT += -D_GLIBCXX_USE_C99_MATH
|
|
|
|
|
|
|
|
# use default warning level to avoid noise when compiling contrib code
|
|
|
|
CC_WARN = -Wno-deprecated-declarations
|
|
|
|
|
2012-02-20 18:56:50 +00:00
|
|
|
CC_OPT_sqlite3 += -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast
|
2011-12-22 15:19:25 +00:00
|
|
|
|
2013-11-07 13:23:11 +00:00
|
|
|
# some parts of the library are not C++11 compatible
|
|
|
|
CC_CXX_OPT_STD =
|
|
|
|
|
2012-02-20 18:56:50 +00:00
|
|
|
include $(REP_DIR)/lib/mk/qt_webcore_generated.inc
|
2011-12-22 15:19:25 +00:00
|
|
|
|
2013-05-02 15:59:56 +00:00
|
|
|
include $(REP_DIR)/lib/mk/qt.inc
|
2011-12-22 15:19:25 +00:00
|
|
|
|
|
|
|
LIBS += qt_jscore qt_network qt_core libc libm
|