-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·51 lines (38 loc) · 1.13 KB
/
Makefile
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Copyright (c) 2005-2006 Andre Merzky ([email protected])
# Copyright (c) 2006-2008 Ole Weidner ([email protected])
#
# Use, modification and distribution is subject to the Boost Software
# License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
# allow for 'make srcdist' before configure
-include $(SAGA_LOCATION)/share/saga/make/saga.dist.mk
-include config/make.cfg
SAGA_SUBDIRS = config
ifeq "x$(BUILD_ADAPTOR_LOADER)" "xyes"
SAGA_SUBDIRS += loader
endif
ifeq "x$(BUILD_ADAPTOR_REPLICA)" "xyes"
SAGA_SUBDIRS += replica
endif
ifeq "x$(BUILD_ADAPTOR_FILE)" "xyes"
SAGA_SUBDIRS += file
endif
ifeq "x$(BUILD_ADAPTOR_JOB)" "xyes"
SAGA_SUBDIRS += job
endif
all:: config/make.cfg
ifndef SAGA_IS_PACKAGING
config/make.cfg:
@echo ""
@echo " ================================= "
@echo " you need to run configure first "
@echo " ================================= "
@echo ""
@false
endif
-include $(SAGA_MAKE_INCLUDE_ROOT)/saga.mk
-include $(SAGA_MAKE_INCLUDE_ROOT)/saga.dist.mk
# dir depenencies for parallel builds
job: loader
file: loader
replica: loader