diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2024-03-06 10:24:11 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2024-03-06 10:24:11 +0100 |
commit | 4538829ab86b5a1cd4e845e7eab165029c9d6d46 (patch) | |
tree | bbadf39aed0610c8f8f7b41fefff47773b8ac205 /build-0.3/import.make | |
parent | 23d41842168ac1a1580111b9c5c73500ceee3d57 (diff) | |
parent | aad5ad9bf0c02aa4e79bc6b7d6c934612fff4026 (diff) |
Update upstream source from tag 'upstream/4.2.0'
Update to upstream version '4.2.0'
with Debian dir 1b38df7bbcf313223de3c50107ac0255090fe647
Diffstat (limited to 'build-0.3/import.make')
-rw-r--r-- | build-0.3/import.make | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/build-0.3/import.make b/build-0.3/import.make deleted file mode 100644 index 82a6763..0000000 --- a/build-0.3/import.make +++ /dev/null @@ -1,74 +0,0 @@ -# file : build/import.make -# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC -# license : GNU GPL v2; see accompanying LICENSE file - - -# This cannot be eliminated. -# -%frame_exclude% += import-set-value -define import-set-value -$(eval $$1 := $$2) -endef - -%frame_exclude% += exported-names -define exported-names -$(foreach i,1 2 3 4 5 6 7,$(if $(value $i),$(lastword $(value $i)))) -endef - -%frame_exclude% += import-names -define import-names -$(foreach i,1 2 3 4 5 6 7,$(if $(lastword $(value $i)),\ -$(call import-set-value,$(lastword $(value $i)),$(value $(firstword $(value $i)))))) -endef - -%frame_exclude% += import-body -define import-body -$(call frame-enter,$(call exported-names,$2,$3,$4,$5,$6,$7,$8)) - -$(call include,$1) - -$(call import-names,$2,$3,$4,$5,$6,$7,$8) - -$(call frame-leave) -endef - - -# Simple case where there are no names imported. Also note that we use -# include-once here since there is no reason to do it more than once. -# We key it onto out_root to make sure we don't process the same makefile -# more than once since that's what export stubs do. -# -%frame_exclude% += import-body-simple -define import-body-simple -$(call frame-enter) - -$(call include-once,$1,$(out_root)) - -$(call frame-leave) -endef - - -# -# -%frame_exclude% += import -define import -$(eval $(if $(strip $2),\ -$(call import-body,$1,$2,$3,$4,$5,$6,$7,$8),\ -$(call import-body-simple,$1))) -endef - - -# -# export -# -%frame_exclude% += export-names -define export-names -$(foreach i,1 2 3 4 5 6 7,$(if $(value $i),\ -$(call import-set-value,$(firstword $(value $i)),$(wordlist 2,$(words $(value $i)),$(value $i))))) -endef - - -%frame_exclude% += export -define export -$(call export-names,$1,$2,$3,$4,$5,$6,$7) -endef |