| version 1.6, 2000/01/10 19:45:33 |
version 1.11, 2000/09/17 03:12:11 |
|
|
| ## $OpenXM: OpenXM/src/kan96xx/plugin/Makefile,v 1.5 2000/01/10 19:21:17 maekawa Exp $ |
## $OpenXM: OpenXM/src/kan96xx/plugin/Makefile,v 1.10 2000/02/01 04:24:20 takayama Exp $ |
| |
|
| OPENXM=../../../../OpenXM |
OPENXM=../../../../OpenXM |
| OPEMXM_CONTRIB=../../../../OpenXM_contrib |
OPEMXM_CONTRIB=../../../../OpenXM_contrib |
| Line 6 GC=$(OPEMXM_CONTRIB)/gc |
|
| Line 6 GC=$(OPEMXM_CONTRIB)/gc |
|
| GMP=$(OPEMXM_CONTRIB)/gmp |
GMP=$(OPEMXM_CONTRIB)/gmp |
| KAN96XX=$(OPENXM)/src/kan96xx |
KAN96XX=$(OPENXM)/src/kan96xx |
| |
|
| AR=/usr/bin/ar |
#AR=/usr/bin/ar |
| |
AR=ar |
| RM=/bin/rm |
RM=/bin/rm |
| |
|
| |
DDD=-D_BSD_SOURCE |
| |
|
| CC=gcc |
CC=gcc |
| CFLAGS+=-g -I$(GMP) -I../Kan |
#CFLAGS+=-g -I$(GMP) -I../Kan |
| |
CFLAGS=-g -I$(GMP) -I../Kan |
| |
|
| all: all-gc all-gmp asirconv.a cmo.a file2.a ox.a sample.a sm1Socket.a |
all: all-gc asirconv.a cmo.a file2.a ox.a sample.a sm1Socket.a |
| |
|
| |
## .SUFFIXES: |
| |
|
| clean: |
clean: |
| $(RM) -f *.a *.o a.out cmo.h cmotag.hh cmotagToName cmptag.htmp \ |
$(RM) -f *.a *.o a.out cmo.h cmotag.hh cmotagToName cmptag.htmp \ |
| ox.h ox.hh ox_kan.h |
ox.h ox.hh ox_kan.h |
|
|
| all-gc: |
all-gc: |
| (cd $(KAN96XX) ; make all-gc) |
(cd $(KAN96XX) ; make all-gc) |
| |
|
| all-gmp: |
|
| (cd $(KAN96XX) ; make all-gmp) |
|
| |
|
| asirconv.a: asirconv.o |
asirconv.a: asirconv.o |
| |
$(AR) ru $@ $? |
| |
$(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@ |
| |
|
| asirconv.o: asir.h asir.hh asirconv.c |
asirconv.o: asir.h asir.hh asirconv.c |
| |
|
| cmo.a: cmo.o cmo-gmp.o |
cmo.a: cmo.o cmo-gmp.o |
| |
$(AR) ru $@ $? |
| |
$(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@ |
| |
|
| cmo.o: cmo.h cmo.c cmo-gmp.c file2.h mathcap.h cmotag.htmp \ |
cmo.o: cmo.h cmo.c cmo-gmp.c file2.h mathcap.h cmotag.htmp \ |
| oxMessageTag.h oxFunctionId.h |
oxMessageTag.h oxFunctionId.h |
| Line 51 cmo.h: cmo0.h cmotag.h |
|
| Line 58 cmo.h: cmo0.h cmotag.h |
|
| @cat cmotag.h cmo0.h >> cmo.h |
@cat cmotag.h cmo0.h >> cmo.h |
| |
|
| file2.a: file2.o |
file2.a: file2.o |
| |
$(AR) ru $@ $? |
| |
$(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@ |
| |
|
| file2.o: file2.h file2.c |
file2.o: file2.h file2.c |
| |
|
| Line 82 oxmisc.o: ox.h ox.hh ox_kan.h oxmisc.c |
|
| Line 91 oxmisc.o: ox.h ox.hh ox_kan.h oxmisc.c |
|
| oxmisc2.o: cmo.h mathcap.h ox.h ox.hh ox_kan.h oxmisc2.c |
oxmisc2.o: cmo.h mathcap.h ox.h ox.hh ox_kan.h oxmisc2.c |
| |
|
| sample.a: sample.o |
sample.a: sample.o |
| |
$(AR) ru $@ $? |
| |
$(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@ |
| |
|
| sample.o: sample.h sample.hh sample.c |
sample.o: sample.h sample.hh sample.c |
| |
|
| sm1Socket.a: sm1Socket.o |
sm1Socket.a: sm1Socket.o |
| |
$(AR) ru sm1Socket.a sm1Socket.o |
| |
$(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib sm1Socket.a |
| |
|
| sm1Socket.o: sm1Socket.h sm1Socket.hh sm1Socket.c |
sm1Socket.o: sm1Socket.h sm1Socket.hh sm1Socket.c |
| |
|
| sm1pvm.a: sm1pvm.o |
sm1pvm.a: sm1pvm.o |
| |
$(AR) ru $@ $? |
| |
$(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@ |
| |
|
| sm1pvm.o: sm1pvm.h sm1pvm.hh sm1pvm.c |
sm1pvm.o: sm1pvm.h sm1pvm.hh sm1pvm.c |
| $(CC) $(CFLAGS) -I $(PVM_ROOT)/include -c sm1pvm.c |
$(CC) $(CFLAGS) -I $(PVM_ROOT)/include -c sm1pvm.c |
|
|
| ln -s /dosc/work/noro/libasir.a |
ln -s /dosc/work/noro/libasir.a |
| |
|
| .c.o: |
.c.o: |
| $(CC) $(CFLAGS) -c $< |
$(CC) $(CFLAGS) ${DDD} -c $< |
| |
|
| .o.a: |
# GNU make only. |
| $(AR) ru $@ $? |
#.o.a: |
| $(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@ |
# $(AR) ru $@ $? |
| |
# $(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@ |