source: branches/port5/TOOLS/Makefile

Last change on this file was 6065, checked in by westram, 15 years ago
  • moved GBT_export_tree (ARBDB) → TREE_export_tree (SL/TREE_WRITE).
  • arb_export_tree
    • added command line switches —bifurcated, —nobranchlens and —doublequotes
  • beautifyNewick.pl - formats newick tree using BioPerl?

(this are just some coproducts of my RAxML tests)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 8.1 KB
Line 
1.SUFFIXES: .c .cxx .depend .o
2
3TOOLS := \
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
21ifeq ($(DEBUG),1)
22# add all arb*test*.c[xx] files
23TOOLS += $(subst .c,,$(wildcard arb*test*.c))
24TOOLS += $(subst .cxx,,$(wildcard arb*test*.cxx))
25endif
26
27LIB_ARBDB            := $(LIBPATH) -lARBDB
28LIBS_ARB_PROBE       := ../SERVERCNTRL/SERVERCNTRL.a ../PROBE_COM/client.a
29LIBS_ARB_READ_TREE   := ../SL/TREE_READ/TREE_READ.a
30LIBS_ARB_EXPORT_TREE := ../SL/TREE_WRITE/TREE_WRITE.a ../XML/XML.a $(LIBS_ARB_READ_TREE)
31
32OBJECTS:=$(addsuffix .o,$(TOOLS))
33BINARIES:=$(addprefix $(ARBHOME)/bin/,$(TOOLS))
34
35all: $(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
55clean:
56        rm -f $(BINARIES)
57        rm -f $(OBJECTS)
58
59depends:
60        $(MAKE) "DEBUG=1" depends_debug
61
62DEPENDS = $(OBJECTS:.o=.depend)
63depends_debug: $(DEPENDS) 
64        @cat $(DEPENDS) | grep -v '^#' >>Makefile
65        @rm $(DEPENDS)
66$(DEPENDS): depend.init
67depend.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
79arb_2_ascii.o: $(ARBHOME)/INCLUDE/ad_k_prot.h
80arb_2_ascii.o: $(ARBHOME)/INCLUDE/ad_prot.h
81arb_2_ascii.o: $(ARBHOME)/INCLUDE/arb_assert.h
82arb_2_ascii.o: $(ARBHOME)/INCLUDE/arbdb.h
83arb_2_ascii.o: $(ARBHOME)/INCLUDE/arbdb_base.h
84arb_2_ascii.o: $(ARBHOME)/INCLUDE/attributes.h
85
86arb_2_bin.o: $(ARBHOME)/INCLUDE/ad_k_prot.h
87arb_2_bin.o: $(ARBHOME)/INCLUDE/ad_prot.h
88arb_2_bin.o: $(ARBHOME)/INCLUDE/ad_t_prot.h
89arb_2_bin.o: $(ARBHOME)/INCLUDE/arb_assert.h
90arb_2_bin.o: $(ARBHOME)/INCLUDE/arbdb.h
91arb_2_bin.o: $(ARBHOME)/INCLUDE/arbdb_base.h
92arb_2_bin.o: $(ARBHOME)/INCLUDE/arbdbt.h
93arb_2_bin.o: $(ARBHOME)/INCLUDE/attributes.h
94
95arb_count_chars.o: $(ARBHOME)/INCLUDE/ad_k_prot.h
96arb_count_chars.o: $(ARBHOME)/INCLUDE/ad_prot.h
97arb_count_chars.o: $(ARBHOME)/INCLUDE/ad_t_prot.h
98arb_count_chars.o: $(ARBHOME)/INCLUDE/arb_assert.h
99arb_count_chars.o: $(ARBHOME)/INCLUDE/arbdb.h
100arb_count_chars.o: $(ARBHOME)/INCLUDE/arbdb_base.h
101arb_count_chars.o: $(ARBHOME)/INCLUDE/arbdbt.h
102arb_count_chars.o: $(ARBHOME)/INCLUDE/attributes.h
103
104arb_dnarates.o: DNAml_rates_1_0.h
105arb_dnarates.o: $(ARBHOME)/INCLUDE/ad_k_prot.h
106arb_dnarates.o: $(ARBHOME)/INCLUDE/ad_prot.h
107arb_dnarates.o: $(ARBHOME)/INCLUDE/ad_t_prot.h
108arb_dnarates.o: $(ARBHOME)/INCLUDE/arb_assert.h
109arb_dnarates.o: $(ARBHOME)/INCLUDE/arbdb.h
110arb_dnarates.o: $(ARBHOME)/INCLUDE/arbdb_base.h
111arb_dnarates.o: $(ARBHOME)/INCLUDE/arbdbt.h
112arb_dnarates.o: $(ARBHOME)/INCLUDE/attributes.h
113arb_dnarates.o: $(ARBHOME)/INCLUDE/aw_awars.hxx
114
115arb_export_rates.o: $(ARBHOME)/INCLUDE/ad_k_prot.h
116arb_export_rates.o: $(ARBHOME)/INCLUDE/ad_prot.h
117arb_export_rates.o: $(ARBHOME)/INCLUDE/ad_t_prot.h
118arb_export_rates.o: $(ARBHOME)/INCLUDE/arb_assert.h
119arb_export_rates.o: $(ARBHOME)/INCLUDE/arbdb.h
120arb_export_rates.o: $(ARBHOME)/INCLUDE/arbdb_base.h
121arb_export_rates.o: $(ARBHOME)/INCLUDE/arbdbt.h
122arb_export_rates.o: $(ARBHOME)/INCLUDE/attributes.h
123arb_export_rates.o: $(ARBHOME)/INCLUDE/aw_awars.hxx
124
125arb_export_tree.o: $(ARBHOME)/INCLUDE/ad_k_prot.h
126arb_export_tree.o: $(ARBHOME)/INCLUDE/ad_prot.h
127arb_export_tree.o: $(ARBHOME)/INCLUDE/ad_t_prot.h
128arb_export_tree.o: $(ARBHOME)/INCLUDE/arb_assert.h
129arb_export_tree.o: $(ARBHOME)/INCLUDE/arbdb.h
130arb_export_tree.o: $(ARBHOME)/INCLUDE/arbdb_base.h
131arb_export_tree.o: $(ARBHOME)/INCLUDE/arbdbt.h
132arb_export_tree.o: $(ARBHOME)/INCLUDE/attributes.h
133arb_export_tree.o: $(ARBHOME)/INCLUDE/TreeWrite.h
134
135arb_gene_probe.o: $(ARBHOME)/INCLUDE/ad_k_prot.h
136arb_gene_probe.o: $(ARBHOME)/INCLUDE/ad_prot.h
137arb_gene_probe.o: $(ARBHOME)/INCLUDE/ad_t_prot.h
138arb_gene_probe.o: $(ARBHOME)/INCLUDE/adGene.h
139arb_gene_probe.o: $(ARBHOME)/INCLUDE/arb_assert.h
140arb_gene_probe.o: $(ARBHOME)/INCLUDE/arbdb.h
141arb_gene_probe.o: $(ARBHOME)/INCLUDE/arbdb_base.h
142arb_gene_probe.o: $(ARBHOME)/INCLUDE/arbdbt.h
143arb_gene_probe.o: $(ARBHOME)/INCLUDE/attributes.h
144
145arb_message.o: $(ARBHOME)/INCLUDE/ad_k_prot.h
146arb_message.o: $(ARBHOME)/INCLUDE/ad_prot.h
147arb_message.o: $(ARBHOME)/INCLUDE/ad_t_prot.h
148arb_message.o: $(ARBHOME)/INCLUDE/arb_assert.h
149arb_message.o: $(ARBHOME)/INCLUDE/arbdb.h
150arb_message.o: $(ARBHOME)/INCLUDE/arbdb_base.h
151arb_message.o: $(ARBHOME)/INCLUDE/arbdbt.h
152arb_message.o: $(ARBHOME)/INCLUDE/attributes.h
153
154arb_notify.o: $(ARBHOME)/INCLUDE/ad_k_prot.h
155arb_notify.o: $(ARBHOME)/INCLUDE/ad_prot.h
156arb_notify.o: $(ARBHOME)/INCLUDE/ad_t_prot.h
157arb_notify.o: $(ARBHOME)/INCLUDE/arb_assert.h
158arb_notify.o: $(ARBHOME)/INCLUDE/arbdb.h
159arb_notify.o: $(ARBHOME)/INCLUDE/arbdb_base.h
160arb_notify.o: $(ARBHOME)/INCLUDE/arbdbt.h
161arb_notify.o: $(ARBHOME)/INCLUDE/attributes.h
162
163arb_perf_test.o: $(ARBHOME)/INCLUDE/ad_k_prot.h
164arb_perf_test.o: $(ARBHOME)/INCLUDE/ad_prot.h
165arb_perf_test.o: $(ARBHOME)/INCLUDE/ad_t_prot.h
166arb_perf_test.o: $(ARBHOME)/INCLUDE/arb_assert.h
167arb_perf_test.o: $(ARBHOME)/INCLUDE/arbdb.h
168arb_perf_test.o: $(ARBHOME)/INCLUDE/arbdb_base.h
169arb_perf_test.o: $(ARBHOME)/INCLUDE/arbdbt.h
170arb_perf_test.o: $(ARBHOME)/INCLUDE/attributes.h
171
172arb_primer.o: $(ARBHOME)/INCLUDE/ad_k_prot.h
173arb_primer.o: $(ARBHOME)/INCLUDE/ad_prot.h
174arb_primer.o: $(ARBHOME)/INCLUDE/ad_t_prot.h
175arb_primer.o: $(ARBHOME)/INCLUDE/arb_assert.h
176arb_primer.o: $(ARBHOME)/INCLUDE/arbdb.h
177arb_primer.o: $(ARBHOME)/INCLUDE/arbdb_base.h
178arb_primer.o: $(ARBHOME)/INCLUDE/arbdbt.h
179arb_primer.o: $(ARBHOME)/INCLUDE/attributes.h
180
181arb_probe.o: $(ARBHOME)/INCLUDE/ad_k_prot.h
182arb_probe.o: $(ARBHOME)/INCLUDE/ad_prot.h
183arb_probe.o: $(ARBHOME)/INCLUDE/arb_assert.h
184arb_probe.o: $(ARBHOME)/INCLUDE/arbdb.h
185arb_probe.o: $(ARBHOME)/INCLUDE/arbdb_base.h
186arb_probe.o: $(ARBHOME)/INCLUDE/attributes.h
187arb_probe.o: $(ARBHOME)/INCLUDE/client.h
188arb_probe.o: $(ARBHOME)/INCLUDE/PT_com.h
189arb_probe.o: $(ARBHOME)/INCLUDE/servercntrl.h
190
191arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/ad_k_prot.h
192arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/ad_prot.h
193arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/arb_assert.h
194arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/arbdb.h
195arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/arbdb_base.h
196arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/attributes.h
197
198arb_read_tree.o: $(ARBHOME)/INCLUDE/ad_k_prot.h
199arb_read_tree.o: $(ARBHOME)/INCLUDE/ad_prot.h
200arb_read_tree.o: $(ARBHOME)/INCLUDE/ad_t_prot.h
201arb_read_tree.o: $(ARBHOME)/INCLUDE/arb_assert.h
202arb_read_tree.o: $(ARBHOME)/INCLUDE/arbdb.h
203arb_read_tree.o: $(ARBHOME)/INCLUDE/arbdb_base.h
204arb_read_tree.o: $(ARBHOME)/INCLUDE/arbdbt.h
205arb_read_tree.o: $(ARBHOME)/INCLUDE/attributes.h
206arb_read_tree.o: $(ARBHOME)/INCLUDE/TreeRead.h
207
208arb_replace.o: $(ARBHOME)/INCLUDE/ad_k_prot.h
209arb_replace.o: $(ARBHOME)/INCLUDE/ad_prot.h
210arb_replace.o: $(ARBHOME)/INCLUDE/arb_assert.h
211arb_replace.o: $(ARBHOME)/INCLUDE/arbdb.h
212arb_replace.o: $(ARBHOME)/INCLUDE/arbdb_base.h
213arb_replace.o: $(ARBHOME)/INCLUDE/attributes.h
214
215arb_swap_rnastr.o: $(ARBHOME)/INCLUDE/ad_k_prot.h
216arb_swap_rnastr.o: $(ARBHOME)/INCLUDE/ad_prot.h
217arb_swap_rnastr.o: $(ARBHOME)/INCLUDE/ad_t_prot.h
218arb_swap_rnastr.o: $(ARBHOME)/INCLUDE/arb_assert.h
219arb_swap_rnastr.o: $(ARBHOME)/INCLUDE/arbdb.h
220arb_swap_rnastr.o: $(ARBHOME)/INCLUDE/arbdb_base.h
221arb_swap_rnastr.o: $(ARBHOME)/INCLUDE/arbdbt.h
222arb_swap_rnastr.o: $(ARBHOME)/INCLUDE/attributes.h
223
224arb_test.o: $(ARBHOME)/INCLUDE/ad_k_prot.h
225arb_test.o: $(ARBHOME)/INCLUDE/ad_prot.h
226arb_test.o: $(ARBHOME)/INCLUDE/arb_assert.h
227arb_test.o: $(ARBHOME)/INCLUDE/arbdb.h
228arb_test.o: $(ARBHOME)/INCLUDE/arbdb_base.h
229arb_test.o: $(ARBHOME)/INCLUDE/attributes.h
Note: See TracBrowser for help on using the repository browser.