forked from melsman/mlkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefileDist
44 lines (38 loc) · 1.05 KB
/
MakefileDist
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
# --------------------------------------
# execute using:
#
# make -f MakefileDist "target"
# --------------------------------------
TESTDATE=`date +%Y-%m-%d`
FLAGS=--with-compiler=`which mlkit`
.PHONY: all
all: mlkit smlserver_odbc smlserver_nodb
.PHONY: mlkit
mlkit:
./autobuild
./configure
$(MAKE) all
$(MAKE) mlkit_i386_tgz
$(MAKE) -C test test_mlkit
$(MAKE) dist_mlkit TESTDATE=$(TESTDATE)
.PHONY: smlserver_odbc
smlserver_odbc:
./autobuild
./configure --enable-SMLserver --with-apxs=`which apxs2` --enable-odbc $(FLAGS)
$(MAKE) smlserver_all
$(MAKE) smlserver_i386_tgz
$(MAKE) dist_smlserver
.PHONY: smlserver_ora
smlserver_ora:
./autobuild
./configure --enable-SMLserver --with-apxs=`which apxs2` --with-oracle=`pwd`/../oracle/instantclient_10_2 $(FLAGS)
$(MAKE) smlserver_all
$(MAKE) smlserver_i386_tgz
$(MAKE) dist_smlserver DBTYPE=ora
.PHONY: smlserver_nodb
smlserver_nodb:
./autobuild
./configure --enable-SMLserver --with-apxs=`which apxs2` $(FLAGS)
$(MAKE) smlserver_all
$(MAKE) smlserver_i386_tgz
$(MAKE) dist_smlserver DBTYPE=nodb