diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2025-03-19 15:41:36 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2025-03-19 15:41:36 +0100 |
commit | 018e1ba581ec6f01f069a45ec4cf89f152b44d5f (patch) | |
tree | 0e7dda4bb693a6714066fbe5efcd2f24ff7c1a65 /makefile | |
parent | 1c188393cd2e271ed2581471b601fb5960777fd8 (diff) |
remerge
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/makefile b/makefile new file mode 100644 index 0000000..056cb89 --- /dev/null +++ b/makefile @@ -0,0 +1,55 @@ +# file : makefile +# 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 + +default := $(out_base)/ + +.PHONY: $(default) test install dist dist-win clean + +# Build. +# +$(default): $(out_base)/xsd/xsd/ + +# Test. +# +test: $(out_base)/xsd/.test + +# Install. +# +install: $(out_base)/xsd/.install + +# Dist. +# +dist: $(out_base)/xsd/.dist +dist-win: $(out_base)/xsd/.dist-win + +# Clean. +# +clean: $(out_base)/libxsd-frontend/.clean \ + $(out_base)/xsd/.clean + +ifneq ($(EXTERNAL_LIBCUTL),y) +src_root := $(src_base)/libcutl +scf_root := $(src_root)/build +out_root := $(src_root) +$(call import,$(src_base)/libcutl/makefile) + +clean: $(out_base)/libcutl/.clean +endif + +src_root := $(src_base)/libxsd-frontend +scf_root := $(src_root)/build +out_root := $(src_root) +$(call import,$(src_base)/libxsd-frontend/makefile) + +src_root := $(src_base)/xsd +scf_root := $(src_root)/build +out_root := $(src_root) + +ifneq ($(filter $(MAKECMDGOALS),clean test install dist dist-win),) +$(call import,$(src_base)/xsd/makefile) +else +$(call import,$(src_base)/xsd/xsd/makefile) +endif |