ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Tree-M/MT/Makefile
Revision: 1.3
Committed: Wed May 23 02:11:14 2001 UTC (23 years ago) by root
Branch: MAIN
Changes since 1.2: +33 -183 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.1 ######################################################################
2     # #
3     # Copyright (c) 1997,1998, 1999 #
4     # Multimedia DB Group and DEIS - CSITE-CNR, #
5     # University of Bologna, Bologna, ITALY. #
6     # #
7     # All Rights Reserved. #
8     # #
9     # Permission to use, copy, and distribute this software and its #
10     # documentation for NON-COMMERCIAL purposes and without fee is #
11     # hereby granted provided that this copyright notice appears in #
12     # all copies. #
13     # #
14     # THE AUTHORS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE #
15     # SUITABILITY OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING #
16     # BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, #
17     # FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. THE AUTHOR #
18     # SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A #
19     # RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS #
20     # DERIVATIVES. #
21     # #
22     ######################################################################
23    
24     # Makefile for M-tree test program
25    
26     PROGRAM = MTree
27    
28 root 1.2 CPP = $(CXX) -fpic
29 root 1.1
30     CFLAGS = -DUNIX
31    
32     INCS = -I../GiST
33    
34 root 1.2 LINKER = $(CXX)
35 root 1.1
36     SRCS = MTfile.cpp MTentry.cpp MTnode.cpp MTpredicate.cpp MTobject.cpp MT.cpp MTcursor.cpp BulkLoad.cpp # Main.cpp
37    
38     OBJS = $(SRCS:.cpp=.o)
39    
40     LIBS = ../GiST/libGiST.a
41    
42     DEST = .
43    
44     all: libMT.a
45    
46     libMT.a: $(OBJS)
47     ar rc libMT.a $(OBJS)
48     ranlib libMT.a
49    
50 root 1.3 $(PROGRAM): $(OBJS) $(LIBS)
51 root 1.1 $(LINKER) -o $(PROGRAM) $(LDFLAGS) $(OBJS) $(LIBS)
52    
53     gen:
54     $(CPP) -o generate $(CFLAGS) $(INCS) $(LDFLAGS) generate.cpp
55    
56     depend:
57 root 1.3 makedepend -Y $(DEFINES) $(INCS) $(SRCS)
58 root 1.1
59     %.o: %.cpp
60 root 1.2 $(CPP) -c $(CFLAGS) $(OPTIMIZE) $(INCS) $*.cpp
61 root 1.1
62     clean:
63 root 1.3 rm -f $(OBJS) $(PROGRAM) libMT.a
64 root 1.1
65     install: $(PROGRAM)
66     echo Installing $(PROGRAM) in $(DEST)
67     install -s $(PROGRAM) $(DEST)
68     # DO NOT DELETE
69    
70 root 1.3 MTfile.o: MTfile.h ../GiST/GiSTstore.h GiSTdefs.h
71     MTentry.o: MTentry.h ../GiST/GiST.h GiSTdefs.h ../GiST/GiSTentry.h
72     MTentry.o: ../GiST/GiSTpredicate.h ../GiST/GiSTlist.h ../GiST/GiSTnode.h
73     MTentry.o: ../GiST/GiSTpath.h ../GiST/GiSTstore.h ../GiST/GiSTcursor.h
74     MTentry.o: MTobject.h ../object.h ../PMT.h MT.h MTfile.h MTnode.h MTcursor.h
75     MTentry.o: list.h
76     MTnode.o: MT.h ../GiST/GiST.h GiSTdefs.h ../GiST/GiSTentry.h
77 root 1.1 MTnode.o: ../GiST/GiSTpredicate.h ../GiST/GiSTlist.h ../GiST/GiSTnode.h
78     MTnode.o: ../GiST/GiSTpath.h ../GiST/GiSTstore.h ../GiST/GiSTcursor.h
79 root 1.3 MTnode.o: MTfile.h MTnode.h MTentry.h MTobject.h ../object.h ../PMT.h
80     MTnode.o: MTcursor.h list.h MTpredicate.h
81     MTpredicate.o: MT.h ../GiST/GiST.h GiSTdefs.h ../GiST/GiSTentry.h
82     MTpredicate.o: ../GiST/GiSTpredicate.h ../GiST/GiSTlist.h ../GiST/GiSTnode.h
83     MTpredicate.o: ../GiST/GiSTpath.h ../GiST/GiSTstore.h ../GiST/GiSTcursor.h
84     MTpredicate.o: MTfile.h MTnode.h MTentry.h MTobject.h ../object.h ../PMT.h
85     MTpredicate.o: MTcursor.h list.h MTpredicate.h
86     MTobject.o: MTobject.h ../object.h ../PMT.h ../GiST/GiSTlist.h
87     MT.o: list.h MT.h ../GiST/GiST.h GiSTdefs.h ../GiST/GiSTentry.h
88     MT.o: ../GiST/GiSTpredicate.h ../GiST/GiSTlist.h ../GiST/GiSTnode.h
89     MT.o: ../GiST/GiSTpath.h ../GiST/GiSTstore.h ../GiST/GiSTcursor.h MTfile.h
90     MT.o: MTnode.h MTentry.h MTobject.h ../object.h ../PMT.h MTcursor.h
91     MT.o: MTpredicate.h
92     MTcursor.o: MTcursor.h ../GiST/GiST.h GiSTdefs.h ../GiST/GiSTentry.h
93     MTcursor.o: ../GiST/GiSTpredicate.h ../GiST/GiSTlist.h ../GiST/GiSTnode.h
94     MTcursor.o: ../GiST/GiSTpath.h ../GiST/GiSTstore.h ../GiST/GiSTcursor.h
95     MTcursor.o: list.h MT.h MTfile.h MTnode.h MTentry.h MTobject.h ../object.h
96     MTcursor.o: ../PMT.h MTpredicate.h
97     BulkLoad.o: MT.h ../GiST/GiST.h GiSTdefs.h ../GiST/GiSTentry.h
98     BulkLoad.o: ../GiST/GiSTpredicate.h ../GiST/GiSTlist.h ../GiST/GiSTnode.h
99     BulkLoad.o: ../GiST/GiSTpath.h ../GiST/GiSTstore.h ../GiST/GiSTcursor.h
100     BulkLoad.o: MTfile.h MTnode.h MTentry.h MTobject.h ../object.h ../PMT.h
101     BulkLoad.o: MTcursor.h list.h