[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / plugin

Annotation of OpenXM/src/kan96xx/plugin/Makefile, Revision 1.11

1.11    ! takayama    1: ## $OpenXM: OpenXM/src/kan96xx/plugin/Makefile,v 1.10 2000/02/01 04:24:20 takayama Exp $
1.4       maekawa     2:
1.5       maekawa     3: OPENXM=../../../../OpenXM
1.4       maekawa     4: OPEMXM_CONTRIB=../../../../OpenXM_contrib
                      5: GC=$(OPEMXM_CONTRIB)/gc
                      6: GMP=$(OPEMXM_CONTRIB)/gmp
1.5       maekawa     7: KAN96XX=$(OPENXM)/src/kan96xx
1.4       maekawa     8:
1.9       takayama    9: #AR=/usr/bin/ar
                     10: AR=ar
1.4       maekawa    11: RM=/bin/rm
1.3       takayama   12:
1.10      takayama   13: DDD=-D_BSD_SOURCE
                     14:
1.3       takayama   15: CC=gcc
1.10      takayama   16: #CFLAGS+=-g -I$(GMP) -I../Kan
                     17: CFLAGS=-g -I$(GMP) -I../Kan
1.4       maekawa    18:
1.11    ! takayama   19: all: all-gc asirconv.a cmo.a file2.a ox.a sample.a sm1Socket.a
1.7       takayama   20:
1.8       takayama   21: ## .SUFFIXES:
1.4       maekawa    22:
                     23: clean:
                     24:        $(RM) -f *.a *.o a.out cmo.h cmotag.hh cmotagToName cmptag.htmp \
                     25:                 ox.h ox.hh ox_kan.h
1.5       maekawa    26:
                     27: all-gc:
                     28:        (cd $(KAN96XX) ; make all-gc)
1.4       maekawa    29:
                     30: asirconv.a: asirconv.o
1.9       takayama   31:        $(AR) ru $@ $?
                     32:        $(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@
1.4       maekawa    33:
                     34: asirconv.o: asir.h asir.hh asirconv.c
                     35:
                     36: cmo.a: cmo.o cmo-gmp.o
1.9       takayama   37:        $(AR) ru $@ $?
                     38:        $(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@
1.4       maekawa    39:
                     40: cmo.o: cmo.h cmo.c cmo-gmp.c file2.h mathcap.h cmotag.htmp \
                     41:        oxMessageTag.h oxFunctionId.h
                     42:
                     43: cmo-gmp.o: cmo.h cmo.c cmo-gmp.c file2.h mathcap.h cmotag.htmp \
                     44:        oxMessageTag.h oxFunctionId.h
                     45:        $(CC) $(CFLAGS) -I$(GMP)/mpn -c cmo-gmp.c
                     46:
                     47: cmotag.htmp: cmotagToName
                     48:        $(RM) -f cmotag.htmp
                     49:        ./cmotagToName > cmotag.htmp
                     50:
                     51: cmotagToName: cmotag.h cmotagToName.c
                     52:        $(CC) -o cmotagToName cmotagToName.c
1.3       takayama   53:
1.4       maekawa    54: cmo.h: cmo0.h cmotag.h
                     55:        @echo "Making cmo.h"
                     56:        @$(RM) -f cmo.h
                     57:        @echo "/********* DO NOT EDIT THIS FILE *************/" > cmo.h
                     58:        @cat cmotag.h cmo0.h >> cmo.h
1.1       maekawa    59:
1.4       maekawa    60: file2.a: file2.o
1.9       takayama   61:        $(AR) ru $@ $?
                     62:        $(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@
1.3       takayama   63:
1.4       maekawa    64: file2.o: file2.h file2.c
1.1       maekawa    65:
1.4       maekawa    66: ox.a: mytcpio.o oxmisc.o oxmisc2.o
1.6       maekawa    67:        $(AR) ru $@ $?
                     68:        $(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@
1.3       takayama   69:
1.4       maekawa    70: ox.h: oxx.h
                     71:        @echo "Making ox.h"
                     72:        @echo "/********* DO NOT EDIT THIS FILE *************/" > ox.h
                     73:        @cat oxx.h >> ox.h
1.1       maekawa    74:
1.4       maekawa    75: ox.hh: oxx.hh
                     76:        @echo "Making ox.hh"
                     77:        @$(RM) -f ox.hh
                     78:        @echo "/********* DO NOT EDIT THIS FILE *************/" > ox.hh
                     79:        @cat oxx.hh >> ox.hh
1.1       maekawa    80:
1.3       takayama   81:
1.4       maekawa    82: ox_kan.h: cmotag.h file2.h mathcap.h oxFunctionId.h oxMessageTag.h oxKan0.h
                     83:        @echo "Making ox_kan.h"
                     84:        @$(RM) -f ox_kan.h
                     85:        @echo "/********* DO NOT EDIT THIS FILE *************/" > ox_kan.h
                     86:        @cat mathcap.h file2.h cmotag.h oxMessageTag.h oxFunctionId.h \
                     87:            oxKan0.h >> ox_kan.h
1.1       maekawa    88:
1.4       maekawa    89: mytcpio.o: ox.h ox.hh ox_kan.h mytcpio.c
                     90: oxmisc.o: ox.h ox.hh ox_kan.h oxmisc.c
                     91: oxmisc2.o: cmo.h mathcap.h ox.h ox.hh ox_kan.h oxmisc2.c
                     92:
                     93: sample.a: sample.o
1.9       takayama   94:        $(AR) ru $@ $?
                     95:        $(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@
1.4       maekawa    96:
                     97: sample.o: sample.h sample.hh sample.c
                     98:
                     99: sm1Socket.a: sm1Socket.o
1.9       takayama  100:        $(AR) ru sm1Socket.a sm1Socket.o
                    101:        $(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib sm1Socket.a
1.1       maekawa   102:
1.4       maekawa   103: sm1Socket.o: sm1Socket.h sm1Socket.hh sm1Socket.c
1.1       maekawa   104:
1.4       maekawa   105: sm1pvm.a: sm1pvm.o
1.9       takayama  106:        $(AR) ru $@ $?
                    107:        $(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@
1.3       takayama  108:
1.4       maekawa   109: sm1pvm.o: sm1pvm.h sm1pvm.hh sm1pvm.c
                    110:        $(CC) $(CFLAGS) -I $(PVM_ROOT)/include -c sm1pvm.c
1.1       maekawa   111:
1.4       maekawa   112: all0: ak.a libasir.a
1.1       maekawa   113:
1.4       maekawa   114: ak.a:
                    115: #      ln -s /fuji/taka/noro/ak.a
                    116:        ln -s /dosc/work/noro/ak.a
1.1       maekawa   117:
1.4       maekawa   118: libasir.a:
                    119: #      ln -s /fuji/taka/noro/libasir.a
                    120:        ln -s /dosc/work/noro/libasir.a
1.1       maekawa   121:
1.4       maekawa   122: .c.o:
1.10      takayama  123:        $(CC) $(CFLAGS) ${DDD} -c $<
1.2       takayama  124:
1.9       takayama  125: # GNU make only.
                    126: #.o.a:
                    127: #      $(AR) ru $@ $?
                    128: #      $(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>