1 | # for variables passed from parent makefile see ../SOURCE_TOOLS/parent_make.txt |
---|
2 | .SUFFIXES: .o .cxx .depend |
---|
3 | |
---|
4 | OBJECTS = $(subst .cxx,.o,$(wildcard *.cxx)) |
---|
5 | |
---|
6 | $(MAIN): $(OBJECTS) |
---|
7 | $(LINK_STATIC_LIB) $(MAIN) $(OBJECTS) |
---|
8 | |
---|
9 | .cxx.o: |
---|
10 | $(A_CXX) $(cflags) $(cxxflags) -c $< $(CXX_INCLUDES) $(POST_COMPILE) $< |
---|
11 | |
---|
12 | clean: |
---|
13 | rm -f $(OBJECTS) *.a |
---|
14 | |
---|
15 | DEPENDS = $(OBJECTS:.o=.depend) |
---|
16 | depends: $(DEPENDS) |
---|
17 | @cat $(DEPENDS) | grep -v '^#' >>Makefile |
---|
18 | @rm $(DEPENDS) |
---|
19 | $(DEPENDS): depend.init |
---|
20 | depend.init: |
---|
21 | $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies |
---|
22 | .c.depend: |
---|
23 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
24 | .cxx.depend: |
---|
25 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
26 | |
---|
27 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
---|
28 | |
---|
29 | # Do not add dependencies manually - use 'make depend' in $ARBHOME |
---|
30 | # For formatting issues see SOURCE_TOOLS/fix_depends.pl (from main) |
---|
31 | |
---|
32 | names.o: names.h |
---|
33 | names.o: $(ARBHOME)/INCLUDE/ad_prot.h |
---|
34 | names.o: $(ARBHOME)/INCLUDE/aisc_func_types.h |
---|
35 | names.o: $(ARBHOME)/INCLUDE/aisc_global.h |
---|
36 | names.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
37 | names.o: $(ARBHOME)/INCLUDE/arb_core.h |
---|
38 | names.o: $(ARBHOME)/INCLUDE/arb_error.h |
---|
39 | names.o: $(ARBHOME)/INCLUDE/arb_file.h |
---|
40 | names.o: $(ARBHOME)/INCLUDE/arb_mem.h |
---|
41 | names.o: $(ARBHOME)/INCLUDE/arb_msg.h |
---|
42 | names.o: $(ARBHOME)/INCLUDE/arb_sleep.h |
---|
43 | names.o: $(ARBHOME)/INCLUDE/arb_string.h |
---|
44 | names.o: $(ARBHOME)/INCLUDE/arbdb.h |
---|
45 | names.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
---|
46 | names.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
47 | names.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
48 | names.o: $(ARBHOME)/INCLUDE/bytestring.h |
---|
49 | names.o: $(ARBHOME)/INCLUDE/client.h |
---|
50 | names.o: $(ARBHOME)/INCLUDE/client_types.h |
---|
51 | names.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
52 | names.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
53 | names.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
54 | names.o: $(ARBHOME)/INCLUDE/names_client.h |
---|
55 | names.o: $(ARBHOME)/INCLUDE/names_prototypes.h |
---|
56 | names.o: $(ARBHOME)/INCLUDE/names_server.h |
---|
57 | names.o: $(ARBHOME)/INCLUDE/server.h |
---|
58 | names.o: $(ARBHOME)/INCLUDE/servercntrl.h |
---|
59 | names.o: $(ARBHOME)/INCLUDE/smartptr.h |
---|
60 | names.o: $(ARBHOME)/INCLUDE/struct_man.h |
---|
61 | names.o: $(ARBHOME)/INCLUDE/test_global.h |
---|