diff options
Diffstat (limited to 'tests/import/makefile')
-rw-r--r-- | tests/import/makefile | 43 |
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:;@: |