[BACK]Return to Makefile.am CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2018

Diff for /OpenXM_contrib2/asir2018/Makefile.am between version 1.4 and 1.6

version 1.4, 2018/09/27 02:39:36 version 1.6, 2020/01/08 17:10:53
Line 1 
Line 1 
 ## $OpenXM: OpenXM_contrib2/asir2018/Makefile.am,v 1.3 2018/09/21 07:06:51 noro Exp $  ## $OpenXM: OpenXM_contrib2/asir2018/Makefile.am,v 1.5 2020/01/04 15:57:08 ohara Exp $
   
 AUTOMAKE_OPTIONS = foreign no-dependencies 1.5  AUTOMAKE_OPTIONS = foreign no-dependencies subdir-objects 1.16
 if USE_PLOT  
     PLOTDIR = plot  
     PLLIB   = plot/libplot.a  
     X11LIB  = @X_LIBS@ -lXaw -lXmu -lXt @X_PRE_LIBS@ @XPMLIB@ -lXext -lX11 @X_EXTRA_LIBS@  
 endif  
   
 SUBDIRS  = asm builtin engine fft include io lib parse ${PLOTDIR}  asirdir   = ${prefix}/lib/asir
   asir_DATA = lib/alpi lib/bfct lib/bgk lib/const lib/cyclic lib/defs.h \
     lib/dfff lib/dmul lib/dmul102 lib/fctrdata lib/fctrtest lib/fff lib/glib \
     lib/gr lib/ifplot lib/katsura lib/mat lib/nf lib/num lib/primdec \
     lib/primdec_lex lib/ratint lib/robot lib/solve lib/sp lib/sturm lib/sym \
     lib/xm lib/primdec_mod lib/weight
   
 asirdir       = ${libdir}/asir  incdir      = ${prefix}/include/asir
 asir_PROGRAMS = asir  inc_HEADERS = parse/comp.h parse/cpp.h parse/parse.h parse/w_stdio.h \
 asir_SOURCES  = parse/main.c    include/al.h include/b.h include/base.h include/bf.h include/ca-27.h \
 asir_LDADD    = libasir.a @ASIR_GCLIB@    include/ca.h include/com.h include/inline.h include/ox.h include/prime.h \
 CLEANFILES    = ${asir_LDADD} asir-openxm-${VERSION}.tgz    include/version.h include/wsio.h include/interval.h
   
 GC_TAR_GZ     = gc-7.4.2.tar.gz  DEFS       = @DEFS@ -DASIR_LIBDIR=\"${asirdir}\"
 GC_PATCH      = gc-7.4.2-risa.diff  AM_CPPFLAGS   = -I${top_srcdir}/include -I${top_srcdir}/parse -I${top_srcdir}/io \
 LIB_ATOMIC     = libatomic_ops-7.4.0                -I${top_srcdir}/gc/include \
 LIB_ATOMIC_TAR_GZ     = ${LIB_ATOMIC}.tar.gz                -I${prefix}/include @X_CFLAGS@
 #GC_TAR_GZ     = ${GC}.tar.gz  
 #GC_PATCH      = gc6.diff gc6-risa.diff  
 GC_MASTER_SITE=http://www.math.kobe-u.ac.jp/pub/OpenXM/misc/  
 OX_FETCH      = ${bindir}/oxfetch.sh  
   
 DEFS     = @DEFS@ -DASIR_LIBDIR=\"${asirdir}\"  ## libasir
 AM_CPPFLAGS = -I${top_srcdir}/include -I${top_srcdir}/parse -I${top_srcdir}/io \  
            -I${prefix}/include @GCINC@ @PARIINC@ @X_CFLAGS@  
   
 GLIB  = @ASIR_GCLIB@  ASM_SRCS = asm/ddM.c asm/ddN.c asm/asmalpha.c
 ALIB  = asm/libasm.a  BUILTIN_SRCS = builtin/ftab.c builtin/algnum.c builtin/array.c \
 BLIB  = builtin/libfunc.a    builtin/cplxnum.c builtin/ctrl.c builtin/dp.c builtin/fctr.c \
 ELIB  = engine/libca.a    builtin/file.c builtin/help.c builtin/int.c builtin/list.c \
 FLIB  = fft/libdft.a    builtin/miscf.c builtin/parif.c builtin/poly.c builtin/pdiv.c \
 IOLIB = io/libio.a    builtin/print.c builtin/pf.c builtin/rat.c builtin/reduct.c \
 PLIB  = parse/libparse.a    builtin/result.c builtin/itvnum.c builtin/mattran.c builtin/isolv.c \
 GMPLIB = -L${libdir} @GMPLIB@    builtin/strobj.c builtin/subst.c builtin/time.c builtin/type.c \
     builtin/var.c builtin/compobj.c builtin/gr.c builtin/dp-supp.c \
     builtin/gf.c builtin/math.c builtin/numerical.c builtin/ec.c \
     builtin/al.c builtin/batch.c builtin/sha1.c builtin/user.c \
     builtin/round.c builtin/iarray.c builtin/bfaux.c
   ENGINE_SRCS = engine/init.c engine/mat.c engine/vect.c engine/str.c \
     engine/dist.c engine/distm.c engine/_distm.c engine/ui.c engine/N.c \
     engine/Q.c engine/QM.c engine/real.c engine/bf.c engine/cplx.c \
     engine/num.c engine/pari.c engine/mi.c engine/lmi.c engine/mt19937.c \
     engine/P.c engine/PM.c engine/PD.c engine/PDM.c engine/up.c \
     engine/up_lm.c engine/up_gf2n.c engine/up2.c engine/gf2n.c \
     engine/gfpn.c engine/gfs.c engine/gfspn.c engine/PU.c engine/PUM.c \
     engine/R.c engine/RU.c engine/F.c engine/D.c engine/E.c engine/Ebug.c \
     engine/EZ.c engine/H.c engine/M.c engine/NEZ.c engine/Mgfs.c \
     engine/Hgfs.c engine/Fgfs.c engine/C.c engine/A.c engine/alg.c \
     engine/p-itv.c engine/f-itv.c engine/d-itv.c engine/nd.c \
     engine/ndbug.c engine/Z.c engine/dalg.c engine/gmpq.c
   FFT_SRCS = fft/dft.c fft/polmul.c fft/fft_primes.c
   IO_SRCS = io/pexpr.c io/spexpr.c io/biovar.c io/bsave.c io/bload.c \
     io/io.c io/sio.c io/cpexpr.c io/cio.c io/ox.c io/ox_asir.c \
     io/ox_launch.c io/tcpf.c io/ws_fileio.c
   PARSE_SRCS = parse/arith.c parse/comp.c parse/debug.c parse/eval.c \
     parse/evall.c parse/function.c parse/glob.c parse/kwd.c parse/lex.c \
     parse/load.c parse/parser.c parse/puref.c parse/pvar.c parse/quote.c \
     parse/struct.c parse/util.c parse/xdeb.c parse/gc_risa.c
   PLOT_SRCS = plot/calc.c plot/if.c plot/plotp.c plot/plotg.c \
     plot/ox_plot.c plot/plotf.c plot/ox_plot_xevent.c plot/smoothing.c
   
 ASIRLIB  = ${BLIB} ${PLIB} ${IOLIB} ${PLLIB} ${ELIB} ${FLIB} ${ALIB}  YTAB_SRCS = parse/y.tab.c parse/y.tab.h
 LIBS     = @LIBS@ @GCLIB@ @PARILIB@ @LAPACKLIB@ ${X11LIB} ${FEPLIB} ${GMPLIB} -lm @WSLIB@ ${EXTRALIBS}  BUILT_SOURCES = ${YTAB_SRCS}
 # EXTRALIBS = @EXTRALIBS@  parse/lex.o parse/kwd.o: parse/y.tab.h
   ${YTAB_SRCS}: parse/parse.y
           ${YACC} ${YFLAGS} -o parse/y.tab.c -d parse/parse.y
   
 all-recursive: ${GLIB}  lib_LTLIBRARIES = libasir@sufx@.la
   libasir@sufx@_la_SOURCES = ${ASM_SRCS} ${BUILTIN_SRCS} ${ENGINE_SRCS} ${FFT_SRCS} \
     ${IO_SRCS} ${PARSE_SRCS} ${inc_HEADERS}
   nodist_libasir@sufx@_la_SOURCES = ${YTAB_SRCS}
   
 umain.o: parse/main.c  if USE_PLOT
         ${COMPILE} -DUINIT main.c -o umain.o    X11LIB  = @X_LIBS@ -lXaw -lXmu -lXt @X_PRE_LIBS@ @XPMLIB@ -lXext -lX11 @X_EXTRA_LIBS@
     libasir@sufx@_la_SOURCES += ${PLOT_SRCS}
   endif
   
 libasir-gc.a: ${GC_PATCH}  LIBS = -L${libdir} @LIBS@ @GCLIB@ @LAPACKLIB@ ${X11LIB} ${FEPLIB} @GMPLIB@ \
         -if [ ! -f ${top_srcdir}/.gc_fetch_done ]; then \    -lm @WSLIB@ ${EXTRALIBS}
                 if [ ! -f ${GC_DISTDIR}/${GC_TAR_GZ} ]; then \  
                         ${OX_FETCH} ${GC_MASTER_SITE}${GC_TAR_GZ} ${GC_DISTDIR}; \  
                         ${OX_FETCH} ${GC_MASTER_SITE}${LIB_ATOMIC_TAR_GZ} ${GC_DISTDIR}; \  
                 fi ; \  
                 touch ${top_srcdir}/.gc_fetch_done ; \  
         fi  
         -if [ ! -f ${top_srcdir}/.gc_risa_done ]; then \  
             (cd ${top_srcdir}; tar xzvf ${GC_DISTDIR}/${GC_TAR_GZ}) ; \  
             (cd ${top_srcdir}/${GC}; tar xzvf ${GC_DISTDIR}/${LIB_ATOMIC_TAR_GZ}; mv ${LIB_ATOMIC} libatomic_ops) ; \  
                 for i in ${GC_PATCH} ; do \  
             (cd ${top_srcdir}/${GC}; patch -p1 < ../$$i) ; \  
                 done ; \  
             touch ${top_srcdir}/.gc_risa_done ; \  
         fi  
         -if [ "${USE_GC_SPARC64}" = yes \  
             -a ! -f ${top_srcdir}/${GC}/.patch_gc_sparc64_done ]; then \  
             (cd ${top_srcdir}/${GC}; patch -p0 < ../gc_sparc64.diff) ; \  
             touch ${top_srcdir}/${GC}/.patch_gc_sparc64_done ; \  
         fi  
         -if [ ! -f ${top_srcdir}/${GC}/.configure_done ]; then \  
             (cd ${top_srcdir}/${GC}; ./configure ${GC_CONFIGURE_ARGS}) ; \  
             touch ${top_srcdir}/${GC}/.configure_done ; \  
         fi  
         (cd ${top_srcdir}/${GC}; ${MAKE})  
         cp ${top_srcdir}/${GC}/.libs/libgc.a $@  
   
 libasir.a: ${ASIRLIB} ${GLIB} parse/gc_risa.c  ## main program
         -mkdir ${top_srcdir}/libtmp  
         -rm -f ${top_srcdir}/libtmp/*  ${top_srcdir}/$@  
         for i in ${ASIRLIB}; do (cd ${top_srcdir}/libtmp; ar x ../$$i; chmod 644 *) done  
         (cd ${top_srcdir}/parse; ${MAKE} gc_risa.o; cp gc_risa.o ../libtmp)  
         (cd ${top_srcdir}/libtmp; ${AR} cq ../$@ *.o)  
         (cd ${top_srcdir}; ${RANLIB} $@)  
         -rm -rf ${top_srcdir}/libtmp  
   
 install-libasir: libasir.a  bin_PROGRAMS = asir
         mkdir -p ${DESTDIR}${libdir}  asir_SOURCES = parse/main.c
         ${INSTALL_DATA} libasir.a ${DESTDIR}${libdir}/libasir${libasir_postfix}.a  asir_LDADD   = -lasir@sufx@ ${LIBS}
   
 install-libasir-gc: libasir-gc.a  CLEANFILES = ${YTAB_SRCS}
         mkdir -p ${DESTDIR}${libdir}  
         ${INSTALL_DATA} libasir-gc.a ${DESTDIR}${libdir}/libasir-gc.a  
   
 install-openxm: asir${EXEEXT} install-libasir install-libasir-gc  install-doc:
         -mkdir -p ${DESTDIR}${bindir}          ${MKDIR_P} ${DESTDIR}${asirdir}
         ${INSTALL_PROGRAM} asir ${DESTDIR}${bindir}          -for i in ja en ; do \
         -mkdir -p ${DESTDIR}${asirdir}                  uudecode lib/help-$$i.uu ; \
         (cd ${top_srcdir}/lib; ${MAKE} install-doc install-lib)                  gzip -dc help-$$i.tgz | ( cd ${DESTDIR}${asirdir}; tar xf - ) ; \
                   rm -f help-$$i.tgz ; \
           done
           -(cd ${DESTDIR}${asirdir}; rm -rf help-jp help-eg help)
           (cd ${DESTDIR}${asirdir}; ${LN_S} help-ja help-jp)
           (cd ${DESTDIR}${asirdir}; ${LN_S} help-en help-eg)
           (cd ${DESTDIR}${asirdir}; ${LN_S} help-en help)
   
   install-openxm: install install-doc
           ${MKDIR_P} ${DESTDIR}${asirdir}
         -rm -f ${DESTDIR}${bindir}/ox_asir${EXEEXT}          -rm -f ${DESTDIR}${bindir}/ox_asir${EXEEXT}
         (cd ${DESTDIR}${bindir} ; ${LN_S} asir${EXEEXT} ox_asir${EXEEXT})          (cd ${DESTDIR}${bindir} ; ${LN_S} asir${EXEEXT} ox_asir${EXEEXT})
         -(cd ${DESTDIR}${asirdir}; \          -(cd ${DESTDIR}${asirdir}; \
Line 105  install-openxm: asir${EXEEXT} install-libasir install-
Line 107  install-openxm: asir${EXEEXT} install-libasir install-
         ${LN_S} asir${EXEEXT} ox_asir${EXEEXT} ; \          ${LN_S} asir${EXEEXT} ox_asir${EXEEXT} ; \
         ${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \          ${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \
         ${LN_S} asir${EXEEXT} ox_plot${EXEEXT})          ${LN_S} asir${EXEEXT} ox_plot${EXEEXT})
         (cd ${top_srcdir}/include; ${MAKE} install)  
         (cd ${top_srcdir}/parse; ${MAKE} install)  
   
 install-lib:  
         (cd ${top_srcdir}/lib; ${MAKE} install-lib)  
         -(cd ${DESTDIR}${asirdir}; \  
         rm -f ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT})  
         (cd ${DESTDIR}${asirdir} ; \  
         ${LN_S} asir${EXEEXT} ox_asir${EXEEXT} ; \  
         ${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \  
         ${LN_S} asir${EXEEXT} ox_plot${EXEEXT})  
         -mkdir -p ${DESTDIR}${bindir}  
         -rm -f ${DESTDIR}${bindir}/asir${EXEEXT}  
         (cd ${DESTDIR}${bindir} ; ${LN_S} ../lib/asir/asir${EXEEXT} asir${EXEEXT})  
   
 install-doc:  
         (cd ${top_srcdir}/lib; ${MAKE} install-doc)  
   
 tarball:  
         -rm -rf tmp  
         -mkdir tmp  
         DESTDIR=`cd tmp; pwd` ${MAKE} install-openxm  
         (cd tmp${prefix}; tar cf - * ) | gzip -c > asir-openxm-${VERSION}.tgz  
         -rm -rf tmp  
   
 clean-gc:  
         -rm -rf ${top_srcdir}/.gc_*_done ${top_srcdir}/${GC}  
         -rm -rf ${top_srcdir}/autom4te.cache  
   
 distclean-recursive: clean-gc  

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.6

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