aboutsummaryrefslogtreecommitdiff
path: root/examples/cxx/hello/libhello/build/import/libhello/stub.make
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cxx/hello/libhello/build/import/libhello/stub.make')
-rw-r--r--examples/cxx/hello/libhello/build/import/libhello/stub.make30
1 files changed, 30 insertions, 0 deletions
diff --git a/examples/cxx/hello/libhello/build/import/libhello/stub.make b/examples/cxx/hello/libhello/build/import/libhello/stub.make
new file mode 100644
index 0000000..9966a54
--- /dev/null
+++ b/examples/cxx/hello/libhello/build/import/libhello/stub.make
@@ -0,0 +1,30 @@
+# file : examples/cxx/hello/libhello/build/import/libhello/stub.make
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2004-2010 Code Synthesis Tools CC
+# license : GNU GPL v2; see accompanying LICENSE file
+
+$(call include-once,$(scf_root)/import/libhello/configuration-rules.make,$(dcf_root))
+
+libhello_installed :=
+
+$(call -include,$(dcf_root)/import/libhello/configuration-dynamic.make)
+
+ifdef libhello_installed
+
+ifeq ($(libhello_installed),y)
+
+$(call export,l: -lhello,cpp-options:)
+
+else
+
+# Include export stub.
+#
+$(call include,$(scf_root)/export/libhello/stub.make)
+
+endif
+
+else
+
+.NOTPARALLEL:
+
+endif