source: tags/ms_r17q3/PERLTOOLS/Makefile

Last change on this file was 16223, checked in by westram, 7 years ago
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.5 KB
Line 
1.SUFFIXES: .c .cxx .depend .o
2
3TOOLS := \
4        arb_proto_2_xsub \
5
6LIB_ARBDB            := $(LIBPATH) $(ARBDB_LIB) $(ARB_GLIB_LIBS)
7LIBS_ARB_PROBE       := ../SERVERCNTRL/SERVERCNTRL.a ../PROBE_COM/client.a
8LIBS_ARB_READ_TREE   := ../SL/TREE_READ/TREE_READ.a
9LIBS_ARB_EXPORT_TREE := ../SL/TREE_WRITE/TREE_WRITE.a ../XML/XML.a $(LIBS_ARB_READ_TREE)
10
11OBJECTS:=$(addsuffix .o,$(TOOLS))
12BINARIES:=$(addprefix $(ARBHOME)/bin/,$(TOOLS))
13
14all: $(BINARIES)
15
16%.o: %.cxx
17        $(A_CXX) $(cflags) $(cxxflags) -c $< $(CXX_INCLUDES) $(POST_COMPILE) $<
18
19%.o: %.c
20        $(A_CC) $(cflags) -c $< $(CC_INCLUDES) $(POST_COMPILE) $<
21
22$(ARBHOME)/bin/%: %.o $(use_ARB_main)
23        $(LINK_EXECUTABLE) $@ $(use_ARB_main) $< $(LIB_ARBDB)
24
25clean:
26        rm -f $(BINARIES)
27        rm -f $(OBJECTS)
28
29proto:
30        @echo "Nothing todo for proto in PERLTOOLS"
31
32depends:
33        $(MAKE) "DEBUG=1" depends_debug
34
35DEPENDS = $(OBJECTS:.o=.depend)
36depends_debug: $(DEPENDS) 
37        @cat $(DEPENDS) | grep -v '^#' >>Makefile
38        @rm $(DEPENDS)
39$(DEPENDS): depend.init
40depend.init:
41        $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies
42.cxx.depend:
43        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@
44.c.depend:
45        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@
46
47# DO NOT DELETE
48
49# Do not add dependencies manually - use 'make depend' in $ARBHOME
50# For formatting issues see SOURCE_TOOLS/fix_depends.pl (from main)
51
52arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/ad_prot.h
53arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/arb_assert.h
54arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/arb_core.h
55arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/arb_diff.h
56arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/arb_error.h
57arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/arb_mem.h
58arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/arb_msg.h
59arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/arb_str.h
60arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/arb_strarray.h
61arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/arb_strbuf.h
62arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/arb_string.h
63arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/arbdb.h
64arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/arbdb_base.h
65arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/arbtools.h
66arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/attributes.h
67arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/BufferedFileReader.h
68arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/cxxforward.h
69arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/dupstr.h
70arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/gccver.h
71arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/smartptr.h
72arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/test_global.h
73arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/test_runtool.h
74arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/test_unit.h
75arb_proto_2_xsub.o: $(ARBHOME)/INCLUDE/ut_valgrinded.h
Note: See TracBrowser for help on using the repository browser.