home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 2
/
FFMCD02.bin
/
new
/
gfx
/
edit
/
tsmorph
/
lmkfile
< prev
next >
Wrap
Text File
|
1993-12-21
|
14KB
|
442 lines
# TSMorph - Amiga Morphing program
# Copyright (C) © 1993 Topicsave Limited
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# mpaddock@cix.compulink.co.uk
# $Author: M_J_Paddock $
# $Date: 1993/08/28 22:04:09 $
# $Revision: 1.6 $
# Make file for TSMorph and SAS/C 5.10
# Compilation flags
# Normal compile
CCFLAGS = -ccfistq -iINCLUDE: -O -mt -v -fl -j104 -d1
# Normal compile the same as above(???)
CCFLAGS1 = -ccfistq -iINCLUDE: -O -mt -v -fl -j104 -d1
# 881 maths compile
CCFLAGS881 = -ccfistq -iINCLUDE: -m2 -mt -dMY68881 -f8 -v -O -j104 -d1
# default compilation
.c.o:
lc $(CCFLAGS) $*.c
# various defines
B = brush/
C = cursor/
G = Gui/
R = Rexx/
I = .info
E = ENV/TSMorph/
J = JPEG_LS/
JPEGLSS1 = $(J)jconfig.h $(J)jdcolor.c $(J)jddeflts.c $(J)jdhuff.c $(J)jdmain.c $(J)jdmaster.c $(J)jdmcu.c $(J)jrdgif.c
JPEGLSS2 = $(J)jdpipe.c $(J)jdsample.c $(J)jinclude.h $(J)jmemmgr.c $(J)jmemsys.c $(J)jmemsys.h $(J)jrdppm.c
JPEGLSS3 = $(J)jpegdata.h $(J)jquant1.c $(J)jrdjfif.c $(J)jrevdct.c $(J)jutils.c $(J)jwrmem.c $(J)jrdtarga.c
JPEGLSO1 = $(J)jdcolor.o $(J)jddeflts.o $(J)jdhuff.o $(J)jdmaster.o $(J)jdmcu.o $(J)jrdgif.o
JPEGLSO2 = $(J)jdpipe.o $(J)jdsample.o $(J)jmemmgr.o $(J)jmemsys.o $(J)jrdppm.o
JPEGLSO3 = $(J)jquant1.o $(J)jrdjfif.o $(J)jrevdct.o $(J)jutils.o $(J)jwrmem.o $(J)jrdtarga.o
JPEGLSO4 = $(J)jdmain.o
JPEGLSO4R = $(J)jdmainr.o
IFF = parse.o iffpstrings.o Hook.oo ilbmr.o unpacker.o loadilbm.o getbitmap.o
IFFS = ilbmw.o packer.o saveilbm.o
PREFS = TSMorph-prefs.o Prefs.o
TSMORPH = TSMorph.o ControlWindow.o Gui.o Boopsi.oo Subroutines.o help.o sprintf.o Args.o LoadBrushes.o Frames.o OpalLoad.o HandleSettings.o RGBToScreen020.o
RENDER = TSMorph-render.o Progress.o sprintf.o Args.o SaveHAMetc.o
RENDER881 = TSMorph-render881.o Progress.o sprintf.o Args.o SaveHAMetc881.o
DIST = TSMorph-render.881 TSMorph TSMorph-render TSMorph.guide
DIST1 = Install Read.Me TSMorph-prefs COPYING
DISTI = TSMorph-render.881$(I) TSMorph$(I) TSMorph-render$(I) TSMorph.guide$(I) Install$(I) Read.Me$(I) TSMorph-prefs$(I)
REXX = $(R)Prescript.TSM $(R)Postscript.TSM $(R)FadeToBlack.TSM $(R)FadeToWhite.TSM $(R)PixelWarp.TSM $(R)PixelMorph.TSM
REXXI = $(R)Prescript.TSM$(I) $(R)Postscript.TSM$(I) $(R)FadeToBlack.TSM$(I) $(R)FadeToWhite.TSM$(I) $(R)PixelWarp.TSM$(I) $(R)PixelMorph.TSM$(I)
REXX1 = $(R)ToHam.TSM $(R)LoadScript.TSM $(R)Preview.TSM
REXXI1 = $(R)ToHam.TSM$(I) $(R)LoadScript.TSM$(I) $(R)Preview.TSM$(I) Rexx$(I)
DIST2I = $(E)def_points$(I) $(E)def_ilbm$(I) $(E)def_iff$(I) $(E)def_jpg$(I) $(E)def_prefs$(I) $(E)def_ppm$(I)
DIST2I1 = ENV$(I) ENV/TSMorph$(I) brush$(I) cursor$(I)
DIST2I2 = $(E)def_bw16$(I) $(E)def_bw256$(I) $(E)def_ham6$(I) $(E)def_ham8$(I) $(E)def_dctv3$(I) $(E)def_dctv4$(I)
SRC1 = boopsi.oo ControlWindow.c getbitmap.c gui.c gui.h help.c Hook.oo iffpstrings.c ilbmr.c ilbmw.c lmkfile
SRCBRUSH = $(B)Add.c $(B)Del.c $(B)Link.c $(B)None.c $(B)One.c $(B)Rel.c $(B)Two.c $(B)Unlink.c $(B)1st.c $(B)last.c $(B)goto.c $(B)next.c $(B)prev.c
BRUSHES = $(B)add.o $(B)del.o $(B)link.o $(B)none.o $(B)one.o $(B)rel.o $(B)two.o $(B)unlink.o $(B)1st.o $(B)last.o $(B)goto.o $(B)next.o $(B)prev.o
BRUSH = $(B)Add $(B)Del $(B)Link $(B)None $(B)One $(B)Rel $(B)Two $(B)Unlink $(B)1st $(B)last $(B)goto $(B)next $(B)prev
BRUSHI = $(B)Add$(I) $(B)Del$(I) $(B)Link$(I) $(B)None$(I) $(B)One$(I) $(B)Rel$(I) $(B)Two$(I)
BRUSHI1 = $(B)Unlink$(I) $(B)1st$(I) $(B)last$(I) $(B)goto$(I) $(B)next$(I) $(B)prev$(I)
CURSORS = $(C)Xadd.o $(C)Xdel.o $(C)Xl1.o $(C)Xl2.o $(C)Xmov.o $(C)Xone.o $(C)Xrel.o $(C)Xtwo.o $(C)Xu1.o $(C)Xu2.o
SRCCURSOR = $(C)XAdd.c $(C)XDel.c $(C)XL1.c $(C)XL2.c $(C)XMov.c $(C)XOne.c $(C)XRel.c $(C)XTwo.c $(C)XU1.c $(C)XU2.c
CURSOR = $(C)XAdd $(C)XDel $(C)XL1 $(C)XL2 $(C)XMov $(C)XOne $(C)XRel $(C)XTwo $(C)XU1 $(C)XU2
CURSORI1 = $(C)XAdd$(I) $(C)XDel$(I) $(C)XL1$(I) $(C)XL2$(I)
CURSORI2 = $(C)XMov$(I) $(C)XOne$(I) $(C)XRel$(I) $(C)XTwo$(I) $(C)XU1$(I) $(C)XU2$(I)
SRCIFFP = iffp/compiler.h iffp/debug.h iffp/iff.h iffp/iffpstringids.h iffp/iffpstrings.h iffp/ilbm.h iffp/ilbmapp.h iffp/packer.h
SRC5 = loadilbm.c packer.c parse.c Progress.c progress.h saveilbm.c Subroutines.c TSMorph-render.c TSMorph.c TSMorph.h
SRC6 = TSMorph.texinfo unpacker.c Install Read.Me sprintf.c Args.c LoadBrushes.c Frames.c CIRCS OpalLoad.c HandleSettings.c COPYING
SRC7 = RGBToScreen020.c SaveHAMetc.c Prefs.c Prefs.h TSMorph-prefs.c Source.readme Source.readme.info JPEG.README
GUI = $(G)TSMorph.gui $(G)Progress.gui $(G)AddGrid.gui $(G)Settings.gui
GUII = $(G)TSMorph.gui$(I) $(G)Progress.gui$(I) $(G)AddGrid.gui$(I) $(G)Settings.gui$(I)
# Default is to generate Source and Object lha
Everything: LHA:TSMorph23s.lha LHA:TSMorph23.lha
# All the "object" code
Object: TSMorph TSMorph-render TSMorph-render.881 TSMorph.guide TSMorph-prefs
# Object distribution
LHA:TSMorph23.lha: TSMorph TSMorph.guide TSMorph-render TSMorph-render.881 $(DISTI) $(REXXI) $(DIST2I) $(DIST2I1) $(DIST2I2) $(DIST1) $(REXX) $(REXX1) $(REXXI1) $(CURSOR) $(CURSORI1) $(CURSORI2) $(BRUSH) $(BRUSHI) $(BRUSHI1)
lha -F u -x LHA:TSMorph23.lha <@<
TSMorph
TSMorph.guide
TSMorph-render
TSMorph-render.881
$(DISTI)
$(REXXI)
$(DIST2I)
$(DIST2I1)
$(DIST2I2)
$(DIST1)
$(REXX)
$(REXX1)
$(REXXI1)
$(CURSOR)
$(CURSORI1)
$(CURSORI2)
$(BRUSH)
$(BRUSHI)
$(BRUSHI1)
<
# Object distribution split up
LHA:TSM.lha: TSMorph
lha -F u -x LHA:TSM.lha TSMorph
LHA:TSM-g.lha: TSMorph.guide
lha -F u -x LHA:TSM-g.lha TSMorph.guide
LHA:TSM-r.lha: TSMorph-render
lha -F u -x LHA:TSM-r.lha TSMorph-render
LHA:TSM-r8.lha: TSMorph-render.881
lha -F u -x LHA:TSM-r8.lha TSMorph-render.881
LHA:TSM-etc.lha: $(DIST1) $(REXX) $(REXX1) $(DISTI) $(REXXI) $(DIST2I) $(DIST2I1) $(DIST2I2) $(REXXI1) $(CURSOR) $(CURSORI1) $(CURSORI2) $(BRUSH) $(BRUSHI) $(BRUSHI1)
lha -F u -x LHA:TSM-etc.lha <@<
$(DISTI)
$(REXXI)
$(DIST2I)
$(DIST2I1)
$(DIST2I2)
$(DIST1)
$(REXX)
$(REXX1)
$(REXXI1)
$(CURSOR)
$(CURSORI1)
$(CURSORI2)
$(BRUSH)
$(BRUSHI)
$(BRUSHI1)
<
# Source distribution - compressed lha archive
LHA:TSMorph23s.lha: LHA:TSM23s.lha
lha u -Z LHA:TSMorph23s.lha LHA:TSM23s.lha
# uncompressed archive saves about 12% space when recompressed
LHA:TSM23s.lha: $(SRC1) $(SRCBRUSH) $(SRCCURSOR) $(SRCIFFP) $(SRC5) $(SRC6) $(REXX) $(REXX1) $(REXXI) $(DISTI) $(DIST2I) $(DIST2I1) $(DIST2I2) $(REXXI1) $(CURSOR) $(CURSORI1) $(CURSORI2) $(BRUSH)\
$(BRUSHI) $(BRUSHI1) $(GUI) $(GUII) $(JPEGLSS1) $(JPEGLSS2) $(JPEGLSS3)
lha -F u -x -z LHA:TSM23s.lha <@<
$(SRC1)
$(SRCBRUSH)
$(SRCCURSOR)
$(SRCIFFP)
$(SRC5)
$(SRC6)
$(SRC7)
$(REXX)
$(REXX1)
$(REXXI)
$(DISTI)
$(DIST2I)
$(DIST2I1)
$(DIST2I2)
$(REXXI1)
$(CURSOR)
$(CURSORI1)
$(CURSORI2)
$(BRUSH)
$(BRUSHI)
$(BRUSHI1)
$(GUI)
$(GUII)
$(JPEGLSS1)
$(JPEGLSS2)
$(JPEGLSS3)
<
# guide file using MakeInfo
TSMorph.guide: TSMorph.texinfo
Makeinfo --amiga-39 -o TSMorph.guide TSMorph.texinfo
# TSMorph debug object
TSMorph.ld: $(JPEGLSO1) $(JPEGLSO2) $(JPEGLSO3) $(JPEGLSO4) $(TSMORPH) $(BRUSHES) $(CURSORS) $(IFF)
blink <WITH <
FROM lib:c.o $(TSMORPH) $(IFF) $(BRUSHES) $(CURSORS) $(JPEGLSO1) $(JPEGLSO2) $(JPEGLSO3) $(JPEGLSO4)
LIBRARY lib:lc.lib LIB:amiga.lib LIB:reqtools.lib lib:dctv.lib
TO TSMorph.ld SC SD BATCH
VERBOSE
MAXHUNK 32000
DEFINE __main=__tinymain
<
# non debug object
TSMorph: TSMorph.ld
blink TSMorph.ld to TSMorph