source: branches/profile/SERVERCNTRL/Makefile

Last change on this file was 10996, checked in by westram, 11 years ago
  • use cflags before cxxflags
  • 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 .c .cxx .depend
3OBJECTS = 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
11proto:
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
15clean:
16        rm -f $(OBJECTS) *.a
17
18DEPENDS = $(OBJECTS:.o=.depend)
19depends: $(DEPENDS)
20        @cat $(DEPENDS) | grep -v '^#' >>Makefile
21        @rm $(DEPENDS)
22$(DEPENDS): depend.init
23depend.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
35servercntrl.o: servercntrl.h
36servercntrl.o: $(ARBHOME)/INCLUDE/ad_prot.h
37servercntrl.o: $(ARBHOME)/INCLUDE/aisc_global.h
38servercntrl.o: $(ARBHOME)/INCLUDE/arb_assert.h
39servercntrl.o: $(ARBHOME)/INCLUDE/arb_core.h
40servercntrl.o: $(ARBHOME)/INCLUDE/arb_error.h
41servercntrl.o: $(ARBHOME)/INCLUDE/arb_file.h
42servercntrl.o: $(ARBHOME)/INCLUDE/arb_msg.h
43servercntrl.o: $(ARBHOME)/INCLUDE/arb_sleep.h
44servercntrl.o: $(ARBHOME)/INCLUDE/arb_string.h
45servercntrl.o: $(ARBHOME)/INCLUDE/arbdb.h
46servercntrl.o: $(ARBHOME)/INCLUDE/arbdb_base.h
47servercntrl.o: $(ARBHOME)/INCLUDE/arbtools.h
48servercntrl.o: $(ARBHOME)/INCLUDE/attributes.h
49servercntrl.o: $(ARBHOME)/INCLUDE/bytestring.h
50servercntrl.o: $(ARBHOME)/INCLUDE/client.h
51servercntrl.o: $(ARBHOME)/INCLUDE/client_privat.h
52servercntrl.o: $(ARBHOME)/INCLUDE/client_types.h
53servercntrl.o: $(ARBHOME)/INCLUDE/cxxforward.h
54servercntrl.o: $(ARBHOME)/INCLUDE/dupstr.h
55servercntrl.o: $(ARBHOME)/INCLUDE/gccver.h
56servercntrl.o: $(ARBHOME)/INCLUDE/SigHandler.h
57servercntrl.o: $(ARBHOME)/INCLUDE/smartptr.h
58servercntrl.o: $(ARBHOME)/INCLUDE/test_global.h
59servercntrl.o: $(ARBHOME)/INCLUDE/ut_valgrinded.h
Note: See TracBrowser for help on using the repository browser.