summaryrefslogtreecommitdiff
path: root/Source/Makefile
diff options
context:
space:
mode:
authorChristian A. Weber <chris@gna.ch>1992-05-15 03:23:06 +0000
committerChristian A. Weber <chris@gna.ch>1992-05-15 03:23:06 +0000
commit31a67f468c9e790d3caccba7163207ddefefef1a (patch)
tree683b7749e9691dbb072c15cf389a882f33c00bdc /Source/Makefile
parentf821d2f8d2179229bfec65fd244038349485719c (diff)
downloadiff-library-31a67f468c9e790d3caccba7163207ddefefef1a.tar.gz
iff-library-31a67f468c9e790d3caccba7163207ddefefef1a.tar.bz2
iff-library-31a67f468c9e790d3caccba7163207ddefefef1a.zip
Neue Routinen: PushChunk(), PopChunk(), WriteChunkBytes()
Diffstat (limited to 'Source/Makefile')
-rw-r--r--Source/Makefile88
1 files changed, 60 insertions, 28 deletions
diff --git a/Source/Makefile b/Source/Makefile
index 73af717..5bae58a 100644
--- a/Source/Makefile
+++ b/Source/Makefile
@@ -1,11 +1,11 @@
##
-## $Id: $
-## $Revision: $
+## $Id: Makefile,v 1.1 92/05/12 22:26:56 chris Exp $
+## $Revision: 1.1 $
##
## $Filename: Makefile $
-## $Author: Christian A. Weber $
+## $Author: chris $
## $Release: 19.1 $
-## $Date: 92/05/11 21:11:27 $
+## $Date: 92/05/12 22:26:56 $
##
## Makefile to build iff.library and utilities
##
@@ -16,13 +16,16 @@
## MISSION OF THE AUTHOR. USE AT YOUR OWN RISK.
##
-LIBDEST = SYS:Libs-User/
+LIBDEST = SYS:Libs-User/
+
+AUTODOC = DH0:Devel/Milano/Disk3/Debug/Devel/autodoc
+AUTODOCFLAGS = -a -C -I
#############################################################################
## Allgemeine Flags
CFLAGS = -cfustq -fid -ms -v -rr -s -O
-AFLAGS = -iINCLUDE:
+AFLAGS = -l -iINCLUDE:
LFLAGS = ADDSYM
# -b0 = Nicht a4-relativ
@@ -51,57 +54,86 @@ LFLAGS = ADDSYM
## Regeln
.s.o:
- Genim2 -l -iINCLUDE: $*.S
+ Genim2 $(AFLAGS) $*.S
+
.c.o:
LC $(CFLAGS) $*.c
#############################################################################
-## Files
+## Kommandozeilen-Argumente für Make
+
+ALL: INCUSR:libraries/iff.h INCUSR:libraries/iff.i /iff.library
+#ALL: INCUSR:libraries/iff.h INCUSR:libraries/iff.i /iff.library /iffpp.library
+DOC: /ifflib.doc
+
+
+#############################################################################
+## Header files
+
+INCUSR:libraries/iff.h: iff.h
+ Copy iff.h INCUSR:libraries/
+
+
+INCUSR:libraries/iff.i: iff.i
+ Copy iff.i INCUSR:libraries/
-all: iff.library iffpp.library
-
#############################################################################
## iff.library
-IFFLIB_MODS = \
- ifflib.o openiff.o closeiff.o findchunk.o getbmhd.o\
+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\
getcolortab.o decodepic.o savebitmap.o saveclip.o ifferror.o\
- getviewmodes.o modifyframe.o
+ getviewmodes.o modifyframe.o\
+ pushchunk.o popchunk.o writechunkbytes.o compressblock.o decompressblock.o
-$(IFFLIB_MODS): IFFLib.i
+$(IFFLIB_MODS): IFFLib.i INCUSR:libraries/iff.i
-iff.library: $(IFFLIB_MODS)
+/iff.library: $(IFFLIB_MODS)
BLINK FROM $(IFFLIB_MODS) TO T:___iff LIB LIB:small.lib
- @AbsLoad >NIL: -©oiff.library T:___iff
+ @AbsLoad >NIL: -©o/iff.library T:___iff
@Delete T:___iff
- @Protect iff.library rwd
-# @Echo "Copying library to $(LIBDEST)"
-# @Copy iff.library $(LIBDEST)
+ @Protect /iff.library rwd
FlushLibs
@FlushLibs
-# @iff.library
+
+# @Echo "Copying library to $(LIBDEST)"
+# @Copy /iff.library $(LIBDEST)
+# @/iff.library
#############################################################################
## iffpp.library
-IFFPPLIB_MODS = $(IFFLIB_MODS) ppopeniff.o ppopeniffc.o
+IFFPPLIB_MODS = $(IFFLIB_MODS) ppopeniff.o ppopeniffc.o
-iffpp.library: $(IFFPPLIB_MODS)
+/iffpp.library: $(IFFPPLIB_MODS)
BLINK FROM $(IFFPPLIB_MODS) TO T:___iff LIB LIB:small.lib
- @AbsLoad >NIL: -©oiffpp.library T:___iff
+ @AbsLoad >NIL: -©o/iffpp.library T:___iff
@Delete T:___iff
- @Protect iffpp.library rwd
-# @Echo "Copying library to $(LIBDEST)"
-# @Copy iffpp.library $(LIBDEST)
+ @Protect /iffpp.library rwd
FlushLibs
@FlushLibs
-# @iffpp.library
+
+# @Echo "Copying library to $(LIBDEST)"
+# @Copy /iffpp.library $(LIBDEST)
+# @/iffpp.library
ppopeniffc.o: ppopeniffc.c
- lc -v -b0 $*.c
+ lc -v -b0 -O $*.c
+
+
+#############################################################################
+## Autodocs (ifflib.doc)
+
+/ifflib.doc: $(IFFLIB_SRC)
+ $(AUTODOC) $(AUTODOCFLAGS) $(IFFLIB_SRC) >/ifflib.doc
+ $(AUTODOC) $(AUTODOCFLAGS) -i $(IFFLIB_SRC) >/ifflib_internal.doc
#############################################################################