source: trunk/SERVERCNTRL/Makefile

Last change on this file was 18723, checked in by westram, 3 years ago
  • remove .c rules.
  • add .c suffix (in SOURCE_TOOLS).
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
Line 
1# for variables passed from parent makefile see ../SOURCE_TOOLS/parent_make.txt
2.SUFFIXES: .o .cxx .depend
3
4OBJECTS = $(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
12proto:
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
16clean:
17        rm -f $(OBJECTS) *.a
18
19DEPENDS = $(OBJECTS:.o=.depend)
20depends: $(DEPENDS)
21        @cat $(DEPENDS) | grep -v '^#' >>Makefile
22        @rm $(DEPENDS)
23$(DEPENDS): depend.init
24depend.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
36servercntrl.o: servercntrl.h
37servercntrl.o: $(ARBHOME)/INCLUDE/ad_prot.h
38servercntrl.o: $(ARBHOME)/INCLUDE/aisc_global.h
39servercntrl.o: $(ARBHOME)/INCLUDE/arb_assert.h
40servercntrl.o: $(ARBHOME)/INCLUDE/arb_core.h
41servercntrl.o: $(ARBHOME)/INCLUDE/arb_error.h
42servercntrl.o: $(ARBHOME)/INCLUDE/arb_file.h
43servercntrl.o: $(ARBHOME)/INCLUDE/arb_mem.h
44servercntrl.o: $(ARBHOME)/INCLUDE/arb_msg.h
45servercntrl.o: $(ARBHOME)/INCLUDE/arb_sleep.h
46servercntrl.o: $(ARBHOME)/INCLUDE/arb_string.h
47servercntrl.o: $(ARBHOME)/INCLUDE/arbdb.h
48servercntrl.o: $(ARBHOME)/INCLUDE/arbdb_base.h
49servercntrl.o: $(ARBHOME)/INCLUDE/arbtools.h
50servercntrl.o: $(ARBHOME)/INCLUDE/attributes.h
51servercntrl.o: $(ARBHOME)/INCLUDE/bytestring.h
52servercntrl.o: $(ARBHOME)/INCLUDE/client.h
53servercntrl.o: $(ARBHOME)/INCLUDE/client_privat.h
54servercntrl.o: $(ARBHOME)/INCLUDE/client_types.h
55servercntrl.o: $(ARBHOME)/INCLUDE/cxxforward.h
56servercntrl.o: $(ARBHOME)/INCLUDE/dupstr.h
57servercntrl.o: $(ARBHOME)/INCLUDE/gccver.h
58servercntrl.o: $(ARBHOME)/INCLUDE/SigHandler.h
59servercntrl.o: $(ARBHOME)/INCLUDE/smartptr.h
60servercntrl.o: $(ARBHOME)/INCLUDE/test_global.h
61servercntrl.o: $(ARBHOME)/INCLUDE/ut_valgrinded.h
Note: See TracBrowser for help on using the repository browser.