source: branches/profile/NAMES/Makefile

Last change on this file was 10996, checked in by westram, 6 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.0 KB
Line 
1# for variables passed from parent makefile see ../SOURCE_TOOLS/parent_make.txt
2.SUFFIXES: .o .cxx .c .depend
3OBJECTS = names.o
4$(MAIN): $(OBJECTS)
5        $(LINK_STATIC_LIB) $(MAIN) $(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
11clean:
12        rm -f $(OBJECTS) *.a
13
14DEPENDS = $(OBJECTS:.o=.depend)
15depends: $(DEPENDS)
16        @cat $(DEPENDS) | grep -v '^#' >>Makefile
17        @rm $(DEPENDS)
18$(DEPENDS): depend.init
19depend.init:
20        $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies
21.c.depend:
22        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@
23.cxx.depend:
24        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@
25
26# DO NOT DELETE THIS LINE -- make depend depends on it.
27
28# Do not add dependencies manually - use 'make depend' in $ARBHOME
29# For formatting issues see SOURCE_TOOLS/fix_depends.pl (from main)
30
31names.o: names.h
32names.o: $(ARBHOME)/INCLUDE/ad_prot.h
33names.o: $(ARBHOME)/INCLUDE/aisc_func_types.h
34names.o: $(ARBHOME)/INCLUDE/aisc_global.h
35names.o: $(ARBHOME)/INCLUDE/arb_assert.h
36names.o: $(ARBHOME)/INCLUDE/arb_core.h
37names.o: $(ARBHOME)/INCLUDE/arb_error.h
38names.o: $(ARBHOME)/INCLUDE/arb_file.h
39names.o: $(ARBHOME)/INCLUDE/arb_msg.h
40names.o: $(ARBHOME)/INCLUDE/arb_sleep.h
41names.o: $(ARBHOME)/INCLUDE/arb_string.h
42names.o: $(ARBHOME)/INCLUDE/arbdb.h
43names.o: $(ARBHOME)/INCLUDE/arbdb_base.h
44names.o: $(ARBHOME)/INCLUDE/arbtools.h
45names.o: $(ARBHOME)/INCLUDE/attributes.h
46names.o: $(ARBHOME)/INCLUDE/bytestring.h
47names.o: $(ARBHOME)/INCLUDE/client.h
48names.o: $(ARBHOME)/INCLUDE/client_types.h
49names.o: $(ARBHOME)/INCLUDE/cxxforward.h
50names.o: $(ARBHOME)/INCLUDE/dupstr.h
51names.o: $(ARBHOME)/INCLUDE/gccver.h
52names.o: $(ARBHOME)/INCLUDE/names_client.h
53names.o: $(ARBHOME)/INCLUDE/names_prototypes.h
54names.o: $(ARBHOME)/INCLUDE/names_server.h
55names.o: $(ARBHOME)/INCLUDE/server.h
56names.o: $(ARBHOME)/INCLUDE/servercntrl.h
57names.o: $(ARBHOME)/INCLUDE/smartptr.h
58names.o: $(ARBHOME)/INCLUDE/struct_man.h
59names.o: $(ARBHOME)/INCLUDE/test_global.h
Note: See TracBrowser for help on using the repository browser.