# Makefile to compile the OS event manager module
# @(#)makefile	1.4 : latest delta is 8/19/85

CFLAGS =	-g ${GLOBFLAGS} -I$(INC) -DAFWS -DTMOUSE
OBJS =		OSEventMgr.o
INC =		../../../../../include/mac
KERN_LIB =	libcadmac

all:		../../$(KERN_LIB)

OSEventMgr.o:	OSEventMgr.c local.h $(INC)/unixstuff.h\
	$(INC)/global.h $(INC)/bool.h $(INC)/MemMgr.h\
	$(INC)/QuickDraw.h $(INC)/LayerMgr.h $(INC)/WindowMgr.h\
	$(INC)/OSLayerMgr.h $(INC)/EventMgr.h\
	$(INC)/OSEventMgr.h $(INC)/FontMgr.h\
	$(INC)/OSIntrface.h
	${CC} ${CFLAGS} -c OSEventMgr.c

../../$(KERN_LIB): $(OBJS)
	ar rv ../../$(KERN_LIB) $?
