1# ===========================================================================
2#
3#                            PUBLIC DOMAIN NOTICE
4#               National Center for Biotechnology Information
5#
6#  This software/database is a "United States Government Work" under the
7#  terms of the United States Copyright Act.  It was written as part of
8#  the author's official duties as a United States Government employee and
9#  thus cannot be copyrighted.  This software/database is freely available
10#  to the public for use. The National Library of Medicine and the U.S.
11#  Government have not placed any restriction on its use or reproduction.
12#
13#  Although all reasonable efforts have been taken to ensure the accuracy
14#  and reliability of the software and data, the NLM and the U.S.
15#  Government do not and cannot warrant the performance or results that
16#  may be obtained by using this software or data. The NLM and the U.S.
17#  Government disclaim all warranties, express or implied, including
18#  warranties of performance, merchantability or fitness for any particular
19#  purpose.
20#
21#  Please cite the author in any work or product based on this material.
22#
23# ===========================================================================
24
25by_default: default
26
27TOP ?= $(abspath ..)
28MODULE = libs
29
30include $(TOP)/build/Makefile.shell
31
32include $(TOP)/build/Makefile.config
33
34#-------------------------------------------------------------------------------
35# default
36#
37MAIN_SUBDIRS = \
38	ext      \
39	kfc      \
40	klib     \
41	kproc    \
42	kfs      \
43	cloud    \
44	kns      \
45	kfg      \
46	krypto   \
47	vfs      \
48	kapp     \
49	kdb      \
50	vdb      \
51	vxf      \
52	search   \
53	sraxf    \
54	align    \
55	axf      \
56	wgsxf    \
57	ktst     \
58	loader   \
59	blast    \
60	ascp     \
61	schema   \
62	sra      \
63	ngs      \
64	ngs-c++  \
65	ngs-jni  \
66	ngs-py   \
67	kxml     \
68	hdf5     \
69	diagnose \
70	tui		 \
71
72NCBI_VDB_SUBDIRS =   \
73	$(MAIN_SUBDIRS) \
74	ncbi-vdb
75
76SUBDIRS = \
77	$(NCBI_VDB_SUBDIRS) \
78	vdb-sqlite
79
80# common targets for non-leaf Makefiles; must follow a definition of SUBDIRS
81include $(TOP)/build/Makefile.targets
82
83$(SUBDIRS):
84	@ $(MAKE) -C $@
85
86ncbi-vdb: $(MAIN_SUBDIRS)
87
88vdb-sqlite: $(NCBI_VDB_SUBDIRS)
89
90test:
91	@true
92
93.PHONY: default $(SUBDIRS) test
94
95#-------------------------------------------------------------------------------
96# pass-through
97#
98out debug profile release GCC ICC VC++:
99	@ $(MAKE) TOP=$(TOP) -f $(TOP)/build/Makefile.env $@
100
101.PHONY: out debug profile release GCC ICC VC++
102