version 1.10, 2000/09/17 03:12:11 |
version 1.11, 2000/12/25 06:19:11 |
|
|
### $OpenXM: OpenXM/src/kan96xx/Kan/Makefile,v 1.9 2000/03/14 07:52:36 takayama Exp $ |
### $OpenXM: OpenXM/src/kan96xx/Kan/Makefile,v 1.10 2000/09/17 03:12:11 takayama Exp $ |
all : sm1 |
all : sm1 |
# .SUFFIXES: |
# .SUFFIXES: |
########################## configuration ############################## |
########################## configuration ############################## |
OpenXM_HOME=../../../../OpenXM |
TOPDIR=../../../../OpenXM |
|
OpenXM_HOME=${TOPDIR} |
OpenXM_include=$(OpenXM_HOME)/include |
OpenXM_include=$(OpenXM_HOME)/include |
#### What C compiler do you use? |
#### What C compiler do you use? |
CC = gcc |
CC = gcc |
#### Gargabe collector? If GC = nogc.c, then you need to define -DNOGC. |
#### Gargabe collector? If GC = nogc.c, then you need to define -DNOGC. |
GC = ../gc/gc.a |
GC = $(OpenXM_HOME)/lib/libgc.a |
#GC = nogc.c |
#GC = nogc.c |
#### -D options |
#### -D options |
DDD = -D_BSD_SOURCE |
DDD = -D_BSD_SOURCE |
Line 128 ext.o : extern2.h $(HEADERS) plugin.h plugin.hh |
|
Line 129 ext.o : extern2.h $(HEADERS) plugin.h plugin.hh |
|
|
|
MSG0 = msg0.o |
MSG0 = msg0.o |
|
|
sm1 : sm.c $(kanlibS1) $(kanlibS2) $(kanlibS3) $(kanlibS4) $(kanlibP) $(kanlibK) $(kanlibK2) $(kanlibKclass) $(PLUGIN_LIB) $(GC) |
sm1 : sm.c $(kanlibS1) $(kanlibS2) $(kanlibS3) $(kanlibS4) $(kanlibP) $(kanlibK) $(kanlibK2) $(kanlibKclass) $(PLUGIN_LIB) ${GC} |
if test `uname` = "SunOS" ; \ |
if test `uname` = "SunOS" ; \ |
then \ |
then \ |
$(CC) -I$(OpenXM_include) $(CFLAGS) $(DDD) -o sm1 sm.c $(kanlibS1) $(kanlibS2) $(kanlibS3) $(kanlibS4) $(kanlibP) $(kanlibK) $(kanlibK2) $(kanlibKclass) $(PLUGIN_LIB) $(LIBGMP) $(GC) $(PLUGIN_LINKFLAG) $(SOLARISLIB) ; \ |
$(CC) -I$(OpenXM_include) $(CFLAGS) $(DDD) -o sm1 sm.c $(kanlibS1) $(kanlibS2) $(kanlibS3) $(kanlibS4) $(kanlibP) $(kanlibK) $(kanlibK2) $(kanlibKclass) $(PLUGIN_LIB) $(LIBGMP) ${GC} $(PLUGIN_LINKFLAG) $(SOLARISLIB) ; \ |
else \ |
else \ |
$(CC) ${STATIC_LINK_FLAG} -I$(OpenXM_include) $(CFLAGS) $(DDD) -o sm1 sm.c $(kanlibS1) $(kanlibS2) $(kanlibS3) $(kanlibS4) $(kanlibP) $(kanlibK) $(kanlibK2) $(kanlibKclass) $(PLUGIN_LIB) $(LIBGMP) $(GC) $(PLUGIN_LINKFLAG) ; \ |
$(CC) ${STATIC_LINK_FLAG} -I$(OpenXM_include) $(CFLAGS) $(DDD) -o sm1 sm.c $(kanlibS1) $(kanlibS2) $(kanlibS3) $(kanlibS4) $(kanlibP) $(kanlibK) $(kanlibK2) $(kanlibKclass) $(PLUGIN_LIB) $(LIBGMP) ${GC} $(PLUGIN_LINKFLAG) ; \ |
fi |
fi |
|
|
|
|
Line 170 mklookup : mklookup.c |
|
Line 171 mklookup : mklookup.c |
|
$(CC) -I$(OpenXM_include) -o mklookup mklookup.c |
$(CC) -I$(OpenXM_include) -o mklookup mklookup.c |
|
|
############# sm1 stack machine without algebraic part. |
############# sm1 stack machine without algebraic part. |
sm00 : sm.c $(kanlibS1) $(kanlibS2) $(kanlibP) $(PLUGIN_LIB) $(GC) |
sm00 : sm.c $(kanlibS1) $(kanlibS2) $(kanlibP) $(PLUGIN_LIB) ${GC} |
$(CC) -I$(OpenXM_include) $(CFLAGS) $(DDD) -o sm00 sm.c $(kanlibS1) $(kanlibS2) $(PLUGIN_LIB) $(LIBGMP) $(GC) $(PLUGIN_LINKFLAG) $(SOLARISLIB) |
$(CC) -I$(OpenXM_include) $(CFLAGS) $(DDD) -o sm00 sm.c $(kanlibS1) $(kanlibS2) $(PLUGIN_LIB) $(LIBGMP) ${GC} $(PLUGIN_LINKFLAG) $(SOLARISLIB) |
|
|
############### plugins |
############### plugins |
plugin.hh : Makefile $(PLUGIN_EXT) |
plugin.hh : Makefile $(PLUGIN_EXT) |