version 1.5, 1999/11/07 06:45:26 |
version 1.13, 1999/12/14 06:41:03 |
|
|
######### configurations. |
######### configurations. |
## $OpenXM: OpenXM/src/kxx/Makefile,v 1.4 1999/11/03 00:22:50 takayama Exp $ |
## $OpenXM: OpenXM/src/kxx/Makefile,v 1.12 1999/12/13 07:55:23 takayama Exp $ |
KANHOME = ../SSkan |
KANHOME = ../SSkan |
|
|
LFLAG = |
LFLAG = |
|
|
### Set the server name in oxmain.c if you do not use the environmental |
### Set the server name in oxmain.c if you do not use the environmental |
### variable LOAD_SM1_PATH. cf. $KANHOME/lib/ox.sm1 |
### variable LOAD_SM1_PATH. cf. $KANHOME/lib/ox.sm1 |
|
|
all : all-plugin kanlib.a ox ox_sm1 oxlog |
all : all-plugin kanlib.a ox ox_sm1 oxlog oxweave |
|
|
all2 : all-plugin kanlib.a ox ox_sm1 testclient oxlog |
all2 : all-plugin kanlib.a ox ox_sm1 testclient oxlog |
|
|
Line 65 ox_sm1 : oxserver00.c sm1stackmachine.o ox_kan.h ox.a |
|
Line 65 ox_sm1 : oxserver00.c sm1stackmachine.o ox_kan.h ox.a |
|
oxlog : oxlog.c |
oxlog : oxlog.c |
gcc -o oxlog oxlog.c |
gcc -o oxlog oxlog.c |
|
|
|
oxweave : oxweave.c oxweaveUsage.h |
|
gcc -o oxweave -g oxweave.c |
|
|
## file2.c file2.h is in SSkan/plugin/ |
## file2.c file2.h is in SSkan/plugin/ |
file2.o : $(KANHOME)/plugin/file2.c $(KANHOME)/plugin/file2.h |
file2.o : $(KANHOME)/plugin/file2.c $(KANHOME)/plugin/file2.h |
gcc $(CFLAGS) -DKXX=1 -I$(KANHOME)/plugin -c $(KANHOME)/plugin/file2.c |
gcc $(CFLAGS) -DKXX=1 -I$(KANHOME)/plugin -c $(KANHOME)/plugin/file2.c |
Line 76 testclient : testclient.c ox.a file2.o ox_kan.h |
|
Line 79 testclient : testclient.c ox.a file2.o ox_kan.h |
|
gcc $(CFLAGS) testclient.c -o testclient ox.a file2.o $(LFLAG) |
gcc $(CFLAGS) testclient.c -o testclient ox.a file2.o $(LFLAG) |
|
|
|
|
KANLIB = $(KANHOME)/Kan/kanlib.a $(KANHOME)/gmp/libgmp.a $(KANHOME)/gmp/mpn/libmpn.a $(KANHOME)/gc/gc.a |
#KANLIB = $(KANHOME)/Kan/kanlib.a $(KANHOME)/gmp/libgmp.a $(KANHOME)/gmp/mpn/libmpn.a $(KANHOME)/gc/gc.a |
|
KANLIB = $(KANHOME)/Kan/kanlib.a $(KANHOME)/gmp/libgmp.a $(KANHOME)/gc/gc.a |
|
|
## file2 should be linked from kanlib.a |
## file2 should be linked from kanlib.a |
|
|
Line 88 testclient2 : testclient2.c ox_kan.h $(KANHOME)/Kan/k |
|
Line 92 testclient2 : testclient2.c ox_kan.h $(KANHOME)/Kan/k |
|
|
|
|
|
clean : |
clean : |
/bin/rm -f ox testclient ox_null ox_sm1 testclient2 core *.o a.out *.dvi *.aux openxxx.log ox_sm1 oxlog *~ |
/bin/rm -f ox testclient ox_null ox_sm1 testclient2 core *.o a.out *.dvi *.aux openxxx.log ox_sm1 oxlog *~ oxweave |
|
|
BACKUPDIR = Old/19980112 |
BACKUPDIR = Old/19980112 |
backup : |
backup : |
Line 124 install_lib_bin : |
|
Line 128 install_lib_bin : |
|
ln -f -s ./ox_sm1 $(KANHOME)/lib/bin/ox_sm1_basicCD |
ln -f -s ./ox_sm1 $(KANHOME)/lib/bin/ox_sm1_basicCD |
|
|
install : install_lib_bin |
install : install_lib_bin |
/bin/rm -f ../bin/ox ../bin/ox_sm1 ../bin/oxlog |
/bin/rm -f ../bin/ox ../bin/ox_sm1 ../bin/oxlog ../bin/oxweave |
cp ox ox_sm1 oxlog ../bin |
cp ox ox_sm1 oxlog oxweave ../bin |
|
|
install2 : install_lib_bin |
install2 : install_lib_bin |
/bin/rm -f ../bin/ox ../bin/ox_sm1 ../bin/oxlog |
/bin/rm -f ../bin/ox ../bin/ox_sm1 ../bin/oxlog ../bin/oxweave |
ln -f -s ../src/kxx/ox ../bin/ox |
ln -f -s ../src/kxx/ox ../bin/ox |
ln -f -s ../src/kxx/ox_sm1 ../bin/ox_sm1 |
ln -f -s ../src/kxx/ox_sm1 ../bin/ox_sm1 |
ln -f -s ../src/kxx/oxlog ../bin/oxlog |
ln -f -s ../src/kxx/oxlog ../bin/oxlog |
|
ln -f -s ../src/kxx/oxweave ../bin/oxweave |
|
|
|
|
|
configure: |
|
/bin/rm -f ox_kan.h |
|
ln -f -s ../SSkan/plugin/ox_kan.h ox_kan.h |
|
|
|
|
clean-binary : |
clean-binary : |