Skip to content

Commit

Permalink
Version 1.0b
Browse files Browse the repository at this point in the history
  • Loading branch information
carat committed Nov 20, 2018
1 parent a24682b commit aec25b8
Show file tree
Hide file tree
Showing 222 changed files with 5,800 additions and 14,945 deletions.
22 changes: 4 additions & 18 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
############################################################################


TOPDIR= /usb/carat
CC = gcc
TOPDIR= /usb/carat/tmp/carat
CC = cc

# There are some special preprocessor flags which set some
# memory diagnostics:
Expand All @@ -28,11 +28,11 @@ CC = gcc
# have a general control whats going on. THIS IS VERY SLOW.
# For the normal user we recommend neither to use -DDIAG1 nor -DDIAG2!

CFLAGS = -g -Wall -DDIAG1 -fwritable-strings # for a HP-UX-machine using gcc (momo)
# CFLAGS = -g -fwritable-strings -DDIAG1 # for a HP-UX-machine using gcc (momo)
# the flag -fwritable-strings is
# required for the use with gcc

# CFLAGS = -g -Aa # for a HP-UX-machine using cc
CFLAGS = -g -Aa # for a HP-UX-machine using cc

# CFLAGS = -m486 -O2 # on a Linux machine (i486)

Expand All @@ -50,20 +50,17 @@ ALL: Makefile\
Autgrp\
Base\
Bravais\
Contrib\
Datei\
Getput\
Hyperbolic\
Idem\
Links\
Longtools\
Name\
Matrix\
M_alloc\
Orbit\
Polyeder\
Presentation\
Qcatalog\
Reduction\
Sort\
Symm\
Expand All @@ -83,9 +80,6 @@ Base: Makefile functions/Base/Makefile
Bravais: Makefile functions/Bravais/Makefile
cd functions/Bravais;make CC="$(CC)" CFLAGS="$(CFLAGS)" TOPDIR=$(TOPDIR)

Contrib: Makefile functions/Contrib/Makefile
cd functions/Contrib;make CC="$(CC)" CFLAGS="$(CFLAGS)" TOPDIR=$(TOPDIR)

Datei: Makefile functions/Datei/Makefile
cd functions/Datei;make CC="$(CC)" CFLAGS="$(CFLAGS)" TOPDIR=$(TOPDIR)

Expand All @@ -107,9 +101,6 @@ Links:
Longtools: Makefile functions/Longtools/Makefile
cd functions/Longtools; make CC="$(CC)" CFLAGS="$(CFLAGS)" TOPDIR=$(TOPDIR)

Name: Makefile functions/Name/Makefile
cd functions/Name;make CC="$(CC)" CFLAGS="$(CFLAGS)" TOPDIR=$(TOPDIR)

Matrix: Makefile functions/Matrix/Makefile
cd functions/Matrix;make CC="$(CC)" CFLAGS="$(CFLAGS)" TOPDIR=$(TOPDIR)

Expand All @@ -125,9 +116,6 @@ Polyeder: Makefile functions/Polyeder/Makefile
Presentation: Makefile functions/Presentation/Makefile
cd functions/Presentation; make CC="$(CC)" CFLAGS="$(CFLAGS)" TOPDIR=$(TOPDIR)

Qcatalog: Makefile tables/qcatalog.tar.gz
cd tables; if [ ! -d qcatalog ] ; then tar xvzf qcatalog.tar.gz ; fi

Reduction: Makefile functions/Reduction/Makefile
cd functions/Reduction; make CC="$(CC)" CFLAGS="$(CFLAGS)" TOPDIR=$(TOPDIR)

Expand Down Expand Up @@ -163,13 +151,11 @@ clean:
cd functions/Autgrp; make clean
cd functions/Base; make clean
cd functions/Bravais; make clean
cd functions/Contrib; make clean
cd functions/Datei; make clean
cd functions/Getput; make clean
cd functions/Hyperbolic; make clean
cd functions/Idem; make clean
cd functions/Longtools; make clean
cd functions/Name; make clean
cd functions/Matrix; make clean
cd functions/M_alloc; make clean
cd functions/Orbit; make clean
Expand Down
93 changes: 28 additions & 65 deletions bin/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CC = gcc
CFLAGS = -fwritable-strings -DDIAG1 -pg
CFLAGS = -fwritable-strings -DDIAG1
TOPDIR = /usb/carat

# LIB = -L$(TOPDIR)/lib -lcarat -lm
Expand All @@ -14,41 +14,30 @@ GLOBAL = -DTOPDIR=\"$(TOPDIR)\" -DTABLES=\"$(TOPDIR)/tables/\" \

COMP = $(CC) $(CFLAGS) $(GLOBAL) -I$(INCL)

ALL: DIR

#
# PROGRAMS
# PROGRAMME
#

PROGRAMS: Add Aut_grp Bravais_equiv\
Bravais_grp Bravais_inclusions\
Con Conjugated Conj_bravais\
Conv Datei\
Elt Extract Extensions\
First_perfect Form_space Form_elt\
Formtovec Full Fundamental_domain Gauss\
Idem Inv Invar_space Isometry Is_finite\
Kron Long_solve Ltm\
Modp Mtl Mul Mink_red Minpol\
Name Normalizer Normalizer_in_N Normlin\
Orbit Order\
Pair_red Pdet Perfect_neighbours Poincare Polyeder P_lse_solve\
Presentation Q_catalog QtoZ Red_gen Rest_short\
Rein Rform Reverse_name\
Same_generators Scalarmul Scpr Short\
Shortest Short_reduce Signature\
Simplify_mat Symbol\
Torsionfree Tr Trace Trbifo Tr_bravais\
Vor_vertices Vectoform ZZprog Zass_main Z_equiv


DIR: ./Makefile ./config.guess
if [ ! -d `./config.guess`-$(CC) ] ; then \
mkdir `./config.guess`-$(CC) ; \
fi
cp Makefile `./config.guess`-$(CC)
cd `./config.guess`-$(CC) ;\
make TOPDIR="$(TOPDIR)" CC="$(CC)" CFLAGS="$(CFLAGS)" PROGRAMS
ALL: Add Aut_grp Bravais_equiv\
Bravais_grp Bravais_inclusions\
Con Conjugated Conj_bravais\
Conv Datei\
Elt Extract Extensions\
First_perfect Form_space Form_elt\
Formtovec Full Gauss\
Idem Inv Invar_space Isometry Is_finite\
Kron Long_solve Ltm\
Modp Mtl Mul Mink_red Minpol\
Normalizer Normalizer_in_N Normlin\
Orbit Order\
Pair_red Pdet Perfect_neighbours Polyeder P_lse_solve\
Presentation QtoZ Red_gen Rest_short Rein Rform Roundcor\
Same_generators Scalarmul Scpr Short\
Shortest Short_reduce Signature\
Simplify_mat Symbol\
Tr Trace Trbifo Tr_bravais\
Vor_vertices Vectoform ZZprog Zass_main Z_equiv


#-------------------------------------------------------------

Expand Down Expand Up @@ -130,10 +119,6 @@ Full: $(SRC)/full.c
$(COMP) -o Full\
$(SRC)/full.c $(LIB)

Fundamental_domain: $(SRC)/fundamental_domain.c
$(COMP) -o Fundamental_domain\
$(SRC)/fundamental_domain.c $(LIB)

Gauss: $(SRC)/gauss.c
$(COMP) -o Gauss\
$(SRC)/gauss.c $(LIB)
Expand Down Expand Up @@ -202,10 +187,6 @@ Mul: $(SRC)/mul.c
$(COMP) -o Mul\
$(SRC)/mul.c $(LIB)

Name: $(SRC)/name.c
$(COMP) -o Name\
$(SRC)/name.c $(LIB)

Normalizer: $(SRC)/normalizer.c
$(COMP) -o Normalizer\
$(SRC)/normalizer.c $(LIB)
Expand Down Expand Up @@ -246,10 +227,6 @@ Perfect_neighbours: $(SRC)/perfect_neighbours.c
$(COMP) -o Perfect_neighbours\
$(SRC)/perfect_neighbours.c $(LIB)

Poincare: $(SRC)/poincare.c
$(COMP) -o Poincare\
$(SRC)/poincare.c $(LIB)

Polyeder: $(SRC)/polyeder.c
$(COMP) -o Polyeder\
$(SRC)/polyeder.c $(LIB)
Expand All @@ -258,17 +235,13 @@ P_lse_solve: $(SRC)/p_lse_solve.c
$(COMP) -o P_lse_solve\
$(SRC)/p_lse_solve.c $(LIB)

Q_catalog: $(SRC)/Q_catalog.c
$(COMP) -o Q_catalog\
$(SRC)/Q_catalog.c $(LIB)

QtoZ: $(SRC)/qtoz.c
$(COMP) -o QtoZ\
$(SRC)/qtoz.c $(LIB)

Presentation: $(SRC)/presentation.c
Presentation: $(SRC)/kommureihe.c
$(COMP) -o Presentation\
$(SRC)/presentation.c $(LIB)
$(SRC)/kommureihe.c $(LIB)

Red_gen: $(SRC)/red_gen.c
$(COMP) -o Red_gen\
Expand All @@ -286,9 +259,9 @@ Rform: $(SRC)/rform.c
$(COMP) -o Rform\
$(SRC)/rform.c $(LIB)

Reverse_name: $(SRC)/reverse_name.c
$(COMP) -o Reverse_name\
$(SRC)/reverse_name.c $(LIB)
Roundcor: $(SRC)/roundcor.c
$(COMP) -o Roundcor\
$(SRC)/roundcor.c $(LIB)

Same_generators: $(SRC)/same_generators.c
$(COMP) -o Same_generators\
Expand Down Expand Up @@ -332,10 +305,6 @@ Symbol: $(SRC)/symbol.c
rm -f Bravais_type
ln -f -s Symbol Bravais_type

Torsionfree: $(SRC)/torsionfree.c
$(COMP) -o Torsionfree\
$(SRC)/torsionfree.c $(LIB)

Tr: $(SRC)/tr.c
$(COMP) -o Tr\
$(SRC)/tr.c $(LIB)
Expand Down Expand Up @@ -402,7 +371,6 @@ clean:
rm -f Form_space
rm -f Formtovec
rm -f Full
rm -f Fundamental_domain
rm -f Gauss
rm -f Gittstab
rm -f Hypisom
Expand Down Expand Up @@ -433,9 +401,7 @@ clean:
rm -f Pdet
rm -f Perfect_neighbours
rm -f Polyeder
rm -f Poincare
rm -f Rein
rm -f Reverse_name
rm -f Rest_short
rm -f Rform
rm -f Same_generators
Expand All @@ -448,7 +414,6 @@ clean:
rm -f Simplify_mat
rm -f Solve
rm -f Symbol ; rm -f Bravais_type
rm -f Torsionfree
rm -f Tr
rm -f Tr_bravais
rm -f Trace
Expand All @@ -460,14 +425,13 @@ clean:
rm -f Bravais_flok
rm -f Extensions ; rm -f Vector_systems
rm -f Extract ; rm -f Standard_affine_form
rm -f Name
rm -f Minpol
rm -f Red_gen
rm -f Conjugated
rm -f Order
rm -f Roundcor
rm -f Malloc_liste
rm -f Presentation
rm -f Q_catalog
rm -f QtoZ
rm -f Z_equiv
rm -f Bravais_equiv
Expand All @@ -479,4 +443,3 @@ clean:
strip:
strip *


Loading

0 comments on commit aec25b8

Please sign in to comment.