aboutsummaryrefslogtreecommitdiff
path: root/tests/import/makefile
blob: 4a9a8f50a3bf230938ebaa9f978893b45ed7b447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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:;@: