-
Notifications
You must be signed in to change notification settings - Fork 18
/
Makefile.am
128 lines (110 loc) · 3.03 KB
/
Makefile.am
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
bin_PROGRAMS = mkhssp hsspconv test_fasta test_conv test_readpdb
shared_LDADD = $(BOOST_DATE_TIME_LIB) \
$(BOOST_FILESYSTEM_LIB) \
$(BOOST_IOSTREAMS_LIB) \
$(BOOST_PROGRAM_OPTIONS_LIB) \
$(BOOST_REGEX_LIB) \
$(BOOST_SYSTEM_LIB) \
$(BOOST_THREAD_LIB) \
-lpthread
src/matrix.$(OBJEXT): mtrx/matrices.h
mkhssp_SOURCES = src/blast.cpp \
src/blast.h \
src/fasta.cpp \
src/fasta.h \
src/hssp-nt.cpp \
src/hssp-nt.h \
src/iocif.cpp \
src/iocif.h \
src/mas.cpp \
src/mas.h \
src/matrix.cpp \
src/matrix.h \
mtrx/matrices.h \
src/mkhssp.cpp \
src/primitives-3d.cpp \
src/primitives-3d.h \
src/progress.cpp \
src/progress.h \
src/structure.cpp \
src/structure.h \
src/buffer.h \
src/align-2d.h \
src/utils.cpp \
src/utils.h
if USE_FETCH_DBREFS
mkhssp_SOURCES += src/fetchdbrefs.cpp src/fetchdbrefs.h
endif
mkhssp_LDADD = $(shared_LDADD) \
-lboost_timer
if USE_FETCH_DBREFS
mkhssp_LDADD += -lzeep
endif
hsspconv_SOURCES = src/hssp-convert-3to1.cpp src/hsspconv.cpp \
src/utils.cpp \
src/utils.h
hsspconv_LDADD = $(shared_LDADD)
test_conv_SOURCES = src/hssp-convert-3to1.cpp \
src/utils.cpp \
src/utils.h \
src/mas.cpp \
tests/test_conv.cpp
test_conv_LDADD = $(shared_LDADD) $(BOOST_UNIT_TEST_FRAMEWORK_LIB)
test_fasta_SOURCES = src/fasta.cpp \
src/fasta.h \
src/iocif.cpp \
src/mas.cpp \
src/primitives-3d.cpp \
src/primitives-3d.h \
src/structure.cpp \
src/structure.h \
src/buffer.h \
src/align-2d.h \
src/utils.cpp \
tests/test_fasta.cpp
test_fasta_LDADD = $(shared_LDADD) \
$(BOOST_UNIT_TEST_FRAMEWORK_LIB)
test_readpdb_SOURCES = src/fasta.cpp \
src/fasta.h \
src/iocif.cpp \
src/mas.cpp \
src/primitives-3d.cpp \
src/primitives-3d.h \
src/structure.cpp \
src/structure.h \
src/buffer.h \
src/align-2d.h \
src/utils.cpp \
tests/test_readpdb.cpp
test_readpdb_LDADD = $(shared_LDADD) \
$(BOOST_UNIT_TEST_FRAMEWORK_LIB)
AM_CPPFLAGS = -std=c++14 \
-pedantic \
-Wall \
-Werror \
-Wno-reorder \
$(BOOST_CPPFLAGS) \
$(BZ2LIB_CPPFLAGS) \
$(ZLIB_CPPFLAGS) \
-I$(srcdir)/src/
AM_LDFLAGS = $(BOOST_LDFLAGS) \
$(BZ2LIB_LDFLAGS) \
$(ZLIB_LDFLAGS)
BUILT_SOURCES = mtrx/matrices.h
CLEANFILES = mtrx/matrices.h
EXTRA_DIST = mtrx/mkmat_h.pl \
mtrx/BLOSUM30 \
mtrx/BLOSUM45 \
mtrx/BLOSUM62 \
mtrx/BLOSUM80 \
mtrx/GONNET250 \
mtrx/PAM20 \
mtrx/PAM350 \
mtrx/PAM60
mtrx/matrices.h: mtrx/mkmat_h.pl
$(PERL) mtrx/mkmat_h.pl mtrx/
if HAVE_CPPCHECK
cppcheck:
$(CPPCHECK) --quiet --enable=style $(srcdir)/src $(srcdir)/test
check: cppcheck
endif