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 |
CPP = $(CXX) -fpic |
29 |
|
30 |
CFLAGS = -DUNIX |
31 |
|
32 |
INCS = -I../GiST |
33 |
|
34 |
LINKER = $(CXX) |
35 |
|
36 |
SRCS = MTfile.cpp MTentry.cpp MTnode.cpp MTpredicate.cpp MTobject.cpp MT.cpp MTcursor.cpp BulkLoad.cpp # Main.cpp |
37 |
|
38 |
OBJS = MTfile.o MTentry.o MTnode.o MTpredicate.o MTobject.o MT.o MTcursor.o BulkLoad.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 |
$(PROGRAM): $(OBJS) $(LIBS) |
51 |
$(LINKER) -o $(PROGRAM) $(LDFLAGS) $(OBJS) $(LIBS) |
52 |
|
53 |
gen: |
54 |
$(CPP) -o generate $(CFLAGS) $(INCS) $(LDFLAGS) generate.cpp |
55 |
|
56 |
depend: |
57 |
makedepend -Y $(DEFINES) $(INCS) $(SRCS) |
58 |
|
59 |
.SUFFIXES: .cpp |
60 |
|
61 |
.cpp.o: |
62 |
$(CPP) -c $(CFLAGS) $(OPTIMIZE) $(INCS) $< |
63 |
|
64 |
clean: |
65 |
rm -f $(OBJS) $(PROGRAM) libMT.a |
66 |
|
67 |
install: $(PROGRAM) |
68 |
echo Installing $(PROGRAM) in $(DEST) |
69 |
install -s $(PROGRAM) $(DEST) |
70 |
# DO NOT DELETE |
71 |
|
72 |
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 |
MTnode.o: ../GiST/GiSTpredicate.h ../GiST/GiSTlist.h ../GiST/GiSTnode.h |
80 |
MTnode.o: ../GiST/GiSTpath.h ../GiST/GiSTstore.h ../GiST/GiSTcursor.h |
81 |
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 |