Mercurial > octave
annotate libinterp/Makefile.am @ 15271:648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
* array/Array-C.cc, array/Array-b.cc, array/Array-ch.cc, array/Array-d.cc,
array/Array-f.cc, array/Array-fC.cc, array/Array-i.cc, array/Array-idx-vec.cc,
array/Array-s.cc, array/Array-str.cc, array/Array-util.cc, array/Array-util.h,
array/Array-voidp.cc, array/Array.cc, array/Array.h, array/Array2.h,
array/Array3.h, array/ArrayN.h, array/CColVector.cc, array/CColVector.h,
array/CDiagMatrix.cc, array/CDiagMatrix.h, array/CMatrix.cc, array/CMatrix.h,
array/CNDArray.cc, array/CNDArray.h, array/CRowVector.cc, array/CRowVector.h,
array/CSparse.cc, array/CSparse.h, array/DiagArray2.cc, array/DiagArray2.h,
array/MArray-C.cc, array/MArray-d.cc, array/MArray-decl.h, array/MArray-defs.h,
array/MArray-f.cc, array/MArray-fC.cc, array/MArray-i.cc, array/MArray-s.cc,
array/MArray.cc, array/MArray.h, array/MArray2.h, array/MArrayN.h,
array/MDiagArray2.cc, array/MDiagArray2.h, array/MSparse-C.cc,
array/MSparse-d.cc, array/MSparse-defs.h, array/MSparse.cc, array/MSparse.h,
array/Matrix.h, array/MatrixType.cc, array/MatrixType.h, array/PermMatrix.cc,
array/PermMatrix.h, array/Range.cc, array/Range.h, array/Sparse-C.cc,
array/Sparse-b.cc, array/Sparse-d.cc, array/Sparse.cc, array/Sparse.h,
array/boolMatrix.cc, array/boolMatrix.h, array/boolNDArray.cc,
array/boolNDArray.h, array/boolSparse.cc, array/boolSparse.h,
array/chMatrix.cc, array/chMatrix.h, array/chNDArray.cc, array/chNDArray.h,
array/dColVector.cc, array/dColVector.h, array/dDiagMatrix.cc,
array/dDiagMatrix.h, array/dMatrix.cc, array/dMatrix.h, array/dNDArray.cc,
array/dNDArray.h, array/dRowVector.cc, array/dRowVector.h, array/dSparse.cc,
array/dSparse.h, array/dim-vector.cc, array/dim-vector.h, array/fCColVector.cc,
array/fCColVector.h, array/fCDiagMatrix.cc, array/fCDiagMatrix.h,
array/fCMatrix.cc, array/fCMatrix.h, array/fCNDArray.cc, array/fCNDArray.h,
array/fCRowVector.cc, array/fCRowVector.h, array/fColVector.cc,
array/fColVector.h, array/fDiagMatrix.cc, array/fDiagMatrix.h,
array/fMatrix.cc, array/fMatrix.h, array/fNDArray.cc, array/fNDArray.h,
array/fRowVector.cc, array/fRowVector.h, array/idx-vector.cc,
array/idx-vector.h, array/int16NDArray.cc, array/int16NDArray.h,
array/int32NDArray.cc, array/int32NDArray.h, array/int64NDArray.cc,
array/int64NDArray.h, array/int8NDArray.cc, array/int8NDArray.h,
array/intNDArray.cc, array/intNDArray.h, array/module.mk,
array/uint16NDArray.cc, array/uint16NDArray.h, array/uint32NDArray.cc,
array/uint32NDArray.h, array/uint64NDArray.cc, array/uint64NDArray.h,
array/uint8NDArray.cc, array/uint8NDArray.h:
Moved from liboctave dir to array subdirectory.
* cruft/Makefile.am, cruft/amos/README, cruft/amos/cacai.f, cruft/amos/cacon.f,
cruft/amos/cairy.f, cruft/amos/casyi.f, cruft/amos/cbesh.f, cruft/amos/cbesi.f,
cruft/amos/cbesj.f, cruft/amos/cbesk.f, cruft/amos/cbesy.f, cruft/amos/cbinu.f,
cruft/amos/cbiry.f, cruft/amos/cbknu.f, cruft/amos/cbuni.f, cruft/amos/cbunk.f,
cruft/amos/ckscl.f, cruft/amos/cmlri.f, cruft/amos/crati.f, cruft/amos/cs1s2.f,
cruft/amos/cseri.f, cruft/amos/cshch.f, cruft/amos/cuchk.f, cruft/amos/cunhj.f,
cruft/amos/cuni1.f, cruft/amos/cuni2.f, cruft/amos/cunik.f, cruft/amos/cunk1.f,
cruft/amos/cunk2.f, cruft/amos/cuoik.f, cruft/amos/cwrsk.f,
cruft/amos/dgamln.f, cruft/amos/gamln.f, cruft/amos/module.mk,
cruft/amos/xzabs.f, cruft/amos/xzexp.f, cruft/amos/xzlog.f,
cruft/amos/xzsqrt.f, cruft/amos/zacai.f, cruft/amos/zacon.f,
cruft/amos/zairy.f, cruft/amos/zasyi.f, cruft/amos/zbesh.f, cruft/amos/zbesi.f,
cruft/amos/zbesj.f, cruft/amos/zbesk.f, cruft/amos/zbesy.f, cruft/amos/zbinu.f,
cruft/amos/zbiry.f, cruft/amos/zbknu.f, cruft/amos/zbuni.f, cruft/amos/zbunk.f,
cruft/amos/zdiv.f, cruft/amos/zkscl.f, cruft/amos/zmlri.f, cruft/amos/zmlt.f,
cruft/amos/zrati.f, cruft/amos/zs1s2.f, cruft/amos/zseri.f, cruft/amos/zshch.f,
cruft/amos/zuchk.f, cruft/amos/zunhj.f, cruft/amos/zuni1.f, cruft/amos/zuni2.f,
cruft/amos/zunik.f, cruft/amos/zunk1.f, cruft/amos/zunk2.f, cruft/amos/zuoik.f,
cruft/amos/zwrsk.f, cruft/blas-xtra/cconv2.f, cruft/blas-xtra/cdotc3.f,
cruft/blas-xtra/cmatm3.f, cruft/blas-xtra/csconv2.f, cruft/blas-xtra/dconv2.f,
cruft/blas-xtra/ddot3.f, cruft/blas-xtra/dmatm3.f, cruft/blas-xtra/module.mk,
cruft/blas-xtra/sconv2.f, cruft/blas-xtra/sdot3.f, cruft/blas-xtra/smatm3.f,
cruft/blas-xtra/xcdotc.f, cruft/blas-xtra/xcdotu.f, cruft/blas-xtra/xddot.f,
cruft/blas-xtra/xdnrm2.f, cruft/blas-xtra/xdznrm2.f, cruft/blas-xtra/xerbla.f,
cruft/blas-xtra/xscnrm2.f, cruft/blas-xtra/xsdot.f, cruft/blas-xtra/xsnrm2.f,
cruft/blas-xtra/xzdotc.f, cruft/blas-xtra/xzdotu.f, cruft/blas-xtra/zconv2.f,
cruft/blas-xtra/zdconv2.f, cruft/blas-xtra/zdotc3.f, cruft/blas-xtra/zmatm3.f,
cruft/daspk/datv.f, cruft/daspk/dcnst0.f, cruft/daspk/dcnstr.f,
cruft/daspk/ddasic.f, cruft/daspk/ddasid.f, cruft/daspk/ddasik.f,
cruft/daspk/ddaspk.f, cruft/daspk/ddstp.f, cruft/daspk/ddwnrm.f,
cruft/daspk/dfnrmd.f, cruft/daspk/dfnrmk.f, cruft/daspk/dhels.f,
cruft/daspk/dheqr.f, cruft/daspk/dinvwt.f, cruft/daspk/dlinsd.f,
cruft/daspk/dlinsk.f, cruft/daspk/dmatd.f, cruft/daspk/dnedd.f,
cruft/daspk/dnedk.f, cruft/daspk/dnsd.f, cruft/daspk/dnsid.f,
cruft/daspk/dnsik.f, cruft/daspk/dnsk.f, cruft/daspk/dorth.f,
cruft/daspk/dslvd.f, cruft/daspk/dslvk.f, cruft/daspk/dspigm.f,
cruft/daspk/dyypnw.f, cruft/daspk/module.mk, cruft/dasrt/ddasrt.f,
cruft/dasrt/drchek.f, cruft/dasrt/droots.f, cruft/dasrt/module.mk,
cruft/dassl/ddaini.f, cruft/dassl/ddajac.f, cruft/dassl/ddanrm.f,
cruft/dassl/ddaslv.f, cruft/dassl/ddassl.f, cruft/dassl/ddastp.f,
cruft/dassl/ddatrp.f, cruft/dassl/ddawts.f, cruft/dassl/module.mk,
cruft/fftpack/cfftb.f, cruft/fftpack/cfftb1.f, cruft/fftpack/cfftf.f,
cruft/fftpack/cfftf1.f, cruft/fftpack/cffti.f, cruft/fftpack/cffti1.f,
cruft/fftpack/fftpack.doc, cruft/fftpack/module.mk, cruft/fftpack/passb.f,
cruft/fftpack/passb2.f, cruft/fftpack/passb3.f, cruft/fftpack/passb4.f,
cruft/fftpack/passb5.f, cruft/fftpack/passf.f, cruft/fftpack/passf2.f,
cruft/fftpack/passf3.f, cruft/fftpack/passf4.f, cruft/fftpack/passf5.f,
cruft/fftpack/zfftb.f, cruft/fftpack/zfftb1.f, cruft/fftpack/zfftf.f,
cruft/fftpack/zfftf1.f, cruft/fftpack/zffti.f, cruft/fftpack/zffti1.f,
cruft/fftpack/zpassb.f, cruft/fftpack/zpassb2.f, cruft/fftpack/zpassb3.f,
cruft/fftpack/zpassb4.f, cruft/fftpack/zpassb5.f, cruft/fftpack/zpassf.f,
cruft/fftpack/zpassf2.f, cruft/fftpack/zpassf3.f, cruft/fftpack/zpassf4.f,
cruft/fftpack/zpassf5.f, cruft/lapack-xtra/crsf2csf.f,
cruft/lapack-xtra/module.mk, cruft/lapack-xtra/xclange.f,
cruft/lapack-xtra/xdlamch.f, cruft/lapack-xtra/xdlange.f,
cruft/lapack-xtra/xilaenv.f, cruft/lapack-xtra/xslamch.f,
cruft/lapack-xtra/xslange.f, cruft/lapack-xtra/xzlange.f,
cruft/lapack-xtra/zrsf2csf.f, cruft/link-deps.mk, cruft/misc/blaswrap.c,
cruft/misc/cquit.c, cruft/misc/d1mach-tst.for, cruft/misc/d1mach.f,
cruft/misc/f77-extern.cc, cruft/misc/f77-fcn.c, cruft/misc/f77-fcn.h,
cruft/misc/i1mach.f, cruft/misc/lo-error.c, cruft/misc/lo-error.h,
cruft/misc/module.mk, cruft/misc/quit.cc, cruft/misc/quit.h,
cruft/misc/r1mach.f, cruft/mkf77def.in, cruft/odepack/cfode.f,
cruft/odepack/dlsode.f, cruft/odepack/ewset.f, cruft/odepack/intdy.f,
cruft/odepack/module.mk, cruft/odepack/prepj.f, cruft/odepack/scfode.f,
cruft/odepack/sewset.f, cruft/odepack/sintdy.f, cruft/odepack/slsode.f,
cruft/odepack/solsy.f, cruft/odepack/sprepj.f, cruft/odepack/ssolsy.f,
cruft/odepack/sstode.f, cruft/odepack/stode.f, cruft/odepack/svnorm.f,
cruft/odepack/vnorm.f, cruft/ordered-qz/README, cruft/ordered-qz/dsubsp.f,
cruft/ordered-qz/exchqz.f, cruft/ordered-qz/module.mk,
cruft/ordered-qz/sexchqz.f, cruft/ordered-qz/ssubsp.f, cruft/quadpack/dqagi.f,
cruft/quadpack/dqagie.f, cruft/quadpack/dqagp.f, cruft/quadpack/dqagpe.f,
cruft/quadpack/dqelg.f, cruft/quadpack/dqk15i.f, cruft/quadpack/dqk21.f,
cruft/quadpack/dqpsrt.f, cruft/quadpack/module.mk, cruft/quadpack/qagi.f,
cruft/quadpack/qagie.f, cruft/quadpack/qagp.f, cruft/quadpack/qagpe.f,
cruft/quadpack/qelg.f, cruft/quadpack/qk15i.f, cruft/quadpack/qk21.f,
cruft/quadpack/qpsrt.f, cruft/quadpack/xerror.f, cruft/ranlib/Basegen.doc,
cruft/ranlib/HOWTOGET, cruft/ranlib/README, cruft/ranlib/advnst.f,
cruft/ranlib/genbet.f, cruft/ranlib/genchi.f, cruft/ranlib/genexp.f,
cruft/ranlib/genf.f, cruft/ranlib/gengam.f, cruft/ranlib/genmn.f,
cruft/ranlib/genmul.f, cruft/ranlib/gennch.f, cruft/ranlib/gennf.f,
cruft/ranlib/gennor.f, cruft/ranlib/genprm.f, cruft/ranlib/genunf.f,
cruft/ranlib/getcgn.f, cruft/ranlib/getsd.f, cruft/ranlib/ignbin.f,
cruft/ranlib/ignlgi.f, cruft/ranlib/ignnbn.f, cruft/ranlib/ignpoi.f,
cruft/ranlib/ignuin.f, cruft/ranlib/initgn.f, cruft/ranlib/inrgcm.f,
cruft/ranlib/lennob.f, cruft/ranlib/mltmod.f, cruft/ranlib/module.mk,
cruft/ranlib/phrtsd.f, cruft/ranlib/qrgnin.f, cruft/ranlib/randlib.chs,
cruft/ranlib/randlib.fdoc, cruft/ranlib/ranf.f, cruft/ranlib/setall.f,
cruft/ranlib/setant.f, cruft/ranlib/setgmn.f, cruft/ranlib/setsd.f,
cruft/ranlib/sexpo.f, cruft/ranlib/sgamma.f, cruft/ranlib/snorm.f,
cruft/ranlib/tstbot.for, cruft/ranlib/tstgmn.for, cruft/ranlib/tstmid.for,
cruft/ranlib/wrap.f, cruft/slatec-err/fdump.f, cruft/slatec-err/ixsav.f,
cruft/slatec-err/j4save.f, cruft/slatec-err/module.mk,
cruft/slatec-err/xerclr.f, cruft/slatec-err/xercnt.f,
cruft/slatec-err/xerhlt.f, cruft/slatec-err/xermsg.f,
cruft/slatec-err/xerprn.f, cruft/slatec-err/xerrwd.f,
cruft/slatec-err/xersve.f, cruft/slatec-err/xgetf.f, cruft/slatec-err/xgetua.f,
cruft/slatec-err/xsetf.f, cruft/slatec-err/xsetua.f, cruft/slatec-fn/acosh.f,
cruft/slatec-fn/albeta.f, cruft/slatec-fn/algams.f, cruft/slatec-fn/alngam.f,
cruft/slatec-fn/alnrel.f, cruft/slatec-fn/asinh.f, cruft/slatec-fn/atanh.f,
cruft/slatec-fn/betai.f, cruft/slatec-fn/csevl.f, cruft/slatec-fn/d9gmit.f,
cruft/slatec-fn/d9lgic.f, cruft/slatec-fn/d9lgit.f, cruft/slatec-fn/d9lgmc.f,
cruft/slatec-fn/dacosh.f, cruft/slatec-fn/dasinh.f, cruft/slatec-fn/datanh.f,
cruft/slatec-fn/dbetai.f, cruft/slatec-fn/dcsevl.f, cruft/slatec-fn/derf.f,
cruft/slatec-fn/derfc.in.f, cruft/slatec-fn/dgami.f, cruft/slatec-fn/dgamit.f,
cruft/slatec-fn/dgamlm.f, cruft/slatec-fn/dgamma.f, cruft/slatec-fn/dgamr.f,
cruft/slatec-fn/dlbeta.f, cruft/slatec-fn/dlgams.f, cruft/slatec-fn/dlngam.f,
cruft/slatec-fn/dlnrel.f, cruft/slatec-fn/dpchim.f, cruft/slatec-fn/dpchst.f,
cruft/slatec-fn/erf.f, cruft/slatec-fn/erfc.in.f, cruft/slatec-fn/gami.f,
cruft/slatec-fn/gamit.f, cruft/slatec-fn/gamlim.f, cruft/slatec-fn/gamma.f,
cruft/slatec-fn/gamr.f, cruft/slatec-fn/initds.f, cruft/slatec-fn/inits.f,
cruft/slatec-fn/module.mk, cruft/slatec-fn/pchim.f, cruft/slatec-fn/pchst.f,
cruft/slatec-fn/r9gmit.f, cruft/slatec-fn/r9lgic.f, cruft/slatec-fn/r9lgit.f,
cruft/slatec-fn/r9lgmc.f, cruft/slatec-fn/xacosh.f, cruft/slatec-fn/xasinh.f,
cruft/slatec-fn/xatanh.f, cruft/slatec-fn/xbetai.f, cruft/slatec-fn/xdacosh.f,
cruft/slatec-fn/xdasinh.f, cruft/slatec-fn/xdatanh.f,
cruft/slatec-fn/xdbetai.f, cruft/slatec-fn/xderf.f, cruft/slatec-fn/xderfc.f,
cruft/slatec-fn/xdgami.f, cruft/slatec-fn/xdgamit.f, cruft/slatec-fn/xdgamma.f,
cruft/slatec-fn/xerf.f, cruft/slatec-fn/xerfc.f, cruft/slatec-fn/xgamma.f,
cruft/slatec-fn/xgmainc.f, cruft/slatec-fn/xsgmainc.f:
Moved from top-level libcruft to cruft directory below liboctave.
* numeric/CmplxAEPBAL.cc, numeric/CmplxAEPBAL.h, numeric/CmplxCHOL.cc,
numeric/CmplxCHOL.h, numeric/CmplxGEPBAL.cc, numeric/CmplxGEPBAL.h,
numeric/CmplxHESS.cc, numeric/CmplxHESS.h, numeric/CmplxLU.cc,
numeric/CmplxLU.h, numeric/CmplxQR.cc, numeric/CmplxQR.h, numeric/CmplxQRP.cc,
numeric/CmplxQRP.h, numeric/CmplxSCHUR.cc, numeric/CmplxSCHUR.h,
numeric/CmplxSVD.cc, numeric/CmplxSVD.h, numeric/CollocWt.cc,
numeric/CollocWt.h, numeric/DAE.h, numeric/DAEFunc.h, numeric/DAERT.h,
numeric/DAERTFunc.h, numeric/DASPK-opts.in, numeric/DASPK.cc, numeric/DASPK.h,
numeric/DASRT-opts.in, numeric/DASRT.cc, numeric/DASRT.h,
numeric/DASSL-opts.in, numeric/DASSL.cc, numeric/DASSL.h, numeric/DET.h,
numeric/EIG.cc, numeric/EIG.h, numeric/LSODE-opts.in, numeric/LSODE.cc,
numeric/LSODE.h, numeric/ODE.h, numeric/ODEFunc.h, numeric/ODES.cc,
numeric/ODES.h, numeric/ODESFunc.h, numeric/Quad-opts.in, numeric/Quad.cc,
numeric/Quad.h, numeric/SparseCmplxCHOL.cc, numeric/SparseCmplxCHOL.h,
numeric/SparseCmplxLU.cc, numeric/SparseCmplxLU.h, numeric/SparseCmplxQR.cc,
numeric/SparseCmplxQR.h, numeric/SparseQR.cc, numeric/SparseQR.h,
numeric/SparsedbleCHOL.cc, numeric/SparsedbleCHOL.h, numeric/SparsedbleLU.cc,
numeric/SparsedbleLU.h, numeric/base-aepbal.h, numeric/base-dae.h,
numeric/base-de.h, numeric/base-lu.cc, numeric/base-lu.h, numeric/base-min.h,
numeric/base-qr.cc, numeric/base-qr.h, numeric/bsxfun-decl.h,
numeric/bsxfun-defs.cc, numeric/bsxfun.h, numeric/dbleAEPBAL.cc,
numeric/dbleAEPBAL.h, numeric/dbleCHOL.cc, numeric/dbleCHOL.h,
numeric/dbleGEPBAL.cc, numeric/dbleGEPBAL.h, numeric/dbleHESS.cc,
numeric/dbleHESS.h, numeric/dbleLU.cc, numeric/dbleLU.h, numeric/dbleQR.cc,
numeric/dbleQR.h, numeric/dbleQRP.cc, numeric/dbleQRP.h, numeric/dbleSCHUR.cc,
numeric/dbleSCHUR.h, numeric/dbleSVD.cc, numeric/dbleSVD.h,
numeric/eigs-base.cc, numeric/fCmplxAEPBAL.cc, numeric/fCmplxAEPBAL.h,
numeric/fCmplxCHOL.cc, numeric/fCmplxCHOL.h, numeric/fCmplxGEPBAL.cc,
numeric/fCmplxGEPBAL.h, numeric/fCmplxHESS.cc, numeric/fCmplxHESS.h,
numeric/fCmplxLU.cc, numeric/fCmplxLU.h, numeric/fCmplxQR.cc,
numeric/fCmplxQR.h, numeric/fCmplxQRP.cc, numeric/fCmplxQRP.h,
numeric/fCmplxSCHUR.cc, numeric/fCmplxSCHUR.h, numeric/fCmplxSVD.cc,
numeric/fCmplxSVD.h, numeric/fEIG.cc, numeric/fEIG.h, numeric/floatAEPBAL.cc,
numeric/floatAEPBAL.h, numeric/floatCHOL.cc, numeric/floatCHOL.h,
numeric/floatGEPBAL.cc, numeric/floatGEPBAL.h, numeric/floatHESS.cc,
numeric/floatHESS.h, numeric/floatLU.cc, numeric/floatLU.h, numeric/floatQR.cc,
numeric/floatQR.h, numeric/floatQRP.cc, numeric/floatQRP.h,
numeric/floatSCHUR.cc, numeric/floatSCHUR.h, numeric/floatSVD.cc,
numeric/floatSVD.h, numeric/lo-mappers.cc, numeric/lo-mappers.h,
numeric/lo-specfun.cc, numeric/lo-specfun.h, numeric/module.mk,
numeric/oct-convn.cc, numeric/oct-convn.h, numeric/oct-fftw.cc,
numeric/oct-fftw.h, numeric/oct-norm.cc, numeric/oct-norm.h,
numeric/oct-rand.cc, numeric/oct-rand.h, numeric/oct-spparms.cc,
numeric/oct-spparms.h, numeric/randgamma.c, numeric/randgamma.h,
numeric/randmtzig.c, numeric/randmtzig.h, numeric/randpoisson.c,
numeric/randpoisson.h, numeric/sparse-base-chol.cc, numeric/sparse-base-chol.h,
numeric/sparse-base-lu.cc, numeric/sparse-base-lu.h, numeric/sparse-dmsolve.cc:
Moved from liboctave dir to numeric subdirectory.
* operators/Sparse-diag-op-defs.h, operators/Sparse-op-defs.h,
operators/Sparse-perm-op-defs.h, operators/config-ops.sh, operators/mk-ops.awk,
operators/module.mk, operators/mx-base.h, operators/mx-defs.h,
operators/mx-ext.h, operators/mx-inlines.cc, operators/mx-op-decl.h,
operators/mx-op-defs.h, operators/mx-ops, operators/sparse-mk-ops.awk,
operators/sparse-mx-ops, operators/vx-ops:
Moved from liboctave dir to operators subdirectory.
* system/dir-ops.cc, system/dir-ops.h, system/file-ops.cc, system/file-ops.h,
system/file-stat.cc, system/file-stat.h, system/lo-sysdep.cc,
system/lo-sysdep.h, system/mach-info.cc, system/mach-info.h, system/module.mk,
system/oct-env.cc, system/oct-env.h, system/oct-group.cc, system/oct-group.h,
system/oct-openmp.h, system/oct-passwd.cc, system/oct-passwd.h,
system/oct-syscalls.cc, system/oct-syscalls.h, system/oct-time.cc,
system/oct-time.h, system/oct-uname.cc, system/oct-uname.h, system/pathlen.h,
system/sysdir.h, system/syswait.h, system/tempnam.c, system/tempname.c:
Moved from liboctave dir to system subdirectory.
* util/base-list.h, util/byte-swap.h, util/caseless-str.h, util/cmd-edit.cc,
util/cmd-edit.h, util/cmd-hist.cc, util/cmd-hist.h, util/data-conv.cc,
util/data-conv.h, util/f2c-main.c, util/functor.h, util/glob-match.cc,
util/glob-match.h, util/kpse.cc, util/lo-array-gripes.cc,
util/lo-array-gripes.h, util/lo-cieee.c, util/lo-cutils.c, util/lo-cutils.h,
util/lo-ieee.cc, util/lo-ieee.h, util/lo-macros.h, util/lo-math.h,
util/lo-traits.h, util/lo-utils.cc, util/lo-utils.h, util/module.mk,
util/oct-alloc.cc, util/oct-alloc.h, util/oct-base64.cc, util/oct-base64.h,
util/oct-binmap.h, util/oct-cmplx.h, util/oct-glob.cc, util/oct-glob.h,
util/oct-inttypes.cc, util/oct-inttypes.h, util/oct-locbuf.cc,
util/oct-locbuf.h, util/oct-md5.cc, util/oct-md5.h, util/oct-mem.h,
util/oct-mutex.cc, util/oct-mutex.h, util/oct-refcount.h, util/oct-rl-edit.c,
util/oct-rl-edit.h, util/oct-rl-hist.c, util/oct-rl-hist.h, util/oct-shlib.cc,
util/oct-shlib.h, util/oct-sort.cc, util/oct-sort.h, util/oct-sparse.h,
util/pathsearch.cc, util/pathsearch.h, util/regexp.cc, util/regexp.h,
util/singleton-cleanup.cc, util/singleton-cleanup.h, util/sparse-sort.cc,
util/sparse-sort.h, util/sparse-util.cc, util/sparse-util.h, util/statdefs.h,
util/str-vec.cc, util/str-vec.h, util/sun-utils.h:
Moved from liboctave dir to util subdirectory.
* Makefile.am: Eliminate reference to top-level liboctave directory.
* autogen.sh: cd to new liboctave/operators directory to run config-ops.sh.
* build-aux/common.mk: Eliminate LIBCRUFT references.
* configure.ac: Eliminate libcruft top-level references. Switch test
programs to find files in liboctave/cruft subdirectory.
* OctaveFAQ.texi, install.txi, mkoctfile.1: Eliminate references to libcruft in
docs.
* libgui/src/Makefile.am, libinterp/Makefile.am, src/Makefile.am: Update
include file locations. Stop linking against libcruft.
* libinterp/corefcn/module.mk: Update location of OPT_INC files which are
now in numeric/ subdirectory.
* libinterp/dldfcn/config-module.awk: Stop linking against libcruft.
* libinterp/interpfcn/toplev.cc: Remove reference to LIBCRUFT.
* libinterp/link-deps.mk, liboctave/link-deps.mk:
Add GNULIB_LINK_DEPS to link dependencies.
* libinterp/oct-conf.in.h: Remove reference to OCTAVE_CONF_LIBCRUFT.
* liboctave/Makefile.am: Overhaul to use convenience libraries in
subdirectories.
* scripts/miscellaneous/mkoctfile.m: Eliminate reference to LIBCRUFT.
* src/mkoctfile.in.cc, src/mkoctfile.in.sh: Stop linking againt libcruft.
Eliminate references to LIBCRUFT.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 31 Aug 2012 20:00:20 -0700 |
parents | b42167e9d805 |
children | f4b5304ee451 |
rev | line source |
---|---|
15269
b42167e9d805
maint: Update Makefile.am comments to refer to Octave (program) rather than octave (command).
Rik <rik@octave.org>
parents:
15203
diff
changeset
|
1 # Makefile for Octave's libinterp directory |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # |
14138
72c96de7a403
maint: update copyright notices for 2012
John W. Eaton <jwe@octave.org>
parents:
14023
diff
changeset
|
3 # Copyright (C) 1993-2012 John W. Eaton |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 # |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 # This file is part of Octave. |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
13024
diff
changeset
|
6 # |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 # Octave is free software; you can redistribute it and/or modify it |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 # under the terms of the GNU General Public License as published by the |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 # Free Software Foundation; either version 3 of the License, or (at |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 # your option) any later version. |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
13024
diff
changeset
|
11 # |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 # Octave is distributed in the hope that it will be useful, but WITHOUT |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
14 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 # for more details. |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
13024
diff
changeset
|
16 # |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 # You should have received a copy of the GNU General Public License |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 # along with Octave; see the file COPYING. If not, see |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 # <http://www.gnu.org/licenses/>. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
21 include $(top_srcdir)/build-aux/common.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 |
15132
3e5b00d964ad
Use $(top_builddir)/libgnu for parallelism with $(top_srcdir)/libgnu
Rik <rik@octave.org>
parents:
15131
diff
changeset
|
23 AUTOMAKE_OPTIONS = subdir-objects |
3e5b00d964ad
Use $(top_builddir)/libgnu for parallelism with $(top_srcdir)/libgnu
Rik <rik@octave.org>
parents:
15131
diff
changeset
|
24 |
14397
670feb71afde
maint: Move @CPPFLAGS@ to end of AM_CPPFLAGS lists in Makefiles.
John W. Eaton <jwe@octave.org>
parents:
14348
diff
changeset
|
25 ## Search local directories before those specified by the user. |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
26 AM_CPPFLAGS = \ |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
27 -I$(top_srcdir)/liboctave/cruft/misc \ |
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
28 -I../liboctave/array -I$(top_srcdir)/liboctave/array \ |
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
29 -I../liboctave/numeric -I$(top_srcdir)/liboctave/numeric \ |
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
30 -I../liboctave/operators -I$(top_srcdir)/liboctave/operators \ |
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
31 -I../liboctave/system -I$(top_srcdir)/liboctave/system \ |
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
32 -I../liboctave/util -I$(top_srcdir)/liboctave/util \ |
10061
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10051
diff
changeset
|
33 -I../liboctave -I$(top_srcdir)/liboctave \ |
15174
f3a5338aaa01
build: Remove unneeded -Ioctave-value, -Ioperators from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15156
diff
changeset
|
34 -I$(srcdir)/octave-value \ |
f3a5338aaa01
build: Remove unneeded -Ioctave-value, -Ioperators from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15156
diff
changeset
|
35 -I$(srcdir)/operators \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
36 -Iparse-tree -I$(srcdir)/parse-tree \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
37 -Iinterp-core -I$(srcdir)/interp-core \ |
15088
60ff2cef569d
maint: Move core interpreter files with DEFUNS to interpfcn/ directory
Rik <rik@octave.org>
parents:
15086
diff
changeset
|
38 -Iinterpfcn -I$(srcdir)/interpfcn \ |
15086
a782752adcf3
search corefcn directory in build tree for include files
John W. Eaton <jwe@octave.org>
parents:
15085
diff
changeset
|
39 -Icorefcn \ |
15132
3e5b00d964ad
Use $(top_builddir)/libgnu for parallelism with $(top_srcdir)/libgnu
Rik <rik@octave.org>
parents:
15131
diff
changeset
|
40 -I$(top_builddir)/libgnu -I$(top_srcdir)/libgnu |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
41 |
12727
40b16bb69fec
maint: Don't distribute files in tarball which must be re-built for each installation
Rik <octave@nomad.inbox5.com>
parents:
12720
diff
changeset
|
42 octlib_LTLIBRARIES = liboctinterp.la |
40b16bb69fec
maint: Don't distribute files in tarball which must be re-built for each installation
Rik <octave@nomad.inbox5.com>
parents:
12720
diff
changeset
|
43 |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
13024
diff
changeset
|
44 ## Order matters here. Leave builtins.cc last, because it depends on |
9906 | 45 ## $(DEF_FILES), and building those requires all the sources |
9911
ac7606d51a3d
src/Makefile.in (BUILT_SOURCES): include graphics-props.cc in the list
John W. Eaton <jwe@octave.org>
parents:
9907
diff
changeset
|
46 ## (except builtins.cc) to be available. |
9906 | 47 BUILT_SOURCES = \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
48 interp-core/mxarray.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
49 interp-core/oct-errno.cc \ |
15088
60ff2cef569d
maint: Move core interpreter files with DEFUNS to interpfcn/ directory
Rik <rik@octave.org>
parents:
15086
diff
changeset
|
50 interpfcn/defaults.h \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
51 interpfcn/graphics-props.cc \ |
15088
60ff2cef569d
maint: Move core interpreter files with DEFUNS to interpfcn/ directory
Rik <rik@octave.org>
parents:
15086
diff
changeset
|
52 interpfcn/graphics.h \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
53 operators/ops.cc \ |
15085
28f5f4a4a80a
maint: Move parser code and rules to parse-tree/ directory
Rik <rik@octave.org>
parents:
15083
diff
changeset
|
54 parse-tree/lex.cc \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
55 parse-tree/oct-gperf.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
56 parse-tree/oct-parse.cc \ |
9906 | 57 oct-conf.h \ |
58 version.h \ | |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
59 $(BUILT_SOURCES_EXTRA) \ |
9906 | 60 builtins.cc |
61 | |
62 BUILT_DISTFILES = \ | |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
63 parse-tree/oct-gperf.h \ |
15088
60ff2cef569d
maint: Move core interpreter files with DEFUNS to interpfcn/ directory
Rik <rik@octave.org>
parents:
15086
diff
changeset
|
64 parse-tree/oct-parse.h |
9906 | 65 |
12727
40b16bb69fec
maint: Don't distribute files in tarball which must be re-built for each installation
Rik <octave@nomad.inbox5.com>
parents:
12720
diff
changeset
|
66 ## Files that are created during build process and installed, |
40b16bb69fec
maint: Don't distribute files in tarball which must be re-built for each installation
Rik <octave@nomad.inbox5.com>
parents:
12720
diff
changeset
|
67 ## BUT not distributed in tarball. |
9906 | 68 BUILT_NODISTFILES = \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
69 interp-core/mxarray.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
70 interp-core/oct-errno.cc \ |
15088
60ff2cef569d
maint: Move core interpreter files with DEFUNS to interpfcn/ directory
Rik <rik@octave.org>
parents:
15086
diff
changeset
|
71 interpfcn/defaults.h \ |
60ff2cef569d
maint: Move core interpreter files with DEFUNS to interpfcn/ directory
Rik <rik@octave.org>
parents:
15086
diff
changeset
|
72 interpfcn/graphics.h \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
73 operators/ops.cc \ |
9906 | 74 oct-conf.h \ |
75 version.h \ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
76 $(OPT_HANDLERS) \ |
9906 | 77 $(OPT_INC) \ |
12720
ccfe03bebeba
src/Makefile.am: Fixes to get 'make dist' working
Rik <octave@nomad.inbox5.com>
parents:
12717
diff
changeset
|
78 $(ALL_DEF_FILES) \ |
9906 | 79 builtins.cc |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
80 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
81 EXTRA_DIST = \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
82 Makefile.in \ |
9927
ecbf1577200c
Distribute DOCSTRINGS to prevent unnecessary documentation rebuild
Rik <rdrider0-list@yahoo.com>
parents:
9917
diff
changeset
|
83 DOCSTRINGS \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
84 find-defun-files.sh \ |
14649
5fa6a41d4fbe
build: Use Perl to create DOCSTRINGS in src/ directory.
Rik <octave@nomad.inbox5.com>
parents:
14630
diff
changeset
|
85 gendoc.pl \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
86 genprops.awk \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
87 mk-errno-list \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
88 mk-pkg-add \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
89 mkbuiltins \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
90 mkdefs \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
91 mkops \ |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
92 oct-conf.in.h \ |
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
93 version.in.h \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
94 $(BUILT_DISTFILES) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
95 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
96 octinclude_HEADERS = \ |
15088
60ff2cef569d
maint: Move core interpreter files with DEFUNS to interpfcn/ directory
Rik <rik@octave.org>
parents:
15086
diff
changeset
|
97 interpfcn/graphics-props.cc \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
98 parse-tree/oct-gperf.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
99 builtins.h \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
100 octave.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
101 $(OV_INCLUDES) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
102 $(OV_SPARSE_INCLUDES) \ |
15016
005cb78e1dd1
Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents:
14916
diff
changeset
|
103 $(PT_INCLUDES) \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
104 $(OPERATOR_INCLUDES) \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
105 $(INTERP_CORE_INCLUDES) \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
106 $(INTERPFCN_INCLUDES) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
107 |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
108 nodist_octinclude_HEADERS = \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
109 interp-core/mxarray.h \ |
15088
60ff2cef569d
maint: Move core interpreter files with DEFUNS to interpfcn/ directory
Rik <rik@octave.org>
parents:
15086
diff
changeset
|
110 interpfcn/defaults.h \ |
60ff2cef569d
maint: Move core interpreter files with DEFUNS to interpfcn/ directory
Rik <rik@octave.org>
parents:
15086
diff
changeset
|
111 interpfcn/graphics.h \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
112 oct-conf.h \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
113 version.h |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
114 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
115 DIST_SRC = \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
116 octave.cc \ |
15057
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
117 $(OCTAVE_VALUE_SRC) \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
118 $(PARSE_TREE_SRC) \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
119 $(INTERP_CORE_SRC) \ |
15088
60ff2cef569d
maint: Move core interpreter files with DEFUNS to interpfcn/ directory
Rik <rik@octave.org>
parents:
15086
diff
changeset
|
120 $(INTERPFCN_SRC) \ |
60ff2cef569d
maint: Move core interpreter files with DEFUNS to interpfcn/ directory
Rik <rik@octave.org>
parents:
15086
diff
changeset
|
121 $(COREFCN_SRC) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
122 |
15039
e753177cde93
maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
15016
diff
changeset
|
123 noinst_LTLIBRARIES = |
e753177cde93
maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
15016
diff
changeset
|
124 |
15057
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
125 include parse-tree/module.mk |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
126 include octave-value/module.mk |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
127 include operators/module.mk |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
128 include template-inst/module.mk |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
129 include interp-core/module.mk |
15088
60ff2cef569d
maint: Move core interpreter files with DEFUNS to interpfcn/ directory
Rik <rik@octave.org>
parents:
15086
diff
changeset
|
130 include interpfcn/module.mk |
15039
e753177cde93
maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
15016
diff
changeset
|
131 include corefcn/module.mk |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
132 include dldfcn/module.mk |
10376
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10342
diff
changeset
|
133 |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
134 $(srcdir)/dldfcn/module.mk: $(srcdir)/dldfcn/config-module.sh $(srcdir)/dldfcn/config-module.awk $(srcdir)/dldfcn/module-files |
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
135 $(srcdir)/dldfcn/config-module.sh $(top_srcdir) |
10376
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10342
diff
changeset
|
136 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
137 if AMCOND_ENABLE_DYNAMIC_LINKING |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
138 OCT_FILES = $(DLDFCN_LIBS:.la=.oct) |
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
139 OCT_STAMP_FILES = $(subst dldfcn/,dldfcn/$(am__leading_dot),$(DLDFCN_LIBS:.la=.oct-stamp)) |
14295
21572e9bd365
make --disable-dl work again
John W. Eaton <jwe@octave.org>
parents:
14192
diff
changeset
|
140 DLD_LIBOCTINTERP_LIBADD = liboctinterp.la |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
141 else |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
142 OCT_FILES = |
12162
c9f42acd84e2
Use Makefile rules based on timestamp files for src/DLD-FUNCTIONS/*.oct
John W. Eaton <jwe@octave.org>
parents:
11576
diff
changeset
|
143 OCT_STAMP_FILES = |
14295
21572e9bd365
make --disable-dl work again
John W. Eaton <jwe@octave.org>
parents:
14192
diff
changeset
|
144 DLD_LIBOCTINTERP_LIBADD = |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
145 endif |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
146 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
147 liboctinterp_la_SOURCES = \ |
15107
03381a36f70d
generate convenience libraries for new parse-tree and interpfcn subdirectories
John W. Eaton <jwe@octave.org>
parents:
15100
diff
changeset
|
148 octave.cc \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
149 $(OPERATORS_SRC) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
150 $(TEMPLATE_INST_SRC) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
151 |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
152 nodist_liboctinterp_la_SOURCES = \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
153 interp-core/mxarray.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
154 interp-core/oct-errno.cc \ |
15088
60ff2cef569d
maint: Move core interpreter files with DEFUNS to interpfcn/ directory
Rik <rik@octave.org>
parents:
15086
diff
changeset
|
155 interpfcn/defaults.h \ |
60ff2cef569d
maint: Move core interpreter files with DEFUNS to interpfcn/ directory
Rik <rik@octave.org>
parents:
15086
diff
changeset
|
156 interpfcn/graphics.h \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
157 operators/ops.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
158 builtins.cc \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
159 oct-conf.h \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
160 version.h \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
161 $(OPT_INC) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
162 |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
163 liboctinterp_la_CPPFLAGS = @OCTINTERP_DLL_DEFS@ $(AM_CPPFLAGS) |
9906 | 164 |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
165 include link-deps.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
166 |
13022
05534f03377d
maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents:
13016
diff
changeset
|
167 liboctinterp_la_LIBADD = \ |
15107
03381a36f70d
generate convenience libraries for new parse-tree and interpfcn subdirectories
John W. Eaton <jwe@octave.org>
parents:
15100
diff
changeset
|
168 octave-value/liboctave-value.la \ |
03381a36f70d
generate convenience libraries for new parse-tree and interpfcn subdirectories
John W. Eaton <jwe@octave.org>
parents:
15100
diff
changeset
|
169 parse-tree/libparse-tree.la \ |
03381a36f70d
generate convenience libraries for new parse-tree and interpfcn subdirectories
John W. Eaton <jwe@octave.org>
parents:
15100
diff
changeset
|
170 interp-core/libinterp-core.la \ |
03381a36f70d
generate convenience libraries for new parse-tree and interpfcn subdirectories
John W. Eaton <jwe@octave.org>
parents:
15100
diff
changeset
|
171 interpfcn/libinterpfcn.la \ |
03381a36f70d
generate convenience libraries for new parse-tree and interpfcn subdirectories
John W. Eaton <jwe@octave.org>
parents:
15100
diff
changeset
|
172 corefcn/libcorefcn.la \ |
13022
05534f03377d
maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents:
13016
diff
changeset
|
173 ../liboctave/liboctave.la \ |
05534f03377d
maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents:
13016
diff
changeset
|
174 $(LIBOCTINTERP_LINK_DEPS) |
9816
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9798
diff
changeset
|
175 |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
176 # Increment these as needed and according to the rules in the libtool manual: |
14192
5d5400bd1f62
maint: update library version numbers for release
John W. Eaton <jwe@octave.org>
parents:
14138
diff
changeset
|
177 liboctinterp_current = 1 |
14348 | 178 liboctinterp_revision = 1 |
12708
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
179 liboctinterp_age = 0 |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
180 |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
181 liboctinterp_version_info = $(liboctinterp_current):$(liboctinterp_revision):$(liboctinterp_age) |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
182 |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
183 liboctinterp_la_LDFLAGS = \ |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
184 -version-info $(liboctinterp_version_info) \ |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
185 $(NO_UNDEFINED_LDFLAG) \ |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
186 -bindir $(bindir) \ |
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
187 $(LIBOCTINTERP_LINK_OPTS) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
188 |
15039
e753177cde93
maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
15016
diff
changeset
|
189 ## FIXME: Does this rule need to be uncommented? |
e753177cde93
maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
15016
diff
changeset
|
190 #fft.df fft.lo fft2.df fft2.lo fftn.df fftn.lo: CPPFLAGS += $(FFTW_XCPPFLAGS) |
e753177cde93
maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
15016
diff
changeset
|
191 |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
192 ## Section for defining and creating DEF_FILES |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
193 SRC_DEF_FILES := $(shell $(srcdir)/find-defun-files.sh "$(srcdir)" $(DIST_SRC)) |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
194 |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
195 DLDFCN_DEF_FILES = $(DLDFCN_SRC:.cc=.df) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
196 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
197 ## builtins.cc depends on $(DEF_FILES), so DEF_FILES should only include |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
198 ## .df files that correspond to sources included in liboctave. |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
199 if AMCOND_ENABLE_DYNAMIC_LINKING |
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
200 DEF_FILES = $(SRC_DEF_FILES) |
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
201 else |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
202 DEF_FILES = $(SRC_DEF_FILES) $(DLDFCN_DEF_FILES) |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
203 endif |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
204 |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
205 ALL_DEF_FILES = $(SRC_DEF_FILES) $(DLDFCN_DEF_FILES) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
206 |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
207 $(SRC_DEF_FILES): mkdefs Makefile |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
208 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
209 $(DEF_FILES): $(OPT_HANDLERS) $(OPT_INC) |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
210 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
211 DLL_CDEFS = @OCTINTERP_DLL_DEFS@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
212 DLL_CXXDEFS = @OCTINTERP_DLL_DEFS@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
213 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
214 ## Rule to build a DEF file from a .cc file |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
215 %.df: %.cc |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
216 $(CXXCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
217 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
218 -DMAKE_BUILTINS $< | $(srcdir)/mkdefs $(srcdir) $< > $@-t |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
219 mv $@-t $@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
220 |
15203
aa7f4e33c524
override automake .yy.cc rule (bug #36407)
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
221 ## Override Automake's rule that forces a .hh extension on us even |
aa7f4e33c524
override automake .yy.cc rule (bug #36407)
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
222 ## though we don't want it. It would be super awesome if automake |
aa7f4e33c524
override automake .yy.cc rule (bug #36407)
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
223 ## would allow users to choose the header file extension. |
aa7f4e33c524
override automake .yy.cc rule (bug #36407)
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
224 .yy.cc: |
aa7f4e33c524
override automake .yy.cc rule (bug #36407)
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
225 $(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE) |
aa7f4e33c524
override automake .yy.cc rule (bug #36407)
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
226 |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
13024
diff
changeset
|
227 ## Special rules: |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
228 ## Mostly for sources which must be built before rest of compilation. |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
229 |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
230 ## oct-conf.h must depend on Makefile. Calling configure |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
231 ## may change default/config values. However, calling configure will also |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
232 ## regenerate the Makefiles from Makefile.am and trigger the rules below. |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
233 oct-conf.h: oct-conf.in.h Makefile |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
234 @$(do_subst_config_vals) |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
235 |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
236 version.h: version.in.h Makefile |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
237 $(SED) < $< \ |
15100
8523df595d42
maint: Add DO NOT EDIT messages to build system for src/*.in.h.
Rik <rik@octave.org>
parents:
15096
diff
changeset
|
238 -e "s|%NO_EDIT_WARNING%|DO NOT EDIT! Generated automatically from $(<F) by Make.|" \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
239 -e "s|%OCTAVE_API_VERSION_NUMBER%|${OCTAVE_API_VERSION_NUMBER}|" \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
240 -e "s|%OCTAVE_API_VERSION%|\"${OCTAVE_API_VERSION}\"|" \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
241 -e "s|%OCTAVE_COPYRIGHT%|\"${OCTAVE_COPYRIGHT}\"|" \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
242 -e "s|%OCTAVE_RELEASE_DATE%|\"${OCTAVE_RELEASE_DATE}\"|" \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
243 -e "s|%OCTAVE_VERSION%|\"${OCTAVE_VERSION}\"|" > $@-t |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
244 mv $@-t $@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
245 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
246 builtins.cc: $(DEF_FILES) mkbuiltins |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
247 $(srcdir)/mkbuiltins $(DEF_FILES) > $@-t |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
248 mv $@-t $@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
249 |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
250 if AMCOND_ENABLE_DYNAMIC_LINKING |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
251 DLDFCN_PKG_ADD_FILE = dldfcn/PKG_ADD |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
252 |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
253 dldfcn/PKG_ADD: $(DLDFCN_DEF_FILES) mk-pkg-add |
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
254 $(srcdir)/mk-pkg-add $(DLDFCN_DEF_FILES) > $@-t |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
255 mv $@-t $@ |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
256 endif |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
257 |
14432
e053d1622f4e
build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents:
14398
diff
changeset
|
258 if AMCOND_BUILD_DOCS |
14649
5fa6a41d4fbe
build: Use Perl to create DOCSTRINGS in src/ directory.
Rik <octave@nomad.inbox5.com>
parents:
14630
diff
changeset
|
259 .DOCSTRINGS: $(ALL_DEF_FILES) gendoc.pl |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
260 if [ "x$(srcdir)" != "x." ] && [ -f $(srcdir)/DOCSTRINGS ] && [ ! -f DOCSTRINGS ]; then \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
261 cp $(srcdir)/DOCSTRINGS DOCSTRINGS; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
262 touch -r $(srcdir)/DOCSTRINGS DOCSTRINGS; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
263 fi |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
264 @echo "creating .DOCSTRINGS from .cc source files" |
14649
5fa6a41d4fbe
build: Use Perl to create DOCSTRINGS in src/ directory.
Rik <octave@nomad.inbox5.com>
parents:
14630
diff
changeset
|
265 @$(PERL) $(srcdir)/gendoc.pl $(ALL_DEF_FILES) > $@ |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
266 $(top_srcdir)/build-aux/move-if-change $@ DOCSTRINGS |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
267 touch $@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
268 |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
269 all-local: $(OCT_STAMP_FILES) $(DLDFCN_PKG_ADD_FILE) .DOCSTRINGS |
14432
e053d1622f4e
build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents:
14398
diff
changeset
|
270 else |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
271 all-local: $(OCT_STAMP_FILES) $(DLDFCN_PKG_ADD_FILE) |
14432
e053d1622f4e
build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents:
14398
diff
changeset
|
272 endif |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
273 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
274 install-data-hook: install-oct |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
275 |
15195 | 276 uninstall-local: uninstall-oct |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
277 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
278 if AMCOND_ENABLE_DYNAMIC_LINKING |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
279 install-oct: |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
280 $(top_srcdir)/build-aux/mkinstalldirs $(DESTDIR)$(octfiledir) |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
281 if [ -n "`cat $(DLDFCN_PKG_ADD_FILE)`" ]; then \ |
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
282 $(INSTALL_DATA) $(DLDFCN_PKG_ADD_FILE) $(DESTDIR)$(octfiledir)/PKG_ADD; \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
283 fi |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
284 cd $(DESTDIR)$(octlibdir) && \ |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
285 for ltlib in $(DLDFCN_LIBS); do \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
286 f=`echo $$ltlib | $(SED) 's,.*/,,'`; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
287 dl=`$(SED) -n -e "s/dlname='\([^']*\)'/\1/p" < $$f`; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
288 if [ -n "$$dl" ]; then \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
289 $(INSTALL_PROGRAM) $$dl $(DESTDIR)$(octfiledir)/`echo $$f | $(SED) 's,^lib,,; s,\.la$$,.oct,'`; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
290 else \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
291 echo "error: dlname is empty in $$ltlib!"; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
292 exit 1; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
293 fi; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
294 lnames=`$(SED) -n -e "s/library_names='\([^']*\)'/\1/p" < $$f`; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
295 if [ -n "$$lnames" ]; then \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
296 rm -f $$f $$lnames $$dl; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
297 fi \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
298 done |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
299 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
300 uninstall-oct: |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
301 for f in $(notdir $(OCT_FILES)); do \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
302 rm -f $(DESTDIR)$(octfiledir)/$$f; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
303 done |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
304 rm -f $(DESTDIR)$(octfiledir)/PKG_ADD |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
305 endif |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
306 .PHONY: install-oct uninstall-oct |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
307 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
308 CLEANFILES = \ |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
309 $(DLDFCN_PKG_ADD_FILE) \ |
15088
60ff2cef569d
maint: Move core interpreter files with DEFUNS to interpfcn/ directory
Rik <rik@octave.org>
parents:
15086
diff
changeset
|
310 interpfcn/graphics-props.cc \ |
60ff2cef569d
maint: Move core interpreter files with DEFUNS to interpfcn/ directory
Rik <rik@octave.org>
parents:
15086
diff
changeset
|
311 parse-tree/oct-parse.output |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
312 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
313 DISTCLEANFILES = \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
314 .DOCSTRINGS \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
315 DOCSTRINGS \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
316 $(BUILT_NODISTFILES) \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
317 $(OCT_FILES) \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
318 $(OCT_STAMP_FILES) |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
319 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
320 MAINTAINERCLEANFILES = \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
321 $(BUILT_DISTFILES) |