diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-06-04 16:51:32 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-06-04 16:51:32 +0200 |
commit | 2cea0dc10d7becabf707f7b6da4c65144397257b (patch) | |
tree | 9c40c7c9d7419c9d363eab52a5b6f93266cef711 /build/configuration-rules.make | |
parent | af57ba0beeec0154ad61684c18a2ad1439852d91 (diff) |
Build system setup
Diffstat (limited to 'build/configuration-rules.make')
-rw-r--r-- | build/configuration-rules.make | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/build/configuration-rules.make b/build/configuration-rules.make new file mode 100644 index 0000000..19e7ef0 --- /dev/null +++ b/build/configuration-rules.make @@ -0,0 +1,20 @@ +# file : build/configuration-rules.make +# author : Boris Kolpackov <boris@codesynthesis.com> +# copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC +# license : GNU GPL v2; see accompanying LICENSE file + +$(dcf_root)/configuration-dynamic.make: | $(dcf_root)/. + $(call message,,$(scf_root)/configure $@) + +ifndef %foreign% + +disfigure:: + $(call message,rm $$1,rm -f $$1,$(dcf_root)/configuration-dynamic.make) + $(call message,rm $$1,rm -f $$1,$(dcf_root)/db.options) + $(call message,rm $$1,rm -f $$1,$(dcf_root)/db-driver) + +endif + +ifeq ($(.DEFAULT_GOAL),$(dcf_root)/configuration-dynamic.make) +.DEFAULT_GOAL := +endif |