=================================================================== RCS file: /home/cvs/OpenXM/src/kxx/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -p -r1.2 -r1.3 --- OpenXM/src/kxx/Makefile.in 2000/03/11 01:18:25 1.2 +++ OpenXM/src/kxx/Makefile.in 2000/03/13 06:46:39 1.3 @@ -1,4 +1,4 @@ -## $OpenXM: OpenXM/src/kxx/Makefile.in,v 1.1 2000/02/01 09:59:43 takayama Exp $ +## $OpenXM: OpenXM/src/kxx/Makefile.in,v 1.2 2000/03/11 01:18:25 takayama Exp $ ## Targets : ## all : generates ox oxlog ox_sm1 oxweave ## install : copy the binaries to $(OpenXM_bin), @@ -21,7 +21,8 @@ RANLIB=@RANLIB@ LIBS=@LIBS@ CFLAGS = -g DDD=-D_BSD_SOURCE -LINKFLAG=-static +#STATIC_LINK_FLAG=-static +STATIC_LINK_FLAG=-static ########## end of configurations ### Set the server name in oxmain.c if you do not use the environmental @@ -60,19 +61,19 @@ ox_kan.h : $(KANHOME)/plugin/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 - $(CC) ${LINKFLAG} $(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 - $(CC) ${LINKFLAG} $(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 - $(CC) ${LINKFLAG} $(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 - $(CC) ${LINKFLAG} ${DDD} -o oxlog oxlog.c + $(CC) ${STATIC_LINK_FLAG} ${DDD} -o oxlog oxlog.c oxweave : oxweave.c oxweaveUsage.h - $(CC) ${LINKFLAG} ${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.o : $(KANHOME)/plugin/file2.c $(KANHOME)/plugin/file2.h