summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian A. Weber <chris@gna.ch>1993-05-24 15:48:12 +0000
committerChristian A. Weber <chris@gna.ch>1993-05-24 15:48:12 +0000
commit0cb1331e97b5b39adb63efe26d0ffa375e4a5eba (patch)
tree1e79cad2eef9ae54d757e50bf790ebf38a3715a5
parent352ff7df4e1869743f238de34c975129a97c3d33 (diff)
downloadiff-library-0cb1331e97b5b39adb63efe26d0ffa375e4a5eba.tar.gz
iff-library-0cb1331e97b5b39adb63efe26d0ffa375e4a5eba.tar.bz2
iff-library-0cb1331e97b5b39adb63efe26d0ffa375e4a5eba.zip
AD2AG statt AD2HT, Revision control jetzt mit Bumper
-rw-r--r--Source/Makefile74
1 files changed, 27 insertions, 47 deletions
diff --git a/Source/Makefile b/Source/Makefile
index b11391e..63fc51d 100644
--- a/Source/Makefile
+++ b/Source/Makefile
@@ -1,15 +1,14 @@
##
-## $Id: Makefile,v 21.3 92/05/18 02:18:40 chris Exp $
-## $Revision: 21.3 $
+## $Id: Makefile,v 22.1 92/06/02 16:48:51 chris Exp $
+## $Revision: 22.1 $
##
## $Filename: Makefile $
## $Author: chris $
-## $Release: 19.1 $
-## $Date: 92/05/18 02:18:40 $
+## $Date: 92/06/02 16:48:51 $
##
## Makefile to build iff.library
##
-## COPYRIGHT (C) 1987-1992 BY CHRISTIAN A. WEBER, BRUGGERWEG 2,
+## COPYRIGHT (C) 1987-1993 BY CHRISTIAN A. WEBER, BRUGGERWEG 2,
## CH-8037 ZUERICH, SWITZERLAND. ALL RIGHTS RESERVED. NO PART
## OF THIS SOFTWARE MAY BE COPIED, REPRODUCED, OR TRANSMITTED
## IN ANY FORM OR BY ANY MEANS, WITHOUT THE PRIOR WRITTEN PER-
@@ -18,46 +17,27 @@
LIBDEST = SYS:Libs-User/
-AUTODOC = DH0:Devel/Milano/Disk3/Debug/Devel/autodoc
+AUTODOC = Autodoc
AUTODOCFLAGS = -a -C -I
-#############################################################################
-## Allgemeine Flags
-
-CFLAGS = -cfustq -fid -ms -v -rr -s -O
-AFLAGS = -l -iINCLUDE:
-LFLAGS = ADDSYM DEFINE kprint_macro=KPrintF
-
-# -b0 = Nicht a4-relativ
-# -cf = prototypes testen
-# -cr = Register-Parameter mit prototypes
-# -cs = Gleiche Strings nur einmal nehmen
-# -ct = Warnung bei undef'd structure tags
-# -cu = Alle chars sind unsigned
-# -d2 = voll debug info, DEBUG-Symbol wird definiert
-# -ff = FFP
-# -fi = IEEEDoubBas
-# -f8 = 68881 direkt
-# -fd = alle floats sind double
-# -m0 = 68000er Code
-# -m2 = 68020er Code
-# -ms = Code reducing optimization
-# -mt = Time reducing optimization
-# -O = Optimizer on
-# -rr = Argument passing immer in Registers
-# -s = Section names angeben (text/data/udata)
-# -v = Stack checking ausschalten
-# -w = 16 Bit ints
+ASM = Genam
+AFLAGS = -iINCLUDE: -l
+
+CC = sc
+CFLAGS =
+
+LD = SLINK
+LFLAGS = NOICONS NODEBUG MAP RAM:ifflib.map
#############################################################################
## Regeln
.s.o:
- Genam $(AFLAGS) $*.S
+ $(ASM) $(AFLAGS) $*.S
.c.o:
- LC $(CFLAGS) $*.c
+ $(CC) $(CFLAGS) $*.c
#############################################################################
@@ -71,29 +51,27 @@ DOC: /ifflib.doc
#############################################################################
## iff.library
-IFFLIB_SRC = ifflib.S openiff.S closeiff.S findchunk.S getbmhd.S\
+IFFLIB_SRC = ifflib.S openiff.S closeiff.S findchunk.S getbmhd.S\
getcolortab.S decodepic.S savebitmap.S saveclip.S ifferror.S\
getviewmodes.S modifyframe.S\
PushChunk.S PopChunk.S WriteChunkBytes.S CompressBlock.S DecompressBlock.S
-IFFLIB_MODS = ifflib.o openiff.o closeiff.o findchunk.o getbmhd.o\
+IFFLIB_MODS = ifflib.o openiff.o closeiff.o findchunk.o getbmhd.o\
getcolortab.o decodepic.o savebitmap.o saveclip.o ifferror.o\
getviewmodes.o modifyframe.o\
pushchunk.o popchunk.o writechunkbytes.o compressblock.o decompressblock.o
$(IFFLIB_MODS): IFFLib.i INCUSR:libraries/iff.i
+IFFLIB_LIB = CCLIB:iff.lib LIB:small.lib
+
/iff.library: $(IFFLIB_MODS)
- BLINK FROM $(IFFLIB_MODS) TO T:___iff LIB /iff.lib LIB:small.lib
- @AbsLoad >NIL: -©o/iff.library T:___iff
- @Delete T:___iff
+ $(LD) $(LFLAGS) FROM $(IFFLIB_MODS) TO /iff.library LIB $(IFFLIB_LIB)
@Protect /iff.library rwd
FlushLibs
@FlushLibs
Copy /iff.library $(LIBDEST)
-# @/iff.library
-
#############################################################################
## iffpp.library
@@ -108,10 +86,6 @@ IFFPPLIB_MODS = $(IFFLIB_MODS) ppopeniff.o ppopeniffc.o
FlushLibs
@FlushLibs
-# @Echo "Copying library to $(LIBDEST)"
-# @Copy /iffpp.library $(LIBDEST)
-# @/iffpp.library
-
ppopeniffc.o: ppopeniffc.c
lc -v -b0 -O $*.c
@@ -124,7 +98,7 @@ ppopeniffc.o: ppopeniffc.c
$(AUTODOC) $(AUTODOCFLAGS) -i $(IFFLIB_SRC) >/ifflib_internal.doc
@Delete QUIET /*.hyper /*.hyper.info
@Rename /CHANGES.DOC /CHANGES.NODOC
- ad2ht / /
+ AD2AG / TO /
@Rename /CHANGES.NODOC /CHANGES.DOC
@Rename /ifflib /ifflib.hyper
@Rename /ifflib.info /ifflib.hyper.info
@@ -132,4 +106,10 @@ ppopeniffc.o: ppopeniffc.c
@Rename /ifflib_internal.info /ifflib_internal.hyper.info
#############################################################################
+## Bump
+
+Bump:
+ Bumper ASM IFF
+ @Make
+IFFLib.o: IFF_rev.i