Changeset 4b72f6 in git
- Timestamp:
- Nov 24, 1999, 7:50:43 PM (24 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- 6171f8981338ed758a299513c58c53a874f984ed
- Parents:
- 5d32fdb9ecb9fff4978a30bd8fb80b5e9fcdb7b0
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.in
r5d32fd r4b72f6 124 124 ############################################################## 125 125 # distribution targets 126 # 127 S_VERSION = $${SINGULAR_VERSION-@SINGULAR_VERSION@} 128 SINGUNAME = @SINGUNAME@ 129 localdir = /usr/local 130 install_prefix = ${localdir}/Singular/${S_VERSION} 131 132 BINDIST_DIRS = Singular 133 SHAREDIST_DIRS = Singular doc emacs 134 TMPDIR = ${TMP_DIR}/singdist 135 126 136 LN_S = @LN_S@ 127 137 MKINSTALLDIRS = ./mkinstalldirs 128 TMPDIR = ${TMP_DIR}/singdist 129 SINGUNAME = @SINGUNAME@ 130 S_VERSION = $${SINGULAR_VERSION-@SINGULAR_VERSION@} 138 139 140 install-dist: install-bindist install-sharedist 141 142 install-bindist: 143 for DIR in ${BINDIST_DIRS}; \ 144 do \ 145 (cd $${DIR}; ${MAKE} install-bindist install_prefix=${install_prefix});\ 146 done 147 148 install-sharedist: ${SINGULAR} 149 for DIR in ${SHAREDIST_DIRS}; \ 150 do \ 151 (cd $${DIR}; ${MAKE} install-sharedist install_prefix=${install_prefix}); \ 152 done 153 154 install-local-dist: install-dist 155 ${MKINSTALLDIRS} ${localdir}/bin 156 ${LN_S} ${install_prefix}/${SINGUNAME}/Singular ${localdir}/bin/Singular-${S_VERSION} 157 158 sharedist: 159 if test -e ${TMPDIR}; then rm -f ${TMPDIR}; fi 160 ${MAKE} install-sharedist localdir=${TMPDIR} 161 cd ${TMPDIR}; tar czf Singular-${S_VERSION}-share.tgz 162 mv ${TMPDIR}/Singular-${S_VERSION}-share.tgz . 163 rm -rf ${TMPDIR} 164 165 bindist: 166 if test -e ${TMPDIR}; then rm -r ${TMPDIR}; fi 167 ${MAKE} install-bindist localdir=${TMPDIR} 168 cd ${TMPDIR}; tar czf Singular-${S_VERSION}-${SINGUNAME}.tgz 169 mv ${TMPDIR}/Singular-${S_VERSION}-${SINGUNAME}.tgz . 170 rm -rf ${TMPDIR} 171 131 172 BINDIR_NAME = Singular/${S_VERSION}/${SINGUNAME} 132 173 LIBDIR_NAME = Singular/${S_VERSION}/LIB … … 145 186 146 187 .PHONY: sharedist bindist static-bindist infodist win-sharedist 147 sharedist: ${SINGULAR}188 _sharedist: ${SINGULAR} 148 189 cd doc; ${MAKE} all ps 149 190 cd emacs; ${MAKE} all … … 173 214 174 215 175 bindist: ${SINGULAR}216 _bindist: ${SINGULAR} 176 217 cd Singular; ${MAKE} Singular-$@ libparse 177 218 rm -rf ${TMPDIR} -
Singular/Makefile.in
r5d32fd r4b72f6 26 26 includedir = @includedir@ 27 27 slibdir = ${prefix}/LIB 28 28 install_bindir = ${install_prefix}/${SINGUNAME} 29 install_slibdir = ${install_prefix}/LIB 29 30 30 31 ## … … 38 39 BISON = bison 39 40 INSTALL = ./install-sh -c 40 INSTALL_PROGRAM = ${INSTALL} 41 INSTALL_PROGRAM = ${INSTALL} 41 42 INSTALL_DATA = ${INSTALL} -m 644 42 43 MKINSTALLDIRS = ./mkinstalldirs … … 138 139 ASO_OBJS := $(ASO_SOURCES:.aso.cc=.aso) 139 140 141 # 140 142 # Singular libraries which go into distribution 143 # MAKE SURE THAT THIS IS UP_TO_DATE 144 # 141 145 SLIBS = algebra.lib all.lib classify.lib deform.lib \ 142 146 elim.lib factor.lib finvar.lib general.lib \ … … 147 151 primitiv.lib random.lib ring.lib sing.lib \ 148 152 solve.lib solver.lib spcurve.lib standard.lib\ 149 surf.lib template.lib 153 surf.lib triang.lib template.lib 154 155 SLIBS_FILES = $(addprefix LIB/,${SLIBS}) 156 157 GFTABLES = $(wildcard LIB/gftables/[1-9]*) 150 158 151 159 ## … … 242 250 ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${DEFS} -o ESingular emacs.cc fegetopt.o ${LDFLAGS} ${LIBS} 243 251 252 ESingular-static: fegetopt.o feResource.cc mod2.h feOpt.cc version.h emacs.cc \ 253 feOptES.inc 254 ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${DEFS} -o ESingular emacs.cc fegetopt.o ${LDFLAGS} ${STATIC_LDFLAGS} ${LIBS} 255 244 256 feOpt.h: feOpt.inc feOptES.inc 245 257 … … 338 350 echo "#define MAKE_DISTRIBUTION " > distrib.h 339 351 ${MAKE} Singular ESingular 340 strip Singular ESingular 341 ${INSTALL} -s Singular Singular-bindist 342 ${INSTALL} -s ESingular ESingular-bindist 352 ${INSTALL_PROGRAM} -s Singular Singular-bindist 353 ${INSTALL_PROGRAM} -s ESingular ESingular-bindist 343 354 echo "#undef MAKE_DISTRIBUTION " > distrib.h 344 355 345 356 Singular-static-bindist: ${OBJS} Makefile 346 357 echo "#define MAKE_DISTRIBUTION " > distrib.h 347 ${MAKE} Singular-static ESingular 348 strip Singular-static ESingular 349 mv Singular-static Singular-static-bindist 350 ${INSTALL} -s ESingular ESingular-bindist 358 ${MAKE} Singular-static ESingular-static 359 ${INSTALL_PROGRAM} -s Singular-static Singular-static-bindist 360 ${INSTALL_PROGRAM} -s ESingular-static ESingular-static-bindist 351 361 echo "#undef MAKE_DISTRIBUTION " > distrib.h 362 363 install-bindist: Singular-bindist ESingular-bindist libparse 364 ${MKINSTALLDIRS} ${install_bindir} 365 ${INSTALL_PROGRAM} Singular-bindist ${install_bindir}/Singular 366 ${INSTALL_PROGRAM} ESingular-bindist ${install_bindir}/ESingular 367 ${INSTALL_PROGRAM} libparse ${install_bindir}/libparse 368 369 install-static-bindist: Singular-static-bindist ESingular-static-bindist libparse 370 ${MKINSTALLDIRS} ${install_bindir} 371 ${INSTALL_PROGRAM} Singular-static-bindist ${install_bindir}/Singular 372 ${INSTALL_PROGRAM} ESingular-static-bindist ${install_bindir}/ESingular 373 ${INSTALL_PROGRAM} libparse ${install_bindir}/libparse 374 375 install-sharedist: ${SLIBS_FILES} LIB/gftables 376 ${MKINSTALLDIRS} ${install_slibdir} 377 cp ${SLIBS_FILES} ${install_slibdir} 378 ${MKINSTALLDIRS} ${install_slibdir}/gftables 379 cp ${GFTABLES} ${install_slibdir}/gftables 380 chmod -R +rX ${install_slibdir}/* 352 381 353 382 tar: … … 532 561 ${LD_DYN_FLAGS} gmalloc.ot 533 562 534 iparith.ot: iparith.i nc iparith.cc563 iparith.ot: iparith.ic iparith.cc 535 564 $(CXXP) ${CXXFLAGST} ${CXXTEMPLFLAGSB} ${CPPFLAGS} ${DEFST} -c iparith.cc -o iparith.ot 536 565 -
Singular/extra.cc
r5d32fd r4b72f6 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: extra.cc,v 1.12 0 1999-11-24 18:13:20 SingularExp $ */4 /* $Id: extra.cc,v 1.121 1999-11-24 18:50:36 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT: general interface to internals of Singular ("system" command) … … 435 435 else 436 436 #endif 437 /*==================== pcv ==================================*/ 438 #ifndef HAVE_DYNAMIC_LOADING 439 #ifdef HAVE_PCV 440 if(strcmp(sys_cmd,"pcvLAddL")==0) 441 { 442 return pcvLAddL(res,h); 443 } 444 else 445 if(strcmp(sys_cmd,"pcvPMulL")==0) 446 { 447 return pcvPMulL(res,h); 448 } 449 else 450 if(strcmp(sys_cmd,"pcvMinDeg")==0) 451 { 452 return pcvMinDeg(res,h); 453 } 454 else 455 if(strcmp(sys_cmd,"pcvP2CV")==0) 456 { 457 return pcvP2CV(res,h); 458 } 459 else 460 if(strcmp(sys_cmd,"pcvCV2P")==0) 461 { 462 return pcvCV2P(res,h); 463 } 464 else 465 if(strcmp(sys_cmd,"pcvDim")==0) 466 { 467 return pcvDim(res,h); 468 } 469 else 470 if(strcmp(sys_cmd,"pcvBasis")==0) 471 { 472 return pcvBasis(res,h); 473 } 474 else 475 #endif 476 #endif /* HAVE_DYNAMIC_LOADING */ 437 477 /*==================== contributors =============================*/ 438 478 if(strcmp(sys_cmd,"contributors") == 0) … … 555 595 } 556 596 else 557 /*==================== pcv ==================================*/558 #ifndef HAVE_DYNAMIC_LOADING559 #ifdef HAVE_PCV560 if(strcmp(sys_cmd,"pcvLAddL")==0)561 {562 return pcvLAddL(res,h);563 }564 else565 if(strcmp(sys_cmd,"pcvPMulL")==0)566 {567 return pcvPMulL(res,h);568 }569 else570 if(strcmp(sys_cmd,"pcvMinDeg")==0)571 {572 return pcvMinDeg(res,h);573 }574 else575 if(strcmp(sys_cmd,"pcvP2CV")==0)576 {577 return pcvP2CV(res,h);578 }579 else580 if(strcmp(sys_cmd,"pcvCV2P")==0)581 {582 return pcvCV2P(res,h);583 }584 else585 if(strcmp(sys_cmd,"pcvDim")==0)586 {587 return pcvDim(res,h);588 }589 else590 if(strcmp(sys_cmd,"pcvBasis")==0)591 {592 return pcvBasis(res,h);593 }594 else595 #endif596 #endif /* HAVE_DYNAMIC_LOADING */597 598 597 /*==================== mtrack ==================================*/ 599 598 if(strcmp(sys_cmd,"mtrack")==0) -
configure.in
r5d32fd r4b72f6 67 67 AC_PROG_CC 68 68 AC_PROG_CPP 69 AC_PROG_INSTALL 69 70 AC_AIX 70 71 -
doc/Makefile.in
r5d32fd r4b72f6 2 2 ### 3 3 ### Makefile for Singular documentation 4 ### $Id: Makefile.in,v 1.4 0 1999-08-16 16:52:29 SingularExp $4 ### $Id: Makefile.in,v 1.41 1999-11-24 18:50:40 obachman Exp $ 5 5 ##################################################################### 6 6 SHELL=/bin/sh … … 16 16 bindir = @bindir@ 17 17 htmldir = ${prefix}/html 18 install_infodir = ${install_prefix}/info 19 install_htmldir = ${install_prefix}/html 20 install_docdir = ${install_prefix}/doc 18 21 19 22 ## … … 210 213 - rmdir ${infodir} 211 214 215 install-sharedist: singular.hlp html/index.htm singular.idx 216 ${MKINSTALLDIRS} ${install_infodir} 217 ${INSTALL_DATA} singular.hlp ${install_infodir} 218 ${MKINSTALLDIRS} ${install_htmldir} 219 cp ${HTML_SUBDIR}/* ${install_htmldir} 220 chmod 644 ${htmldir}/* 221 ${MKINSTALLDIRS} ${install_docdir} 222 ${INSTALL_DATA} singular.idx ${install_docdir} 223 212 224 texi2html = $(TEXI2HTML:%.pl=%) 213 225 -
doc/doc2tex.pl
r5d32fd r4b72f6 1 1 #!/usr/local/bin/perl 2 # $Id: doc2tex.pl,v 1.1 8 1999-10-25 12:45:27obachman Exp $2 # $Id: doc2tex.pl,v 1.19 1999-11-24 18:50:40 obachman Exp $ 3 3 ################################################################### 4 4 # Computer Algebra System SINGULAR … … 7 7 # 8 8 #### 9 # @c example [error] 9 # @c example [error] [no_comp] 10 10 # -> the text till the next @c example is feed into Singular, 11 11 # the text is then substituted by … … 20 20 # wrap around output lines longer than $ex_length = 73; 21 21 # Processing is aborted if error occures in Singular run, 22 # unless 'error' is specified 22 # unless 'error' is specified 23 # if no_comp is given, then computation is not run 24 # 23 25 # 24 26 #### … … 186 188 187 189 ###################################################################### 188 # @c example [error] 190 # @c example [error] [no_comp] 189 191 # -> the text till the next @c example is feed into Singular, 190 192 # the text is then substituted by … … 199 201 # wrap around output lines longer than $ex_length = 73; 200 202 # Processing is aborted if error occures in Singular run, 201 # unless 'error' is specified 203 # unless 'error' is specified 204 # If [no_comp] is given, actual computation is not run 202 205 sub HandleExample 203 206 { 204 my($inc_file, $ex_file, $lline, $thisexample, $error_ok, $cache );207 my($inc_file, $ex_file, $lline, $thisexample, $error_ok, $cache, $no_comp); 205 208 206 209 $lline = $line; … … 229 232 $thisexample = ''; 230 233 $error_ok = 1 if /error/; 234 $no_comp = 1 if /no_comp/; 235 231 236 # print content in example file till next @c example 232 237 while (<DOC>) … … 235 240 last if (/^\@c\s*example\s*$/); 236 241 s/^\s*//; # remove preceeding white spaces 237 if ($no_ex )242 if ($no_ex || $no_comp) 238 243 { 239 244 &protect_texi; … … 255 260 256 261 # done, if no examples 257 return if ($no_ex );262 return if ($no_ex || $no_comp); 258 263 259 264 # check whether it can be reused -
emacs/Makefile.in
r5d32fd r4b72f6 7 7 8 8 prefix = @prefix@ 9 PERL5 = @PERL5@10 9 docdir = ${prefix}/doc 11 10 SINGULAR = @SINGULAR@ 11 emacsdir = ${install_prefix}/emacs 12 13 PERL5 = @PERL5@ 14 INSTALL = ../install-sh -c 15 INSTALL_DATA = ${INSTALL} -m 644 16 MKINSTALLDIRS = ../mkinstalldirs 12 17 13 18 SINGULAR_HLP = ${docdir}/singular.hlp … … 31 36 rm cmd-cmpl.el hlp-cmpl.el lib-cmpl.el 32 37 33 ${SINGULAR_HLP}: 34 cd ${docdir}; make singular.hlp 38 install-sharedist: all 39 ${MKINSTALLDIRS} ${emacsdir} 40 ${INSTALL_DATA} cmd-cmpl.el ${emacsdir} 41 ${INSTALL_DATA} lib-cmpl.el ${emacsdir} 42 ${INSTALL_DATA} hlp-cmpl.el ${emacsdir} 43 ${INSTALL_DATA} singular.el ${emacsdir} 44 ${INSTALL_DATA} .emacs-singular ${emacsdir} 45 ${INSTALL_DATA} sing.xpm ${emacsdir} 35 46 -
install-sh
r5d32fd r4b72f6 116 116 # if $src (and thus $dsttmp) contains '*'. 117 117 118 if [ -f $src -o -d $src ] 118 # obachman 6/15/98 119 # Here is an ugly fix for a bug in cygwin 120 # '[ test -f $src ]' evaluates to true, even if only $src.exe exists 121 # However 'cp $src $dst' can not find $src, if only $src.exe exists 122 if test -f "$src.exe" && test -x "$src.exe"; then 123 src="$src.exe" 124 true 125 elif [ -f $src -o -d $src ] 119 126 then 120 127 true … … 194 201 dstfile=`basename $dst` 195 202 else 203 echo "basename $dst $transformbasename | sed $transformarg$transformbasename" 196 204 dstfile=`basename $dst $transformbasename | 197 205 sed $transformarg`$transformbasename
Note: See TracChangeset
for help on using the changeset viewer.