Annotation of OpenXM/src/kan96xx/plugin/Makefile, Revision 1.4
1.3 takayama 1: ## $OpenXM: OpenXM/src/kan96xx/plugin/Makefile,v 1.2 1999/11/02 12:28:57 takayama Exp $
1.4 ! maekawa 2:
! 3: OPEMXM_CONTRIB=../../../../OpenXM_contrib
! 4: GC=$(OPEMXM_CONTRIB)/gc
! 5: GMP=$(OPEMXM_CONTRIB)/gmp
! 6:
! 7: AR=/usr/bin/ar
! 8: RM=/bin/rm
1.3 takayama 9:
10: CC=gcc
1.4 ! maekawa 11: CFLAGS+=-g -I$(GMP) -I../Kan
! 12:
! 13: all: asirconv.a cmo.a file2.a ox.a sample.a sm1Socket.a
! 14:
! 15: clean:
! 16: $(RM) -f *.a *.o a.out cmo.h cmotag.hh cmotagToName cmptag.htmp \
! 17: ox.h ox.hh ox_kan.h
! 18:
! 19: asirconv.a: asirconv.o
! 20:
! 21: asirconv.o: asir.h asir.hh asirconv.c
! 22:
! 23: cmo.a: cmo.o cmo-gmp.o
! 24:
! 25: cmo.o: cmo.h cmo.c cmo-gmp.c file2.h mathcap.h cmotag.htmp \
! 26: oxMessageTag.h oxFunctionId.h
! 27:
! 28: cmo-gmp.o: cmo.h cmo.c cmo-gmp.c file2.h mathcap.h cmotag.htmp \
! 29: oxMessageTag.h oxFunctionId.h
! 30: $(CC) $(CFLAGS) -I$(GMP)/mpn -c cmo-gmp.c
! 31:
! 32: cmotag.htmp: cmotagToName
! 33: $(RM) -f cmotag.htmp
! 34: ./cmotagToName > cmotag.htmp
! 35:
! 36: cmotagToName: cmotag.h cmotagToName.c
! 37: $(CC) -o cmotagToName cmotagToName.c
1.3 takayama 38:
1.4 ! maekawa 39: cmo.h: cmo0.h cmotag.h
! 40: @echo "Making cmo.h"
! 41: @$(RM) -f cmo.h
! 42: @echo "/********* DO NOT EDIT THIS FILE *************/" > cmo.h
! 43: @cat cmotag.h cmo0.h >> cmo.h
1.1 maekawa 44:
1.4 ! maekawa 45: file2.a: file2.o
1.3 takayama 46:
1.4 ! maekawa 47: file2.o: file2.h file2.c
1.1 maekawa 48:
1.4 ! maekawa 49: ox.a: mytcpio.o oxmisc.o oxmisc2.o
1.3 takayama 50:
1.4 ! maekawa 51: ox.h: oxx.h
! 52: @echo "Making ox.h"
! 53: @echo "/********* DO NOT EDIT THIS FILE *************/" > ox.h
! 54: @cat oxx.h >> ox.h
1.1 maekawa 55:
1.4 ! maekawa 56: ox.hh: oxx.hh
! 57: @echo "Making ox.hh"
! 58: @$(RM) -f ox.hh
! 59: @echo "/********* DO NOT EDIT THIS FILE *************/" > ox.hh
! 60: @cat oxx.hh >> ox.hh
1.1 maekawa 61:
1.3 takayama 62:
1.4 ! maekawa 63: ox_kan.h: cmotag.h file2.h mathcap.h oxFunctionId.h oxMessageTag.h oxKan0.h
! 64: @echo "Making ox_kan.h"
! 65: @$(RM) -f ox_kan.h
! 66: @echo "/********* DO NOT EDIT THIS FILE *************/" > ox_kan.h
! 67: @cat mathcap.h file2.h cmotag.h oxMessageTag.h oxFunctionId.h \
! 68: oxKan0.h >> ox_kan.h
1.1 maekawa 69:
1.4 ! maekawa 70: mytcpio.o: ox.h ox.hh ox_kan.h mytcpio.c
! 71: oxmisc.o: ox.h ox.hh ox_kan.h oxmisc.c
! 72: oxmisc2.o: cmo.h mathcap.h ox.h ox.hh ox_kan.h oxmisc2.c
! 73:
! 74: sample.a: sample.o
! 75:
! 76: sample.o: sample.h sample.hh sample.c
! 77:
! 78: sm1Socket.a: sm1Socket.o
1.1 maekawa 79:
1.4 ! maekawa 80: sm1Socket.o: sm1Socket.h sm1Socket.hh sm1Socket.c
1.1 maekawa 81:
1.4 ! maekawa 82: sm1pvm.a: sm1pvm.o
1.3 takayama 83:
1.4 ! maekawa 84: sm1pvm.o: sm1pvm.h sm1pvm.hh sm1pvm.c
! 85: $(CC) $(CFLAGS) -I $(PVM_ROOT)/include -c sm1pvm.c
1.1 maekawa 86:
1.4 ! maekawa 87: all0: ak.a libasir.a
1.1 maekawa 88:
1.4 ! maekawa 89: ak.a:
! 90: # ln -s /fuji/taka/noro/ak.a
! 91: ln -s /dosc/work/noro/ak.a
1.1 maekawa 92:
1.4 ! maekawa 93: libasir.a:
! 94: # ln -s /fuji/taka/noro/libasir.a
! 95: ln -s /dosc/work/noro/libasir.a
1.1 maekawa 96:
1.4 ! maekawa 97: .c.o:
! 98: $(CC) $(CFLAGS) -c $<
1.2 takayama 99:
1.4 ! maekawa 100: .o.a:
! 101: $(AR) ru $@ $?
! 102: $(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>