aboutsummaryrefslogtreecommitdiff
path: root/tests/import
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-02-05 18:01:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-02-05 18:01:45 +0200
commitd7b7e218bfe92516f525568a6c1c9e1a9eb241fe (patch)
tree6cbc3155d7188f65e4b806c6edeecdd53393da69 /tests/import
Start tracking build with git
Diffstat (limited to 'tests/import')
-rw-r--r--tests/import/makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/import/makefile b/tests/import/makefile
new file mode 100644
index 0000000..4a9a8f5
--- /dev/null
+++ b/tests/import/makefile
@@ -0,0 +1,43 @@
+# file : build/import/makefile
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2004-2010 Code Synthesis Tools CC
+# license : GNU GPL v2; see accompanying LICENSE file
+
+include $(dir $(lastword $(MAKEFILE_LIST)))../../build/bootstrap.make
+
+foo := foz
+
+$(call frame-push,foo bar)
+
+bar := bar
+
+foo := foo
+
+$(call frame-pop)
+
+# a := $(call frame-vars)
+
+#$(warning $(filter-out $b,$a))
+
+$(warning foo = $(foo))
+$(warning bar = $(bar))
+
+exclude := $(call exported-names,default: libhello,clean: libhello_clean)
+
+$(call import-names,default: libhello,clean: libhello_clean)
+
+$(warning $(default:))
+$(warning $(clean:))
+$(warning $(exclude))
+
+$(call frame-push)
+
+$(default:) := fofofof
+
+$(warning $(libhello))
+
+$(call frame-pop)
+
+
+.PHONY: h
+h:;@: