XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ark/Imakefile,v 1.6 2001/01/29 15:15:44 keithp Exp $
/*
 *
 * Copyright 2000 Ani Joshi <ajoshi@unixbox.com>
 *
 */

#define IHaveModules
#include <Server.tmpl>

SRCS = ark_driver.c ark_accel.c

OBJS = ark_driver.o ark_accel.o

#if defined(XF86DriverSDK)
INCLUDES = -I. -I../../include
#else
INCLUDES = -I. -I$(XF86COMSRC) -I$(XF86OSSRC) \
           -I$(SERVERSRC)/fb -I$(SERVERSRC)/mi \
           -I$(XF86SRC)/xaa \
           -I$(XF86SRC)/xf1bpp -I$(XF86SRC)/xf4bpp \
           -I$(XF86SRC)/xf24_32bpp -I$(SERVERSRC)/Xext \
           -I$(XF86SRC)/vgahw -I$(XF86SRC)/ramdac \
	   -I$(XF86SRC)/rac -I$(XF86SRC)/int10 \
	   -I$(XF86SRC)/fbdevhw -I$(XF86SRC)/ddc \
	   -I$(XF86SRC)/i2c \
           -I$(SERVERSRC)/include -I$(XINCLUDESRC) -I$(FONTINCSRC) \
           -I$(EXTINCSRC) -I$(SERVERSRC)/render
#endif

#if MakeHasPosixVariableSubstitutions
SubdirLibraryRule($(OBJS))
#endif

NormalAsmObjectRule()

ModuleObjectRule()
ObjectModuleTarget(ark, $(OBJS))

InstallObjectModule(ark,$(MODULEDIR),drivers)

DependTarget()

InstallDriverSDKNonExecFile(Imakefile,$(DRIVERSDKDIR)/drivers/ark)
InstallDriverSDKNonExecFile(ark.h,$(DRIVERSDKDIR)/drivers/ark)
InstallDriverSDKNonExecFile(ark_reg.h,$(DRIVERSDKDIR)/drivers/ark)
InstallDriverSDKNonExecFile(ark_driver.c,$(DRIVERSDKDIR)/drivers/ark)
InstallDriverSDKNonExecFile(ark_accel.c,$(DRIVERSDKDIR)/drivers/ark)

