
ObjectFiles	=		\
			o.DLLPoll	\
			o.00Poll	\
			o.01Init	\
			o.02CreateW	\
			o.03CreateI	\
			o.04DeleteW	\
			o.05DeleteI	\
			o.06OpenW	\
			o.07CloseW	\
			o.08RedrawW	\
			o.09UpdateW	\
			o.10GetRect	\
			o.11GetState	\
			o.12GetInfo	\
			o.12GetInfo3	\
			o.13SetIStat	\
			o.14GetIInfo	\
			o.15PointInf	\
			o.16DragBox	\
			o.17ForceRed	\
			o.18SetCaret	\
			o.19GetCaret	\
			o.20CreateM	\
			o.21DecodeM	\
			o.22WhichI	\
			o.23SetExten	\
			o.24PtrShape	\
			o.25OpenT	\
			o.26CloseT	\
			o.27LoadT	\
			o.28ProcKey	\
			o.29CloseDn	\
			o.31StrtTask	\
			o.31StrtTsk3	\
			o.32GetWOut	\
			o.33PlotI	\
			o.34SetMode	\
			o.35ReadPal	\
			o.36SetPal	\
			o.37SetCol	\
			o.38BOSprite	\
			o.39BlockCpy	\
			o.40RepError	\
			o.40RepErrR	\
			o.41SendMsg	\
			o.43CreateSM	\
			o.44SlotSize	\
			o.45TransBlk	\
			o.47SpriteOp	\
			o.48FontCols	\
			o.49PixTrans	\
			o.50CmdWind	\


LibName		=	WimpSWIs



# Template makefile to make all .o files
# for a DeskLib sublibrary. Compilation 
# is for static linking inside a DLL.

# The macro $(ObjectFiles) should be set at the 
# start of this file, to be a space-separated
# list of object files.
# This is done by 'Makatic'.

# The macro $(LibName) should also be set at the 
# start of this file, to be the name of the 
# DeskLib sublibrary.
# 

# Compiler flags, These can be anything. 
# All essential flags (eg CC -zM
# are included in the macro $(CC).
#
CCFlags		=	-fahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
ASMFlags	=	-Stamp -NoCache -CloseExec -Quit $(ASMExtra)

CC		=	cc -c -zM -d_DLL -JC:DLLLib.,:mem $(CCFlags)
ASM		=	ObjAsm $(ASMFlags)


# -------------------------------------------------------
# Everything below here should probably not be changed...
# -------------------------------------------------------

# Here's what we want to make...
#
All:	$(ObjectFiles)


# Rule for compiling C source code for a Straylight dynamically-linked library.

VPATH = @.^

.SUFFIXES:	.o .c .s

.c.o:
	$(CC) -o $@ $<

.s.o:
	$(ASM) $(ASMFlags) -from $< -to $@



# Dynamic dependencies:
o.DLLPoll:	^.c.DLLPoll
o.DLLPoll:	DeskLib:h.WimpSWIs
o.DLLPoll:	DeskLib:h.Core
o.DLLPoll:	C:h.stddef
o.DLLPoll:	C:DLLLib.h.dll
o.DLLPoll:	C:h.kernel
o.DLLPoll:	DeskLib:h.Wimp
o.DLLPoll:	^.h.DLLPollDefs
