summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-23 15:21:29 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-23 15:21:29 +0200
commitbada6666c70977a058755ccf232e7d67b24adeed (patch)
tree1e92d50cebce96abaf9bce19e36026c47f77b9ba /makefile
parenteaf34adcbd8095bc6d1f3371b1227f654c7b19fc (diff)
New upstream release
Diffstat (limited to 'makefile')
-rw-r--r--makefile36
1 files changed, 7 insertions, 29 deletions
diff --git a/makefile b/makefile
index f9d9dc7..056cb89 100644
--- a/makefile
+++ b/makefile
@@ -1,6 +1,5 @@
# file : makefile
-# author : Boris Kolpackov <boris@codesynthesis.com>
-# copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC
+# copyright : Copyright (c) 2009-2014 Code Synthesis Tools CC
# license : GNU GPL v2 + exceptions; see accompanying LICENSE file
include $(dir $(lastword $(MAKEFILE_LIST)))/build-0.3/bootstrap.make
@@ -28,38 +27,17 @@ dist-win: $(out_base)/xsd/.dist-win
# Clean.
#
-clean: $(out_base)/libcult/.clean \
- $(out_base)/libfrontend-elements/.clean \
- $(out_base)/libbackend-elements/.clean \
- $(out_base)/libxsd-frontend/.clean \
+clean: $(out_base)/libxsd-frontend/.clean \
$(out_base)/xsd/.clean
-# Reset pattern-specific variables because GNU make will use the
-# first match instead of the most specific match. Here out_root
-# and out_base are the same.
-#
-$(out_root)/%: out_root :=
-$(out_root)/%: out_base :=
-$(out_root)/%: src_root :=
-$(out_root)/%: src_base :=
-$(out_root)/%: scf_root :=
-$(out_root)/%: dcf_root :=
-$(out_root)/%: project_name :=
-
-src_root := $(src_base)/libcult
-scf_root := $(src_root)/build
-out_root := $(src_root)
-$(call import,$(src_base)/libcult/makefile)
-
-src_root := $(src_base)/libfrontend-elements
+ifneq ($(EXTERNAL_LIBCUTL),y)
+src_root := $(src_base)/libcutl
scf_root := $(src_root)/build
out_root := $(src_root)
-$(call import,$(src_base)/libfrontend-elements/makefile)
+$(call import,$(src_base)/libcutl/makefile)
-src_root := $(src_base)/libbackend-elements
-scf_root := $(src_root)/build
-out_root := $(src_root)
-$(call import,$(src_base)/libbackend-elements/makefile)
+clean: $(out_base)/libcutl/.clean
+endif
src_root := $(src_base)/libxsd-frontend
scf_root := $(src_root)/build