version 1.1, 2000/02/01 09:59:43 |
version 1.5, 2000/09/17 03:12:12 |
|
|
## $OpenXM$ |
## $OpenXM: OpenXM/src/kxx/Makefile.in,v 1.4 2000/03/13 09:04:08 takayama Exp $ |
## Targets : |
## Targets : |
## all : generates ox oxlog ox_sm1 oxweave |
## all : generates ox oxlog ox_sm1 oxweave |
## install : copy the binaries to $(OpenXM_bin), |
## install : copy the binaries to $(OpenXM_bin), |
|
|
LIBS=@LIBS@ |
LIBS=@LIBS@ |
CFLAGS = -g |
CFLAGS = -g |
DDD=-D_BSD_SOURCE |
DDD=-D_BSD_SOURCE |
|
#STATIC_LINK_FLAG=-static |
|
STATIC_LINK_FLAG= |
########## end of configurations |
########## end of configurations |
|
|
### 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 |
Line 59 ox_kan.h : $(KANHOME)/plugin/ox_kan.h |
|
Line 61 ox_kan.h : $(KANHOME)/plugin/ox_kan.h |
|
ln -s $(KANHOME)/plugin/ox_kan.h ox_kan.h |
ln -s $(KANHOME)/plugin/ox_kan.h ox_kan.h |
|
|
ox : oxmain.c $(KANHOME)/plugin/mytcpio.o $(KANHOME)/plugin/oxmisc.o file2.o ox_kan.h |
ox : oxmain.c $(KANHOME)/plugin/mytcpio.o $(KANHOME)/plugin/oxmisc.o file2.o ox_kan.h |
$(CC) $(CFLAGS) ${DDD} oxmain.c $(KANHOME)/plugin/mytcpio.o $(KANHOME)/plugin/oxmisc.o file2.o -o ox $(LIBS) |
$(CC) ${STATIC_LINK_FLAG} $(CFLAGS) ${DDD} oxmain.c $(KANHOME)/plugin/mytcpio.o $(KANHOME)/plugin/oxmisc.o file2.o -o ox $(LIBS) |
|
|
ox_null : oxserver00.c ox.a nullstackmachine.o file2.o ox_kan.h |
ox_null : oxserver00.c ox.a nullstackmachine.o file2.o ox_kan.h |
$(CC) $(CFLAGS) ${DDD} oxserver00.c ox.a nullstackmachine.o file2.o -o ox_null $(LIBS) ; \ |
$(CC) ${STATIC_LINK_FLAG} $(CFLAGS) ${DDD} oxserver00.c ox.a nullstackmachine.o file2.o -o ox_null $(LIBS) ; \ |
|
|
ox_sm1 : oxserver00.c sm1stackmachine.o ox_kan.h ox.a $(KANHOME)/Kan/kanlib.a |
ox_sm1 : oxserver00.c sm1stackmachine.o ox_kan.h ox.a $(KANHOME)/Kan/kanlib.a |
$(CC) $(CFLAGS) ${DDD} oxserver00.c sm1stackmachine.o -o ox_sm1 $(LIBS) $(KANLIB) |
$(CC) ${STATIC_LINK_FLAG} $(CFLAGS) ${DDD} oxserver00.c sm1stackmachine.o -o ox_sm1 $(LIBS) $(KANLIB) |
|
|
oxlog : oxlog.c |
oxlog : oxlog.c |
$(CC) ${DDD} -o oxlog oxlog.c |
$(CC) ${STATIC_LINK_FLAG} ${DDD} -o oxlog oxlog.c |
|
|
oxweave : oxweave.c oxweaveUsage.h |
oxweave : oxweave.c oxweaveUsage.h |
$(CC) ${DDD} -o oxweave -g oxweave.c |
$(CC) ${STATIC_LINK_FLAG} ${DDD} -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 |
Line 84 testclient : testclient.c ox.a file2.o ox_kan.h |
|
Line 86 testclient : testclient.c ox.a file2.o ox_kan.h |
|
$(CC) $(CFLAGS) ${DDD} testclient.c -o testclient ox.a file2.o $(LIBS) |
$(CC) $(CFLAGS) ${DDD} testclient.c -o testclient ox.a file2.o $(LIBS) |
|
|
|
|
#KANLIB = $(KANHOME)/Kan/kanlib.a $(KANHOME)/gmp/libgmp.a $(KANHOME)/gmp/mpn/libmpn.a $(KANHOME)/gc/gc.a |
#KANLIB = $(KANHOME)/Kan/kanlib.a $(OpenXM_lib)/libgmp.a $(KANHOME)/gmp/mpn/libmpn.a $(KANHOME)/gc/gc.a |
KANLIB = $(KANHOME)/Kan/kanlib.a $(KANHOME)/gmp/libgmp.a $(KANHOME)/gc/gc.a |
KANLIB = $(KANHOME)/Kan/kanlib.a $(OpenXM_lib)/libgmp.a $(KANHOME)/gc/gc.a |
|
|
## file2 should be linked from kanlib.a |
## file2 should be linked from kanlib.a |
|
|