XCOMM $XConsortium: Imakefile /main/10 1996/12/02 10:20:33 lehors $
XCOMM $XFree86: xc/programs/Xserver/hw/kdrive/Imakefile,v 1.8 2001/05/29 04:54:10 keithp Exp $

/**************************************************************************/
/*                                                                        */
/* Copyright (c) 2001,2004 NoMachine, http://www.nomachine.com.           */
/*                                                                        */
/* NXKDRIVE, NX protocol compression and NX extensions to this software   */
/* are copyright of NoMachine. Redistribution and use of the present      */
/* software is allowed according to terms specified in the file LICENSE   */
/* which comes in the source distribution.                                */
/*                                                                        */
/* Check http://www.nomachine.com/licensing.html for applicability.       */
/*                                                                        */
/* NX and NoMachine are trademarks of Medialogic S.p.A.                   */
/*                                                                        */
/* All rights reserved.                                                   */
/*                                                                        */
/**************************************************************************/

KDRIVE=.
#include "Kdrive.tmpl"

#if BuildRender
RENDERSRCS=kpict.c
RENDEROBJS=kpict.o
#endif

#if BuildXvExt
XVSRCS=kxv.c
XVOBJS=kxv.o 
#endif

#if XipaqServer
#if ZaurusXServer
DEFINES = -DXIPAQ -DZAURUSXSERVER
#else
DEFINES = -DXIPAQ
#endif
#endif

SRCS = window-embedded.c kaa.c kcmap.c kcolor.c kdrive.c kinfo.c kinput.c kmap.c knoop.c ktest.c \
	vga.c kasync.c kmode.c kcurscol.c kshadow.c $(RENDERSRCS) $(XVSRCS)

OBJS = window-embedded.o kaa.o kcmap.o kcolor.o kdrive.o kinfo.o kinput.o kmap.o knoop.o ktest.o \
	vga.o kasync.o kmode.o kcurscol.o kshadow.o $(RENDEROBJS) $(XVOBJS)

INCLUDES = $(KDINCS)

NormalLibraryObjectRule()
NormalLibraryTarget(kdrive,$(OBJS))

SpecialCObjectRule(kdrive,,$(EXT_DEFINES))

InstallManPage(Xkdrive,$(MANDIR))
DependTarget()
