source: git/factory/Makefile.am @ ea0001

spielwiese
Last change on this file since ea0001 was ea0001, checked in by Mohamed Barakat <mohamed.barakat@…>, 13 years ago
make check finds the gftables and dynamic modules (also out of tree) - added AM_MAINTAINER_MODE to configure.ac everywhere - we now symlink to gftables rather than copying - use GFTABLEDIR to find gftables in nfReadTable (this is a hack which breaks Singular when it is installed) - symlink the dynamic modules from libpolys/polys to libpolys/tests
  • Property mode set to 100644
File size: 5.2 KB
Line 
1CXXTEMPLFLAGS      = -fno-implicit-templates --no-exceptions
2
3INCLUDES = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${top_builddir}/.. -I${srcdir} ${GMP_CFLAGS} ${NTL_CFLAGS}
4
5lib_LIBRARIES = libfactory.a libfactory_g.a
6
7libfactory_a_CXXFLAGS   = -O3 -fomit-frame-pointer --no-rtti ${CXXTEMPLFLAGS}
8libfactory_g_a_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${CXXTEMPLFLAGS}
9
10# factory source files
11SOURCES = \
12                canonicalform.cc \
13                cf_algorithm.cc \
14                cf_binom.cc \
15                cf_char.cc \
16                cf_chinese.cc \
17                cf_cyclo.cc \
18                cf_eval.cc \
19                cf_factor.cc \
20                cf_factory.cc \
21                cf_gcd.cc \
22                cf_gcd_smallp.cc \
23                cf_generator.cc \
24                cfGEval.cc \
25                cf_globals.cc \
26                cf_hnf.cc \
27                cf_inline.cc \
28                cf_irred.cc \
29                cf_iter.cc \
30                cf_iter_inline.cc \
31                cf_linsys.cc \
32                cf_map.cc \
33                cf_map_ext.cc \
34                cf_ops.cc \
35                cf_primes.cc \
36                cf_random.cc \
37                cf_resultant.cc \
38                cf_reval.cc \
39                cf_switches.cc \
40                cf_util.cc \
41                debug.cc \
42                DegreePattern.cc \
43                ExtensionInfo.cc \
44                facAlgExt.cc \
45                fac_berlekamp.cc \
46                fac_cantzass.cc \
47                fac_distrib.cc \
48                fac_ezgcd.cc \
49                fac_iterfor.cc \
50                fac_multihensel.cc \
51                fac_multivar.cc \
52                fac_sqrfree.cc \
53                fac_univar.cc \
54                fac_util.cc \
55                facFqBivar.cc \
56                facFqBivarUtil.cc \
57                facFqFactorize.cc \
58                facFqFactorizeUtil.cc \
59                facFqSquarefree.cc \
60                facHensel.cc \
61                facIrredTest.cc \
62                fieldGCD.cc \
63                ffops.cc \
64                ffreval.cc \
65                gf_tabutil.cc \
66                gfops.cc \
67                imm.cc \
68                int_cf.cc \
69                int_int.cc \
70                int_intdiv.cc \
71                int_poly.cc \
72                int_pp.cc \
73                int_rat.cc \
74                sm_sparsemod.cc \
75                sm_util.cc \
76                variable.cc \
77                NTLconvert.cc \
78                abs_fac.cc \
79                bifac.cc \
80                lgs.cc \
81                singext.cc \
82                parseutil.cc \
83                readcf.yy \
84                factory.h \
85                factoryconf.h \
86                ftmpl_inst.cc
87
88libfactory_a_SOURCES = $(SOURCES)
89libfactory_g_a_SOURCES = $(SOURCES)
90
91# factory header files
92factory_headers = \
93                cf_assert.h \
94                canonicalform.h \
95                cf_algorithm.h \
96                cf_binom.h \
97                cf_defs.h \
98                cf_eval.h \
99                cf_factory.h \
100                cf_generator.h \
101                cfGEval.h \
102                cf_globals.h \
103                cf_gcd_smallp.h \
104                cf_hnf.h \
105                cf_irred.h \
106                cf_iter.h \
107                cf_map.h \
108                cf_primes.h \
109                cf_primetab.h \
110                cf_random.h \
111                cf_reval.h \
112                cf_switches.h \
113                cf_util.h \
114                debug.h \
115                DegreePattern.h \
116                ExtensionInfo.h \
117                facAlgExt.h \
118                fac_berlekamp.h \
119                fac_cantzass.h \
120                fac_distrib.h \
121                fac_iterfor.h \
122                fac_multivar.h \
123                fac_sqrfree.h \
124                fac_univar.h \
125                fac_util.h \
126                facFqBivar.h \
127                facFqBivarUtil.h \
128                facFqFactorize.h \
129                facFqFactorizeUtil.h \
130                facFqSquarefree.h \
131                facHensel.h \
132                facIrredTest.h \
133                fieldGCD.h \
134                ffops.h \
135                ffreval.h \
136                templates/ftmpl_list.h \
137                templates/ftmpl_matrix.h \
138                gf_tabutil.h \
139                gfops.h \
140                gmpext.h \
141                imm.h \
142                int_cf.h \
143                int_int.h \
144                int_poly.h \
145                int_pp.h \
146                int_rat.h \
147                sm_sparsemod.h \
148                sm_util.h \
149                timing.h \
150                variable.h \
151                NTLconvert.h \
152                bifac.h \
153                bifacConfig.h \
154                lgs.h \
155                algext.h \
156                singext.h
157
158noinst_HEADERS = $(factory_headers)
159
160# Documentation
161include $(top_srcdir)/aminclude.am
162
163doxysrc = $(SOURCES) parseutil.cc
164doxyincl = $(factory_headers) parseutil.h
165
166# doxygen targets
167doxy:           factory.cfg $(doxysrc) $(doxyincl)
168                doxygen $<
169
170doxyclean:
171                rm -rf doxygen
172
173# Support for building GF(q)-tables
174
175templatesrc =   \
176                ftmpl_array.cc \
177                ftmpl_factor.cc \
178                ftmpl_functions.h \
179                ftmpl_list.cc \
180                ftmpl_matrix.cc
181templateincl =  \
182                ftmpl_array.h \
183                ftmpl_factor.h \
184                ftmpl_list.h \
185                ftmpl_matrix.h
186
187noinst_PROGRAMS = gengftables
188gengftables_LDADD = -L${builddir} -lfactory $(GMP_LIBS) $(NTL_LIBS)
189
190gengftables_SOURCES = gengftables-conway.cc
191
192data_DATA = gftables
193
194gftables:       gengftables
195                @if test -x ${srcdir}/gftables; then \
196                        if test ! -x ${builddir}/gftables; then \
197                          ln -snf ${srcdir}/gftables ${builddir}; \
198                        fi; \
199                else \
200                        echo "This command will take quite a long time to execute;"; \
201                        echo "maybe you want to get the tables directly via ftp (see"; \
202                        echo "the INSTALL file)."; \
203                        ${builddir}/gengftables; \
204                fi
205
206.template.h:
207                ${srcdir}/bin/makeheader $< $@
208
209BUILT_SOURCES = factory.h factoryconf.h
210
211# These files listed below are not used anywhere but are included in
212# the distribution. So they will be tacked on to EXTRA_DIST.
213
214# header templates
215hdrtemplsrc = \
216                factoryconf.template \
217                factory.template
218
219# FTE source files
220ftestsrc =      \
221                ftest_io.cc \
222                ftest_util.cc \
223                ntl_util.cc
224
225# FTE header files
226ftestincl =     \
227                ftest_io.h \
228                ftest_util.h \
229                ntl_util.h
230
231# FTE m4 source files (exported for `GNUmakefile' in `ftest/').
232# The variable `$(ftestm4develsrc)' may be already initialized
233# from the development `GNUmakefile'.
234ftestm4src =    $(ftestm4develsrc) \
235                commonden.m4 \
236                degree.m4 \
237                deriv.m4 \
238                divides.m4 \
239                divrem.m4 \
240                extgcd.m4 \
241                factorize.m4 \
242                fbinops.m4 \
243                feval.m4 \
244                gcd.m4 \
245                gcd.ntl.m4 \
246                insert.m4 \
247                norm.m4 \
248                resultant.m4 \
249                revert.m4 \
250                sqrfree.m4 \
251                size.m4 \
252                totaldegree.m4
253
254# other files from the FTE
255ftestdistfiles = \
256                ftest_util.m4
257
258EXTRA_DIST =    gengftables.cc gengftables-conway.cc test_install.cc \
259                $(templatesrc) $(templateincl) $(hdrtemplsrc) \
260                $(ftestsrc) $(ftestincl) $(ftestm4src) $(ftestdistfiles) \
261                doxygen.cfg factory.cfg gen_cf_gmp.template \
262                examples/application.cc \
263                examples/factorize.cc examples/gcd.cc \
264                bin/folding.el bin/fold-docu.el \
265                bin/makeheader bin/gen-readcf readcf.cc gftables
266
267CLEANFILES = factory.h factoryconf.h
Note: See TracBrowser for help on using the repository browser.