source: tags/initial/TRS/Makefile

Last change on this file was 2, checked in by oldcode, 23 years ago

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1
2.SUFFIXES: .o .c .cxx
3
4OBJECTS = trs_hash.o tree_lib.o trs_server.o
5
6$(ARBHOME)/bin/trs_server: $(OBJECTS)
7        $(CPP) -o $@ $(STATIC) $(OBJECTS)
8
9
10# $(OBJECTS:%.o=$(ARBHOME)/irsbin/%)
11
12.cxx.o:
13        $(CPP) $(cflags) -c $< $(CPPINCLUDES)
14
15proto:
16        rm -f trs_proto.h
17        echo "#define P_(s) s" > trs_proto.h
18        ../MAKEBIN/aisc_mkpt $(OBJECTS:.o=.cxx) |awk '$$2 ~ /TRS/ {print;}' >>trs_proto.h
19        ../MAKEBIN/aisc_mkpt $(OBJECTS:.o=.cxx) |awk '$$2 ~ /T2J/ {print;}' |grep -v ':' >>trs_proto.h
20        echo "#undef P_" >>trs_proto.h
21
22
23$(ARBHOME)/irsbin/%: %.cxx
24        $(CPP) $(cflags) -o $@ $< $(CPPINCLUDES) $(LIB2)
25
26depend:
27        $(MAKEDEPEND) $(MAKEDEPENDINC) $(OBJECTS:.o=.c*)
28
29# DO NOT DELETE THIS LINE -- make depend depends on it.
30
31trs_hash.o: 
32trs_hash.o: 
33trs_hash.o: 
34trs_hash.o: 
35trs_hash.o: 
36trs_hash.o: 
37trs_hash.o: 
38tree_lib.o: 
39tree_lib.o: 
40tree_lib.o: 
41tree_lib.o: 
42tree_lib.o: 
43tree_lib.o: 
44tree_lib.o: 
45tree_lib.o: 
46tree_lib.o: 
47tree_lib.o:  $(ARBHOME)/INCLUDE/arbdb.h
48tree_lib.o: $(ARBHOME)/INCLUDE/ad_prot.h
49tree_lib.o: $(ARBHOME)/INCLUDE/cat_tree.hxx tree_lib.hxx
50tree_lib.o: trs_proto.h
51trs_server.o: 
52trs_server.o: 
53trs_server.o: 
54trs_server.o: 
55trs_server.o: 
56trs_server.o: 
57trs_server.o: 
58trs_server.o: $(ARBHOME)/INCLUDE/cat_tree.hxx tree_lib.hxx
59trs_server.o: trs_proto.h
Note: See TracBrowser for help on using the repository browser.