forked from abakre5/Advance-Database-System
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
49 lines (36 loc) · 1.33 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#This Makefile is used to create assignments.
#the following macros should be updated according to
#the assignment to be generated
JARFILES=bufmgr/*.class diskmgr/*.class global/*.class iterator/*.class\
heap/*.class chainexception/*.class btree/*.class index/*.class tests/*.class
JDKPATH =/usr/lib/jvm/default-java
LIBPATH = .:..
CLASSPATH = $(LIBPATH)
BINPATH = $(JDKPATH)/bin
JAVAC = $(JDKPATH)/bin/javac -classpath $(CLASSPATH)
JAVA = $(JDKPATH)/bin/java -classpath $(CLASSPATH)
DOCFILES=bufmgr diskmgr global chainexception heap btree iterator index
############## update the above for each assignment in making
ASSIGN=D:\ASU\CourseWorkRepo\CSE 510 - DMSI\minjava\javaminibase\src
LIBDIR=$(ASSIGN)/lib
KEY=$(ASSIGN)/key
SRC=$(ASSIGN)/src
IMAGELINK=$(PACKAGEINDEX)/images
PACKAGEINDEX=$(ASSIGN)/javadoc
JAVADOC=javadoc -public -d $(PACKAGEINDEX)
### Generate jar and javadoc files. Apply to most assignments.
db:
make -C global
make -C chainexception
make -C btree
make -C bufmgr
make -C diskmgr
make -C heap
make -C index
make -C iterator
doc:
$(JAVADOC) $(DOCFILES)
test:
cd tests; make dominatestest comparetuplepreftest bmtest dbtest; whoami; make hftest bttest indextest jointest sorttest sortmerge
clean:
\rm -f $(CLASSPATH)/*.class *~ \#* core $(JARFILES) TRACE