source: git/factory/Makefile.am @ e76d7a6

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