ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Tree-M/MT/Makefile
Revision: 1.4
Committed: Sun May 27 13:40:58 2001 UTC (23 years ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +5 -3 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 root 1.4 OBJS = MTfile.o MTentry.o MTnode.o MTpredicate.o MTobject.o MT.o MTcursor.o BulkLoad.o
39 root 1.1
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 root 1.4 .SUFFIXES: .cpp
60    
61     .cpp.o:
62     $(CPP) -c $(CFLAGS) $(OPTIMIZE) $(INCS) $<
63 root 1.1
64     clean:
65 root 1.3 rm -f $(OBJS) $(PROGRAM) libMT.a
66 root 1.1
67     install: $(PROGRAM)
68     echo Installing $(PROGRAM) in $(DEST)
69     install -s $(PROGRAM) $(DEST)
70     # DO NOT DELETE
71    
72 root 1.3 MTfile.o: MTfile.h ../GiST/GiSTstore.h GiSTdefs.h
73     MTentry.o: MTentry.h ../GiST/GiST.h GiSTdefs.h ../GiST/GiSTentry.h
74     MTentry.o: ../GiST/GiSTpredicate.h ../GiST/GiSTlist.h ../GiST/GiSTnode.h
75     MTentry.o: ../GiST/GiSTpath.h ../GiST/GiSTstore.h ../GiST/GiSTcursor.h
76     MTentry.o: MTobject.h ../object.h ../PMT.h MT.h MTfile.h MTnode.h MTcursor.h
77     MTentry.o: list.h
78     MTnode.o: MT.h ../GiST/GiST.h GiSTdefs.h ../GiST/GiSTentry.h
79 root 1.1 MTnode.o: ../GiST/GiSTpredicate.h ../GiST/GiSTlist.h ../GiST/GiSTnode.h
80     MTnode.o: ../GiST/GiSTpath.h ../GiST/GiSTstore.h ../GiST/GiSTcursor.h
81 root 1.3 MTnode.o: MTfile.h MTnode.h MTentry.h MTobject.h ../object.h ../PMT.h
82     MTnode.o: MTcursor.h list.h MTpredicate.h
83     MTpredicate.o: MT.h ../GiST/GiST.h GiSTdefs.h ../GiST/GiSTentry.h
84     MTpredicate.o: ../GiST/GiSTpredicate.h ../GiST/GiSTlist.h ../GiST/GiSTnode.h
85     MTpredicate.o: ../GiST/GiSTpath.h ../GiST/GiSTstore.h ../GiST/GiSTcursor.h
86     MTpredicate.o: MTfile.h MTnode.h MTentry.h MTobject.h ../object.h ../PMT.h
87     MTpredicate.o: MTcursor.h list.h MTpredicate.h
88     MTobject.o: MTobject.h ../object.h ../PMT.h ../GiST/GiSTlist.h
89     MT.o: list.h MT.h ../GiST/GiST.h GiSTdefs.h ../GiST/GiSTentry.h
90     MT.o: ../GiST/GiSTpredicate.h ../GiST/GiSTlist.h ../GiST/GiSTnode.h
91     MT.o: ../GiST/GiSTpath.h ../GiST/GiSTstore.h ../GiST/GiSTcursor.h MTfile.h
92     MT.o: MTnode.h MTentry.h MTobject.h ../object.h ../PMT.h MTcursor.h
93     MT.o: MTpredicate.h
94     MTcursor.o: MTcursor.h ../GiST/GiST.h GiSTdefs.h ../GiST/GiSTentry.h
95     MTcursor.o: ../GiST/GiSTpredicate.h ../GiST/GiSTlist.h ../GiST/GiSTnode.h
96     MTcursor.o: ../GiST/GiSTpath.h ../GiST/GiSTstore.h ../GiST/GiSTcursor.h
97     MTcursor.o: list.h MT.h MTfile.h MTnode.h MTentry.h MTobject.h ../object.h
98     MTcursor.o: ../PMT.h MTpredicate.h
99     BulkLoad.o: MT.h ../GiST/GiST.h GiSTdefs.h ../GiST/GiSTentry.h
100     BulkLoad.o: ../GiST/GiSTpredicate.h ../GiST/GiSTlist.h ../GiST/GiSTnode.h
101     BulkLoad.o: ../GiST/GiSTpath.h ../GiST/GiSTstore.h ../GiST/GiSTcursor.h
102     BulkLoad.o: MTfile.h MTnode.h MTentry.h MTobject.h ../object.h ../PMT.h
103     BulkLoad.o: MTcursor.h list.h