Changeset bd795d in git
- Timestamp:
- Jan 27, 2012, 7:44:48 PM (11 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 7938a0f011b7631108f90c25ded16172b942b7b1
- Parents:
- fea2afe12a425d875d707eb7393d52b070f19b49
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-01-27 19:44:48+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-01-27 19:52:11+01:00
- Files:
-
- 13 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
Makefile.am
rfea2af rbd795d 15 15 TESTDIRS=$(ALLOC) $(USE_FACTORY) libpolys kernel Singular 16 16 17 EXTRA_DIST = autogen.sh 17 18 emacsdir=$(datadir)/emacs 19 dist_emacs_DATA = emacs/BUGS \ 20 emacs/ChangeLog \ 21 emacs/cmpl.pl \ 22 emacs/COPYING \ 23 emacs/ESingular.emacs21 \ 24 emacs/lib.pl \ 25 emacs/Makefile.in \ 26 emacs/NEWS \ 27 emacs/singular.el \ 28 emacs/singular.el.decl \ 29 emacs/singular.xpm 30 31 # emacs/test.sing 32 # TODO: remove this! 33 #all-local: 34 # [ -d ${builddir}/emacs ] || ln -s ${srcdir}/emacs ${builddir} 35 36 37 EXTRA_DIST = autogen.sh emacs 38 18 39 19 40 bin_SCRIPTS = libsingular-config -
Singular/Makefile.am
rfea2af rbd795d 14 14 CXXTEMPLFLAGS = ## -fno-implicit-templates 15 15 16 INCLUDES = -I${top_srcdir} -I${top_builddir} -I${top_srcdir}/numeric -I${top_builddir}/numeric -I${top_srcdir}/kernel -I${top_builddir}/kernel -I${top_srcdir}/libpolys -I${top_builddir}/libpolys $(GMP_CFLAGS) -I${top_srcdir}/factory/include -I${top_builddir}/factory/include $(FACTORY_CFLAGS) $(NTL_CFLAGS)16 AM_CPPFLAGS = -I${top_srcdir} -I${top_builddir} -I${top_srcdir}/numeric -I${top_builddir}/numeric -I${top_srcdir}/kernel -I${top_builddir}/kernel -I${top_srcdir}/libpolys -I${top_builddir}/libpolys $(GMP_CFLAGS) -I${top_srcdir}/factory/include -I${top_builddir}/factory/include $(FACTORY_CFLAGS) $(NTL_CFLAGS) 17 17 18 18 ########################### libSingular* ######################### … … 29 29 30 30 31 libSingular_la_CPPFLAGS = -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DLIBSINGULAR32 libSingular_g_la_CPPFLAGS = -DHAVE_CONFIG_H -DLIBSINGULAR31 libSingular_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DLIBSINGULAR 32 libSingular_g_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DLIBSINGULAR 33 33 34 34 SOURCES = Minor.cc\ … … 87 87 ssiLink.cc\ 88 88 subexpr.cc\ 89 utils.cc\90 89 walk.cc\ 91 90 walk_ip.cc\ … … 95 94 # slInit_Dynamic.cc 96 95 97 libSingular_la_SOURCES = $(SOURCES) feOpt.inc feOptTS.inc feOptES.inc98 libSingular_g_la_SOURCES = $(SOURCES) feOpt.inc feOptTS.inc feOptES.inc96 libSingular_la_SOURCES = $(SOURCES) feOpt.inc 97 libSingular_g_la_SOURCES = $(SOURCES) feOpt.inc 99 98 100 99 SingularHEADERS = Cache.h \ … … 154 153 table.h \ 155 154 tok.h \ 156 utils.h \157 155 version.h \ 158 walk.h \ 159 feOpt.h 156 walk.h 160 157 161 158 nodist_libSingular_la_SOURCES = mpsr_Tok.inc iparith.inc plural_cmd.inc … … 171 168 endif 172 169 173 # noinst_HEADERS = feOpt.h174 ## TODO: install all the *.inc?!175 ## If not, move feOpt.h to SOURCES and remove *inc from HEADERS176 177 170 ######################################################### 178 171 # handle all the generated *.inc … … 180 173 AM_LDFLAGS = -L${abs_top_builddir}/Singular -L${abs_top_builddir}/numeric -L${abs_top_builddir}/kernel -L${abs_top_builddir}/libpolys/polys $(USE_FACTORY) -L${abs_top_builddir}/omalloc -L${abs_top_builddir}/findexec 181 174 182 noinst_PROGRAMS = gentable2 gentable1 feOpt feOptES feOptTS175 noinst_PROGRAMS = gentable2 gentable1 feOptGen feOptES feOptTS 183 176 184 177 gentable2_SOURCES = gentable2.cc grammar.h tok.h table.h 185 178 gentable2_CFLAGS = -O3 -fomit-frame-pointer ${PIPE} 186 179 gentable2_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS) 187 gentable2_CPPFLAGS = -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG180 gentable2_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG 188 181 189 182 … … 191 184 gentable1_CFLAGS = -O3 -fomit-frame-pointer ${PIPE} 192 185 gentable1_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS) 193 gentable1_CPPFLAGS = -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG194 195 feOpt _SOURCES = feOptGen.cc feOptGen.h196 feOpt _CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)197 feOpt _CPPFLAGS =-DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG186 gentable1_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG 187 188 feOptGen_SOURCES = feOptGen.cc feOptGen.h 189 feOptGen_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS) 190 feOptGen_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG 198 191 199 192 feOptES_SOURCES = feOptGen.cc feOptGen.h 200 193 feOptES_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS) 201 feOptES_CPPFLAGS = -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DESINGULAR194 feOptES_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DESINGULAR 202 195 203 196 feOptTS_SOURCES = feOptGen.cc feOptGen.h 204 197 feOptTS_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS) 205 feOptTS_CPPFLAGS = -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DTSINGULAR198 feOptTS_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DTSINGULAR 206 199 207 200 ########################### Singular* ######################### 208 201 209 bin_PROGRAMS = Singular Singularg Singulard Singulardg 210 # libparse 211 # libparse_CPPFLAGS = -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DSTANDALONE_PARSER 212 # libparse_CFLAGS = -O3 -fomit-frame-pointer ${PIPE} 213 # libparse_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS) 202 EXTRA_PROGRAMS = Singulard Singulardg libparse 203 204 # the "optional_programs" variable should be defined in the configure 205 # script, and listed in an AC_SUBST macro 206 optional_Singular_programs = 207 208 bin_PROGRAMS = Singular Singularg ESingular TSingular $(optional_Singular_programs) 209 210 Singular_CFLAGS = -O3 -fomit-frame-pointer ${PIPE} 211 Singularg_CFLAGS = -g ${PIPE} 212 213 Singular_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS) 214 Singularg_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS) 215 216 nodist_Singular_SOURCES = libSingular.la 217 nodist_Singularg_SOURCES = libSingular_g.la 218 219 Singular_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc utils.h 220 Singularg_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc utils.h 221 222 Singular_LDADD = libSingular.la -lnumeric -lkernel -lpolys $(FACTORY_LIBS) -lomalloc -lfindexec $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} 223 Singularg_LDADD = libSingular_g.la -lnumeric_g -lkernel_g -lpolys_g $(FACTORY_LIBS) -lomalloc_g -lfindexec_g $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} 224 225 Singular_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG 226 Singularg_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 227 228 Singular_LDFLAGS = -static 229 Singularg_LDFLAGS = -static 230 231 232 Singulard_CFLAGS = -O3 -fomit-frame-pointer ${PIPE} 233 Singulardg_CFLAGS = -g ${PIPE} 234 235 Singulard_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS) 236 Singulardg_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS) 237 238 Singulard_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc utils.h 239 nodist_Singulard_SOURCES = libSingular.la 240 241 Singulardg_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc utils.h 242 nodist_Singulardg_SOURCES = libSingular_g.la 243 244 Singulard_LDADD = libSingular.la -lnumeric -lkernel -lpolys $(FACTORY_LIBS) -lomalloc -lfindexec $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} 245 Singulardg_LDADD = libSingular_g.la -lnumeric_g -lkernel_g -lpolys_g $(FACTORY_LIBS) -lomalloc_g -lfindexec_g $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} 246 247 Singulard_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG 248 Singulardg_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 249 250 251 #### ESingular 252 253 ESingular_CFLAGS = -O3 -fomit-frame-pointer ${PIPE} 254 ESingular_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS) 255 ESingular_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DESINGULAR -DPROTO 256 ESingular_LDFLAGS = -static ${AM_LDFLAGS} -L${abs_top_builddir}/libpolys/resources -L${abs_top_builddir}/libpolys/reporter -L${abs_top_builddir}/libpolys/misc 257 ESingular_LDADD = -lresources -lreporter -lmisc -lomalloc -lfindexec 258 259 ESingular_SOURCES = emacs.cc fegetopt.c fegetopt.h feOptES.inc feOpt.cc 260 261 #### same for TSingular 262 263 TSingular_CFLAGS = -O3 -fomit-frame-pointer ${PIPE} 264 TSingular_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS) 265 TSingular_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DTSINGULAR -DPROTO 266 TSingular_LDFLAGS = -static ${AM_LDFLAGS} -L${abs_top_builddir}/libpolys/resources -L${abs_top_builddir}/libpolys/reporter -L${abs_top_builddir}/libpolys/misc 267 TSingular_LDADD = -lresources -lreporter -lmisc -lomalloc -lfindexec 268 269 TSingular_SOURCES = emacs.cc fegetopt.c fegetopt.h feOptTS.inc feOpt.cc 270 # utils.cc utils.h 271 272 273 #### libparse 274 libparse_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DSTANDALONE_PARSER 275 libparse_CFLAGS = -O3 -fomit-frame-pointer ${PIPE} 276 libparse_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS) 214 277 215 # libparse_SOURCES = libparse.cc 278 libparse_SOURCES = libparse.cc fegetopt.c fegetopt.h utils.cc utils.h 216 279 # nodist_libparse_SOURCES = libSingular.la 217 280 218 281 # # libSingular.la -lnumeric 219 # libparse_LDADD = -lkernel -lpolys $(FACTORY_LIBS) -lomalloc -lfindexec $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} 220 # libparse_LDFLAGS = -static ${AM_LDFLAGS} 221 222 223 Singular_CFLAGS = -O3 -fomit-frame-pointer ${PIPE} 224 Singularg_CFLAGS = -g ${PIPE} 225 226 Singular_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS) 227 Singularg_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS) 228 229 nodist_Singular_SOURCES = libSingular.la 230 nodist_Singularg_SOURCES = libSingular_g.la 231 232 Singular_SOURCES = tesths.cc 233 Singularg_SOURCES = tesths.cc 234 235 Singular_LDADD = libSingular.la -lnumeric -lkernel -lpolys $(FACTORY_LIBS) -lomalloc -lfindexec $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} 236 Singularg_LDADD = libSingular_g.la -lnumeric_g -lkernel_g -lpolys_g $(FACTORY_LIBS) -lomalloc_g -lfindexec_g $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} 237 238 Singular_CPPFLAGS = -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG 239 Singularg_CPPFLAGS = -DHAVE_CONFIG_H 240 241 Singular_LDFLAGS = -static 242 Singularg_LDFLAGS = -static 243 244 245 Singulard_CFLAGS = -O3 -fomit-frame-pointer ${PIPE} 246 Singulardg_CFLAGS = -g ${PIPE} 247 248 Singulard_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS) 249 Singulardg_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS) 250 251 Singulard_SOURCES = tesths.cc 252 nodist_Singulard_SOURCES = libSingular.la 253 254 Singulardg_SOURCES = tesths.cc 255 nodist_Singulardg_SOURCES = libSingular_g.la 256 257 Singulard_LDADD = libSingular.la -lnumeric -lkernel -lpolys $(FACTORY_LIBS) -lomalloc -lfindexec $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} 258 Singulardg_LDADD = libSingular_g.la -lnumeric_g -lkernel_g -lpolys_g $(FACTORY_LIBS) -lomalloc_g -lfindexec_g $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} 259 260 Singulard_CPPFLAGS = -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG 261 Singulardg_CPPFLAGS = -DHAVE_CONFIG_H 262 282 libparse_LDADD = -lomalloc 283 libparse_LDFLAGS = -static ${AM_LDFLAGS} 284 # TODO for libparse: 285 # multiple definition of `category_out': libparse.cc v.s. utils.cc 286 # undefined reference to `iiInitSingularProcinfo(procinfo*, char const*, char const*, int, long, int)' 263 287 264 288 ######################################################### … … 273 297 274 298 # ${nobase_dist_singularlibrary_DATA} 299 275 300 LIB/all.lib: ${srcdir}/make_alllib.sh ${srcdir}/LIB/all.lib.tmpl ${singularlibrary} 276 301 $(MKDIR_P) LIB 277 302 ${srcdir}/make_alllib.sh ${srcdir}/LIB/all.lib.tmpl ${SLIB0} ${PLIBS} 278 303 304 # [ -d ${builddir}/LIB ] || ( $(MKDIR_P) LIB ; cp ${srcdir}/LIB/*.lib ${builddir}/LIB/ ) 305 279 306 ########################### TEST ######################### 280 307 … … 299 326 test_s_g_LDADD = libSingular_g.la -lnumeric_g -lkernel_g -lpolys_g $(FACTORY_LIBS) -lomalloc_g -lfindexec_g $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} 300 327 301 test_s_r_CPPFLAGS = -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG302 test_s_g_CPPFLAGS = -DHAVE_CONFIG_H328 test_s_r_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG 329 test_s_g_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 303 330 304 331 test_s_r_LDFLAGS = -static … … 320 347 test_d_g_LDADD = libSingular_g.la -lnumeric_g -lkernel_g -lpolys_g $(FACTORY_LIBS) -lomalloc_g -lfindexec_g $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} 321 348 322 test_d_r_CPPFLAGS = -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG323 test_d_g_CPPFLAGS = -DHAVE_CONFIG_H349 test_d_r_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG 350 test_d_g_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 324 351 325 352 ######################################################### … … 328 355 BUILT_SOURCES = feOpt.inc feOptTS.inc feOptES.inc mpsr_Tok.inc iparith.inc plural_cmd.inc LIB/all.lib MOD 329 356 330 CLEANFILES = $(BUILT_SOURCES) 357 CLEANFILES = $(BUILT_SOURCES) $(EXTRA_PROGRAMS) 331 358 332 359 MOD: ${top_builddir}/libpolys/tests/MOD 333 ln -snf ${top_builddir}/libpolys/tests/MOD ${builddir}/MOD334 335 feOpt.inc: feOpt 336 ${abs_builddir}/feOpt 360 [ -d ${builddir}/MOD ] || ln -snf ${top_builddir}/libpolys/tests/MOD ${builddir}/MOD 361 362 feOpt.inc: feOptGen 363 ${abs_builddir}/feOptGen 337 364 338 365 feOptES.inc: feOptES -
Singular/emacs.cc
rfea2af rbd795d 7 7 */ 8 8 9 #include "config.h" 10 #include <kernel/mod2.h> 11 12 9 13 #include <stdio.h> 10 14 #include <unistd.h> 15 11 16 #ifdef DecAlpha_OSF1 12 17 #define _BSD 13 18 #endif 19 14 20 #include <stdlib.h> 15 21 #include <stdarg.h> … … 19 25 #include <windows.h> 20 26 #endif 21 #include <kernel/mod2.h> 27 28 #include <omalloc/omalloc.h> 22 29 #include <Singular/version.h> 23 #include <omalloc/omalloc.h> 30 #include <resources/feResource.h> 31 #include <Singular/feOpt.h> 24 32 25 33 #if !defined(TSINGULAR) && !defined(ESINGULAR) … … 87 95 } 88 96 89 #include <resources/feResource.cc>90 #include <Singular/feOpt.cc>91 92 97 void mainUsage() 93 98 { 94 99 error( "Use `%s --help' for a complete list of options\n", feArgv0); 95 100 } 101 102 extern char* feResourceDefault(const char id); 103 extern char* feResourceDefault(const char* key); 104 96 105 97 106 int main(int argc, char** argv) … … 119 128 switch(optc) 120 129 { 121 case 'h': 130 case 'h': 131 extern void feOptHelp(const char* name); 132 122 133 feOptHelp(feArgv0); 123 134 exit(0); -
Singular/feOpt.cc
rfea2af rbd795d 7 7 */ 8 8 9 #include "config.h" 10 #include <kernel/mod2.h> 11 9 12 #include <string.h> 10 13 #include <stdlib.h> 11 12 #include <kernel/mod2.h>13 14 14 15 #ifdef HAVE_FACTORY … … 139 140 // Setting Values 140 141 // 141 static void feOptHelp(const char* name);142 142 // 143 143 // Return: NULL -- everything ok … … 347 347 348 348 // Prints help message 349 staticvoid feOptHelp(const char* name)349 void feOptHelp(const char* name) 350 350 { 351 351 int i = 0; -
Singular/feOpt.h
rfea2af rbd795d 9 9 */ 10 10 11 #include < kernel/fegetopt.h>11 #include <Singular/fegetopt.h> 12 12 13 13 #include <Singular/feOptTab.h> … … 33 33 #endif 34 34 35 35 36 #ifdef __cplusplus 36 37 extern "C" { 37 38 #endif 39 40 void feOptHelp(const char* name); 38 41 39 42 void* feGetOptValue(feOptIndex opt); -
Singular/feOptGen.h
rfea2af rbd795d 9 9 */ 10 10 11 #include < kernel/fegetopt.h>11 #include <Singular/fegetopt.h> 12 12 13 13 extern const char SHORT_OPTS_STRING[]; -
Singular/fegetopt.c
rfea2af rbd795d 84 84 they can distinguish the relative order of options and other arguments. */ 85 85 86 #include < kernel/fegetopt.h>86 #include <Singular/fegetopt.h> 87 87 88 88 /* For communication from `getopt' to the caller. -
Singular/mmstd.c
rfea2af rbd795d 32 32 33 33 #else 34 #include <stdlib.h> 34 #include <Singular/mmalloc.h> 35 35 36 void freeSize(void* addr, size_t size) 36 37 { -
Singular/test.cc
rfea2af rbd795d 95 95 #include <kernel/eigenval.h> 96 96 #include <kernel/units.h> 97 #include <kernel/fegetopt.h>98 97 #include <kernel/ratgring.h> 99 98 #include <kernel/shiftgb.h> … … 111 110 #include <kernel/fast_mult.h> 112 111 #include <kernel/febase.h> 113 #include <kernel/fegetopt.h>114 112 115 113 #include <kernel/fglmgauss.h> … … 198 196 #include "distrib.h" 199 197 #include "eigenval_ip.h" 200 #include "feOpt.h"201 198 #include "gms.h" 202 199 #include "grammar.h" … … 242 239 #include "walk.h" 243 240 241 #include "fegetopt.h" 244 242 245 243 void siInit(char *); -
Singular/tesths.cc
rfea2af rbd795d 8 8 */ 9 9 10 #include "config.h" 10 11 #include <kernel/mod2.h> 11 12 12 13 #include <omalloc/omalloc.h> 13 14 15 #include <misc/auxiliary.h> 14 16 #include <misc/options.h> 15 #include <misc/auxiliary.h>16 17 17 18 #ifdef HAVE_FACTORY … … 22 23 #include <kernel/febase.h> 23 24 #include <kernel/timer.h> 24 #include <kernel/fegetopt.h>25 25 26 26 #ifdef HAVE_FANS … … 42 42 #include "mmalloc.h" 43 43 #include "tok.h" 44 #include "fegetopt.h" 44 45 45 46 // #include "pyobject_setup.h" -
Singular/utils.cc
rfea2af rbd795d 3 3 #include <stdlib.h> 4 4 #include <ctype.h> 5 #include <kernel/fegetopt.h> 5 6 #include <Singular/fegetopt.h> 6 7 #include <Singular/utils.h> 7 8 #include <Singular/libparse.h> -
kernel/Makefile.am
rfea2af rbd795d 47 47 ratgring.cc shiftgb.cc gfan.cc \ 48 48 linearAlgebra.cc nc.cc preimage.cc \ 49 fegetopt.cmod2.h49 mod2.h 50 50 51 51 libkernel_la_SOURCES = $(SOURCES) … … 64 64 GMPrat.h multicnt.h npolygon.h semic.h spectrum.h splist.h \ 65 65 eigenval.h units.h \ 66 fegetopt.h \67 66 ratgring.h shiftgb.h nc.h \ 68 67 gfan.h bbcone.h bbfan.h \ -
kernel/test.cc
rfea2af rbd795d 102 102 #include "eigenval.h" 103 103 #include "units.h" 104 #include "fegetopt.h"105 104 #include "ratgring.h" 106 105 #include "shiftgb.h" … … 118 117 #include "fast_mult.h" 119 118 #include "febase.h" 120 #include "fegetopt.h"121 119 122 120 #include "fglmgauss.h" -
libpolys/resources/feResource.cc
rfea2af rbd795d 87 87 {"BinDir", 'b', feResDir, "SINGULAR_BIN_DIR", "%d/"S_UNAME, (char *)""}, 88 88 {"RootDir", 'r', feResDir, "SINGULAR_ROOT_DIR", "%b/..", (char *)""}, 89 {"DataDir", 'D', feResDir, "SINGULAR_DATA_DIR", "%b/../share", (char *)""}, 89 90 {"DefaultDir",'d', feResDir, "SINGULAR_DEFAULT_DIR", SINGULAR_DEFAULT_DIR, (char *)""}, 90 91 {"InfoFile", 'i', feResFile, "SINGULAR_INFO_FILE", "%r/info/singular.hlp", (char *)""}, … … 102 103 {"SingularEmacs",'M', feResBinary,"ESINGULAR_SINGULAR", "%b/Singular", (char *)""}, 103 104 {"EmacsLoad", 'l', feResFile, "ESINGULAR_EMACS_LOAD", "%e/.emacs-singular", (char *)""}, 104 {"EmacsDir", 'e', feResDir, "ESINGULAR_EMACS_DIR", "% r/emacs", (char *)""},105 {"EmacsDir", 'e', feResDir, "ESINGULAR_EMACS_DIR", "%D/emacs", (char *)""}, 105 106 {"SingularXterm",'M', feResBinary,"TSINGULAR_SINGULAR", "%b/Singular", (char *)""}, 106 107 #ifdef ix86_Win
Note: See TracChangeset
for help on using the changeset viewer.