summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/drivers/sis/Imakefile
blob: 604be6a8ee67f947d65a7df92d0843ae244bd9b7 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/drivers/sis/Imakefile,v 1.19 2000/09/20 00:09:29 keithp Exp $
XCOMM
XCOMM This is an Imakefile for the SIS driver.  
XCOMM

#define IHaveModules
#include <Server.tmpl>

#if BuildXF86DRI
DRISRCS = sis_dri.c
DRIOBJS = sis_dri.o
DRIINCLUDES = -I$(SERVERSRC)/GL/dri -I$(LIBSRC)/GL/dri \
              -I$(XF86OSSRC)/linux/drm/kernel \
              -I$(XTOP)/include
DRIDEFINES = $(GLX_DEFINES)
#endif

SRCS = sis_driver.c sis_dac.c sis_cursor.c sis_accel.c sis_setup.c\
       sis530_accel.c sis300_accel.c sis_vga.c sis_vb.c\
       sis_opt.c init300.c init301.c sis_dga.c $(DRISRCS)
OBJS = sis_driver.o sis_dac.o sis_cursor.o sis_accel.o sis_setup.o\
       sis530_accel.o sis300_accel.o sis_vga.o sis_vb.o\
       sis_opt.o init300.o init301.o sis_dga.o $(DRIOBJS)

#if defined(XF86DriverSDK)
INCLUDES = -I. -I../../include
#else
INCLUDES = -I. -I$(XF86COMSRC) -I$(XF86OSSRC) -I$(SERVERSRC)/Xext \
           -I$(SERVERSRC)/mfb -I$(SERVERSRC)/mi \
           -I$(SERVERSRC)/cfb -I$(XF86SRC)/xaa \
           -I$(XF86SRC)/xf1bpp -I$(XF86SRC)/xf4bpp \
           -I$(XF86SRC)/xf24_32bpp \
           -I$(XF86SRC)/vgahw -I$(XF86SRC)/ramdac \
           -I$(XF86SRC)/ddc -I$(XF86SRC)/i2c \
           -I$(XF86SRC)/rac \
           -I$(FONTINCSRC) -I$(SERVERSRC)/include -I$(XINCLUDESRC) \
           -I$(XTOP)/include/extensions \
	   -I$(SERVERSRC)/render \
	   $(DRIINCLUDES)
#endif

DEFINES = $(DRIDEFINES)

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

ModuleObjectRule()

ObjectModuleTarget(sis,$(OBJS))

InstallObjectModule(sis,$(MODULEDIR),drivers)

#if !defined(XF86DriverSDK)
CppManTarget(sis,)
InstallModuleManPage(sis)
#endif

DependTarget()


InstallDriverSDKNonExecFile(Imakefile,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(init300.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(init301.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis.h,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis300_accel.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis300_accel.h,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis530_accel.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_accel.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_cursor.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_cursor.h,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_dac.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_dga.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_driver.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_driver.h,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_opt.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_regs.h,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_regs2.h,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_setup.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_vb.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_vga.c,$(DRIVERSDKDIR)/drivers/sis)

InstallDriverSDKObjectModule(sis,$(DRIVERSDKMODULEDIR),drivers)