From 1e552b818ee2f6680dd6f318c8aaea0b1f857955 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 3 May 2010 09:51:56 +0200 Subject: Start tracking import stubs with git --- libace/rules.make | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 libace/rules.make (limited to 'libace/rules.make') diff --git a/libace/rules.make b/libace/rules.make new file mode 100644 index 0000000..c7ff4e8 --- /dev/null +++ b/libace/rules.make @@ -0,0 +1,29 @@ +# file : build/import/libace/rules.make +# author : Boris Kolpackov +# copyright : Copyright (c) 2005-2010 Boris Kolpackov +# license : GNU GPL v2; see accompanying LICENSE file + +$(dcf_root)/import/libace/%: root := $(libace_root) + +ifeq ($(libace_type),archive) + +$(dcf_root)/import/libace/ace.l: $(libace_root)/lib/libACE.a + @echo $< >$@ +else + +$(dcf_root)/import/libace/ace.l: $(libace_root)/lib/libACE.so + @echo $< >$@ + @echo rpath:$(root)/lib >>$@ +endif + +$(dcf_root)/import/libace/ace.l.cpp-options: + @echo include: -I$(root) >$@ + +ifndef %foreign% + +disfigure:: + $(call message,rm $(dcf_root)/import/libace/ace.l,\ +rm -f $(dcf_root)/import/libace/ace.l) + $(call message,,rm -f $(dcf_root)/import/libace/ace.l.cpp-options) + +endif -- cgit v1.1