aboutsummaryrefslogtreecommitdiff
path: root/odb/qt/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-03-17 16:32:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-03-17 16:32:54 +0200
commitdfb1ac9f19feacdce627b7e4bb20192bc71fe2d6 (patch)
tree56dc8e6a8f18d9735ebd3fd44b1294efe5d5c059 /odb/qt/makefile
parentcb249b85903c7e505a44c24ae47346e98f3485b9 (diff)
Add Qt import stub
Diffstat (limited to 'odb/qt/makefile')
-rw-r--r--odb/qt/makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/odb/qt/makefile b/odb/qt/makefile
index 888f66a..756edd0 100644
--- a/odb/qt/makefile
+++ b/odb/qt/makefile
@@ -24,11 +24,17 @@ $(call import,\
$(scf_root)/import/libodb/stub.make,\
l: odb.l,cpp-options: odb.l.cpp-options)
+$(call import,\
+ $(scf_root)/import/libqt/core/stub.make,\
+ l: qt_core.l,\
+ cpp-options: qt_core.l.cpp-options,\
+ cpp-options-inline: qt_core_cpp_options)
+
# Build.
#
-$(odb_qt.l): $(cxx_obj) $(odb.l)
-$(odb_qt.l.cpp-options): value := -I$(out_root) -I$(src_root)
-$(odb_qt.l.cpp-options): $(odb.l.cpp-options)
+$(odb_qt.l): $(cxx_obj) $(odb.l) $(qt_core.l)
+$(odb_qt.l.cpp-options): value := -I$(out_root) -I$(src_root) $(qt_core_cpp_options)
+$(odb_qt.l.cpp-options): $(odb.l.cpp-options) $(qt_core.l.cpp-options)
$(cxx_obj) $(cxx_od): $(odb_qt.l.cpp-options) $(out_base)/details/config.h