-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
69 lines (55 loc) · 2.03 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# -*- Makefile -*-
# ----------------------------------------------------------------------
TARGETS = \
$(ACMACS_PY_LIB)
ACMACS_PY_SOURCES = \
py-common.cc \
py-antigen.cc \
py-chart.cc \
py-chart-util.cc \
py-avidity.cc \
py-merge.cc \
py-draw.cc \
py-mapi.cc \
py-titers.cc \
py-seqdb.cc \
py-tal.cc \
py.cc
ACMACS_PY_LIB_MAJOR = 1
ACMACS_PY_LIB_MINOR = 0
ACMACS_PY_LIB_NAME = acmacs
ACMACS_PY_LIB = $(DIST)/$(ACMACS_PY_LIB_NAME)$(PYTHON_MODULE_SUFFIX)
# ----------------------------------------------------------------------
SRC_DIR = $(abspath $(ACMACSD_ROOT)/sources)
all: install
CONFIGURE_CAIRO = 1
CONFIGURE_PYTHON = 1
include $(ACMACSD_ROOT)/share/Makefile.config
LDLIBS = \
$(AD_LIB)/$(call shared_lib_name,libacmacsbase,1,0) \
$(AD_LIB)/$(call shared_lib_name,liblocationdb,1,0) \
$(AD_LIB)/$(call shared_lib_name,libacmacsvirus,1,0) \
$(AD_LIB)/$(call shared_lib_name,libacmacswhoccdata,1,0) \
$(AD_LIB)/$(call shared_lib_name,libacmacschart,2,0) \
$(AD_LIB)/$(call shared_lib_name,libhidb,5,0) \
$(AD_LIB)/$(call shared_lib_name,libseqdb,3,0) \
$(AD_LIB)/$(call shared_lib_name,libacmacsdraw,1,0) \
$(AD_LIB)/$(call shared_lib_name,libacmacsdraw,1,0) \
$(AD_LIB)/$(call shared_lib_name,libacmacsmapdraw,2,0) \
$(AD_LIB)/$(call shared_lib_name,libtal,1,0) \
$(CAIRO_LIBS) $(XZ_LIBS) $(CXX_LIBS)
# ----------------------------------------------------------------------
install: make-installation-dirs $(TARGETS)
$(call install_all,$(AD_PACKAGE_NAME))
$(call install_py_all)
test: install
@#test/test
.PHONY: test
# ----------------------------------------------------------------------
$(ACMACS_PY_LIB): $(patsubst %.cc,$(BUILD)/%.o,$(ACMACS_PY_SOURCES)) | $(DIST)
$(call echo_shared_lib,$@)
$(call make_shared_lib,$(ACMACS_PY_LIB_NAME),$(ACMACS_PY_LIB_MAJOR),$(ACMACS_PY_LIB_MINOR)) $(LDFLAGS) -o $@ $^ $(LDLIBS) $(PYTHON_LIBS)
# ======================================================================
### Local Variables:
### eval: (if (fboundp 'eu-rename-buffer) (eu-rename-buffer))
### End: