diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-17 19:43:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-17 19:43:03 +0200 |
commit | 1677aa35e8bcff381edfba7d165dc87fcbc45d1a (patch) | |
tree | f03d28af4f6b1a397bf69c60cfd8e4f12eab6bcc /libqt/core/rules.make | |
parent | 9e766064ead114844748e352f36a8efd67f41a8e (diff) |
Add Qt import stub
Diffstat (limited to 'libqt/core/rules.make')
-rw-r--r-- | libqt/core/rules.make | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/libqt/core/rules.make b/libqt/core/rules.make new file mode 100644 index 0000000..b0d5e2e --- /dev/null +++ b/libqt/core/rules.make @@ -0,0 +1,28 @@ +# file : build/import/libqt/core/rules.make +# author : Boris Kolpackov <boris@codesynthesis.com> +# copyright : Copyright (c) 2005-2011 Boris Kolpackov +# license : GNU GPL v2; see accompanying LICENSE file + +$(dcf_root)/import/libqt/%: root := $(libqt_root) +$(dcf_root)/import/libqt/core/core.l: | $(dcf_root)/import/libqt/core/. + +ifeq ($(libqt_type),archive) +$(dcf_root)/import/libqt/core/core.l: $(libqt_root)/lib/libQtCore.a + @echo $^ >$@ +else +$(dcf_root)/import/libqt/core/core.l: $(libqt_root)/lib/libQtCore.so + @echo $^ >$@ + @echo rpath:$(root)/lib >>$@ +endif + +$(dcf_root)/import/libqt/core/core.l.cpp-options: | $(dcf_root)/import/libqt/core/. + @echo include: -I$(root)/include -I$(root)/include/QtCore >$@ + +ifndef %foreign% + +disfigure:: + $(call message,rm $(dcf_root)/import/libqt/core/core.l,\ +rm -f $(dcf_root)/import/libqt/core/core.l) + $(call message,,rm -f $(dcf_root)/import/libqt/core/core.l.cpp-options) + +endif |