From dfb1ac9f19feacdce627b7e4bb20192bc71fe2d6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 17 Mar 2011 16:32:54 +0200 Subject: Add Qt import stub --- build/import/libqt/core/rules.make | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 build/import/libqt/core/rules.make (limited to 'build/import/libqt/core/rules.make') diff --git a/build/import/libqt/core/rules.make b/build/import/libqt/core/rules.make new file mode 100644 index 0000000..b0d5e2e --- /dev/null +++ b/build/import/libqt/core/rules.make @@ -0,0 +1,28 @@ +# file : build/import/libqt/core/rules.make +# author : Boris Kolpackov +# 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 -- cgit v1.1