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) $(@) $(OBJECTS) |
---|
8 | |
---|
9 | .cxx.o: |
---|
10 | $(A_CXX) $(cflags) $(cxxflags) -c $< $(CXX_INCLUDES) $(POST_COMPILE) $< |
---|
11 | |
---|
12 | proto: |
---|
13 | ../AISC_MKPTPS/aisc_mkpt -P -w servercntrl.h $(OBJECTS:.o=.cxx) >servercntrl.h.tmp |
---|
14 | ../SOURCE_TOOLS/mv_if_diff servercntrl.h.tmp servercntrl.h |
---|
15 | |
---|
16 | clean: |
---|
17 | rm -f $(OBJECTS) *.a |
---|
18 | |
---|
19 | DEPENDS = $(OBJECTS:.o=.depend) |
---|
20 | depends: $(DEPENDS) |
---|
21 | @cat $(DEPENDS) | grep -v '^#' >>Makefile |
---|
22 | @rm $(DEPENDS) |
---|
23 | $(DEPENDS): depend.init |
---|
24 | depend.init: |
---|
25 | $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies |
---|
26 | .c.depend: |
---|
27 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
28 | .cxx.depend: |
---|
29 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
30 | |
---|
31 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
---|
32 | |
---|
33 | # Do not add dependencies manually - use 'make depend' in $ARBHOME |
---|
34 | # For formatting issues see SOURCE_TOOLS/fix_depends.pl (from main) |
---|
35 | |
---|
36 | servercntrl.o: servercntrl.h |
---|
37 | servercntrl.o: $(ARBHOME)/INCLUDE/ad_prot.h |
---|
38 | servercntrl.o: $(ARBHOME)/INCLUDE/aisc_global.h |
---|
39 | servercntrl.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
40 | servercntrl.o: $(ARBHOME)/INCLUDE/arb_core.h |
---|
41 | servercntrl.o: $(ARBHOME)/INCLUDE/arb_error.h |
---|
42 | servercntrl.o: $(ARBHOME)/INCLUDE/arb_file.h |
---|
43 | servercntrl.o: $(ARBHOME)/INCLUDE/arb_mem.h |
---|
44 | servercntrl.o: $(ARBHOME)/INCLUDE/arb_msg.h |
---|
45 | servercntrl.o: $(ARBHOME)/INCLUDE/arb_sleep.h |
---|
46 | servercntrl.o: $(ARBHOME)/INCLUDE/arb_string.h |
---|
47 | servercntrl.o: $(ARBHOME)/INCLUDE/arbdb.h |
---|
48 | servercntrl.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
---|
49 | servercntrl.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
50 | servercntrl.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
51 | servercntrl.o: $(ARBHOME)/INCLUDE/bytestring.h |
---|
52 | servercntrl.o: $(ARBHOME)/INCLUDE/client.h |
---|
53 | servercntrl.o: $(ARBHOME)/INCLUDE/client_privat.h |
---|
54 | servercntrl.o: $(ARBHOME)/INCLUDE/client_types.h |
---|
55 | servercntrl.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
56 | servercntrl.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
57 | servercntrl.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
58 | servercntrl.o: $(ARBHOME)/INCLUDE/SigHandler.h |
---|
59 | servercntrl.o: $(ARBHOME)/INCLUDE/smartptr.h |
---|
60 | servercntrl.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
61 | servercntrl.o: $(ARBHOME)/INCLUDE/ut_valgrinded.h |
---|