summaryrefslogtreecommitdiff
path: root/build-0.3/c
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
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')
-rw-r--r--build-0.3/c/c-d.make9
-rw-r--r--build-0.3/c/c-o.make10
-rw-r--r--build-0.3/c/configuration-rules.make18
-rw-r--r--build-0.3/c/configuration-static.make12
-rw-r--r--build-0.3/c/configuration.make43
-rwxr-xr-xbuild-0.3/c/configure165
-rw-r--r--build-0.3/c/cpp-options.make35
-rw-r--r--build-0.3/c/generic/c-d.make18
-rw-r--r--build-0.3/c/generic/c-o.make39
-rw-r--r--build-0.3/c/generic/configuration-rules.make14
-rw-r--r--build-0.3/c/generic/configuration-sl-rules.make14
-rw-r--r--build-0.3/c/generic/configuration-sl.make20
-rw-r--r--build-0.3/c/generic/configuration.make21
-rwxr-xr-xbuild-0.3/c/generic/configure27
-rwxr-xr-xbuild-0.3/c/generic/configure-sl36
-rw-r--r--build-0.3/c/generic/o-e.make27
-rw-r--r--build-0.3/c/generic/o-l.make63
-rw-r--r--build-0.3/c/gnu/c-d.make58
-rw-r--r--build-0.3/c/gnu/c-o.make41
-rw-r--r--build-0.3/c/gnu/configuration-rules.make15
-rw-r--r--build-0.3/c/gnu/configuration-static.make3
-rw-r--r--build-0.3/c/gnu/configuration.make33
-rwxr-xr-xbuild-0.3/c/gnu/configure85
-rwxr-xr-xbuild-0.3/c/gnu/dep57
-rw-r--r--build-0.3/c/gnu/o-e.make39
-rw-r--r--build-0.3/c/gnu/o-l.make92
-rw-r--r--build-0.3/c/intel/c-d.make58
-rw-r--r--build-0.3/c/intel/c-o.make40
-rw-r--r--build-0.3/c/intel/configuration-rules.make15
-rw-r--r--build-0.3/c/intel/configuration-static.make3
-rw-r--r--build-0.3/c/intel/configuration.make33
-rwxr-xr-xbuild-0.3/c/intel/configure57
-rwxr-xr-xbuild-0.3/c/intel/dep57
-rw-r--r--build-0.3/c/intel/o-e.make38
-rw-r--r--build-0.3/c/intel/o-l.make70
-rw-r--r--build-0.3/c/o-e.make9
-rw-r--r--build-0.3/c/o-l.make10
37 files changed, 0 insertions, 1384 deletions
diff --git a/build-0.3/c/c-d.make b/build-0.3/c/c-d.make
deleted file mode 100644
index fdba684..0000000
--- a/build-0.3/c/c-d.make
+++ /dev/null
@@ -1,9 +0,0 @@
-# file : build/c/c-d.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(call include,$(bld_root)/c/configuration.make)
-
-ifdef c_id
-$(call include-once,$(bld_root)/c/$(c_id)/c-d.make,$(out_base))
-endif
diff --git a/build-0.3/c/c-o.make b/build-0.3/c/c-o.make
deleted file mode 100644
index d389fdd..0000000
--- a/build-0.3/c/c-o.make
+++ /dev/null
@@ -1,10 +0,0 @@
-# file : build/c/c-o.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(call include,$(bld_root)/c/configuration.make)
-
-
-ifdef c_id
-$(call include-once,$(bld_root)/c/$(c_id)/c-o.make,$(out_base))
-endif
diff --git a/build-0.3/c/configuration-rules.make b/build-0.3/c/configuration-rules.make
deleted file mode 100644
index 5663065..0000000
--- a/build-0.3/c/configuration-rules.make
+++ /dev/null
@@ -1,18 +0,0 @@
-# file : build/c/configuration-rules.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(dcf_root)/c/configuration-dynamic.make: | $(dcf_root)/c/.
- $(call message,,$(bld_root)/c/configure $@ \
-"$(origin c_pp_options)" \
-"$(origin c_options)" \
-"$(origin c_ld_options)" \
-"$(origin c_libs)")
-
-ifndef %foreign%
-
-$(dcf_root)/.disfigure::
- $(call message,rm $(dcf_root)/c/configuration-dynamic.make,\
-rm -f $(dcf_root)/c/configuration-dynamic.make)
-
-endif
diff --git a/build-0.3/c/configuration-static.make b/build-0.3/c/configuration-static.make
deleted file mode 100644
index c226a36..0000000
--- a/build-0.3/c/configuration-static.make
+++ /dev/null
@@ -1,12 +0,0 @@
-# file : build/c/configuration-static.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-c_h_suffix := h
-c_s_suffix := c
-
-# Get user-supplied static configuration if any.
-#
-ifneq ($(bld_root),$(scf_root))
-$(call -include,$(scf_root)/c/configuration-static.make)
-endif
diff --git a/build-0.3/c/configuration.make b/build-0.3/c/configuration.make
deleted file mode 100644
index e47731c..0000000
--- a/build-0.3/c/configuration.make
+++ /dev/null
@@ -1,43 +0,0 @@
-# file : build/c/configuration.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(call include-once,$(bld_root)/c/configuration-rules.make,$(dcf_root))
-
-# Static configuration.
-#
-$(call include,$(bld_root)/c/configuration-static.make)
-
-# Dynamic configuration.
-#
-c_id :=
-c_optimize :=
-c_debug :=
-c_rpath :=
-
-c_pp_extra_options :=
-c_extra_options :=
-c_ld_extra_options :=
-c_extra_libs :=
-c_extra_lib_paths :=
-
-$(call -include,$(dcf_root)/c/configuration-dynamic.make)
-
-ifdef c_id
-
-$(out_root)/%: c_id := $(c_id)
-$(out_root)/%: c_optimize := $(c_optimize)
-$(out_root)/%: c_debug := $(c_debug)
-$(out_root)/%: c_rpath := $(c_rpath)
-
-$(out_root)/%: c_pp_extra_options := $(c_pp_extra_options) $(c_pp_cmd_options)
-$(out_root)/%: c_extra_options := $(c_extra_options) $(c_cmd_options)
-$(out_root)/%: c_ld_extra_options := $(c_ld_extra_options) $(c_ld_cmd_options)
-$(out_root)/%: c_extra_libs := $(c_extra_libs) $(c_cmd_libs)
-$(out_root)/%: c_extra_lib_paths := $(c_extra_lib_paths) $(c_cmd_lib_paths)
-
-else
-
-.NOTPARALLEL:
-
-endif
diff --git a/build-0.3/c/configure b/build-0.3/c/configure
deleted file mode 100755
index a294a0c..0000000
--- a/build-0.3/c/configure
+++ /dev/null
@@ -1,165 +0,0 @@
-#! /usr/bin/env bash
-
-# file : build/c/configure
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-# $1 out file
-# $2 origin of the c_pp_options make variable
-# $3 origin of the c_options make variable
-# $4 origin of the c_ld_options make variable
-# $5 origin of the c_libs make variable
-#
-# bld_root - build root
-# project_name - project name
-#
-
-source $bld_root/dialog.bash
-
-$echo
-$echo
-$echo "configuring '$project_name'"
-$echo
-$echo
-
-$echo
-$echo "Please select the C compiler you would like to use:"
-$echo
-$echo "(1) GNU C (gcc)"
-$echo "(2) Intel C (icc)"
-$echo "(3) Other C compiler"
-$echo
-
-id=`read_option "gnu intel generic" "gnu"`
-
-if [ "$id" != "generic" ]; then
-
- $echo
- $echo "Would you like the C compiler to optimize generated code?"
- $echo
-
- optimize=`read_y_n y`
-
-
- $echo
- $echo "Would you like the C compiler to generate debug information?"
- $echo
-
- debug=`read_y_n y`
-
- $echo
- $echo "Embed dynamic library paths into executables (rpath)?"
- $echo
-
- rpath=`read_y_n y`
-
-fi
-
-# pp_options
-#
-if [ "$2" != "undefined" ]; then
-
- pp_options=$c_pp_options
-
- if [ "$pp_options" ]; then
- $echo
- $echo "Extra C preprocessor options: $pp_options"
- $echo
- fi
-else
-
- $echo
- $echo "Please enter any extra C preprocessor options."
- $echo
-
- read -e -p "[]: " pp_options
-fi
-
-
-# options
-#
-if [ "$3" != "undefined" ]; then
-
- options=$c_options
-
- if [ "$options" ]; then
- $echo
- $echo "Extra C compiler options: $options"
- $echo
- fi
-else
-
- $echo
- $echo "Please enter any extra C compiler options."
- $echo
-
- read -p "[]: " options
-fi
-
-
-# ld_options
-#
-if [ "$4" != "undefined" ]; then
-
- ld_options=$c_ld_options
-
- if [ "$ld_options" ]; then
- $echo
- $echo "Extra C linker options: $ld_options"
- $echo
- fi
-else
-
- $echo
- $echo "Please enter any extra C linker options."
- $echo
-
- read -e -p "[]: " ld_options
-fi
-
-
-# libs
-#
-if [ "$5" != "undefined" ]; then
-
- libs=$c_libs
-
- if [ "$libs" ]; then
- $echo
- $echo "Extra C libraries: $libs"
- $echo
- fi
-else
-
- $echo
- $echo "Please enter any extra C libraries."
- $echo
-
- read -e -p "[]: " libs
-fi
-
-
-# Extract -L paths from the ld options.
-#
-paths=
-
-if [ "$ld_options" ]; then
- paths=`echo "$ld_options" | sed -e 's/-L *\([^ ]*\)/\\
--L\1\\
-/g' | sed -e 's/^-L\([^ ]*\)$/\1/' -e t -e d`
- paths=`echo $paths | sed -e 's/ /:/g'`
-fi
-
-echo "c_id := $id" >$1
-
-if [ "$id" != "generic" ]; then
- echo "c_optimize := $optimize" >>$1
- echo "c_debug := $debug" >>$1
- echo "c_rpath := $rpath" >>$1
-fi
-
-echo "c_pp_extra_options := $pp_options" >>$1
-echo "c_extra_options := $options" >>$1
-echo "c_ld_extra_options := $ld_options" >>$1
-echo "c_extra_libs := $libs" >>$1
-echo "c_extra_lib_paths := $paths" >>$1
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 $@))
diff --git a/build-0.3/c/generic/c-d.make b/build-0.3/c/generic/c-d.make
deleted file mode 100644
index 8933d7d..0000000
--- a/build-0.3/c/generic/c-d.make
+++ /dev/null
@@ -1,18 +0,0 @@
-# file : build/c/generic/c-o.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(call include,$(bld_root)/c/generic/configuration.make)
-
-# Make will try to build dependecies (since they are ultimately included
-# files) during configuartion phase without c_generic being discovered
-# yet. This is also why dependecies should be included with -include.
-#
-ifdef c_generic
-
-.PHONY: $(out_base)/%.o.d.$(c_s_suffix).clean
-
-$(out_base)/%.o.d.$(c_s_suffix).clean:
- @:
-
-endif
diff --git a/build-0.3/c/generic/c-o.make b/build-0.3/c/generic/c-o.make
deleted file mode 100644
index d340837..0000000
--- a/build-0.3/c/generic/c-o.make
+++ /dev/null
@@ -1,39 +0,0 @@
-# file : build/c/generic/c-o.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(call include-once,$(bld_root)/c/cpp-options.make,$(out_base))
-$(call include,$(bld_root)/c/generic/configuration.make)
-
-$(out_base)/%.o: c := $(c_generic)
-
-#@@ wrong prefix
-#
-$(out_base)/%.o: expand-cpp-options-impl = \
-$(if $1,$(shell sed -e 's%include: \(.*\)%\1%' -e t -e d $1))
-
-$(out_base)/%.o: expand-cpp-options = \
-$(call expand-cpp-options-impl,$(filter %.cpp-options,$1))
-
-ifeq ($(out_base),$(src_base))
-$(out_base)/%.o: $(src_base)/%.$(c_s_suffix)
-else
-$(out_base)/%.o: $(src_base)/%.$(c_s_suffix) | $$(dir $$@).
-endif
- $(call message,c $<,$(c) \
-$(cpp_options) $(call expand-cpp-options,$^) $(c_pp_extra_options) \
-$(c_options) $(c_pic_options) $(c_extra_options) -o $@ -c $<)
-
-ifneq ($(out_base),$(src_base))
-
-$(out_base)/%.o: $(out_base)/%.$(c_s_suffix) | $$(dir $$@).
- $(call message,c $<,$(c) \
-$(cpp_options) $(call expand-cpp-options,$^) $(c_pp_extra_options) \
-$(c_options) $(c_pic_options) $(c_extra_options) -o $@ -c $<)
-
-endif
-
-.PHONY: $(out_base)/%.o.$(c_s_suffix).clean
-
-$(out_base)/%.o.$(c_s_suffix).clean:
- $(call message,rm $$1,rm -f $$1,$(basename $(basename $@)))
diff --git a/build-0.3/c/generic/configuration-rules.make b/build-0.3/c/generic/configuration-rules.make
deleted file mode 100644
index 05e7a42..0000000
--- a/build-0.3/c/generic/configuration-rules.make
+++ /dev/null
@@ -1,14 +0,0 @@
-# file : build/c/generic/configuration-rules.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(dcf_root)/c/generic/configuration-dynamic.make: | $(dcf_root)/c/generic/.
- $(call message,,$(bld_root)/c/generic/configure $@)
-
-ifndef %foreign%
-
-$(dcf_root)/.disfigure::
- $(call message,rm $(dcf_root)/c/generic/configuration-dynamic.make,\
-rm -f $(dcf_root)/c/generic/configuration-dynamic.make)
-
-endif
diff --git a/build-0.3/c/generic/configuration-sl-rules.make b/build-0.3/c/generic/configuration-sl-rules.make
deleted file mode 100644
index 147cb1d..0000000
--- a/build-0.3/c/generic/configuration-sl-rules.make
+++ /dev/null
@@ -1,14 +0,0 @@
-# file : build/c/generic/configuration-sl-rules.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(dcf_root)/c/generic/configuration-sl-dynamic.make: | $(dcf_root)/c/generic/.
- $(call message,,$(bld_root)/c/generic/configure-sl $@)
-
-ifndef %foreign%
-
-$(dcf_root)/.disfigure::
- $(call message,rm $(dcf_root)/c/generic/configuration-sl-dynamic.make,\
-rm -f $(dcf_root)/c/generic/configuration-sl-dynamic.make)
-
-endif
diff --git a/build-0.3/c/generic/configuration-sl.make b/build-0.3/c/generic/configuration-sl.make
deleted file mode 100644
index 136186f..0000000
--- a/build-0.3/c/generic/configuration-sl.make
+++ /dev/null
@@ -1,20 +0,0 @@
-# file : build/c/generic/configuration-sl.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(call include-once,$(bld_root)/c/generic/configuration-sl-rules.make,$(dcf_root))
-
-# Dynamic configuration.
-#
-c_generic_pic_option :=
-
-$(call -include,$(dcf_root)/c/generic/configuration-sl-dynamic.make)
-
-ifdef c_generic_pic_option
-
-$(out_root)/%: c_generic_pic_option := $(c_generic_pic_option)
-$(out_root)/%: c_generic_shared_option := $(c_generic_shared_option)
-
-else
-.NOTPARALLEL:
-endif
diff --git a/build-0.3/c/generic/configuration.make b/build-0.3/c/generic/configuration.make
deleted file mode 100644
index 1881c5c..0000000
--- a/build-0.3/c/generic/configuration.make
+++ /dev/null
@@ -1,21 +0,0 @@
-# file : build/c/generic/configuration.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(call include-once,$(bld_root)/c/generic/configuration-rules.make,$(dcf_root))
-
-# Static configuration.
-#
-ifneq ($(bld_root),$(scf_root))
-$(call -include,$(scf_root)/c/generic/configuration-static.make)
-endif
-
-# Dynamic configuration.
-#
-c_generic :=
-
-$(call -include,$(dcf_root)/c/generic/configuration-dynamic.make)
-
-ifndef c_generic
-.NOTPARALLEL:
-endif
diff --git a/build-0.3/c/generic/configure b/build-0.3/c/generic/configure
deleted file mode 100755
index dae8d72..0000000
--- a/build-0.3/c/generic/configure
+++ /dev/null
@@ -1,27 +0,0 @@
-#! /usr/bin/env bash
-
-# file : build/c/generic/configure
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-# $1 out file
-#
-# bld_root - build root
-# project_name - project name
-#
-
-source $bld_root/dialog.bash
-
-$echo
-$echo
-$echo "configuring '$project_name'"
-$echo
-$echo
-
-$echo
-$echo "Please enter the C compiler executable you would like to use."
-$echo
-
-c_generic=`read_path --command`
-
-echo "c_generic := $c_generic" > $1
diff --git a/build-0.3/c/generic/configure-sl b/build-0.3/c/generic/configure-sl
deleted file mode 100755
index 10064cb..0000000
--- a/build-0.3/c/generic/configure-sl
+++ /dev/null
@@ -1,36 +0,0 @@
-#! /usr/bin/env bash
-
-# file : build/c/generic/configure-sl
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-# $1 out file
-#
-# bld_root - build root
-# project_name - project name
-#
-
-source $bld_root/dialog.bash
-
-$echo
-$echo
-$echo "configuring '$project_name'"
-$echo
-$echo
-
-$echo
-$echo "Please enter C compiler option(s) used to build position-"
-$echo "independent code (e.g., -fPIC, -Kpic, etc)."
-$echo
-
-read -e -p "[]: " pic_option
-
-$echo
-$echo "Please enter C compiler option(s) used to build shared"
-$echo "libraries (e.g., -shared, -G, etc)."
-$echo
-
-read -e -p "[]: " shared_option
-
-echo "c_generic_pic_option := $pic_option" > $1
-echo "c_generic_shared_option := $shared_option" >> $1
diff --git a/build-0.3/c/generic/o-e.make b/build-0.3/c/generic/o-e.make
deleted file mode 100644
index a607239..0000000
--- a/build-0.3/c/generic/o-e.make
+++ /dev/null
@@ -1,27 +0,0 @@
-# file : build/c/generic/o-e.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(call include,$(bld_root)/c/generic/configuration.make)
-
-ifneq ($(c_extra_lib_paths),)
-vpath %.so $(c_extra_lib_paths)
-vpath %.a $(c_extra_lib_paths)
-endif
-
-$(out_base)/%: ld := $(c_generic)
-$(out_base)/%: expand-l = $(shell sed -e 's%^rpath:\(.*\)%%' $1)
-
-ifeq ($(out_base),$(src_base))
-$(out_base)/%: $(out_base)/%.o
-else
-$(out_base)/%: $(out_base)/%.o | $$(dir $$@).
-endif
- $(call message,ld $@,$(ld) \
-$(c_extra_options) $(ld_options) $(c_ld_extra_options) -o $@ \
-$(foreach f,$^,$(if $(patsubst %.l,,$f),$f,$(call expand-l,$f))) $(c_extra_libs))
-
-.PHONY: $(out_base)/%.o.clean
-
-$(out_base)/%.o.clean:
- $(call message,rm $(basename $(basename $@)),rm -f $(basename $@) $(basename $(basename $@)))
diff --git a/build-0.3/c/generic/o-l.make b/build-0.3/c/generic/o-l.make
deleted file mode 100644
index bdae9fc..0000000
--- a/build-0.3/c/generic/o-l.make
+++ /dev/null
@@ -1,63 +0,0 @@
-# file : build/c/generic/o-l.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(call include,$(bld_root)/c/generic/configuration.make)
-
-ifeq ($(ld_lib_type),shared)
-$(call include,$(bld_root)/c/generic/configuration-sl.make)
-endif
-
-ifneq ($(c_extra_lib_paths),)
-vpath %.so $(c_extra_lib_paths)
-vpath %.a $(c_extra_lib_paths)
-endif
-
-ifdef ld_lib_type
-
-.PHONY: $(out_base)/%.l.o.clean
-
-ifeq ($(ld_lib_type),archive)
-
-$(out_base)/%.l: ar := $(ld_lib_ar)
-$(out_base)/%.l: ar_options ?= -rc
-
-$(out_base)/%.l: ranlib := $(ld_lib_ranlib)
-$(out_base)/%.l: ranlib_options ?=
-
-ifeq ($(out_base),$(src_base))
-$(out_base)/%.l:
-else
-$(out_base)/%.l: | $$(dir $$@).
-endif
- $(call message,ar $@,$(ar) $(ar_options) $(@D)/lib$(basename $(@F)).a $(filter %.o,$^))
- $(call message,,$(ranlib) $(ranlib_options) $(@D)/lib$(basename $(@F)).a)
- $(call message,,echo "$(@D)/lib$(basename $(@F)).a" >$@)
- $(call message,,echo "$(patsubst %.l,`cat %.l`,$(filter %.a %.so %.l,$^))" | xargs -n 1 echo >>$@)
-
-$(out_base)/%.l.o.clean:
- $(call message,rm $$1,rm -f $$1 $(@D)/$(patsubst %.l.o.clean,lib%.a,$(@F)),$(basename $(basename $@)))
-
-else
-
-$(out_base)/%.l: ld := $(c_generic)
-$(out_base)/%.l: c_pic_options := $(c_generic_pic_option)
-$(out_base)/%.l: expand-l = $(shell sed -e 's%^rpath:\(.*\)%%' $1)
-
-ifeq ($(out_base),$(src_base))
-$(out_base)/%.l:
-else
-$(out_base)/%.l: | $$(dir $$@).
-endif
- $(call message,ld $@,$(ld) $(c_generic_shared_option) \
-$(c_extra_options) $(ld_options) $(c_ld_extra_options) -o $(@D)/lib$(basename $(@F)).so \
-$(foreach f,$^,$(if $(patsubst %.l,,$f),$f,$(call expand-l,$f))) $(c_extra_libs))
- $(call message,,echo "$(@D)/lib$(basename $(@F)).so" >$@)
- $(call message,,echo "rpath:$(@D)" >>$@)
- $(call message,,echo "$(patsubst %.l,`cat %.l`,$(filter %.a %.so %.l,$^))" | xargs -n 1 echo >>$@)
-
-$(out_base)/%.l.o.clean:
- $(call message,rm $$1,rm -f $$1 $(@D)/$(patsubst %.l.o.clean,lib%.so,$(@F)),$(basename $(basename $@)))
-
-endif
-endif
diff --git a/build-0.3/c/gnu/c-d.make b/build-0.3/c/gnu/c-d.make
deleted file mode 100644
index bc7411f..0000000
--- a/build-0.3/c/gnu/c-d.make
+++ /dev/null
@@ -1,58 +0,0 @@
-# file : build/c/gnu/c-o.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(call include-once,$(bld_root)/c/cpp-options.make,$(out_base))
-$(call include,$(bld_root)/c/gnu/configuration.make)
-
-# Make will try to build dependecies (since they are ultimately included
-# files) during configuartion phase without c_gnu being discovered yet.
-# This is also why dependecies should be included with -include.
-#
-ifdef c_gnu
-
-$(out_base)/%.o.d: c := $(c_gnu)
-$(out_base)/%.o.d: cpp_options ?=
-
-#@@ This needs to be shared with c-o.
-#
-#@@ wrong prefix
-#
-$(out_base)/%.o.d: expand-cpp-options-impl = \
-$(if $1,$(shell sed -e 's%include: \(.*\)%\1%' -e t -e d $1))
-
-$(out_base)/%.o.d: expand-cpp-options = \
-$(call expand-cpp-options-impl,$(filter %.cpp-options,$1))
-
-.PRECIOUS: $(out_base)/%.o.d
-
-ifeq ($(out_base),$(src_base))
-$(out_base)/%.o.d: $(src_base)/%.$(c_s_suffix)
-else
-$(out_base)/%.o.d: $(src_base)/%.$(c_s_suffix) | $$(dir $$@).
-endif
- $(call message,,if test -f $@; then mv $@ $@.old; fi && \
-$(c) $(cpp_options) $(call expand-cpp-options,$^) $(c_pp_extra_options) \
-$(c_extra_options) -M -MG -MP -MQ $@ -MQ $(basename $@) $< | \
-$(bld_root)/c/gnu/dep $(out_base) $(filter %.cpp-options,$^) >$@ && \
-if test -f $@.old; then if cmp -s $@ $@.old; then rm -f $@.old && false; \
-else rm -f $@.old && true; fi fi)
-
-ifneq ($(out_base),$(src_base))
-
-$(out_base)/%.o.d: $(out_base)/%.$(c_s_suffix) | $$(dir $$@).
- $(call message,,if test -f $@; then mv $@ $@.old; fi && \
-$(c) $(cpp_options) $(call expand-cpp-options,$^) $(c_pp_extra_options) \
-$(c_extra_options) -M -MG -MP -MQ $@ -MQ $(basename $@) $< | \
-$(bld_root)/c/gnu/dep $(out_base) $(filter %.cpp-options,$^) >$@ && \
-if test -f $@.old; then if cmp -s $@ $@.old; then rm -f $@.old && false; \
-else rm -f $@.old && true; fi fi)
-
-endif
-
-.PHONY: $(out_base)/%.o.d.$(c_s_suffix).clean
-
-$(out_base)/%.o.d.$(c_s_suffix).clean:
- $(call message,rm $$1,rm -f $$1,$(basename $(basename $@)))
-
-endif
diff --git a/build-0.3/c/gnu/c-o.make b/build-0.3/c/gnu/c-o.make
deleted file mode 100644
index 46eb1da..0000000
--- a/build-0.3/c/gnu/c-o.make
+++ /dev/null
@@ -1,41 +0,0 @@
-# file : build/c/gnu/c-o.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(call include-once,$(bld_root)/c/cpp-options.make,$(out_base))
-$(call include,$(bld_root)/c/gnu/configuration.make)
-
-$(out_base)/%.o: c := $(c_gnu)
-$(out_base)/%.o: c_options := $(c_gnu_optimization_options) $(c_gnu_debugging_options)
-
-#@@ wrong prefix
-#
-$(out_base)/%.o: expand-cpp-options-impl = \
-$(if $1,$(shell sed -e 's%include: \(.*\)%\1%' -e t -e d $1))
-
-$(out_base)/%.o: expand-cpp-options = \
-$(call expand-cpp-options-impl,$(filter %.cpp-options,$1))
-
-ifeq ($(out_base),$(src_base))
-$(out_base)/%.o: $(src_base)/%.$(c_s_suffix)
-else
-$(out_base)/%.o: $(src_base)/%.$(c_s_suffix) | $$(dir $$@).
-endif
- $(call message,c $<,$(c) \
-$(cpp_options) $(call expand-cpp-options,$^) $(c_pp_extra_options) $(c_options) \
-$(c_pic_options) $(subst y,-fexceptions,$(filter y,$(c_exceptions))) $(c_extra_options) -o $@ -c $<)
-
-
-ifneq ($(out_base),$(src_base))
-
-$(out_base)/%.o: $(out_base)/%.$(c_s_suffix) | $$(dir $$@).
- $(call message,c $<,$(c) \
-$(cpp_options) $(call expand-cpp-options,$^) $(c_pp_extra_options) $(c_options) \
-$(c_pic_options) $(subst y,-fexceptions,$(filter y,$(c_exceptions))) $(c_extra_options) -o $@ -c $<)
-
-endif
-
-.PHONY: $(out_base)/%.o.$(c_s_suffix).clean
-
-$(out_base)/%.o.$(c_s_suffix).clean:
- $(call message,rm $$1,rm -f $$1,$(basename $(basename $@)))
diff --git a/build-0.3/c/gnu/configuration-rules.make b/build-0.3/c/gnu/configuration-rules.make
deleted file mode 100644
index cb25dfe..0000000
--- a/build-0.3/c/gnu/configuration-rules.make
+++ /dev/null
@@ -1,15 +0,0 @@
-# file : build/c/gnu/configuration-rules.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(dcf_root)/c/gnu/configuration-dynamic.make: | $(dcf_root)/c/gnu/.
- $(call message,,$(bld_root)/c/gnu/configure $@ $(c_optimize) \
-"$(c_extra_options)" "$(c_ld_extra_options)")
-
-ifndef %foreign%
-
-$(dcf_root)/.disfigure::
- $(call message,rm $(dcf_root)/c/gnu/configuration-dynamic.make,\
-rm -f $(dcf_root)/c/gnu/configuration-dynamic.make)
-
-endif
diff --git a/build-0.3/c/gnu/configuration-static.make b/build-0.3/c/gnu/configuration-static.make
deleted file mode 100644
index e9be2b9..0000000
--- a/build-0.3/c/gnu/configuration-static.make
+++ /dev/null
@@ -1,3 +0,0 @@
-# file : build/c/gnu/configuration-static.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
diff --git a/build-0.3/c/gnu/configuration.make b/build-0.3/c/gnu/configuration.make
deleted file mode 100644
index 32aaf97..0000000
--- a/build-0.3/c/gnu/configuration.make
+++ /dev/null
@@ -1,33 +0,0 @@
-# file : build/c/gnu/configuration.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(call include-once,$(bld_root)/c/gnu/configuration-rules.make,$(dcf_root))
-
-# Static configuration.
-#
-$(call include,$(bld_root)/c/gnu/configuration-static.make)
-
-ifneq ($(bld_root),$(scf_root))
-$(call -include,$(scf_root)/c/gnu/configuration-static.make)
-endif
-
-# Dynamic configuration.
-#
-c_gnu :=
-c_gnu_optimization_options :=
-
-$(call -include,$(dcf_root)/c/gnu/configuration-dynamic.make)
-
-ifdef c_gnu
-
-c_gnu_debugging_options := $(if $(findstring y,$(c_debug)),-g)
-
-$(out_root)/%: c_gnu_debugging_options := $(c_gnu_debugging_options)
-$(out_root)/%: c_gnu_optimization_options := $(c_gnu_optimization_options)
-
-else
-
-.NOTPARALLEL:
-
-endif
diff --git a/build-0.3/c/gnu/configure b/build-0.3/c/gnu/configure
deleted file mode 100755
index 713f091..0000000
--- a/build-0.3/c/gnu/configure
+++ /dev/null
@@ -1,85 +0,0 @@
-#! /usr/bin/env bash
-
-# file : build/c/gnu/configure
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-# $1 out file
-# $2 optimize (y/n)
-# $3 c_extra_options
-# $4 c_ld_extra_options
-#
-# bld_root - build root
-# project_name - project name
-#
-
-
-source $bld_root/dialog.bash
-
-$echo
-$echo
-$echo "configuring '$project_name'"
-$echo
-$echo
-
-$echo
-$echo "Please enter the gcc binary you would like to use, for example 'gcc-3.4',"
-$echo "'/usr/local/bin/gcc' or 'distcc gcc'."
-$echo
-
-c_gnu=`read_path --command gcc`
-
-# Pass c_extra_options and c_ld_extra_options since those can affect the
-# search paths (e.g., -m32) and target.
-#
-c_gnu_libraries=`$c_gnu $3 $4 -print-search-dirs | sed -e 's/libraries: =//p' -e d`
-
-c_gnu_target=`$c_gnu $3 $4 -dumpmachine`
-c_gnu_target=`$bld_root/system/config.sub "$c_gnu_target"`
-
-if [ $? != 0 ]; then
- $echo "unable to canonicalize target system '$c_gnu_target'"
- exit 1
-fi
-
-c_gnu_target_cpu=`echo $c_gnu_target | cut -f 1 -d -`
-c_gnu_target_mf=`echo $c_gnu_target | cut -f 2 -d -`
-c_gnu_target_kernel=`echo $c_gnu_target | cut -f 3 -d -`
-c_gnu_target_os=`echo $c_gnu_target | cut -f 4 -d -`
-
-if [ -z "$c_gnu_target_os" ]; then
-
- # Old format: cpu-mf-os
- #
- c_gnu_target_os=$c_gnu_target_kernel
- c_gnu_target_kernel=
-fi
-
-optimization=
-
-if [ "$2" == "y" ]; then
-
- $echo
- $echo "Please select the optimization level you would like to use:"
- $echo
- $echo "(1) -O1 [Tries to reduce code size and execution time, without"
- $echo " performing any optimizations that take a great deal of"
- $echo " compilation time.]"
- $echo "(2) -O2 [Performs nearly all supported optimizations that do not"
- $echo " involve a space-speed tradeoff.]"
- $echo "(3) -O3 [Optimize even more.]"
- $echo "(4) -Os [Optimize for size.]"
- $echo
-
- optimization=`read_option "-O1 -O2 -O3 -Os" "-O2"`
-
-fi
-
-echo "c_gnu := $c_gnu" > $1
-echo "c_gnu_libraries := $c_gnu_libraries" >> $1
-echo "c_gnu_optimization_options := $optimization" >> $1
-echo "c_gnu_target := $c_gnu_target" >> $1
-echo "c_gnu_target_cpu := $c_gnu_target_cpu" >> $1
-echo "c_gnu_target_mf := $c_gnu_target_mf" >> $1
-echo "c_gnu_target_kernel := $c_gnu_target_kernel" >> $1
-echo "c_gnu_target_os := $c_gnu_target_os" >> $1
diff --git a/build-0.3/c/gnu/dep b/build-0.3/c/gnu/dep
deleted file mode 100755
index ecafcb1..0000000
--- a/build-0.3/c/gnu/dep
+++ /dev/null
@@ -1,57 +0,0 @@
-#! /usr/bin/env bash
-
-# file : build/c/gnu/dep
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-# Post-process generated dependency information.
-#
-# $1 current project's $(out_base)
-# $2 - $N optional .cpp-options files
-
-out_base=$1
-shift
-
-files=$*
-
-#echo $out_base
-#echo $files
-
-script=
-
-function gen_script ()
-{
- while [ "$1" ]; do
- prefix=$1
- shift
-
- path=$1
- shift
-
- # Besides unresolved paths also replace default installation
- # targets (/usr/include and /usr/local/include).
- #
- script="$script"\
-"s \\ $prefix \\ $path$prefix g;"\
-"s \\ /usr/include/$prefix \\ $path$prefix g;"\
-"s \\ /usr/local/include/$prefix \\ $path$prefix g;"\
-"s ^$prefix $path$prefix ;"\
-"s ^/usr/include/$prefix $path$prefix ;"\
-"s ^/usr/local/include/$prefix $path$prefix ;"
- done
-}
-
-if [ "$files" ]; then
- prefixes=`sed -e 's%^prefix: \(.*\)$%\1%' -e t -e d $files`
- gen_script $prefixes
-fi
-
-# The last part of the script translates all file names that don't start
-# with / or . (that is, local generated files) to files in $out_base. Note
-# that it is assumed that such files are never installed and therefore there
-# is no way to get around the situation where this file is picket up from
-# some other place (e.g., /usr/include).
-#
-epilogue="s% \([^/. \\\\]\)% $out_base/\1%g;s%^\([^/. ].*:\)%$out_base/\1%"
-
-exec sed -e "$script$epilogue"
diff --git a/build-0.3/c/gnu/o-e.make b/build-0.3/c/gnu/o-e.make
deleted file mode 100644
index a54a9f3..0000000
--- a/build-0.3/c/gnu/o-e.make
+++ /dev/null
@@ -1,39 +0,0 @@
-# file : build/c/gnu/o-e.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(call include,$(bld_root)/c/gnu/configuration.make)
-
-#@@ should it be lib%.so?
-#
-ifneq ($(c_extra_lib_paths),)
-vpath %.so $(c_extra_lib_paths)
-vpath %.a $(c_extra_lib_paths)
-endif
-
-ifneq ($(c_gnu_libraries),)
-vpath %.so $(c_gnu_libraries)
-vpath %.a $(c_gnu_libraries)
-endif
-
-$(out_base)/%: ld := $(c_gnu)
-$(out_base)/%: ld_options := $(c_gnu_optimization_options) $(c_gnu_debugging_options) $(c_ld_extra_options)
-
-$(out_base)/%: expand-l = $(if $(subst n,,$(c_rpath)),\
-$(shell sed -e 's%^rpath:\(.*\)%-Wl,-rpath,\1%' $1),\
-$(shell sed -e 's%^rpath:\(.*\)%%' $1))
-
-ifeq ($(out_base),$(src_base))
-$(out_base)/%: $(out_base)/%.o
-else
-$(out_base)/%: $(out_base)/%.o | $$(dir $$@).
-endif
- $(call message,ld $@,$(ld) \
-$(c_extra_options) $(ld_options) $(c_ld_extra_options) -o $@ \
-$(foreach f,$^,$(if $(patsubst %.l,,$f),$f,$(call expand-l,$f))) $(c_extra_libs))
-
-
-.PHONY: $(out_base)/%.o.clean
-
-$(out_base)/%.o.clean:
- $(call message,rm $(basename $(basename $@)),rm -f $(basename $@) $(basename $(basename $@)))
diff --git a/build-0.3/c/gnu/o-l.make b/build-0.3/c/gnu/o-l.make
deleted file mode 100644
index 5c93f0a..0000000
--- a/build-0.3/c/gnu/o-l.make
+++ /dev/null
@@ -1,92 +0,0 @@
-# file : build/c/gnu/o-l.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(call include,$(bld_root)/c/gnu/configuration.make)
-
-ifneq ($(c_extra_lib_paths),)
-vpath %.so $(c_extra_lib_paths)
-vpath %.a $(c_extra_lib_paths)
-endif
-
-ifneq ($(c_gnu_libraries),)
-vpath %.so $(c_gnu_libraries)
-vpath %.a $(c_gnu_libraries)
-endif
-
-ifdef ld_lib_type
-
-.PHONY: $(out_base)/%.l.o.clean
-
-ifeq ($(ld_lib_type),archive)
-
-$(out_base)/%.l: ar := $(ld_lib_ar)
-$(out_base)/%.l: ar_options ?= -rc
-
-$(out_base)/%.l: ranlib := $(ld_lib_ranlib)
-$(out_base)/%.l: ranlib_options ?=
-
-ifeq ($(out_base),$(src_base))
-$(out_base)/%.l:
-else
-$(out_base)/%.l: | $$(dir $$@).
-endif
- $(call message,ar $@,$(ar) $(ar_options) $(@D)/lib$(basename $(@F)).a $(filter %.o,$^))
- $(call message,,$(ranlib) $(ranlib_options) $(@D)/lib$(basename $(@F)).a)
- $(call message,,echo "$(@D)/lib$(basename $(@F)).a" >$@)
- $(call message,,echo "$(patsubst %.l,`cat %.l`,$(filter %.a %.so %.l,$^))" | xargs -n 1 echo >>$@)
-
-$(out_base)/%.l.o.clean:
- $(call message,rm $$1,rm -f $$1 $(@D)/$(patsubst %.l.o.clean,lib%.a,$(@F)),$(basename $(basename $@)))
-
-else
-
-mingw := $(if $(filter $(c_gnu_target_os),mingw32 mingw64),y,n)
-
-$(out_base)/%.l: ld := $(c_gnu)
-$(out_base)/%.l: ld_options := $(c_gnu_optimization_options) $(c_gnu_debugging_options)
-ifeq ($(mingw),n)
-$(out_base)/%.l: c_pic_options := -fPIC
-endif
-$(out_base)/%.l: comma_ := ,
-
-$(out_base)/%.l: expand-l = $(if $(subst n,,$(c_rpath)),\
-$(shell sed -e 's%^rpath:\(.*\)%-Wl,-rpath,\1%' $1),\
-$(shell sed -e 's%^rpath:\(.*\)%%' $1))
-
-ifeq ($(out_base),$(src_base))
-$(out_base)/%.l:
-else
-$(out_base)/%.l: | $$(dir $$@).
-endif
-ifeq ($(mingw),n)
-# Standard version.
-#
- $(call message,ld $@,$(ld) -shared \
-$(c_extra_options) $(ld_options) $(c_ld_extra_options) \
--o $(@D)/lib$(basename $(@F)).so -Wl$(comma_)-soname=lib$(basename $(@F)).so \
-$(foreach f,$^,$(if $(patsubst %.l,,$f),$f,$(call expand-l,$f))) $(c_extra_libs))
- $(call message,,echo "$(@D)/lib$(basename $(@F)).so" >$@)
- $(call message,,echo "rpath:$(@D)" >>$@)
- $(call message,,echo "$(patsubst %.l,`cat %.l`,$(filter %.a %.so %.l,$^))" | xargs -n 1 echo >>$@)
-else
-# MinGW version.
-#
- $(call message,ld $@,$(ld) -shared \
-$(c_extra_options) $(ld_options) $(c_ld_extra_options) \
--o $(@D)/$(basename $(@F)).dll -Wl$(comma_)--out-implib$(comma_)$(@D)/lib$(basename $(@F)).a \
-$(foreach f,$^,$(if $(patsubst %.l,,$f),$f,$(call expand-l,$f))) $(c_extra_libs))
- $(call message,,echo "$(@D)/lib$(basename $(@F)).a" >$@)
- $(call message,,echo "rpath:$(@D)" >>$@)
- $(call message,,echo "$(patsubst %.l,`cat %.l`,$(filter %.a %.l,$^))" | xargs -n 1 echo >>$@)
-endif
-
-$(out_base)/%.l.o.clean:
-ifeq ($(mingw),n)
- $(call message,rm $$1,rm -f $$1 $(@D)/$(patsubst %.l.o.clean,lib%.so,$(@F)),$(basename $(basename $@)))
-else
- $(call message,rm $$1,rm -f $$1 $(@D)/$(patsubst %.l.o.clean,%.dll,$(@F)) $(@D)/$(patsubst %.l.o.clean,lib%.a,$(@F)),$(basename $(basename $@)))
-endif
-
-endif
-endif
diff --git a/build-0.3/c/intel/c-d.make b/build-0.3/c/intel/c-d.make
deleted file mode 100644
index b4d6c80..0000000
--- a/build-0.3/c/intel/c-d.make
+++ /dev/null
@@ -1,58 +0,0 @@
-# file : build/c/intel/c-o.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(call include-once,$(bld_root)/c/cpp-options.make,$(out_base))
-$(call include,$(bld_root)/c/intel/configuration.make)
-
-# Make will try to build dependecies (since they are ultimately included
-# files) during configuartion phase without c_intel being discovered yet.
-# This is also why dependecies should be included with -include.
-#
-ifdef c_intel
-
-$(out_base)/%.o.d: c := $(c_intel)
-$(out_base)/%.o.d: cpp_options ?=
-
-#@@ This needs to be shared with c-o.
-#
-#@@ wrong prefix
-#
-$(out_base)/%.o.d: expand-cpp-options-impl = \
-$(if $1,$(shell sed -e 's%include: \(.*\)%\1%' -e t -e d $1))
-
-$(out_base)/%.o.d: expand-cpp-options = \
-$(call expand-cpp-options-impl,$(filter %.cpp-options,$1))
-
-.PRECIOUS: $(out_base)/%.o.d
-
-ifeq ($(out_base),$(src_base))
-$(out_base)/%.o.d: $(src_base)/%.$(c_s_suffix)
-else
-$(out_base)/%.o.d: $(src_base)/%.$(c_s_suffix) | $$(dir $$@).
-endif
- $(call message,,if test -f $@; then mv $@ $@.old; fi && \
-$(c) $(cpp_options) $(call expand-cpp-options,$^) $(c_pp_extra_options) \
-$(c_extra_options) -M -MG -MP -MQ $@ -MQ $(basename $@) $< | \
-$(bld_root)/c/intel/dep $(out_base) $(filter %.cpp-options,$^) >$@ && \
-if test -f $@.old; then if cmp -s $@ $@.old; then rm -f $@.old && false; \
-else rm -f $@.old && true; fi fi)
-
-ifneq ($(out_base),$(src_base))
-
-$(out_base)/%.o.d: $(out_base)/%.$(c_s_suffix) | $$(dir $$@).
- $(call message,,if test -f $@; then mv $@ $@.old; fi && \
-$(c) $(cpp_options) $(call expand-cpp-options,$^) $(c_pp_extra_options) \
-$(c_extra_options) -M -MG -MP -MQ $@ -MQ $(basename $@) $< | \
-$(bld_root)/c/intel/dep $(out_base) $(filter %.cpp-options,$^) >$@ && \
-if test -f $@.old; then if cmp -s $@ $@.old; then rm -f $@.old && false; \
-else rm -f $@.old && true; fi fi)
-
-endif
-
-.PHONY: $(out_base)/%.o.d.$(c_s_suffix).clean
-
-$(out_base)/%.o.d.$(c_s_suffix).clean:
- $(call message,rm $$1,rm -f $$1,$(basename $(basename $@)))
-
-endif
diff --git a/build-0.3/c/intel/c-o.make b/build-0.3/c/intel/c-o.make
deleted file mode 100644
index e925b50..0000000
--- a/build-0.3/c/intel/c-o.make
+++ /dev/null
@@ -1,40 +0,0 @@
-# file : build/c/intel/c-o.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(call include-once,$(bld_root)/c/cpp-options.make,$(out_base))
-$(call include,$(bld_root)/c/intel/configuration.make)
-
-$(out_base)/%.o: c := $(c_intel)
-$(out_base)/%.o: c_options := $(c_intel_optimization_options) $(c_intel_debugging_options)
-
-#@@ wrong prefix
-#
-$(out_base)/%.o: expand-cpp-options-impl = \
-$(if $1,$(shell sed -e 's%include: \(.*\)%\1%' -e t -e d $1))
-
-$(out_base)/%.o: expand-cpp-options = \
-$(call expand-cpp-options-impl,$(filter %.cpp-options,$1))
-
-ifeq ($(out_base),$(src_base))
-$(out_base)/%.o: $(src_base)/%.$(c_s_suffix)
-else
-$(out_base)/%.o: $(src_base)/%.$(c_s_suffix) | $$(dir $$@).
-endif
- $(call message,c $<,$(c) \
-$(cpp_options) $(call expand-cpp-options,$^) $(c_pp_extra_options) $(c_options) \
-$(c_pic_options) $(subst y,-fexceptions,$(filter y,$(c_exceptions))) $(c_extra_options) -o $@ -c $<)
-
-ifneq ($(out_base),$(src_base))
-
-$(out_base)/%.o: $(out_base)/%.$(c_s_suffix) | $$(dir $$@).
- $(call message,c $<,$(c) \
-$(cpp_options) $(call expand-cpp-options,$^) $(c_pp_extra_options) $(c_options) \
-$(c_pic_options) $(subst y,-fexceptions,$(filter y,$(c_exceptions))) $(c_extra_options) -o $@ -c $<)
-
-endif
-
-.PHONY: $(out_base)/%.o.$(c_s_suffix).clean
-
-$(out_base)/%.o.$(c_s_suffix).clean:
- $(call message,rm $$1,rm -f $$1,$(basename $(basename $@)))
diff --git a/build-0.3/c/intel/configuration-rules.make b/build-0.3/c/intel/configuration-rules.make
deleted file mode 100644
index 0132981..0000000
--- a/build-0.3/c/intel/configuration-rules.make
+++ /dev/null
@@ -1,15 +0,0 @@
-# file : build/c/intel/configuration-rules.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(dcf_root)/c/intel/configuration-dynamic.make: | $(dcf_root)/c/intel/.
- $(call message,,$(bld_root)/c/intel/configure $@ $(c_optimize) \
-"$(c_extra_options)" "$(c_ld_extra_options)")
-
-ifndef %foreign%
-
-$(dcf_root)/.disfigure::
- $(call message,rm $(dcf_root)/c/intel/configuration-dynamic.make,\
-rm -f $(dcf_root)/c/intel/configuration-dynamic.make)
-
-endif
diff --git a/build-0.3/c/intel/configuration-static.make b/build-0.3/c/intel/configuration-static.make
deleted file mode 100644
index c3e2d05..0000000
--- a/build-0.3/c/intel/configuration-static.make
+++ /dev/null
@@ -1,3 +0,0 @@
-# file : build/c/intel/configuration-static.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
diff --git a/build-0.3/c/intel/configuration.make b/build-0.3/c/intel/configuration.make
deleted file mode 100644
index 4e0ec1e..0000000
--- a/build-0.3/c/intel/configuration.make
+++ /dev/null
@@ -1,33 +0,0 @@
-# file : build/c/intel/configuration.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(call include-once,$(bld_root)/c/intel/configuration-rules.make,$(dcf_root))
-
-# Static configuration.
-#
-$(call include,$(bld_root)/c/intel/configuration-static.make)
-
-ifneq ($(bld_root),$(scf_root))
-$(call -include,$(scf_root)/c/intel/configuration-static.make)
-endif
-
-# Dynamic configuration.
-#
-c_intel :=
-c_intel_optimization_options :=
-
-$(call -include,$(dcf_root)/c/intel/configuration-dynamic.make)
-
-ifdef c_intel
-
-c_intel_debugging_options := $(if $(findstring y,$(c_debug)),-g)
-
-$(out_root)/%: c_intel_debugging_options := $(c_intel_debugging_options)
-$(out_root)/%: c_intel_optimization_options := $(c_intel_optimization_options)
-
-else
-
-.NOTPARALLEL:
-
-endif
diff --git a/build-0.3/c/intel/configure b/build-0.3/c/intel/configure
deleted file mode 100755
index e829cea..0000000
--- a/build-0.3/c/intel/configure
+++ /dev/null
@@ -1,57 +0,0 @@
-#! /usr/bin/env bash
-
-# file : build/c/intel/configure
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-# $1 out file
-# $2 optimize (y/n)
-# $3 c_extra_options
-# $4 c_ld_extra_options
-#
-# bld_root - build root
-# project_name - project name
-#
-
-
-source $bld_root/dialog.bash
-
-$echo
-$echo
-$echo "configuring '$project_name'"
-$echo
-$echo
-
-$echo
-$echo "Please enter the icc binary you would like to use, for example "
-$echo "'/opt/intel_cc_80/bin/icc'."
-$echo
-
-c_intel=`read_path --command icc`
-
-# Pass c_extra_options and c_ld_extra_options since those can affect the
-# search paths (e.g., -m32) and target.
-#
-c_intel_libraries=`$c_intel $3 $4 -print-search-dirs | sed -e 's/libraries: =//p' -e d`
-
-# Intel optimizes by default.
-#
-optimization=-O0
-
-if [ "$2" == "y" ]; then
-
- $echo
- $echo "Please select the optimization level you would like to use:"
- $echo
- $echo "(1) -O1 [Enable optimizations.]"
- $echo "(2) -O2 [Same as -O1.]"
- $echo "(3) -O3 [As -O2 plus more aggressive optimizations that may not"
- $echo " improve performance for all programs.]"
- $echo
-
- optimization=`read_option "-O1 -O2 -O3" "-O2"`
-fi
-
-echo "c_intel := $c_intel" > $1
-echo "c_intel_libraries := $c_intel_libraries" >> $1
-echo "c_intel_optimization_options := $optimization" >> $1
diff --git a/build-0.3/c/intel/dep b/build-0.3/c/intel/dep
deleted file mode 100755
index ead761f..0000000
--- a/build-0.3/c/intel/dep
+++ /dev/null
@@ -1,57 +0,0 @@
-#! /usr/bin/env bash
-
-# file : build/c/intel/dep
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-# Post-process generated dependency information.
-#
-# $1 current project's $(out_base)
-# $2 - $N optional .cpp-options files
-
-out_base=$1
-shift
-
-files=$*
-
-#echo $out_base
-#echo $files
-
-script=
-
-function gen_script ()
-{
- while [ "$1" ]; do
- prefix=$1
- shift
-
- path=$1
- shift
-
- # Besides unresolved paths also replace default installation
- # targets (/usr/include and /usr/local/include).
- #
- script="$script"\
-"s \\ $prefix \\ $path$prefix g;"\
-"s \\ /usr/include/$prefix \\ $path$prefix g;"\
-"s \\ /usr/local/include/$prefix \\ $path$prefix g;"\
-"s ^$prefix $path$prefix ;"\
-"s ^/usr/include/$prefix $path$prefix ;"\
-"s ^/usr/local/include/$prefix $path$prefix ;"
- done
-}
-
-if [ "$files" ]; then
- prefixes=`sed -e 's%^prefix: \(.*\)$%\1%' -e t -e d $files`
- gen_script $prefixes
-fi
-
-# The last part of the script translates all file names that don't start
-# with / or . (that is, local generated files) to files in $out_base. Note
-# that it is assumed that such files are never installed and therefore there
-# is no way to get around the situation where this file is picket up from
-# some other place (e.g., /usr/include).
-#
-epilogue="s% \([^/. \\\\]\)% $out_base/\1%g;s%^\([^/. ].*:\)%$out_base/\1%"
-
-exec sed -e "$script$epilogue"
diff --git a/build-0.3/c/intel/o-e.make b/build-0.3/c/intel/o-e.make
deleted file mode 100644
index 0661ccc..0000000
--- a/build-0.3/c/intel/o-e.make
+++ /dev/null
@@ -1,38 +0,0 @@
-# file : build/c/intel/o-e.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(call include,$(bld_root)/c/intel/configuration.make)
-
-#@@ should it be lib%.so?
-#
-ifneq ($(c_extra_lib_paths),)
-vpath %.so $(c_extra_lib_paths)
-vpath %.a $(c_extra_lib_paths)
-endif
-
-ifneq ($(c_intel_libraries),)
-vpath %.so $(c_intel_libraries)
-vpath %.a $(c_intel_libraries)
-endif
-
-$(out_base)/%: ld := $(c_intel)
-$(out_base)/%: ld_options := $(c_intel_optimization_options) $(c_intel_debugging_options) $(c_ld_extra_options)
-
-$(out_base)/%: expand-l = $(if $(subst n,,$(c_rpath)),\
-$(shell sed -e 's%^rpath:\(.*\)%-Wl,-rpath,\1%' $1),\
-$(shell sed -e 's%^rpath:\(.*\)%%' $1))
-
-ifeq ($(out_base),$(src_base))
-$(out_base)/%: $(out_base)/%.o
-else
-$(out_base)/%: $(out_base)/%.o | $$(dir $$@).
-endif
- $(call message,ld $@,$(ld) \
-$(c_extra_options) $(ld_options) $(c_ld_extra_options) -o $@ \
-$(foreach f,$^,$(if $(patsubst %.l,,$f),$f,$(call expand-l,$f))) $(c_extra_libs))
-
-.PHONY: $(out_base)/%.o.clean
-
-$(out_base)/%.o.clean:
- $(call message,rm $(basename $(basename $@)),rm -f $(basename $@) $(basename $(basename $@)))
diff --git a/build-0.3/c/intel/o-l.make b/build-0.3/c/intel/o-l.make
deleted file mode 100644
index 0ad3085..0000000
--- a/build-0.3/c/intel/o-l.make
+++ /dev/null
@@ -1,70 +0,0 @@
-# file : build/c/intel/o-l.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(call include,$(bld_root)/c/intel/configuration.make)
-
-ifneq ($(c_extra_lib_paths),)
-vpath %.so $(c_extra_lib_paths)
-vpath %.a $(c_extra_lib_paths)
-endif
-
-ifneq ($(c_intel_libraries),)
-vpath %.so $(c_intel_libraries)
-vpath %.a $(c_intel_libraries)
-endif
-
-ifdef ld_lib_type
-
-.PHONY: $(out_base)/%.l.o.clean
-
-ifeq ($(ld_lib_type),archive)
-
-$(out_base)/%.l: ar := $(ld_lib_ar)
-$(out_base)/%.l: ar_options ?= -rc
-
-$(out_base)/%.l: ranlib := $(ld_lib_ranlib)
-$(out_base)/%.l: ranlib_options ?=
-
-ifeq ($(out_base),$(src_base))
-$(out_base)/%.l:
-else
-$(out_base)/%.l: | $$(dir $$@).
-endif
- $(call message,ar $@,$(ar) $(ar_options) $(@D)/lib$(basename $(@F)).a $(filter %.o,$^))
- $(call message,,$(ranlib) $(ranlib_options) $(@D)/lib$(basename $(@F)).a)
- $(call message,,echo "$(@D)/lib$(basename $(@F)).a" >$@)
- $(call message,,echo "$(patsubst %.l,`cat %.l`,$(filter %.a %.so %.l,$^))" | xargs -n 1 echo >>$@)
-
-$(out_base)/%.l.o.clean:
- $(call message,rm $$1,rm -f $$1 $(@D)/$(patsubst %.l.o.clean,lib%.a,$(@F)),$(basename $(basename $@)))
-
-else
-
-$(out_base)/%.l: ld := $(c_intel)
-$(out_base)/%.l: ld_options := $(c_intel_optimization_options) $(c_intel_debugging_options)
-$(out_base)/%.l: c_pic_options := -fPIC
-$(out_base)/%.l: comma_ := ,
-
-$(out_base)/%.l: expand-l = $(if $(subst n,,$(c_rpath)),\
-$(shell sed -e 's%^rpath:\(.*\)%-Wl,-rpath,\1%' $1),\
-$(shell sed -e 's%^rpath:\(.*\)%%' $1))
-
-ifeq ($(out_base),$(src_base))
-$(out_base)/%.l:
-else
-$(out_base)/%.l: | $$(dir $$@).
-endif
- $(call message,ld $@,$(ld) -shared \
-$(c_extra_options) $(ld_options) $(c_ld_extra_options) \
--o $(@D)/lib$(basename $(@F)).so -Wl$(comma_)-soname=lib$(basename $(@F)).so \
-$(foreach f,$^,$(if $(patsubst %.l,,$f),$f,$(call expand-l,$f))) $(c_extra_libs))
- $(call message,,echo "$(@D)/lib$(basename $(@F)).so" >$@)
- $(call message,,echo "rpath:$(@D)" >>$@)
- $(call message,,echo "$(patsubst %.l,`cat %.l`,$(filter %.a %.so %.l,$^))" | xargs -n 1 echo >>$@)
-
-$(out_base)/%.l.o.clean:
- $(call message,rm $$1,rm -f $$1 $(@D)/$(patsubst %.l.o.clean,lib%.so,$(@F)),$(basename $(basename $@)))
-
-endif
-endif
diff --git a/build-0.3/c/o-e.make b/build-0.3/c/o-e.make
deleted file mode 100644
index 95f0757..0000000
--- a/build-0.3/c/o-e.make
+++ /dev/null
@@ -1,9 +0,0 @@
-# file : build/c/o-e.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(call include,$(bld_root)/c/configuration.make)
-
-ifdef c_id
-$(call include-once,$(bld_root)/c/$(c_id)/o-e.make,$(out_base))
-endif
diff --git a/build-0.3/c/o-l.make b/build-0.3/c/o-l.make
deleted file mode 100644
index 7f64067..0000000
--- a/build-0.3/c/o-l.make
+++ /dev/null
@@ -1,10 +0,0 @@
-# file : build/c/o-l.make
-# copyright : Copyright (c) 2004-2012 Code Synthesis Tools CC
-# license : GNU GPL v2; see accompanying LICENSE file
-
-$(call include,$(bld_root)/ld/configuration-lib.make)
-$(call include,$(bld_root)/c/configuration.make)
-
-ifdef c_id
-$(call include-once,$(bld_root)/c/$(c_id)/o-l.make,$(out_base))
-endif