1 | .SUFFIXES: .c .cxx .depend .o |
---|
2 | |
---|
3 | TOOLS := \ |
---|
4 | arb_2_ascii \ |
---|
5 | arb_2_bin \ |
---|
6 | arb_a2ps \ |
---|
7 | arb_count_chars \ |
---|
8 | arb_dnarates \ |
---|
9 | arb_export_rates \ |
---|
10 | arb_export_tree \ |
---|
11 | arb_gene_probe \ |
---|
12 | arb_message \ |
---|
13 | arb_notify \ |
---|
14 | arb_primer \ |
---|
15 | arb_probe \ |
---|
16 | arb_proto_2_xsub \ |
---|
17 | arb_read_tree \ |
---|
18 | arb_replace \ |
---|
19 | arb_swap_rnastr \ |
---|
20 | |
---|
21 | ifeq ($(DEBUG),1) |
---|
22 | # add all arb*test*.c[xx] files |
---|
23 | TOOLS += $(subst .c,,$(wildcard arb*test*.c)) |
---|
24 | TOOLS += $(subst .cxx,,$(wildcard arb*test*.cxx)) |
---|
25 | endif |
---|
26 | |
---|
27 | LIB_ARBDB := $(LIBPATH) -lARBDB |
---|
28 | LIBS_ARB_PROBE := ../SERVERCNTRL/SERVERCNTRL.a ../PROBE_COM/client.a |
---|
29 | LIBS_ARB_READ_TREE := ../SL/TREE_READ/TREE_READ.a |
---|
30 | LIBS_ARB_EXPORT_TREE := ../SL/TREE_WRITE/TREE_WRITE.a ../XML/XML.a $(LIBS_ARB_READ_TREE) |
---|
31 | |
---|
32 | OBJECTS:=$(addsuffix .o,$(TOOLS)) |
---|
33 | BINARIES:=$(addprefix $(ARBHOME)/bin/,$(TOOLS)) |
---|
34 | |
---|
35 | all: $(BINARIES) |
---|
36 | |
---|
37 | %.o: %.cxx |
---|
38 | $(CPP) $(cflags) -c $< $(CPPINCLUDES) $(POST_COMPILE) |
---|
39 | |
---|
40 | %.o: %.c |
---|
41 | $(ACC) $(cflags) -c $< $(CPPINCLUDES) $(POST_COMPILE) |
---|
42 | |
---|
43 | $(ARBHOME)/bin/arb_probe: arb_probe.o $(LIBS_ARB_PROBE) |
---|
44 | $(LINK_EXECUTABLE) $@ $< $(LIBS_ARB_PROBE) $(LIB_ARBDB) |
---|
45 | |
---|
46 | $(ARBHOME)/bin/arb_read_tree: arb_read_tree.o $(LIBS_ARB_READ_TREE) |
---|
47 | $(LINK_EXECUTABLE) $@ $< $(LIBS_ARB_READ_TREE) $(LIB_ARBDB) |
---|
48 | |
---|
49 | $(ARBHOME)/bin/arb_export_tree: arb_export_tree.o $(LIBS_ARB_EXPORT_TREE) |
---|
50 | $(LINK_EXECUTABLE) $@ $< $(LIBS_ARB_EXPORT_TREE) $(LIB_ARBDB) |
---|
51 | |
---|
52 | $(ARBHOME)/bin/%: %.o |
---|
53 | $(LINK_EXECUTABLE) $@ $< $(LIB_ARBDB) |
---|
54 | |
---|
55 | clean: |
---|
56 | rm -f $(BINARIES) |
---|
57 | rm -f $(OBJECTS) |
---|
58 | |
---|
59 | depends: |
---|
60 | $(MAKE) "DEBUG=1" depends_debug |
---|
61 | |
---|
62 | DEPENDS = $(OBJECTS:.o=.depend) |
---|
63 | depends_debug: $(DEPENDS) |
---|
64 | @cat $(DEPENDS) | grep -v '^#' >>Makefile |
---|
65 | @rm $(DEPENDS) |
---|
66 | $(DEPENDS): depend.init |
---|
67 | depend.init: |
---|
68 | $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies |
---|
69 | .cxx.depend: |
---|
70 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
71 | .c.depend: |
---|
72 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
73 | |
---|
74 | # DO NOT DELETE |
---|
75 | |
---|
76 | # Do not add dependencies manually - use 'make depend' in $ARBHOME |
---|
77 | # For formatting issues see SOURCE_TOOLS/fix_depends.pl |
---|
78 | |
---|
79 | arb_2_ascii.o: $(ARBHOME)/INCLUDE/ad_k_prot.h |
---|
80 | arb_2_ascii.o: $(ARBHOME)/INCLUDE/ad_prot.h |
---|
81 | arb_2_ascii.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
82 | arb_2_ascii.o: $(ARBHOME)/INCLUDE/arbdb.h |
---|
83 | arb_2_ascii.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
---|
84 | arb_2_ascii.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
85 | |
---|
86 | arb_2_bin.o: $(ARBHOME)/INCLUDE/ad_k_prot.h |
---|
87 | arb_2_bin.o: $(ARBHOME)/INCLUDE/ad_prot.h |
---|
88 | arb_2_bin.o: $(ARBHOME)/INCLUDE/ad_t_prot.h |
---|
89 | arb_2_bin.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
90 | arb_2_bin.o: $(ARBHOME)/INCLUDE/arbdb.h |
---|
91 | arb_2_bin.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
---|
92 | arb_2_bin.o: $(ARBHOME)/INCLUDE/arbdbt.h |
---|
93 | arb_2_bin.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
94 | |
---|
95 | arb_count_chars.o: $(ARBHOME)/INCLUDE/ad_k_prot.h |
---|
96 | arb_count_chars.o: $(ARBHOME)/INCLUDE/ad_prot.h |
---|
97 | arb_count_chars.o: $(ARBHOME)/INCLUDE/ad_t_prot.h |
---|
98 | arb_count_chars.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
99 | arb_count_chars.o: $(ARBHOME)/INCLUDE/arbdb.h |
---|
100 | arb_count_chars.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
---|
101 | arb_count_chars.o: $(ARBHOME)/INCLUDE/arbdbt.h |
---|
102 | arb_count_chars.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
103 | |
---|
104 | arb_dnarates.o: DNAml_rates_1_0.h |
---|
105 | arb_dnarates.o: $(ARBHOME)/INCLUDE/ad_k_prot.h |
---|
106 | arb_dnarates.o: $(ARBHOME)/INCLUDE/ad_prot.h |
---|
107 | arb_dnarates.o: $(ARBHOME)/INCLUDE/ad_t_prot.h |
---|
108 | arb_dnarates.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
109 | arb_dnarates.o: $(ARBHOME)/INCLUDE/arbdb.h |
---|
110 | arb_dnarates.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
---|
111 | arb_dnarates.o: $(ARBHOME)/INCLUDE/arbdbt.h |
---|
112 | arb_dnarates.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
113 | arb_dnarates.o: $(ARBHOME)/INCLUDE/aw_awars.hxx |
---|
114 | |
---|
115 | arb_export_rates.o: $(ARBHOME)/INCLUDE/ad_k_prot.h |
---|
116 | arb_export_rates.o: $(ARBHOME)/INCLUDE/ad_prot.h |
---|
117 | arb_export_rates.o: $(ARBHOME)/INCLUDE/ad_t_prot.h |
---|
118 | arb_export_rates.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
119 | arb_export_rates.o: $(ARBHOME)/INCLUDE/arbdb.h |
---|
120 | arb_export_rates.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
---|
121 | arb_export_rates.o: $(ARBHOME)/INCLUDE/arbdbt.h |
---|
122 | arb_export_rates.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
123 | arb_export_rates.o: $(ARBHOME)/INCLUDE/aw_awars.hxx |
---|
124 | |
---|
125 | arb_export_tree.o: $(ARBHOME)/INCLUDE/ad_k_prot.h |
---|
126 | arb_export_tree.o: $(ARBHOME)/INCLUDE/ad_prot.h |
---|
127 | arb_export_tree.o: $(ARBHOME)/INCLUDE/ad_t_prot.h |
---|
128 | arb_export_tree.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
129 | arb_export_tree.o: $(ARBHOME)/INCLUDE/arbdb.h |
---|
130 | arb_export_tree.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
---|
131 | arb_export_tree.o: $(ARBHOME)/INCLUDE/arbdbt.h |
---|
132 | arb_export_tree.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
133 | arb_export_tree.o: $(ARBHOME)/INCLUDE/TreeWrite.h |
---|
134 | |
---|
135 | arb_gene_probe.o: $(ARBHOME)/INCLUDE/ad_k_prot.h |
---|
136 | arb_gene_probe.o: $(ARBHOME)/INCLUDE/ad_prot.h |
---|
137 | arb_gene_probe.o: $(ARBHOME)/INCLUDE/ad_t_prot.h |
---|
138 | arb_gene_probe.o: $(ARBHOME)/INCLUDE/adGene.h |
---|
139 | arb_gene_probe.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
140 | arb_gene_probe.o: $(ARBHOME)/INCLUDE/arbdb.h |
---|
141 | arb_gene_probe.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
---|
142 | arb_gene_probe.o: $(ARBHOME)/INCLUDE/arbdbt.h |
---|
143 | arb_gene_probe.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
144 | |
---|
145 | arb_message.o: $(ARBHOME)/INCLUDE/ad_k_prot.h |
---|
146 | arb_message.o: $(ARBHOME)/INCLUDE/ad_prot.h |
---|
147 | arb_message.o: $(ARBHOME)/INCLUDE/ad_t_prot.h |
---|
148 | arb_message.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
149 | arb_message.o: $(ARBHOME)/INCLUDE/arbdb.h |
---|
150 | arb_message.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
---|
151 | arb_message.o: $(ARBHOME)/INCLUDE/arbdbt.h |
---|
152 | arb_message.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
153 | |
---|
154 | arb_notify.o: $(ARBHOME)/INCLUDE/ad_k_prot.h |
---|
155 | arb_notify.o: $(ARBHOME)/INCLUDE/ad_prot.h |
---|
156 | arb_notify.o: $(ARBHOME)/INCLUDE/ad_t_prot.h |
---|
157 | arb_notify.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
158 | arb_notify.o: $(ARBHOME)/INCLUDE/arbdb.h |
---|
159 | arb_notify.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
---|
160 | arb_notify.o: $(ARBHOME)/INCLUDE/arbdbt.h |
---|
161 | arb_notify.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
162 | |
---|
163 | arb_perf_test.o: $(ARBHOME)/INCLUDE/ad_k_prot.h |
---|
164 | arb_perf_test.o: $(ARBHOME)/INCLUDE/ad_prot.h |
---|
165 | arb_perf_test.o: $(ARBHOME)/INCLUDE/ad_t_prot.h |
---|
166 | arb_perf_test.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
167 | arb_perf_test.o: $(ARBHOME)/INCLUDE/arbdb.h |
---|
168 | arb_perf_test.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
---|
169 | arb_perf_test.o: $(ARBHOME)/INCLUDE/arbdbt.h |
---|
170 | arb_perf_test.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
171 | |
---|
172 | arb_primer.o: $(ARBHOME)/INCLUDE/ad_k_prot.h |
---|
173 | arb_primer.o: $(ARBHOME)/INCLUDE/ad_prot.h |
---|
174 | arb_primer.o: $(ARBHOME)/INCLUDE/ad_t_prot.h |
---|
175 | arb_primer.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
176 | arb_primer.o: $(ARBHOME)/INCLUDE/arbdb.h |
---|
177 | arb_primer.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
---|
178 | arb_primer.o: $(ARBHOME)/INCLUDE/arbdbt.h |
---|
179 | arb_primer.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
180 | |
---|
181 | arb_probe.o: $(ARBHOME)/INCLUDE/ad_k_prot.h |
---|
182 | arb_probe.o: $(ARBHOME)/INCLUDE/ad_prot.h |
---|
183 | arb_probe.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
184 | arb_probe.o: $(ARBHOME)/INCLUDE/arbdb.h |
---|
185 | arb_probe.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
---|
186 | arb_probe.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
187 | arb_probe.o: $(ARBHOME)/INCLUDE/client.h |
---|
188 | arb_probe.o: $(ARBHOME)/INCLUDE/PT_com.h |
---|
189 | arb_probe.o: $(ARBHOME)/INCLUDE/servercntrl.h |
---|
190 | |
---|
191 | arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/ad_k_prot.h |
---|
192 | arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/ad_prot.h |
---|
193 | arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
194 | arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/arbdb.h |
---|
195 | arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
---|
196 | arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
197 | |
---|
198 | arb_read_tree.o: $(ARBHOME)/INCLUDE/ad_k_prot.h |
---|
199 | arb_read_tree.o: $(ARBHOME)/INCLUDE/ad_prot.h |
---|
200 | arb_read_tree.o: $(ARBHOME)/INCLUDE/ad_t_prot.h |
---|
201 | arb_read_tree.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
202 | arb_read_tree.o: $(ARBHOME)/INCLUDE/arbdb.h |
---|
203 | arb_read_tree.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
---|
204 | arb_read_tree.o: $(ARBHOME)/INCLUDE/arbdbt.h |
---|
205 | arb_read_tree.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
206 | arb_read_tree.o: $(ARBHOME)/INCLUDE/TreeRead.h |
---|
207 | |
---|
208 | arb_replace.o: $(ARBHOME)/INCLUDE/ad_k_prot.h |
---|
209 | arb_replace.o: $(ARBHOME)/INCLUDE/ad_prot.h |
---|
210 | arb_replace.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
211 | arb_replace.o: $(ARBHOME)/INCLUDE/arbdb.h |
---|
212 | arb_replace.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
---|
213 | arb_replace.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
214 | |
---|
215 | arb_swap_rnastr.o: $(ARBHOME)/INCLUDE/ad_k_prot.h |
---|
216 | arb_swap_rnastr.o: $(ARBHOME)/INCLUDE/ad_prot.h |
---|
217 | arb_swap_rnastr.o: $(ARBHOME)/INCLUDE/ad_t_prot.h |
---|
218 | arb_swap_rnastr.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
219 | arb_swap_rnastr.o: $(ARBHOME)/INCLUDE/arbdb.h |
---|
220 | arb_swap_rnastr.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
---|
221 | arb_swap_rnastr.o: $(ARBHOME)/INCLUDE/arbdbt.h |
---|
222 | arb_swap_rnastr.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
223 | |
---|
224 | arb_test.o: $(ARBHOME)/INCLUDE/ad_k_prot.h |
---|
225 | arb_test.o: $(ARBHOME)/INCLUDE/ad_prot.h |
---|
226 | arb_test.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
227 | arb_test.o: $(ARBHOME)/INCLUDE/arbdb.h |
---|
228 | arb_test.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
---|
229 | arb_test.o: $(ARBHOME)/INCLUDE/attributes.h |
---|