forked from gap-system/gap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
gap
committed
Apr 13, 1998
1 parent
9369465
commit f979efa
Showing
744 changed files
with
1,071,011 additions
and
40,723 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
############################################################################# | ||
## | ||
#W Makefile GAP source Frank Celler | ||
## | ||
#H @(#)$Id$ | ||
## | ||
#Y Copyright (C) 1997, Lehrstuhl D fuer Mathematik, RWTH Aachen, Germany | ||
## | ||
## This file is the top level make file. It is generated from `Makefile.in' | ||
## by the `configure' script. After unpacking GAP you simply type | ||
## | ||
## ./configure | ||
## | ||
## to create a make file and then | ||
## | ||
## make | ||
## | ||
## to compile and link GAP. | ||
## | ||
## The "default" traget: | ||
## - creates a subdirectory CPU-VENDOR-OS in the directory `bin', | ||
## - copies the configuration script into this directory, | ||
## - it switches into this directory and executes the configure script, | ||
## - it makes GAP in this directory. | ||
## | ||
## The "clean" target: | ||
## - removes the subdirectory CPU-VENDOR-OS in the directory `bin' | ||
## - removes any files created by `configure' | ||
## | ||
SHELL=/bin/sh | ||
CC=@CC@ | ||
@SET_MAKE@ | ||
|
||
default: config compile | ||
|
||
config: bin/@target@-@CC@/configure bin/@target@-@CC@/Makefile | ||
|
||
bin/@target@-@CC@/configure: cnf/configure.out | ||
if test ! -d bin; then mkdir bin; fi | ||
if test ! -d bin/@target@-@CC@; then mkdir bin/@target@-@CC@; fi | ||
@rm -f bin/@target@-@CC@/configure | ||
cp cnf/configure.out bin/@target@-@CC@/configure | ||
|
||
bin/@target@-@CC@/Makefile: bin/@target@-@CC@/configure cnf/config.hin | ||
( cd bin/@target@-@CC@ ; CC=$(CC) ./configure --target=@target@ @gp_configure_options@ ) | ||
|
||
compile: | ||
( cd bin/@target@-@CC@ ; $(MAKE) CC=$(CC) ) | ||
|
||
clean: | ||
rm -rf bin/@target@-@CC@ | ||
rm -f config.cache config.log config.status Makefile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
@echo off | ||
|
||
rem gap.cmd GAP Norbert Dragon | ||
rem | ||
rem This is a command file for OS/2 that starts GAP. Here you can make all | ||
rem the necessary customizations. | ||
|
||
rem Then copy this file to a directory in your search path, e.g., '~/bin'. | ||
rem If you later move GAP to another location you must only change this file. | ||
|
||
rem First change to the drive where GAP is installed by e.g. the command 'd:' | ||
rem I like to work in a subdirectory \gap4b2\tmp (which one has to mkdir), so | ||
rem I change into that directory by 'cd \gap4b2\tmp'. | ||
|
||
rem The template for the command starting GAP is | ||
|
||
rem GAP_DIR\bin\GAP_PRG -N -M -m GAP_MEM -l GAP_LIB | ||
|
||
|
||
rem 'GAP_DIR' is the directory where you have installed GAP, i.e., the | ||
rem directory with the subdirectories 'lib', 'grp', 'doc', etc. For example | ||
rem '\gap4b2'. | ||
|
||
rem 'GAP_PRG' is the name of the executable program of the GAP kernel. | ||
rem e.g. 'gapemx.exe' | ||
|
||
|
||
rem 'GAP_MEM' is the amount of memory GAP shall use as initial workspace. | ||
rem The default is 8 MByte, which is the minimal reasonable amount of memory. | ||
rem You have to change it if you want GAP to use a larger initial workspace. | ||
rem If you are not going to run GAP in parallel with other programs you may | ||
rem want to set this value close to the amount of memory your computer has. | ||
rem e.g. '-m 16m' makes GAP start with 16 MBytes workspace. | ||
|
||
|
||
rem 'GAP_LIB' is the same directory as GAP_DIR written, however, with slashes | ||
rem rather than with backslashes. This is because OS/2 cmd.exe needs the path | ||
rem of an executable specified with backslashes while GAP uses slashes | ||
rem internally and does not allow a colon ':' in a path. This is also why we | ||
rem change to the drive (e.g.'d:') where GAP is installed before we start GAP. | ||
|
||
rem You should now be able to adapt the following lines, which work for me, to | ||
rem your installation. | ||
|
||
d: | ||
cd \gap4b2\tmp | ||
\gap4b2\bin\gapemx.exe -N -M -m 16m -l /gap4b2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
############################################################################# | ||
## | ||
#W Makefile GAP source Frank Celler | ||
## | ||
#H @(#)$Id$ | ||
## | ||
#Y Copyright (C) 1997, Lehrstuhl D fuer Mathematik, RWTH Aachen, Germany | ||
## | ||
## This file creates the `configure' scripts using `autoconf'. | ||
## | ||
CC=cc | ||
|
||
SOURCE=\ | ||
ariths blister bool c_methse c_type \ | ||
calls code compiler compstat costab \ | ||
cyclotom dt dteval exprs finfield\ | ||
funcs gap gasman gvars integer \ | ||
intrprtr listfunc listoper lists objcftl \ | ||
objects objfgelm objpcgel objscoll opers \ | ||
permutat plist precord range rational\ | ||
read records saveload scanner sctable \ | ||
set stats streams string sysfiles\ | ||
system tietze vars vecgf2 vector \ | ||
weakptr | ||
|
||
|
||
default: configure.out ../configure | ||
|
||
configure.out: configure.in aclocal.m4 | ||
autoconf | ||
sed -e 's%^srcdir=$$%srcdir=../../src%' < configure > configure.out | ||
chmod 755 configure.out | ||
rm configure | ||
|
||
../configure: ../configure.in | ||
( cd .. ; autoconf ) | ||
|
||
Makegap.in: AlwaysMakegap.in | ||
|
||
AlwaysMakegap.in: | ||
@echo "creating 'Makegap.in'" | ||
@cp Makegap.top Makegap.in | ||
@echo >> Makegap.in | ||
@echo '# OBJECTS are generated from SOURCE' >> Makegap.in | ||
@echo -n "OBJECTS=" >> Makegap.in | ||
@eval 'for i in $(SOURCE); do echo -n "$$i.o "; done' >> Makegap.in | ||
@echo >> Makegap.in | ||
@echo >> Makegap.in | ||
@echo '# compile and link GAP' >> Makegap.in | ||
@echo 'gap: $$(OBJECTS)' >> Makegap.in | ||
@echo ' $$(CC) $$(CFLAGS) $$(LDFLAGS) -o gap $$(OBJECTS) @LIBS@' >> Makegap.in | ||
@echo >> Makegap.in | ||
@echo '# dependencies are automatically generated' >> Makegap.in | ||
@(for i in `eval 'echo $(SOURCE)'`; do \ | ||
$(CC) -MM -I ../src -DUSE_PRECOMPILED ../src/$$i.c; \ | ||
echo ' $$(CC) -I. -DCONFIG_H $$(CFLAGS)' -o $$i.o -c ../src/$$i.c; \ | ||
echo ; \ | ||
done \ | ||
) | sed -e 's:../src:@srcdir@:g' >> Makegap.in |
Oops, something went wrong.