aboutsummaryrefslogtreecommitdiff
path: root/makefile
blob: 811738c91d4345bfed19bd32b5d7c65e8102b161 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# file      : makefile
# author    : Boris Kolpackov <boris@codesynthesis.com>
# copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC
# license   : GNU GPL v2; see accompanying LICENSE file

include $(dir $(lastword $(MAKEFILE_LIST)))build/bootstrap.make

default  := $(out_base)/
test     := $(out_base)/.test
install  := $(out_base)/.install
clean    := $(out_base)/.clean

# Build.
#
$(default): $(out_base)/odb/ #$(out_base)/tests/

# Test.
#
$(test): $(out_base)/tests/.test

# Install.
#
$(install): $(out_base)/odb/.install
	$(call install-data,$(src_base)/LICENSE,$(install_doc_dir)/libodb/LICENSE)
	$(call install-data,$(src_base)/README,$(install_doc_dir)/libodb/README)

# Clean.
#
$(clean): $(out_base)/odb/.clean #$(out_base)/tests/.clean

$(call include,$(bld_root)/install.make)

$(call import,$(src_base)/odb/makefile)
#$(call import,$(src_base)/tests/makefile)