From 49d7681be69dfb0f3f31e0091592f33e27a40c23 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 2 Aug 2009 17:24:00 +0200 Subject: Initialize the build system --- makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 makefile (limited to 'makefile') diff --git a/makefile b/makefile new file mode 100644 index 0000000..6bed677 --- /dev/null +++ b/makefile @@ -0,0 +1,44 @@ +# file : makefile +# author : Boris Kolpackov +# copyright : Copyright (c) 2009 Code Synthesis Tools CC +# license : TBD + +include $(dir $(lastword $(MAKEFILE_LIST)))build/bootstrap.make + +default := $(out_base)/ +test := $(out_base)/.test +install := $(out_base)/.install +dist := $(out_base)/.dist +clean := $(out_base)/.clean + + +.PHONY: $(default) $(test) $(install) $(dist) $(clean) + +# Build. +# +$(default): $(out_base)/cli/ + +# Test. +# +$(test): #$(out_base)/tests/.test + +# Install. +# +$(install): $(out_base)/cli/.install \ + $(out_base)/documentation/.install + $(call install-data,$(src_base)/LICENSE,$(install_doc_dir)/cli/LICENSE) + $(call install-data,$(src_base)/NEWS,$(install_doc_dir)/cli/NEWS) + $(call install-data,$(src_base)/README,$(install_doc_dir)/cli/README) + +# Dist. +# + +# @@ TODO + +# Clean. +# +$(clean): $(out_base)/cli/.clean + +$(call include,$(bld_root)/install.make) + +$(call import,$(src_base)/cli/makefile) -- cgit v1.1