.SUFFIXES: .c .cxx .depend .o TOOLS := \ arb_2_ascii \ arb_2_bin \ arb_a2ps \ arb_count_chars \ arb_dnarates \ arb_export_rates \ arb_export_tree \ arb_gene_probe \ arb_message \ arb_newick_2_otb \ arb_notify \ arb_primer \ arb_probe \ arb_proto_2_xsub \ arb_read_tree \ arb_replace \ arb_swap_rnastr \ ifeq ($(DEBUG),1) TOOLS += \ arb_perf_test \ arb_test \ endif LIB_ARBDB = $(LIBPATH) -lARBDB OBJECTS:=$(addsuffix .o,$(TOOLS)) BINARIES:=$(addprefix $(ARBHOME)/bin/,$(TOOLS)) all: $(BINARIES) %.o: %.cxx $(CPP) $(cflags) -c $< $(CPPINCLUDES) $(POST_COMPILE) %.o: %.c $(ACC) $(cflags) -c $< $(CPPINCLUDES) $(POST_COMPILE) $(ARBHOME)/bin/arb_probe: arb_probe.o $(LINK_EXECUTABLE) $@ $< ../SERVERCNTRL/SERVERCNTRL.a ../PROBE_COM/client.a $(LIB_ARBDB) $(ARBHOME)/bin/arb_newick_2_otb: arb_newick_2_otb.o $(LINK_EXECUTABLE) $@ $< ../CAT/CAT.a $(LIB_ARBDB) $(ARBHOME)/bin/%: %.o $(LINK_EXECUTABLE) $@ $< $(LIB_ARBDB) clean: rm -f $(BINARIES) rm -f $(OBJECTS) DEPENDS = $(OBJECTS:.o=.depend) depends: $(DEPENDS) @cat $(DEPENDS) | grep -v '^#' >>Makefile @rm $(DEPENDS) $(DEPENDS): depend.init depend.init: $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies .cxx.depend: $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ .c.depend: $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ # DO NOT DELETE # Do not add dependencies manually - use 'make depend' in $ARBHOME # For formatting issues see SOURCE_TOOLS/fix_depends.pl arb_2_ascii.o: $(ARBHOME)/INCLUDE/ad_prot.h arb_2_ascii.o: $(ARBHOME)/INCLUDE/arb_assert.h arb_2_ascii.o: $(ARBHOME)/INCLUDE/arbdb.h arb_2_ascii.o: $(ARBHOME)/INCLUDE/attributes.h arb_2_bin.o: $(ARBHOME)/INCLUDE/ad_prot.h arb_2_bin.o: $(ARBHOME)/INCLUDE/ad_t_prot.h arb_2_bin.o: $(ARBHOME)/INCLUDE/arb_assert.h arb_2_bin.o: $(ARBHOME)/INCLUDE/arbdb.h arb_2_bin.o: $(ARBHOME)/INCLUDE/arbdbt.h arb_2_bin.o: $(ARBHOME)/INCLUDE/attributes.h arb_count_chars.o: $(ARBHOME)/INCLUDE/ad_prot.h arb_count_chars.o: $(ARBHOME)/INCLUDE/ad_t_prot.h arb_count_chars.o: $(ARBHOME)/INCLUDE/arb_assert.h arb_count_chars.o: $(ARBHOME)/INCLUDE/arbdb.h arb_count_chars.o: $(ARBHOME)/INCLUDE/arbdbt.h arb_count_chars.o: $(ARBHOME)/INCLUDE/attributes.h arb_dnarates.o: DNAml_rates_1_0.h arb_dnarates.o: $(ARBHOME)/INCLUDE/ad_prot.h arb_dnarates.o: $(ARBHOME)/INCLUDE/ad_t_prot.h arb_dnarates.o: $(ARBHOME)/INCLUDE/arb_assert.h arb_dnarates.o: $(ARBHOME)/INCLUDE/arbdb.h arb_dnarates.o: $(ARBHOME)/INCLUDE/arbdbt.h arb_dnarates.o: $(ARBHOME)/INCLUDE/attributes.h arb_dnarates.o: $(ARBHOME)/INCLUDE/aw_awars.hxx arb_export_rates.o: $(ARBHOME)/INCLUDE/ad_prot.h arb_export_rates.o: $(ARBHOME)/INCLUDE/ad_t_prot.h arb_export_rates.o: $(ARBHOME)/INCLUDE/arb_assert.h arb_export_rates.o: $(ARBHOME)/INCLUDE/arbdb.h arb_export_rates.o: $(ARBHOME)/INCLUDE/arbdbt.h arb_export_rates.o: $(ARBHOME)/INCLUDE/attributes.h arb_export_rates.o: $(ARBHOME)/INCLUDE/aw_awars.hxx arb_export_tree.o: $(ARBHOME)/INCLUDE/ad_prot.h arb_export_tree.o: $(ARBHOME)/INCLUDE/ad_t_prot.h arb_export_tree.o: $(ARBHOME)/INCLUDE/arb_assert.h arb_export_tree.o: $(ARBHOME)/INCLUDE/arbdb.h arb_export_tree.o: $(ARBHOME)/INCLUDE/arbdbt.h arb_export_tree.o: $(ARBHOME)/INCLUDE/attributes.h arb_gene_probe.o: $(ARBHOME)/INCLUDE/ad_prot.h arb_gene_probe.o: $(ARBHOME)/INCLUDE/ad_t_prot.h arb_gene_probe.o: $(ARBHOME)/INCLUDE/adGene.h arb_gene_probe.o: $(ARBHOME)/INCLUDE/arb_assert.h arb_gene_probe.o: $(ARBHOME)/INCLUDE/arbdb.h arb_gene_probe.o: $(ARBHOME)/INCLUDE/arbdbt.h arb_gene_probe.o: $(ARBHOME)/INCLUDE/attributes.h arb_message.o: $(ARBHOME)/INCLUDE/ad_prot.h arb_message.o: $(ARBHOME)/INCLUDE/ad_t_prot.h arb_message.o: $(ARBHOME)/INCLUDE/arb_assert.h arb_message.o: $(ARBHOME)/INCLUDE/arbdb.h arb_message.o: $(ARBHOME)/INCLUDE/arbdbt.h arb_message.o: $(ARBHOME)/INCLUDE/attributes.h arb_newick_2_otb.o: $(ARBHOME)/INCLUDE/ad_prot.h arb_newick_2_otb.o: $(ARBHOME)/INCLUDE/ad_t_prot.h arb_newick_2_otb.o: $(ARBHOME)/INCLUDE/arb_assert.h arb_newick_2_otb.o: $(ARBHOME)/INCLUDE/arbdb.h arb_newick_2_otb.o: $(ARBHOME)/INCLUDE/arbdbt.h arb_newick_2_otb.o: $(ARBHOME)/INCLUDE/attributes.h arb_newick_2_otb.o: $(ARBHOME)/INCLUDE/cat_tree.hxx arb_notify.o: $(ARBHOME)/INCLUDE/ad_prot.h arb_notify.o: $(ARBHOME)/INCLUDE/ad_t_prot.h arb_notify.o: $(ARBHOME)/INCLUDE/arb_assert.h arb_notify.o: $(ARBHOME)/INCLUDE/arbdb.h arb_notify.o: $(ARBHOME)/INCLUDE/arbdbt.h arb_notify.o: $(ARBHOME)/INCLUDE/attributes.h arb_primer.o: $(ARBHOME)/INCLUDE/ad_prot.h arb_primer.o: $(ARBHOME)/INCLUDE/ad_t_prot.h arb_primer.o: $(ARBHOME)/INCLUDE/arb_assert.h arb_primer.o: $(ARBHOME)/INCLUDE/arbdb.h arb_primer.o: $(ARBHOME)/INCLUDE/arbdbt.h arb_primer.o: $(ARBHOME)/INCLUDE/attributes.h arb_probe.o: $(ARBHOME)/INCLUDE/ad_prot.h arb_probe.o: $(ARBHOME)/INCLUDE/arb_assert.h arb_probe.o: $(ARBHOME)/INCLUDE/arbdb.h arb_probe.o: $(ARBHOME)/INCLUDE/attributes.h arb_probe.o: $(ARBHOME)/INCLUDE/client.h arb_probe.o: $(ARBHOME)/INCLUDE/PT_com.h arb_probe.o: $(ARBHOME)/INCLUDE/servercntrl.h arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/ad_prot.h arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/arb_assert.h arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/arbdb.h arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/attributes.h arb_read_tree.o: $(ARBHOME)/INCLUDE/ad_prot.h arb_read_tree.o: $(ARBHOME)/INCLUDE/ad_t_prot.h arb_read_tree.o: $(ARBHOME)/INCLUDE/arb_assert.h arb_read_tree.o: $(ARBHOME)/INCLUDE/arbdb.h arb_read_tree.o: $(ARBHOME)/INCLUDE/arbdbt.h arb_read_tree.o: $(ARBHOME)/INCLUDE/attributes.h arb_replace.o: $(ARBHOME)/INCLUDE/ad_prot.h arb_replace.o: $(ARBHOME)/INCLUDE/arb_assert.h arb_replace.o: $(ARBHOME)/INCLUDE/arbdb.h arb_replace.o: $(ARBHOME)/INCLUDE/attributes.h arb_swap_rnastr.o: $(ARBHOME)/INCLUDE/ad_prot.h arb_swap_rnastr.o: $(ARBHOME)/INCLUDE/ad_t_prot.h arb_swap_rnastr.o: $(ARBHOME)/INCLUDE/arb_assert.h arb_swap_rnastr.o: $(ARBHOME)/INCLUDE/arbdb.h arb_swap_rnastr.o: $(ARBHOME)/INCLUDE/arbdbt.h arb_swap_rnastr.o: $(ARBHOME)/INCLUDE/attributes.h