gfan/gfan-automake.diff
2024-09-10 11:31:47 +02:00

31 lines
5.7 KiB
Diff

From: Jan Engelhardt <ej@inai.de>
Date: 2024-09-10 11:29:23.277998131 +0200
Use much simpler Makefiles.
---
Makefile.am | 4 ++++
configure.ac | 6 ++++++
2 files changed, 10 insertions(+)
Index: gfan0.7/Makefile.am
===================================================================
--- /dev/null
+++ gfan0.7/Makefile.am
@@ -0,0 +1,4 @@
+AM_CPPFLAGS = -DGMPRATIONAL
+bin_PROGRAMS = gfan
+gfan_SOURCES = src/polynomialgcd.cpp src/lp_cdd.cpp src/parser.cpp src/field.cpp src/monomial.cpp src/printer.cpp src/polynomial.cpp src/termorder.cpp src/term.cpp src/vektor.cpp src/division.cpp src/buchberger.cpp src/wallideal.cpp src/lp.cpp src/enumeration.cpp src/ep_standard.cpp src/ep_xfig.cpp src/reversesearch.cpp src/application.cpp src/timer.cpp src/renderer.cpp src/field_rationals.cpp src/symmetry.cpp src/breadthfirstsearch.cpp src/genericwalk.cpp src/minkowskisum.cpp src/newtonpolytope.cpp src/tropical.cpp src/dimension.cpp src/bergman.cpp src/subspace.cpp src/polyhedralcone.cpp src/gfanapplication.cpp src/polyhedralfan.cpp src/tropical2.cpp src/field_zmodpz.cpp src/binomial.cpp src/matrix.cpp src/latticeideal.cpp src/scarf.cpp src/xfig.cpp src/halfopencone.cpp src/lll.cpp src/multiplicity.cpp src/substitute.cpp src/polymakefile.cpp src/saturation.cpp src/determinant.cpp src/polynomialring.cpp src/log.cpp src/tropicalbasis.cpp src/symmetriccomplex.cpp src/linalg.cpp src/minors.cpp src/continuedfractions.cpp src/triangulation.cpp src/minkowskidual.cpp src/regularsubdivision.cpp src/fieldlp.cpp src/field_rationalfunctions.cpp src/tropical_weildivisor.cpp src/intsinpolytope.cpp src/lattice.cpp src/graph.cpp src/restrictedautoreduction.cpp src/tropicaltraverse.cpp src/groebnerengine.cpp src/ge_gfan.cpp src/nbody.cpp src/codimoneconnectedness.cpp src/tropicalmap.cpp src/traverser_tropical.cpp src/traverser_groebnerfan.cpp src/field_rationalfunctions2.cpp src/mixedvolume.cpp src/traverser_stableintersection.cpp src/traverser_secondaryfan.cpp src/linalgfloat.cpp src/primarydecomposition.cpp src/tropicaldeterminant.cpp src/determinantpoly.cpp src/traverser_sphere.cpp src/gfanlib_zcone.cpp src/gfanlib_symmetry.cpp src/gfanlib_symmetriccomplex.cpp src/gfanlib_polyhedralfan.cpp src/gfanlib_zfan.cpp src/gfanlib_polymakefile.cpp src/gfanlib_mixedvolume.cpp src/gfanlib_circuittableint.cpp src/gfanlib_paralleltraverser.cpp src/padic.cpp src/integergb.cpp src/traverser_resultantfan.cpp src/bsptree.cpp src/traverser_resultantfanspecialization.cpp src/myassert.cpp src/traverser_bsptree.cpp src/gfanlib_traversal.cpp src/tropicalcurve.cpp src/packedmonomial.cpp src/gmpallocator.cpp src/gfanlib_memoryresource.cpp src/gfanlib_hypersurfaceintersection.cpp src/divisionobject.cpp src/gfanlibglue.cpp src/app_main.cpp src/app_buchberger.cpp src/app_doesidealcontain.cpp src/app_facets.cpp src/app_groebnercone.cpp src/app_homogeneityspace.cpp src/app_homogenize.cpp src/app_initialforms.cpp src/app_interactive.cpp src/app_isgroebnerbasis.cpp src/app_ismarkedgroebnerbasis.cpp src/app_krulldimension.cpp src/app_leadingterms.cpp src/app_multiplymatrix.cpp src/app_polynomialsetunion.cpp src/app_render.cpp src/app_renderstaircase.cpp src/app_stats.cpp src/app_substitute.cpp src/app_supportindices.cpp src/app_tolatex.cpp src/app_transposematrix.cpp src/app_tropicalbasis.cpp src/app_tropicalintersection.cpp src/app_tropicalstartingcone.cpp src/app_tropicaltraverse.cpp src/app_walk.cpp src/app_weightvector.cpp src/app_scarfisgeneric.cpp src/app_scarfvisualize.cpp src/app_scarfcomplex.cpp src/app_sturmsequence.cpp src/app_latticeideal.cpp src/app_lll.cpp src/app_tropicalmultiplicity.cpp src/app_idealintersection.cpp src/app_test.cpp src/app_saturation.cpp src/app_idealproduct.cpp src/app_representatives.cpp src/app_tropicallifting.cpp src/app_topolyhedralfan.cpp src/app_tropicalbruteforce.cpp src/app_secondaryfan.cpp src/app_composepermutations.cpp src/app_minors.cpp src/app_tropicalrank.cpp src/app_minkowski.cpp src/app_triangulate.cpp src/app_tropicallinearspace.cpp src/app_combinerays.cpp src/app_regularsubdivision.cpp src/app_lpsolve.cpp src/app_tropicalweildivisor.cpp src/app_lattice.cpp src/app_intsinpolytope.cpp src/app_tropicalevaluation.cpp src/app_smalessixth.cpp src/app_smalessixth2.cpp src/app_nbody.cpp src/app_spolynomial.cpp src/app_link.cpp src/app_normalfancleanup.cpp src/app_tropicalfunction.cpp src/app_volume.cpp src/app_isconnected.cpp src/app_tropicalhypersurface.cpp src/app_product.cpp src/app_commonrefinement.cpp src/app_tropicalimage.cpp src/app_groebnerfan.cpp src/app_fanhomology.cpp src/app_genericlinearchange.cpp src/app_mixedvolume.cpp src/app_fiberpolytope.cpp src/app_symmetries.cpp src/app_evaluate.cpp src/app_exponentlattice.cpp src/app_minimalassociatedprimes.cpp src/app_realroots.cpp src/app_initialdeterminant.cpp src/app_fansubfan.cpp src/app_fancones.cpp src/app_issmooth.cpp src/app_fancoarsening.cpp src/app_pointconfiguration.cpp src/app_librarytest.cpp src/app_padic.cpp src/app_integergb.cpp src/app_matrixproduct.cpp src/app_traversetropicalintersection.cpp src/app_markpolynomialset.cpp src/app_tropicalhypersurfacereconstruction.cpp src/app_resultantfan.cpp src/app_isbalanced.cpp src/app_polytopealgebra.cpp src/app_debug.cpp src/app_randompolynomials.cpp src/app_tropicalcurve.cpp src/app_tropicalhomotopy.cpp src/app_integerfactorization.cpp src/app_tropicalvarietyspan.cpp src/app_chowbetti.cpp src/app_anton.cpp src/app_components.cpp src/app_tropicalprevarietycomponents.cpp src/app_tropicalprevariety.cpp src/app_anders.cpp src/symmetrictraversal.cpp
+gfan_LDADD = -lpthread -lgmp -lcddgmp
Index: gfan0.7/configure.ac
===================================================================
--- /dev/null
+++ gfan0.7/configure.ac
@@ -0,0 +1,6 @@
+AC_INIT([gfan], [0.7])
+AM_INIT_AUTOMAKE([-Wall foreign subdir-objects])
+AC_PROG_INSTALL
+AC_PROG_CXX
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT