1 | #include <misc/auxiliary.h> |
---|
2 | |
---|
3 | #ifdef HAVE_FACTORY |
---|
4 | #include <factory/factory.h> // :( |
---|
5 | #endif |
---|
6 | |
---|
7 | #include <omalloc/omalloc.h> |
---|
8 | |
---|
9 | #include <misc/intvec.h> |
---|
10 | #include <misc/int64vec.h> |
---|
11 | #include <misc/mylimits.h> |
---|
12 | #include <misc/options.h> |
---|
13 | |
---|
14 | #include <reporter/reporter.h> |
---|
15 | |
---|
16 | #include <resources/feFopen.h> |
---|
17 | #include <resources/feResource.h> |
---|
18 | |
---|
19 | #include <coeffs/coeffs.h> |
---|
20 | |
---|
21 | #include <coeffs/si_gmp.h> |
---|
22 | |
---|
23 | #include <polys/kbuckets.h> |
---|
24 | #include <polys/matpol.h> |
---|
25 | #include <polys/mod_raw.h> |
---|
26 | #include <polys/prCopy.h> |
---|
27 | #include <polys/sbuckets.h> |
---|
28 | #include <polys/simpleideals.h> |
---|
29 | #include <polys/weight.h> |
---|
30 | |
---|
31 | #include <polys/monomials/maps.h> |
---|
32 | #include <polys/monomials/monomials.h> |
---|
33 | #include <polys/monomials/p_polys.h> |
---|
34 | #include <polys/monomials/ring.h> |
---|
35 | |
---|
36 | #include <polys/nc/nc.h> |
---|
37 | #include <polys/nc/ncSACache.h> |
---|
38 | #include <polys/nc/ncSAFormula.h> |
---|
39 | #include <polys/nc/ncSAMult.h> |
---|
40 | #include <polys/nc/sca.h> |
---|
41 | #include <polys/nc/summator.h> |
---|
42 | |
---|
43 | |
---|
44 | #include <polys/templates/p_MemAdd.h> |
---|
45 | #include <polys/templates/p_Procs.h> |
---|
46 | |
---|
47 | #include <polys/operations/pShallowCopyDelete.h> |
---|
48 | |
---|
49 | #include <polys/clapsing.h> |
---|
50 | |
---|
51 | |
---|
52 | #ifdef HAVE_FACTORY |
---|
53 | int initializeGMP(){ return 1; } // NEEDED FOR MAIN APP. LINKING!!! |
---|
54 | int mmInit(void) {return 1; } // ? due to SINGULAR!!!...??? |
---|
55 | #endif |
---|
56 | |
---|
57 | |
---|
58 | #include <coeffs/numbers.h> |
---|
59 | #include <kernel/polys.h> |
---|
60 | |
---|
61 | |
---|
62 | #include <kernel/mod2.h> |
---|
63 | |
---|
64 | #include <kernel/structs.h> |
---|
65 | |
---|
66 | |
---|
67 | // HEADERS: |
---|
68 | #include <kernel/hutil.h> |
---|
69 | //#include "idrec.h" // moved to Singular |
---|
70 | #include <kernel/stairc.h> |
---|
71 | #include <kernel/ideals.h> |
---|
72 | #include <kernel/syz.h> |
---|
73 | #include <kernel/fast_maps.h> |
---|
74 | #include <kernel/febase.h> |
---|
75 | #include <kernel/walkProc.h> |
---|
76 | #include <kernel/walkMain.h> |
---|
77 | #include <kernel/walkSupport.h> |
---|
78 | #include <kernel/khstd.h> |
---|
79 | /// #include <kernel/sparsmat.h> // TODO: install polys/this! |
---|
80 | //+ |
---|
81 | |
---|
82 | #include <kernel/fglm.h> |
---|
83 | #include <kernel/kstd1.h> |
---|
84 | #include <kernel/fglmgauss.h> |
---|
85 | #include <kernel/fglmvec.h> |
---|
86 | #include <kernel/kstdfac.h> |
---|
87 | #include <kernel/kmatrix.h> |
---|
88 | #include <kernel/GMPrat.h> |
---|
89 | #include <kernel/multicnt.h> |
---|
90 | #include <kernel/npolygon.h> |
---|
91 | #include <kernel/semic.h> |
---|
92 | #include <kernel/spectrum.h> |
---|
93 | #include <kernel/splist.h> |
---|
94 | #include <kernel/multicnt.h> |
---|
95 | #include <kernel/eigenval.h> |
---|
96 | #include <kernel/units.h> |
---|
97 | #include <kernel/fegetopt.h> |
---|
98 | #include <kernel/ratgring.h> |
---|
99 | #include <kernel/shiftgb.h> |
---|
100 | #include <kernel/mmalloc.h> |
---|
101 | #include <kernel/gfan.h> |
---|
102 | |
---|
103 | #include <kernel/kutil.h> |
---|
104 | |
---|
105 | // #include <kernel/dbm_sl.h> // TODO: needs si_link// already moved to Singular/! |
---|
106 | |
---|
107 | // #include "CCRing.h" // Too old! |
---|
108 | #include <kernel/digitech.h> |
---|
109 | #include <kernel/eigenval.h> |
---|
110 | #include <kernel/fast_maps.h> |
---|
111 | #include <kernel/fast_mult.h> |
---|
112 | #include <kernel/febase.h> |
---|
113 | #include <kernel/fegetopt.h> |
---|
114 | |
---|
115 | #include <kernel/fglmgauss.h> |
---|
116 | #include <kernel/fglm.h> |
---|
117 | #include <kernel/fglmvec.h> |
---|
118 | |
---|
119 | ////////#include "F5cData.h" |
---|
120 | #include <kernel/f5c.h> |
---|
121 | #include <kernel/f5data.h> |
---|
122 | #include <kernel/f5gb.h> |
---|
123 | #include <kernel/f5lists.h> |
---|
124 | ////////#include <kernel/F5cLists.h> |
---|
125 | |
---|
126 | #include <kernel/gfan.h> |
---|
127 | |
---|
128 | |
---|
129 | #include <kernel/GMPrat.h> |
---|
130 | |
---|
131 | // #include "htmlhelp.h" // For Windows // |
---|
132 | #include <kernel/hutil.h> |
---|
133 | // #include <kernel/Ideal.h> // Too old? |
---|
134 | |
---|
135 | |
---|
136 | #include <kernel/ideals.h> |
---|
137 | |
---|
138 | #include <kernel/kmatrix.h> |
---|
139 | #include <kernel/kstd1.h> |
---|
140 | #include <kernel/kstdfac.h> |
---|
141 | #include <kernel/khstd.h> |
---|
142 | |
---|
143 | #include <kernel/linearAlgebra.h> |
---|
144 | |
---|
145 | |
---|
146 | |
---|
147 | // #include "lplist.h" // Too old! |
---|
148 | #include <kernel/mmalloc.h> |
---|
149 | #include <kernel/multicnt.h> |
---|
150 | #include <kernel/npolygon.h> |
---|
151 | // #include <kernel/Number.h> // Too old? |
---|
152 | #include <kernel/page.h> |
---|
153 | // #include <kernel/Poly.h> // Too old? |
---|
154 | // #include <kernel/PowerSeries.h> // Too old? |
---|
155 | |
---|
156 | #include <kernel/preimage.h> |
---|
157 | |
---|
158 | #include <kernel/nc.h> |
---|
159 | |
---|
160 | #include <kernel/ratgring.h> |
---|
161 | #include <kernel/ringgb.h> |
---|
162 | #include <kernel/semic.h> |
---|
163 | #include <kernel/shiftgb.h> |
---|
164 | |
---|
165 | #include <kernel/spectrum.h> |
---|
166 | #include <kernel/splist.h> |
---|
167 | #include <kernel/stairc.h> |
---|
168 | #include <kernel/structs.h> |
---|
169 | #include <kernel/syz.h> |
---|
170 | // #include <kernel/testpoly.h> // Too old? |
---|
171 | |
---|
172 | #include <kernel/tgbgauss.h> |
---|
173 | #include <kernel/tgb.h> |
---|
174 | |
---|
175 | #include <kernel/timer.h> |
---|
176 | |
---|
177 | #include <kernel/units.h> |
---|
178 | #include <kernel/walkMain.h> |
---|
179 | #include <kernel/walkProc.h> |
---|
180 | #include <kernel/walkSupport.h> |
---|
181 | |
---|
182 | |
---|
183 | // #include <polys/clapconv.h> // due to factory? :( |
---|
184 | // #include <kernel/tgb_internal.h> // :( |
---|
185 | // #include <kernel/F4.h> // uses tgb_internal // :( |
---|
186 | // #include <kernel/IIntvec.h> // :( |
---|
187 | |
---|
188 | |
---|
189 | |
---|
190 | // headers in Singular/ |
---|
191 | #include "attrib.h" |
---|
192 | #include "bbcone.h" |
---|
193 | #include "bigintm.h" |
---|
194 | #include "blackbox.h" |
---|
195 | #include "Cache.h" |
---|
196 | #include "CacheImplementation.h" |
---|
197 | #include "cntrlc.h" |
---|
198 | #include "dbm_sl.h" |
---|
199 | #include "distrib.h" |
---|
200 | #include "eigenval_ip.h" |
---|
201 | #include "feOpt.h" |
---|
202 | #include "gms.h" |
---|
203 | #include "grammar.h" |
---|
204 | #include "interpolation.h" |
---|
205 | #include "ipconv.h" |
---|
206 | #include "ipid.h" |
---|
207 | #include "ipprint.h" |
---|
208 | #include "ipshell.h" |
---|
209 | #include "janet.h" |
---|
210 | #include "libparse.h" |
---|
211 | #include "lists.h" |
---|
212 | #include "locals.h" |
---|
213 | #include "maps_ip.h" |
---|
214 | #include "Minor.h" |
---|
215 | #include "MinorInterface.h" |
---|
216 | #include "MinorProcessor.h" |
---|
217 | #include "minpoly.h" |
---|
218 | #include "misc_ip.h" |
---|
219 | #include "mpsr_Get.h" |
---|
220 | #include "mpsr.h" |
---|
221 | #include "mpsr_Put.h" |
---|
222 | #include "mpsr_sl.h" |
---|
223 | #include "mpsr_Timer.h" |
---|
224 | #include "mpsr_Tok.h" |
---|
225 | #include "ndbm.h" |
---|
226 | #include "newstruct.h" |
---|
227 | #include "omSingularConfig.h" |
---|
228 | #include "pcv.h" |
---|
229 | #include "pipeLink.h" |
---|
230 | #include "pyobject_setup.h" |
---|
231 | #include "run.h" |
---|
232 | #include "sdb.h" |
---|
233 | #include "silink.h" |
---|
234 | #include "sing_dbm.h" |
---|
235 | #include "sing_win.h" |
---|
236 | #include "slInit.h" |
---|
237 | #include "ssiLink.h" |
---|
238 | #include "static.h" |
---|
239 | #include "stype.h" |
---|
240 | #include "subexpr.h" |
---|
241 | #include "table.h" |
---|
242 | #include "tok.h" |
---|
243 | #include "utils.h" |
---|
244 | #include "walk.h" |
---|
245 | |
---|
246 | |
---|
247 | // Source files in Singular/ |
---|
248 | /* |
---|
249 | #include "attrib.cc" |
---|
250 | #include "bbcone.cc" |
---|
251 | #include "bbfan.cc" |
---|
252 | #include "bigintm.cc" |
---|
253 | #include "blackbox.cc" |
---|
254 | #include "calcSVD.cc" |
---|
255 | #include "claptmpl.cc" |
---|
256 | #include "cntrlc.cc" |
---|
257 | #include "denom_list.cc" |
---|
258 | #include "eigenval_ip.cc" |
---|
259 | #include "emacs.cc" |
---|
260 | #include "extra.cc" |
---|
261 | #include "fehelp.cc" |
---|
262 | #include "feOpt.cc" |
---|
263 | #include "fglm.cc" |
---|
264 | #include "gentable2.cc" |
---|
265 | #include "gentable.cc" |
---|
266 | #include "gms.cc" |
---|
267 | #include "grammar.cc" |
---|
268 | #include "interpolation.cc" |
---|
269 | #include "iparith.cc" |
---|
270 | #include "ipassign.cc" |
---|
271 | #include "ipconv.cc" |
---|
272 | #include "ipid.cc" |
---|
273 | #include "iplib.cc" |
---|
274 | #include "ipprint.cc" |
---|
275 | #include "ipshell.cc" |
---|
276 | #include "janet.cc" |
---|
277 | #include "libparse.cc" |
---|
278 | #include "linearAlgebra_ip.cc" |
---|
279 | #include "lists.cc" |
---|
280 | #include "maps_ip.cc" |
---|
281 | #include "Minor.cc" |
---|
282 | #include "MinorInterface.cc" |
---|
283 | #include "MinorProcessor.cc" |
---|
284 | #include "minpoly.cc" |
---|
285 | #include "misc_ip.cc" |
---|
286 | #include "mpsr_Error.cc" |
---|
287 | #include "mpsr_Get.cc" |
---|
288 | #include "mpsr_GetMisc.cc" |
---|
289 | #include "mpsr_GetPoly.cc" |
---|
290 | #include "mpsr_Put.cc" |
---|
291 | #include "mpsr_PutPoly.cc" |
---|
292 | #include "mpsr_sl.cc" |
---|
293 | #include "mpsr_Timer.cc" |
---|
294 | #include "mpsr_Tok.cc" |
---|
295 | #include "ndbm.cc" |
---|
296 | #include "newstruct.cc" |
---|
297 | #include "pcv.cc" |
---|
298 | #include "pipeLink.cc" |
---|
299 | #include "pyobject.cc" |
---|
300 | #include "pyobject_setup.cc" |
---|
301 | #include "scanner.cc" |
---|
302 | #include "sdb.cc" |
---|
303 | #include "silink.cc" |
---|
304 | #include "sing_dbm.cc" |
---|
305 | #include "sing_win.cc" |
---|
306 | #include "slInit_Dynamic.cc" |
---|
307 | #include "slInit_Static.cc" |
---|
308 | #include "ssiLink.cc" |
---|
309 | #include "subexpr.cc" |
---|
310 | #include "test.cc" |
---|
311 | #include "tesths.cc" |
---|
312 | #include "utils.cc" |
---|
313 | #include "walk.cc" |
---|
314 | #include "walk_ip.cc" |
---|
315 | #include "wrapper.cc" |
---|
316 | */ |
---|
317 | |
---|
318 | int main( int, char *argv[] ) |
---|
319 | { |
---|
320 | feInitResources(argv[0]); |
---|
321 | |
---|
322 | StringSetS("ressources in use (as reported by feStringAppendResources(0):\n"); |
---|
323 | feStringAppendResources(0); |
---|
324 | PrintS(StringAppendS("\n")); |
---|
325 | |
---|
326 | return 0; |
---|
327 | } |
---|
328 | |
---|