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

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

1.10    ! takayama    1: ## $OpenXM: OpenXM/src/kan96xx/plugin/Makefile,v 1.9 2000/01/19 06:25:47 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.5       maekawa    19: all: all-gc all-gmp 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)
                     29:
                     30: all-gmp:
                     31:        (cd $(KAN96XX) ; make all-gmp)
1.4       maekawa    32:
                     33: asirconv.a: asirconv.o
1.9       takayama   34:        $(AR) ru $@ $?
                     35:        $(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@
1.4       maekawa    36:
                     37: asirconv.o: asir.h asir.hh asirconv.c
                     38:
                     39: cmo.a: cmo.o cmo-gmp.o
1.9       takayama   40:        $(AR) ru $@ $?
                     41:        $(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@
1.4       maekawa    42:
                     43: cmo.o: cmo.h cmo.c cmo-gmp.c file2.h mathcap.h cmotag.htmp \
                     44:        oxMessageTag.h oxFunctionId.h
                     45:
                     46: cmo-gmp.o: cmo.h cmo.c cmo-gmp.c file2.h mathcap.h cmotag.htmp \
                     47:        oxMessageTag.h oxFunctionId.h
                     48:        $(CC) $(CFLAGS) -I$(GMP)/mpn -c cmo-gmp.c
                     49:
                     50: cmotag.htmp: cmotagToName
                     51:        $(RM) -f cmotag.htmp
                     52:        ./cmotagToName > cmotag.htmp
                     53:
                     54: cmotagToName: cmotag.h cmotagToName.c
                     55:        $(CC) -o cmotagToName cmotagToName.c
1.3       takayama   56:
1.4       maekawa    57: cmo.h: cmo0.h cmotag.h
                     58:        @echo "Making cmo.h"
                     59:        @$(RM) -f cmo.h
                     60:        @echo "/********* DO NOT EDIT THIS FILE *************/" > cmo.h
                     61:        @cat cmotag.h cmo0.h >> cmo.h
1.1       maekawa    62:
1.4       maekawa    63: file2.a: file2.o
1.9       takayama   64:        $(AR) ru $@ $?
                     65:        $(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@
1.3       takayama   66:
1.4       maekawa    67: file2.o: file2.h file2.c
1.1       maekawa    68:
1.4       maekawa    69: ox.a: mytcpio.o oxmisc.o oxmisc2.o
1.6       maekawa    70:        $(AR) ru $@ $?
                     71:        $(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@
1.3       takayama   72:
1.4       maekawa    73: ox.h: oxx.h
                     74:        @echo "Making ox.h"
                     75:        @echo "/********* DO NOT EDIT THIS FILE *************/" > ox.h
                     76:        @cat oxx.h >> ox.h
1.1       maekawa    77:
1.4       maekawa    78: ox.hh: oxx.hh
                     79:        @echo "Making ox.hh"
                     80:        @$(RM) -f ox.hh
                     81:        @echo "/********* DO NOT EDIT THIS FILE *************/" > ox.hh
                     82:        @cat oxx.hh >> ox.hh
1.1       maekawa    83:
1.3       takayama   84:
1.4       maekawa    85: ox_kan.h: cmotag.h file2.h mathcap.h oxFunctionId.h oxMessageTag.h oxKan0.h
                     86:        @echo "Making ox_kan.h"
                     87:        @$(RM) -f ox_kan.h
                     88:        @echo "/********* DO NOT EDIT THIS FILE *************/" > ox_kan.h
                     89:        @cat mathcap.h file2.h cmotag.h oxMessageTag.h oxFunctionId.h \
                     90:            oxKan0.h >> ox_kan.h
1.1       maekawa    91:
1.4       maekawa    92: mytcpio.o: ox.h ox.hh ox_kan.h mytcpio.c
                     93: oxmisc.o: ox.h ox.hh ox_kan.h oxmisc.c
                     94: oxmisc2.o: cmo.h mathcap.h ox.h ox.hh ox_kan.h oxmisc2.c
                     95:
                     96: sample.a: sample.o
1.9       takayama   97:        $(AR) ru $@ $?
                     98:        $(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@
1.4       maekawa    99:
                    100: sample.o: sample.h sample.hh sample.c
                    101:
                    102: sm1Socket.a: sm1Socket.o
1.9       takayama  103:        $(AR) ru sm1Socket.a sm1Socket.o
                    104:        $(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib sm1Socket.a
1.1       maekawa   105:
1.4       maekawa   106: sm1Socket.o: sm1Socket.h sm1Socket.hh sm1Socket.c
1.1       maekawa   107:
1.4       maekawa   108: sm1pvm.a: sm1pvm.o
1.9       takayama  109:        $(AR) ru $@ $?
                    110:        $(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@
1.3       takayama  111:
1.4       maekawa   112: sm1pvm.o: sm1pvm.h sm1pvm.hh sm1pvm.c
                    113:        $(CC) $(CFLAGS) -I $(PVM_ROOT)/include -c sm1pvm.c
1.1       maekawa   114:
1.4       maekawa   115: all0: ak.a libasir.a
1.1       maekawa   116:
1.4       maekawa   117: ak.a:
                    118: #      ln -s /fuji/taka/noro/ak.a
                    119:        ln -s /dosc/work/noro/ak.a
1.1       maekawa   120:
1.4       maekawa   121: libasir.a:
                    122: #      ln -s /fuji/taka/noro/libasir.a
                    123:        ln -s /dosc/work/noro/libasir.a
1.1       maekawa   124:
1.4       maekawa   125: .c.o:
1.10    ! takayama  126:        $(CC) $(CFLAGS) ${DDD} -c $<
1.2       takayama  127:
1.9       takayama  128: # GNU make only.
                    129: #.o.a:
                    130: #      $(AR) ru $@ $?
                    131: #      $(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@

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