version 1.11, 2000/03/13 06:46:38 |
version 1.14, 2000/05/24 15:24:53 |
|
|
# $OpenXM: OpenXM/src/k097/Makefile,v 1.10 2000/03/11 01:18:24 takayama Exp $ |
# $OpenXM: OpenXM/src/k097/Makefile,v 1.13 2000/04/10 05:29:24 takayama Exp $ |
# targets |
# targets |
# all |
# all |
# compile |
# compile |
# intall : all install-lib |
# intall : all install-lib |
# |
# |
# todo : install-lib-for-debug |
# install-for-debug |
# |
# |
BDATE =19970416 |
BDATE =19970416 |
CC = gcc |
CC = gcc |
GC = $(KHOME)/gc/gc.a |
GC = $(KHOME)/gc/gc.a |
OpenXM_lib=../../lib |
OpenXM_lib=../../lib |
DDD=-D_BSD_SOURCE |
DDD=-D_BSD_SOURCE |
STATIC_LINK_FLAG=-static |
#STATIC_LINK_FLAG=-static |
|
STATIC_LINK_FLAG= |
|
|
## Kan source. kan sources must be built up by hand. |
## Kan source. kan sources must be built up by hand. |
KHOME = ../kan96xx |
KHOME = ../kan96xx |
Line 19 KHOME = ../kan96xx |
|
Line 20 KHOME = ../kan96xx |
|
|
|
## |
## |
LOAD_K_PATH ='"/usr/local/lib/k0/"' |
LOAD_K_PATH ='"/usr/local/lib/k0/"' |
LOAD_SM1_PATH2 ='"/home/nobuki/SSkan/Kan/"' |
LOAD_SM1_PATH2 ='"/this_directory_does_not_exists/"' |
## |
## |
GMP_HOME = $(KHOME)/gmp |
GMP_HOME = $(KHOME)/gmp |
LIBGMP=$(GMP_HOME)/libgmp.a |
LIBGMP=$(GMP_HOME)/libgmp.a |
|
|
install : all install-lib |
install : all install-lib |
cp -f k0 d0 ../../bin |
cp -f k0 d0 ../../bin |
|
|
|
install-for-debug : all install-lib-for-debug |
|
rm -f ../../bin/k0 ../../bin/d0 |
|
(cd ../../bin ; ln -s ../src/k097/k0 k0) |
|
(cd ../../bin ; ln -s ../src/k097/d0 d0) |
|
|
install-lib : |
install-lib : |
/bin/rm -rf $(OpenXM_lib)/k097 |
/bin/rm -rf $(OpenXM_lib)/k097 |
mkdir $(OpenXM_lib)/k097 |
mkdir $(OpenXM_lib)/k097 |
cp -f $(KHOME)/Doc/var.sm1 $(OpenXM_lib)/k097 |
cp -f $(KHOME)/Doc/var.sm1 $(OpenXM_lib)/k097 |
cp -rf *.sm1 *.k *.kk debug $(OpenXM_lib)/k097 |
cp -rf *.sm1 *.k *.kk debug $(OpenXM_lib)/k097 |
|
|
install-for-debug : |
install-lib-for-debug : |
/bin/rm -rf $(OpenXM_lib)/k097 |
/bin/rm -rf $(OpenXM_lib)/k097 |
ln -s ../src/k097 $(OpenXM_lib)/k097 |
ln -s ../src/k097 $(OpenXM_lib)/k097 |
|
|