-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
executable file
·55 lines (36 loc) · 1.06 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
50
51
52
53
54
55
# Main Makefile #
include config.mk
####################
# EJB versions #
####################
db_id:
cd EJB_DB_id ; make all
eb_id:
cd EJB_EntityBean_id ; make all
#########################
# Servlets version #
#########################
servlets:
cd Servlets ; make all
####################
# Client #
####################
client:
cd Client ; make all
initDB:
${JAVA} -classpath ./Client/:./Client/build/RUBiS-1.0/:./database edu.rice.rubis.client.InitDB ${PARAM}
emulator:
${JAVA} -classpath ./Client/:./Client/build/RUBiS-1.0/:. edu.rice.rubis.client.ClientEmulator
############################
# Global rules #
############################
DIRS = Client Servlets EJB_DB_id EJB_EntityBean_id EJB_SessionBean EJB_Session_facade
all: flush_cache
-for d in ${DIRS}; do (cd $$d ; ${MAKE} all); done
world: all javadoc
javadoc :
-for d in ${DIRS}; do (cd $$d ; ${MAKE} javadoc); done
clean:
-for d in ${DIRS}; do (cd $$d ; ${MAKE} clean); done
flush_cache: bench/flush_cache.c
gcc bench/flush_cache.c -o bench/flush_cache