version 1.4, 2000/01/18 09:46:52 |
version 1.8, 2000/03/13 06:46:39 |
|
|
### $OpenXM: OpenXM/src/kan96xx/Kan/Makefile,v 1.3 1999/11/27 13:24:41 takayama Exp $ |
### $OpenXM: OpenXM/src/kan96xx/Kan/Makefile,v 1.7 2000/03/11 01:18:25 takayama Exp $ |
all : sm1 |
all : sm1 |
.SUFFIXES: |
# .SUFFIXES: |
########################## configuration ############################## |
########################## configuration ############################## |
#### 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 = ../gc/gc.a |
##GC = /fuji/taka/noro/libgc.a |
|
##GC = /dosc/work/noro/libgc.a |
|
#GC = nogc.c |
#GC = nogc.c |
#### -D options |
#### -D options |
DDD = |
DDD = -D_BSD_SOURCE |
#DDD = -DNOGC |
#DDD = -DNOGC -D_BSD_SOURCE |
|
STATIC_LINK_FLAG = -static |
|
|
#### Optimization level etc. |
#### Optimization level etc. |
#CFLAGS = |
#CFLAGS = |
Line 132 sm1 : sm.c $(kanlibS1) $(kanlibS2) $(kanlibS3) $(kanl |
|
Line 131 sm1 : sm.c $(kanlibS1) $(kanlibS2) $(kanlibS3) $(kanl |
|
then \ |
then \ |
$(CC) -I$(GMP_HOME) $(CFLAGS) $(DDD) -o sm1 sm.c $(kanlibS1) $(kanlibS2) $(kanlibS3) $(kanlibS4) $(kanlibP) $(kanlibK) $(kanlibK2) $(kanlibKclass) $(PLUGIN_LIB) $(LIBGMP) $(GC) $(PLUGIN_LINKFLAG) $(SOLARISLIB) ; \ |
$(CC) -I$(GMP_HOME) $(CFLAGS) $(DDD) -o sm1 sm.c $(kanlibS1) $(kanlibS2) $(kanlibS3) $(kanlibS4) $(kanlibP) $(kanlibK) $(kanlibK2) $(kanlibKclass) $(PLUGIN_LIB) $(LIBGMP) $(GC) $(PLUGIN_LINKFLAG) $(SOLARISLIB) ; \ |
else \ |
else \ |
$(CC) -I$(GMP_HOME) $(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$(GMP_HOME) $(CFLAGS) $(DDD) -o sm1 sm.c $(kanlibS1) $(kanlibS2) $(kanlibS3) $(kanlibS4) $(kanlibP) $(kanlibK) $(kanlibK2) $(kanlibKclass) $(PLUGIN_LIB) $(LIBGMP) $(GC) $(PLUGIN_LINKFLAG) ; \ |
fi |
fi |
|
|
|
|