summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/drivers/glide/Imakefile
blob: 852dc5e5c997c31b3791c08604e5b586ec0ca3a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
XCOMM
XCOMM This is an Imakefile for the glide driver.  
XCOMM
XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/drivers/glide/Imakefile,v 1.6 2001/01/24 00:06:18 dawes Exp $

#define IHaveModules
#include <Server.tmpl>

#if !HasGlide2 || !defined(Glide2IncDir)
all::
	@echo "This driver requires that you define HasGlide2 and Glide2IncDir in host.def"
	@exit 1
install::
	@echo "This driver requires that you define HasGlide2 and Glide2IncDir in host.def"
	@exit 1
#endif

SRCS = glide_driver.c
OBJS = glide_driver.o

#if defined(XF86DriverSDK)
INCLUDES = -I. -I../../include
#else
INCLUDES = -I. -I$(GLIDE2INCDIR) -I$(XF86COMSRC) -I$(XF86OSSRC) \
           -I$(SERVERSRC)/mfb -I$(SERVERSRC)/mi \
           -I$(SERVERSRC)/cfb -I$(XF86SRC)/xaa \
           -I$(XF86SRC)/vgahw -I$(XF86SRC)/ramdac \
           -I$(XF86SRC)/ddc -I$(XF86SRC)/i2c \
           -I$(SERVERSRC)/Xext -I$(XF86SRC)/xf8_32bpp\
           -I$(FONTINCSRC) -I$(SERVERSRC)/include -I$(XINCLUDESRC) \
           -I$(XF86SRC)/xf24_32bpp -I$(XF86SRC)/shadowfb \
           -I$(EXTINCSRC) -I$(SERVERSRC)/render
#endif

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

ModuleObjectRule()

ObjectModuleTarget(glide,$(OBJS))

InstallObjectModule(glide,$(MODULEDIR),drivers)

InstallModuleManPage(glide)

DependTarget()

InstallDriverSDKNonExecFile(Imakefile,$(DRIVERSDKDIR)/drivers/glide)
InstallDriverSDKNonExecFile(glide_driver.c,$(DRIVERSDKDIR)/drivers/glide)

InstallDriverSDKObjectModule(glide,$(DRIVERSDKMODULEDIR),drivers)