source: git/factory/Makefile.am @ d524d48

spielwiese
Last change on this file since d524d48 was d524d48, checked in by Hans Schoenemann <hannes@…>, 12 years ago
fix: Makefile.am
  • 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_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.y \
84                ftmpl_inst.cc
85
86libfactory_a_SOURCES = $(SOURCES)
87libfactory_g_a_SOURCES = $(SOURCES)
88
89# factory header files
90factory_headers = \
91                cf_assert.h \
92                canonicalform.h \
93                cf_algorithm.h \
94                cf_binom.h \
95                cf_defs.h \
96                cf_eval.h \
97                cf_factory.h \
98                cf_generator.h \
99                cfGEval.h \
100                cf_globals.h \
101                cf_gcd_smallp.h \
102                cf_hnf.h \
103                cf_irred.h \
104                cf_iter.h \
105                cf_map.h \
106                cf_primes.h \
107                cf_primetab.h \
108                cf_random.h \
109                cf_reval.h \
110                cf_switches.h \
111                cf_util.h \
112                debug.h \
113                DegreePattern.h \
114                ExtensionInfo.h \
115                facAlgExt.h \
116                fac_berlekamp.h \
117                fac_cantzass.h \
118                fac_distrib.h \
119                fac_iterfor.h \
120                fac_multivar.h \
121                fac_sqrfree.h \
122                fac_univar.h \
123                fac_util.h \
124                facFqBivar.h \
125                facFqBivarUtil.h \
126                facFqFactorize.h \
127                facFqFactorizeUtil.h \
128                facFqSquarefree.h \
129                facHensel.h \
130                facIrredTest.h \
131                fieldGCD.h \
132                ffops.h \
133                ffreval.h \
134                templates/ftmpl_list.h \
135                templates/ftmpl_matrix.h \
136                gf_tabutil.h \
137                gfops.h \
138                gmpext.h \
139                imm.h \
140                int_cf.h \
141                int_int.h \
142                int_poly.h \
143                int_pp.h \
144                int_rat.h \
145                sm_sparsemod.h \
146                sm_util.h \
147                timing.h \
148                variable.h \
149                NTLconvert.h \
150                bifac.h \
151                bifacConfig.h \
152                lgs.h \
153                algext.h \
154                singext.h
155
156noinst_HEADERS = $(factory_headers)
157
158# Documentation
159include $(top_srcdir)/aminclude.am
160
161doxysrc = $(SOURCES) parseutil.cc
162doxyincl = $(factory_headers) parseutil.h
163
164# doxygen targets
165doxy:           factory.cfg $(doxysrc) $(doxyincl)
166                doxygen $<
167
168doxyclean:
169                rm -rf doxygen
170
171# Support for building GF(q)-tables
172
173templatesrc =   \
174                ftmpl_array.cc \
175                ftmpl_factor.cc \
176                ftmpl_functions.h \
177                ftmpl_list.cc \
178                ftmpl_matrix.cc
179templateincl =  \
180                ftmpl_array.h \
181                ftmpl_factor.h \
182                ftmpl_list.h \
183                ftmpl_matrix.h
184
185noinst_PROGRAMS = gengftables
186gengftables_LDADD = -L${builddir} -lfactory $(GMP_LIBS) $(NTL_LIBS)
187
188gengftables_SOURCES = gengftables-conway.cc ftmpl_inst.cc
189
190gftables:       gengftables
191                @echo "This command will take quite a long time to execute;"
192                @echo "maybe you want to get the tables directly via ftp (see"
193                @echo "the INSTALL file)."
194                $(MKINSTALLDIRS) gftables
195                ./gengftables
196
197# These files listed below are not used anywhere but are included in
198# the distribution. So they will be tacked on to EXTRA_DIST.
199
200# header templates
201hdrtemplsrc = \
202                factoryconf.template \
203                factory.template
204
205# FTE source files
206ftestsrc =      \
207                ftest_io.cc \
208                ftest_util.cc \
209                ntl_util.cc
210
211# FTE header files
212ftestincl =     \
213                ftest_io.h \
214                ftest_util.h \
215                ntl_util.h
216
217# FTE m4 source files (exported for `GNUmakefile' in `ftest/').
218# The variable `$(ftestm4develsrc)' may be already initialized
219# from the development `GNUmakefile'.
220ftestm4src =    $(ftestm4develsrc) \
221                commonden.m4 \
222                degree.m4 \
223                deriv.m4 \
224                divides.m4 \
225                divrem.m4 \
226                extgcd.m4 \
227                factorize.m4 \
228                fbinops.m4 \
229                feval.m4 \
230                gcd.m4 \
231                gcd.ntl.m4 \
232                insert.m4 \
233                norm.m4 \
234                resultant.m4 \
235                revert.m4 \
236                sqrfree.m4 \
237                size.m4 \
238                totaldegree.m4
239
240# other files from the FTE
241ftestdistfiles = \
242                ftest_util.m4
243
244EXTRA_DIST =    gengftables.cc gengftables-conway.cc test_install.cc \
245                $(templatesrc) $(templateincl) $(hdrtemplsrc) \
246                $(ftestsrc) $(ftestincl) $(ftestm4src) $(ftestdistfiles) \
247                doxygen.cfg factory.cfg gen_cf_gmp.template \
248                examples/application.cc \
249                examples/factorize.cc examples/gcd.cc \
250                bin/folding.el bin/fold-docu.el \
251                bin/makeheader bin/gen-readcf
Note: See TracBrowser for help on using the repository browser.