XCOMM $XConsortium: Imakefile,v 1.3.1.1 95/01/16 15:55:48 kaleb Exp $
XCOMM $XFree86: xc/programs/Xserver/hw/xnest/Imakefile,v 3.2 1995/03/11 14:18:56 dawes Exp $
#include <Server.tmpl>

SRCS = 	Args.c \
	Color.c \
	Cursor.c \
	Display.c \
	Events.c \
	Font.c \
	GC.c \
	GCOps.c \
	GetTime.c \
	Handlers.c \
	Init.c \
	Keyboard.c \
	Pixmap.c \
	Pointer.c \
	Screen.c \
	Visual.c \
	Window.c

OBJS = 	Args.o \
	Color.o \
	Cursor.o \
	Display.o \
	Events.o \
	Font.o \
	GC.o \
	GCOps.o \
	GetTime.o \
	Handlers.o \
	Init.o \
	Keyboard.o \
	Pixmap.o \
	Pointer.o \
	Screen.o \
	Visual.o \
	Window.o


INCLUDES = -I. -I$(BUILDINCDIR) -I$(FONTINCSRC) \
	   -I../../mi -I../../include -I../../os  \
           -I$(EXTINCSRC) -I$(INCLUDESRC)

#ifdef OS2Architecture
XCOMM Dirty hack
includes::
	$(RM) GC1.h Font1.h
	@copy GC.h GC.h.backup
	@copy Font.h Font.h.backup
clean::
	-@if exist GC1.h copy GC1.h GC.h
	-@if exist Font1.h copy Font1.h Font.h
LinkFile(GC1.h,GC.h)
LinkFile(Font1.h,Font.h)
includes:: GC.h Font.h
	$(RM) GC.h Font.h
#endif

all:: $(OBJS)

NormalLibraryObjectRule()
NormalLibraryTarget(xnest,$(OBJS))

InstallManPage(Xnest,$(MANDIR))

InstallLinkKitLibrary(xnest,$(LINKKITDIR)/lib)

DependTarget()
