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