home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
programs
/
monitors
/
rsys
/
source.lha
/
src
/
MakeFile
< prev
next >
Wrap
Makefile
|
1995-01-09
|
4KB
|
136 lines
#
# $VER: MakeFile 1.21 (15.07.93) (c) by Rolf Böhme
#
PROG = RSys
VERSION = 12
SRC = RSys.c RSysExtern.c RSysBroker.c RSysDOSLists.c RSysExecLists.c \
RSysFiletype.c RSysGfxIntuiLists.c RSysGlobal.c RSysHandlerList.c \
RSysHelp.c RSysIconify.c RSysInit.c RSysList.c RSysSpecialList.c \
RSysSummaryLists.c RSysUtils.c RSysModify.c RSysAction.c\
RSysDisplays.c RSysCrypt.c RSysFormatFind.c RSyshunks.c RSyscrc.c \
RSyssavewindow.c RSyssignaltrap.c RSysTreeHunks.c RSysMain.c \
RSysCheckOffsets.c RSysClip.c RSysFlush.c RSysTextFormatter.c \
RSysIntuiCtrl.c RSysGfxCtrl.c RSysError.c RSysPreferenceLists.c \
RSysShowFont.c
ASM = RSysIdents.asm RSysSprintf.asm
INC = RSys.h RSysFunc.h RSysversion.h RSysDebug.h
OBJ = RSys.o RSysExtern.o RSysBroker.o RSysDOSLists.o RSysExecLists.o \
RSysFiletype.o RSysGfxIntuiLists.o RSysGlobal.o RSysHandlerList.o \
RSysHelp.o RSysIconify.o RSysInit.o RSysList.o RSysSpecialList.o \
RSysSummaryLists.o RSysUtils.o RSysModify.o RSysAction.o\
RSysDisplays.o RSyscrypt.o RSysFormatFind.o RSyshunks.o RSyscrc.o \
RSyssavewindow.o RSyssignaltrap.o RSysTreeHunks.o \
RSysCheckOffsets.o RSysClip.o RSysFlush.o RSysTextFormatter.o \
RSysIntuiCtrl.o RSysGfxCtrl.o RSysError.o RSysPreferenceLists.o RSysMain.o \
RSysShowFont.o
PRO = RSys.pro RSysBroker.pro RSysDOSLists.pro RSysExecLists.pro RSysExtern.pro \
RSysFiletype.pro RSysGfxIntuiLists.pro RSysHandlerList.pro \
RSysDisplays.pro RSysFormatFind.pro RSyscrc.pro RSyssavewindow.pro \
RSyssignaltrap.pro RSysTextFormatter.pro RSysIntuiCtrl.pro RSysGfxCtrl.pro\
RSysHelp.pro RSysIconify.pro RSysInit.pro RSysList.pro RSysSpecialList.pro \
RSysSummaryLists.pro RSysUtils.pro RSysModify.pro RSysAction.pro RSysCrypt.pro \
RSyshunks.pro RSysTreeHunks.pro RSysCheckOffsets.pro \
RSysClip.pro RSysFlush.pro RSysError.pro RSysPreferenceLists.pro \
RSysShowFont.pro
COPYDIR = demo/
CFLAGS = -qfq -wdlp -sou -pe -hi RSys.pre
LFLAGS = -t RSysSprintf.o RSysIdents.o +l cc:lib/libs/small.lib cc:lib/libs/debug.lib +l -lc
ARCHIVER = LHA u
REKARCHIVER = LHA -r u
CC = cc
LN = ln
AS = as
.h.pre:
$(CC) -qfq -wlp -sou -pe -ho RSys.pre RSys.h
.asm.o:
$(AS) $*.asm -o $*.o
.c.o:
$(CC) $(CFLAGS) $*.c
.c.pro:
$(CC) -qp $(CFLAGS) $*.c
$(PROG): $(OBJ) RSysSprintf.o RSysIdents.o
$(LN) $(OBJ) $(LFLAGS) -o $(PROG)
start: $(OBJ) RSysSprintf.o RSysIdents.o
$(LN) $(OBJ) $(LFLAGS) -o $(PROG)
tbreak RSys
RSys
link:
$(LN) $(OBJ) $(LFLAGS) -o $(PROG)
$(OBJ): RSys.pre
pro: $(PRO)
MyJoin RSysFunc.h $(PRO)
rpl RSysFunc.h "struct _cp" "union _cp" -q
rpl RSysFunc.h "()" "(void)" -q
funcguide:
MKProto RSys#?.c STATIC HYPER HWIDTH 25 HCOL 3 TO function.guide
rette:
copy (#?install#?|RSys.guide#?|RSys#?.c|RSys#?.h|RSys|RSys.info|RSysMain.c|makefile|RSys#?.asm) df1: clone
lha u df1:RSysDoc doc/RSys12.texi doc/makefile
lha -x -r u df1:Goodies Goodies/#?
install:
copy RSys sys:wbstartup/
copy RSys.info sys:wbstartup/
tags: $(SRC)
ctags $(SRC)
call: $(SRC)
ctools:scan/calls -eiv $(SRC) >RSyscalls.txt
info:
ownc:ls -l RSys >>RSysSize
ownc:MuchMore RSysSize
indent:
indent $(SRC) -v
copyinst:
copy RSys$(VERSION).Install $(COPYDIR)
copy RSys$(VERSION).Install.info" $(COPYDIR)
copy RSys.lha $(COPYDIR)
rsysdemo:
$(ARCHIVER) src.lha $(SRC) $(ASM) $(INC) makefile function.guide \
function.guide.info
$(REKARCHIVER) Goodies.lha Goodies/#?
$(ARCHIVER) doc.lha doc/RSys$(VERSION).doc doc/RSys$(VERSION).doc.info \
doc/RSys$(VERSION).guide doc/RSys$(VERSION).guide.info \
# doc/RSys$(VERSION)_39.guide doc/RSys$(VERSION)_39.guide.info \
# doc/RSys$(VERSION).dvi doc/RSys$(VERSION).dvi.info \
doc/RSys$(VERSION).texi \
# doc/RSys$(VERSION).tinfo \
doc/MakeFile doc/RSysHistory
$(ARCHIVER) RSys.lha RSys RSys.info RSys.hlp RSys.act src.lha doc.lha Goodies.lha
copyarc:
$(ARCHIVER) RSys$(VERSION).LHA RSys.lha RSys$(VERSION).Install \
RSys$(VERSION).Install.info OwnC:LhX
lhasfx RSys$(VERSION).lha
# lhasfx RSys$(VERSION)beta.lha
copy RSys#?.run $(COPYDIR)
distribute: rsysdemo copyarc