Skip to content
Snippets Groups Projects
Commit cdd94537 authored by Oliver Sander's avatar Oliver Sander
Browse files

Remove more left-overs from the pre-AutoTools build system

parent 46130adb
No related branches found
No related tags found
No related merge requests found
#****************************************************************************#
#* *#
#* File: dev.make *#
#* *#
#* Purpose: build devices *#
#* *#
#* Author: Peter Bastian *#
#* Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen *#
#* Universitaet Heidelberg *#
#* Im Neuenheimer Feld 368 *#
#* 6900 Heidelberg *#
#* internet: ug@ica3.uni-stuttgart.de *#
#* *#
#* History: 24.05.92 begin, ug version 2.0 *#
#* 13.08.92 update for ug 2.0.2 *#
#* 05 Sep 92 update for ug 2.1(.0) *#
#* 05 Sep 94 update for ug 2.3 *#
#* 01 Jan 95 update for ug 3.0 *#
#* *#
#* Remarks: MPW 3.2 version *#
#* *#
#****************************************************************************#
# list of devices to build
DEVICES = META MIF PS
# list of source files
OBJECTS = ugdevices.c.o
# local C compiler flags
LCFLAGS = -i "::low"
# the main rule
all {OBJECTS} {DEVICES} dev.make
Lib -o "::lib:libdev.a" {OBJECTS}
# compile all source files
ugdevices.c.o ugdevices.c
C {COPTS} {LCFLAGS} ugdevices.c
# build devices
META
directory meta
make -d COPTS="{COPTS}" -f meta.make > makeout
makeout
delete makeout
directory ::
PS
directory ps
make -d COPTS="{COPTS}" -f ps.make > makeout
makeout
delete makeout
directory ::
MIF
directory mif
make -d COPTS="{COPTS}" -f mif.make > makeout
makeout
delete makeout
directory ::
# clean up
clean
Set Exit 0
delete -i "::lib:libdev.a"
delete -i .o
delete -i :meta:.o
delete -i :ps:.o
delete -i :mif:.o
#****************************************************************************#
#* *#
#* File: meta.make *#
#* *#
#* Purpose: build metafile device *#
#* *#
#* Author: Peter Bastian *#
#* Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen *#
#* Universitaet Heidelberg *#
#* Im Neuenheimer Feld 368 *#
#* 6900 Heidelberg *#
#* internet: ug@ica3.uni-stuttgart.de *#
#* *#
#* History: 24.05.92 begin, ug version 2.0 *#
#* 13.08.92 update for ug 2.0.2 *#
#* 05 Sep 92 update for ug 2.1(.0) *#
#* 05 Sep 94 update for ug 2.3 *#
#* 01 Jan 95 update for ug 3.0 *#
#* *#
#* Remarks: MPW 3.2 version *#
#* *#
#****************************************************************************#
# list of source files
OBJECTS = metafile.c.o
# local C compiler flags
LCFLAGS = -i ":::low" -i "::"
# the main rule
all {OBJECTS} meta.make
Lib -o ":::lib:libmeta.a" {OBJECTS}
# compile all source files
metafile.c.o metafile.c
C {COPTS} {LCFLAGS} metafile.c
#****************************************************************************#
#* *#
#* File: mif.make *#
#* *#
#* Purpose: build Macintosh graphical user interface *#
#* *#
#* Author: Peter Bastian *#
#* Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen *#
#* Universitaet Heidelberg *#
#* Im Neuenheimer Feld 368 *#
#* 6900 Heidelberg *#
#* internet: ug@ica3.uni-stuttgart.de *#
#* *#
#* History: 24.05.92 begin, ug version 2.0 *#
#* 13.08.92 update for ug 2.0.2 *#
#* 05 Sep 92 update for ug 2.1(.0) *#
#* 05 Sep 94 update for ug 2.3 *#
#* 01 Jan 95 update for ug 3.0 *#
#* *#
#* Remarks: MPW 3.2 version *#
#* *#
#****************************************************************************#
# list of source files
OBJECTS = MacMain.c.o MacShell.c.o MacGraph.c.o MacSurface.c.o
# local C compiler flags
LCFLAGS = -i ":::low" -i "::"
# the main rule
all {OBJECTS} mif.make ug.rsrc
Lib -o ":::lib:libmif.a" {OBJECTS}
# compile all source files
MacShell.c.o MacShell.c
C {COPTS} {LCFLAGS} MacShell.c
MacMain.c.o MacMain.c
C {COPTS} {LCFLAGS} MacMain.c
MacGraph.c.o MacGraph.c
C {COPTS} {LCFLAGS} MacGraph.c
MacSurface.c.o MacSurface.c
C {COPTS} {LCFLAGS} MacSurface.c
ug.rsrc ugrsrc.txt
Rez -o ug.rsrc ugrsrc.txt
#****************************************************************************#
#* *#
#* File: ps.make *#
#* *#
#* Purpose: build postscript file device *#
#* *#
#* Author: Peter Bastian *#
#* Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen *#
#* Universitaet Heidelberg *#
#* Im Neuenheimer Feld 368 *#
#* 6900 Heidelberg *#
#* internet: ug@ica3.uni-stuttgart.de *#
#* *#
#* History: 24.05.92 begin, ug version 2.0 *#
#* 13.08.92 update for ug 2.0.2 *#
#* 05 Sep 92 update for ug 2.1(.0) *#
#* 05 Sep 94 update for ug 2.3 *#
#* 01 Jan 95 update for ug 3.0 *#
#* *#
#* Remarks: MPW 3.2 version *#
#* *#
#****************************************************************************#
# list of source files
OBJECTS = postscript.c.o
# local C compiler flags
LCFLAGS = -i ":::low" -i "::"
# the main rule
all {OBJECTS} ps.make
Lib -o ":::lib:libps.a" {OBJECTS}
# compile all source files
postscript.c.o postscript.c
C {COPTS} {LCFLAGS} postscript.c
# File: GenerateRules.make
# Target: GenerateRules
# Sources: GenerateRules.c simplex.c
# Created: Dienstag, 14. September 1993 14:44:07 Uhr
OBJECTS = GenerateRules.c.o simplex.c.o
GenerateRules GenerateRules.make {OBJECTS}
Link -d -c 'MPS ' -t MPST -sym on -mf
{OBJECTS}
"{CLibraries}"Clib881.o
#"{CLibraries}"CSANELib881.o
#"{CLibraries}"Math881.o
#"{CLibraries}"Complex881.o
"{CLibraries}"StdClib.o
"{Libraries}"Stubs.o
"{Libraries}"Runtime.o
"{Libraries}"Interface.o
#"{Libraries}"ToolLibs.o
-o GenerateRules
GenerateRules.c.o GenerateRules.make GenerateRules.c
C -d __MPW32__ -r -sym on -mc68020 -mc68881 -elems881 GenerateRules.c
# C -d TEST_GR -d __MPW32__ -r -sym on -mc68020 -mc68881 -elems881 GenerateRules.c
simplex.c.o GenerateRules.make simplex.c
C -d __MPW32__ -r -sym on -mc68020 -mc68881 -elems881 simplex.c
#****************************************************************************#
#* *#
#* File: gg.make *#
#* *#
#* Purpose: build the numerics module *#
#* *#
#* Author: Dirk Feuchter *#
#* *#
#* History: 23.10.95 begin, ug version 3.1 *#
#* *#
#* Remarks: MPW 3.2 version *#
#* *#
#****************************************************************************#
# local C compiler flags
LCFLAGS = -i "::low" -i "::dev" -i "::gm" -i "::numerics" -i "::ui"
# object files for both dimensions
OBJECTS = basics.c.o initnumerics.c.o mgsolver.c.o nlsolver.c.o num.c.o smoother.c.o transgrid.c.o ugblas.c.o ugiter.c.o tnlsolve.c.o
# objects for 2D version
OBJECTS2 = fv.c.o
# objects for 3D version
OBJECTS3 =
# trick to switch source files depending on dimension
DOBJECTS = OBJECTS{DIM}
# the main rules
2Dversion {OBJECTS} {OBJECTS2} numerics.make
Lib -o "::lib:libnumerics{LIBSUFFIX}.a" {OBJECTS} {OBJECTS2}
3Dversion {OBJECTS} {OBJECTS3} numerics.make
Lib -o "::lib:libnumerics{LIBSUFFIX}.a" {OBJECTS} {OBJECTS3}
# compile all source files
basics.c.o basics.c
C {COPTS} {LCFLAGS} {UGDEFINES} basics.c
initnumerics.c.o initnumerics.c
C {COPTS} {LCFLAGS} {UGDEFINES} initnumerics.c
mgsolver.c.o mgsolver.c
C {COPTS} {LCFLAGS} {UGDEFINES} mgsolver.c
nlsolver.c.o nlsolver.c
C {COPTS} {LCFLAGS} {UGDEFINES} nlsolver.c
num.c.o num.c
C {COPTS} {LCFLAGS} {UGDEFINES} num.c
smoother.c.o smoother.c
C {COPTS} {LCFLAGS} {UGDEFINES} smoother.c
transgrid.c.o transgrid.c
C {COPTS} {LCFLAGS} {UGDEFINES} transgrid.c
ugblas.c.o ugblas.c
C {COPTS} {LCFLAGS} {UGDEFINES} ugblas.c
ugiter.c.o ugiter.c
C {COPTS} {LCFLAGS} {UGDEFINES} ugiter.c
fv.c.o fv.c
C {COPTS} {LCFLAGS} {UGDEFINES} fv.c
tnlsolve.c.o tnlsolve.c
C {COPTS} {LCFLAGS} {UGDEFINES} tnlsolve.c
# clean up
clean
Set Exit 0
delete -i .o
#****************************************************************************#
#* *#
#* File: gm.make *#
#* *#
#* Purpose: build the grid manager module *#
#* *#
#* Author: Peter Bastian *#
#* Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen *#
#* Universitaet Heidelberg *#
#* Im Neuenheimer Feld 368 *#
#* 6900 Heidelberg *#
#* internet: ug@ica3.uni-stuttgart.de *#
#* *#
#* History: 24.05.92 begin, ug version 2.0 *#
#* 13.08.92 update for ug 2.0.2 *#
#* 05 Sep 92 update for ug 2.1(.0) *#
#* 05 Sep 94 update for ug 2.3 *#
#* 01 Jan 95 update for ug 3.0 *#
#* *#
#* Remarks: MPW 3.2 version *#
#* *#
#****************************************************************************#
# local C compiler flags
LCFLAGS = -i "::low" -i "::dev"
# object files for both dimensions
OBJECTS = algebra.c.o enrol.c.o evm.c.o ugio.c.o ugm.c.o cw.c.o initgm.c.o elements.c.o
# objects for 2D version
OBJECTS2 = shapes2d.c.o ugm2d.c.o ugrefine2d.c.o
# objects for 3D version
OBJECTS3 = shapes3d.c.o ugm3d.c.o simplex.c.o ugrefine3d.c.o
# trick to switch source files depending on dimension
DOBJECTS = OBJECTS{DIM}
# the main rules
2Dversion {OBJECTS} {OBJECTS2} gm.make
Lib -o "::lib:libgm{LIBSUFFIX}.a" {OBJECTS} {OBJECTS2}
3Dversion {OBJECTS} {OBJECTS3} gm.make
Lib -o "::lib:libgm{LIBSUFFIX}.a" {OBJECTS} {OBJECTS3}
# compile all source files
initgm.c.o initgm.c
C {COPTS} {LCFLAGS} {UGDEFINES} initgm.c
elements.c.o elements.c
C {COPTS} {LCFLAGS} {UGDEFINES} elements.c
cw.c.o cw.c
C {COPTS} {LCFLAGS} {UGDEFINES} cw.c
algebra.c.o algebra.c
C {COPTS} {LCFLAGS} {UGDEFINES} algebra.c
enrol.c.o enrol.c
C {COPTS} {LCFLAGS} {UGDEFINES} enrol.c
evm.c.o evm.c
C {COPTS} {LCFLAGS} {UGDEFINES} evm.c
ugio.c.o ugio.c
C {COPTS} {LCFLAGS} {UGDEFINES} ugio.c
ugm.c.o ugm.c
C {COPTS} {LCFLAGS} {UGDEFINES} ugm.c
shapes2d.c.o shapes2d.c
C {COPTS} {LCFLAGS} {UGDEFINES} shapes2d.c
ugm2d.c.o ugm2d.c
C {COPTS} {LCFLAGS} {UGDEFINES} ugm2d.c
ugrefine2d.c.o ugrefine2d.c
C {COPTS} {LCFLAGS} {UGDEFINES} ugrefine2d.c
shapes3d.c.o shapes3d.c
C {COPTS} {LCFLAGS} {UGDEFINES} shapes3d.c
ugm3d.c.o ugm3d.c
C {COPTS} {LCFLAGS} {UGDEFINES} ugm3d.c
simplex.c.o simplex.c
C {COPTS} {LCFLAGS} {UGDEFINES} simplex.c
ugrefine3d.c.o ugrefine3d.c
C {COPTS} {LCFLAGS} {UGDEFINES} ugrefine3d.c
# clean up
clean
Set Exit 0
delete -i .o
##############################################################################
# #
# Makefile for parallel ug version #
# #
# created 17 August 1992 #
# #
##############################################################################
# ARCHDIR has to be one of: INDIGO, PARAGON, PARIX, PVM, KSR
include ../ug.arch
# architecture-dependent makefile entries
include ../$(ARCHDIR)/mk.$(ARCHDIR)
OBJECTS = GenerateRules.o simplex.o
../lib/libug.a : $(OBJECTS) Makefile
$(LINK) $(OBJECTS) $(LLDFLAGS) -o gr $(LIBS)
.c.o:
$(COMPILE) $(LCFLAGS) -c $<
clean:
rm gr
#****************************************************************************#
#* *#
#* File: graph.make *#
#* *#
#* Purpose: build ug graphics *#
#* *#
#* Author: Peter Bastian *#
#* Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen *#
#* Universitaet Heidelberg *#
#* Im Neuenheimer Feld 368 *#
#* 6900 Heidelberg *#
#* internet: ug@ica3.uni-stuttgart.de *#
#* *#
#* History: 24.05.92 begin, ug version 2.0 *#
#* 13.08.92 update for ug 2.0.2 *#
#* 05 Sep 92 update for ug 2.1(.0) *#
#* 05 Sep 94 update for ug 2.3 *#
#* 01 Jan 95 update for ug 3.0 *#
#* *#
#* Remarks: MPW 3.2 version *#
#* *#
#****************************************************************************#
# list of source files
OBJECTS = wpm.c.o wop.c.o graph.c.o plotproc.c.o initgraph.c.o
# local C compiler flags
LCFLAGS = -i "::low" -i "::dev" -i "::gm"
# the main rule
all {OBJECTS} graph.make
Lib -o "::lib:libgraph{LIBSUFFIX}.a" {OBJECTS}
# compile all source files
wpm.c.o wpm.c
C {COPTS} {LCFLAGS} {UGDEFINES} wpm.c
# compile all source files
wop.c.o wop.c
C {COPTS} {LCFLAGS} {UGDEFINES} wop.c
# compile all source files
graph.c.o graph.c
C {COPTS} {LCFLAGS} {UGDEFINES} graph.c
# compile all source files
plotproc.c.o plotproc.c
C {COPTS} {LCFLAGS} {UGDEFINES} plotproc.c
# compile all source files
initgraph.c.o initgraph.c
C {COPTS} {LCFLAGS} {UGDEFINES} initgraph.c
# clean up
clean
Set Exit 0
delete -i .o
#****************************************************************************#
#* *#
#* File: low.make *#
#* *#
#* Purpose: make file for low modules library *#
#* *#
#* Author: Peter Bastian *#
#* Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen *#
#* Universitaet Heidelberg *#
#* Im Neuenheimer Feld 368 *#
#* 6900 Heidelberg *#
#* internet: ug@ica3.uni-stuttgart.de *#
#* *#
#* History: 24.05.92 begin, ug version 2.0 *#
#* 13.08.92 update for ug 2.0.2 *#
#* 05 Sep 92 update for ug 2.1(.0) *#
#* 05 Sep 94 update for ug 2.3 *#
#* 01 Jan 95 update for ug 3.0 *#
#* *#
#* Remarks: MPW 3.2 version *#
#* *#
#****************************************************************************#
# all object files for ug library
OBJECTS = ugenv.c.o heaps.c.o fifo.c.o misc.c.o initlow.c.o defaults.c.o fileopen.c.o ugstruct.c.o
# main rule
all low.make {OBJECTS}
Lib -o "::lib:liblow{LIBSUFFIX}.a" {OBJECTS}
# compile all source files
initlow.c.o initlow.c
C {COPTS} {UGDEFINES} initlow.c
misc.c.o misc.c
C {COPTS} {UGDEFINES} misc.c
defaults.c.o defaults.c
C {COPTS} {UGDEFINES} defaults.c
ugenv.c.o ugenv.c
C {COPTS} {UGDEFINES} ugenv.c
heaps.c.o heaps.c
C {COPTS} {UGDEFINES} heaps.c
fifo.c.o fifo.c
C {COPTS} {UGDEFINES} fifo.c
fileopen.c.o fileopen.c
C {COPTS} {UGDEFINES} fileopen.c
ugstruct.c.o ugstruct.c
C {COPTS} {UGDEFINES} ugstruct.c
# clean up
clean
delete -i .o
#****************************************************************************#
#* *#
#* File: ui.make *#
#* *#
#* Purpose: build ug user interface *#
#* *#
#* Author: Peter Bastian *#
#* Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen *#
#* Universitaet Heidelberg *#
#* Im Neuenheimer Feld 368 *#
#* 6900 Heidelberg *#
#* internet: ug@ica3.uni-stuttgart.de *#
#* *#
#* History: 24.05.92 begin, ug version 2.0 *#
#* 13.08.92 update for ug 2.0.2 *#
#* 05 Sep 92 update for ug 2.1(.0) *#
#* 05 Sep 94 update for ug 2.3 *#
#* 01 Jan 95 update for ug 3.0 *#
#* *#
#* Remarks: MPW 3.2 version *#
#* *#
#****************************************************************************#
# list of source files
OBJECTS = initui.c.o helpmsg.c.o cmdline.c.o cmdint.c.o uginterface.c.o commands.c.o
# local C compiler flags
LCFLAGS = -i "::low" -i "::dev" -i "::gm" -i "::numerics" -i "::graph"
# the main rule
all {OBJECTS} ui.make
Lib -o "::lib:libui{LIBSUFFIX}.a" {OBJECTS}
# compile all source files
initui.c.o initui.c
C {COPTS} {LCFLAGS} {UGDEFINES} initui.c
# compile all source files
helpmsg.c.o helpmsg.c
C {COPTS} {LCFLAGS} {UGDEFINES} helpmsg.c
# compile all source files
cmdline.c.o cmdline.c
C {COPTS} {LCFLAGS} {UGDEFINES} cmdline.c
# compile all source files
cmdint.c.o cmdint.c
C {COPTS} {LCFLAGS} {UGDEFINES} cmdint.c
# compile all source files
uginterface.c.o uginterface.c
C {COPTS} {LCFLAGS} {UGDEFINES} uginterface.c
# compile all source files
commands.c.o commands.c
C {COPTS} {LCFLAGS} {UGDEFINES} commands.c
# clean up
clean
Set Exit 0
delete -i .o
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment