summaryrefslogtreecommitdiff
path: root/build-0.3/c/cpp-options.make
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-03-06 10:24:11 +0100
committerJörg Frings-Fürst <debian@jff.email>2024-03-06 10:24:11 +0100
commit4538829ab86b5a1cd4e845e7eab165029c9d6d46 (patch)
treebbadf39aed0610c8f8f7b41fefff47773b8ac205 /build-0.3/c/cpp-options.make
parent23d41842168ac1a1580111b9c5c73500ceee3d57 (diff)
parentaad5ad9bf0c02aa4e79bc6b7d6c934612fff4026 (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/c/cpp-options.make')
-rw-r--r--build-0.3/c/cpp-options.make35
1 files changed, 0 insertions, 35 deletions
diff --git a/build-0.3/c/cpp-options.make b/build-0.3/c/cpp-options.make
deleted file mode 100644
index d6246a3..0000000
--- a/build-0.3/c/cpp-options.make
+++ /dev/null
@@ -1,35 +0,0 @@
-# file : build/c/cpp-options.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(out_base)/%.cpp-options: c-cpp-options-expand-impl = $(if $1,cat $1 >>$2)
-$(out_base)/%.cpp-options: c-cpp-options-expand = \
-$(call c-cpp-options-expand-impl,$(filter %.cpp-options,$1),$2)
-
-
-#@@ Asymmetry: I hide creation commands but show removals.
-#
-$(out_base)/%.cpp-options: c-cpp-options-force-impl = \
-$(if $(subst $1,,$2)$(subst $2,,$1),FORCE)
-
-$(out_base)/%.cpp-options: c-cpp-options-force = \
-$(call c-cpp-options-force-impl,$(shell if test -f $1; then exec head -n 1 $1; fi),include: $2)
-
-
-# @@ Need to incroporate prefix: into force-check. Then it will probably
-# have to be non-optional.
-#
-
-ifeq ($(src_base),$(out_base))
-$(out_base)/%.cpp-options: $$(call c-cpp-options-force,$$@,$$(value))
-else
-$(out_base)/%.cpp-options: $$(call c-cpp-options-force,$$@,$$(value)) | $$(dir $$@).
-endif
- @echo "include: $(value)" >$@
- $(if $(strip $(prefix)),@echo "prefix: $(prefix)" >>$@)
- @$(call c-cpp-options-expand,$^,$@)
-
-# Clean.
-#
-$(out_base)/%.cpp-options.clean:
- $(call message,rm $(basename $@),rm -f $(basename $@))