source: tags/arb_5.5/SERVERCNTRL/Makefile

Last change on this file was 5968, checked in by westram, 15 years ago
  • new flag -w to aisc_mkpt (add include wrapper)
  • uniform style for several include wrappers
  • removed duplicated includes
  • removed useless nt_concatenate.hxx
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1# INCLUDE und GLOBALS MAIN CC cflags werden von aussen uebergeben
2.SUFFIXES: .o .c .cxx .depend
3OBJECTS = servercntrl.o
4$(MAIN): $(OBJECTS)
5        $(LINK_STATIC_LIB) $(@) $(OBJECTS)
6.c.o:
7        $(ACC) $(cflags) -c $< $(AINCLUDES) $(POST_COMPILE)
8.cxx.o:
9        $(CPP) $(cflags) -c $< $(CPPINCLUDES) $(POST_COMPILE)
10
11proto:
12        ../MAKEBIN/aisc_mkpt -A -P -C -w servercntrl.h $(OBJECTS:.o=.c) >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
34
35servercntrl.o: servercntrl.h
36servercntrl.o: $(ARBHOME)/INCLUDE/ad_k_prot.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/arbdb.h
41servercntrl.o: $(ARBHOME)/INCLUDE/arbdb_base.h
42servercntrl.o: $(ARBHOME)/INCLUDE/attributes.h
43servercntrl.o: $(ARBHOME)/INCLUDE/client.h
44servercntrl.o: $(ARBHOME)/INCLUDE/client_privat.h
Note: See TracBrowser for help on using the repository browser.