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