Imakefile 4.76 KB
Newer Older
1
XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/drivers/sis/Imakefile,v 1.33 2003/08/29 08:50:54 twini Exp $
daryll's avatar
daryll committed
2
3
4
5
6
7
8
XCOMM
XCOMM This is an Imakefile for the SIS driver.  
XCOMM

#define IHaveModules
#include <Server.tmpl>

9
10
11
12
13
14
15
16
17
18
/* DRI static build only works on Linux */
#if !defined(LinuxArchitecture) && !DoLoadableServer && BuildXF86DRI
#undef BuildXF86DRI
#define BuildXF86DRI NO
#endif

#if BuildXF86DRI
DRISRCS = sis_dri.c
DRIOBJS = sis_dri.o
DRIINCLUDES = -I$(SERVERSRC)/GL/dri -I$(LIBSRC)/GL/dri \
19
              -I$(XTOP)/include -I$(DRMSRCDIR)/shared
20
21
22
23
24
25
26
27
28
29
30
31
32
DRIDEFINES = $(GLX_DEFINES)
#endif

SRCS = sis_driver.c sis_dac.c sis_cursor.c sis_accel.c sis_setup.c\
       sis300_accel.c sis310_accel.c sis_vga.c sis_vb.c\
       sis_opt.c sis_dga.c sis_video.c init.c init301.c sis_shadow.c \
       sis6326_video.c \
	   $(DRISRCS)
OBJS = sis_driver.o sis_dac.o sis_cursor.o sis_accel.o sis_setup.o\
       sis300_accel.o sis310_accel.o sis_vga.o sis_vb.o\
       sis_opt.o sis_dga.o sis_video.o init.o init301.o sis_shadow.o \
       sis6326_video.o \
	   $(DRIOBJS)
daryll's avatar
daryll committed
33
34
35
36
37
38

#if defined(XF86DriverSDK)
INCLUDES = -I. -I../../include
#else
INCLUDES = -I. -I$(XF86COMSRC) -I$(XF86OSSRC) -I$(SERVERSRC)/Xext \
           -I$(SERVERSRC)/mfb -I$(SERVERSRC)/mi \
39
40
41
           -I$(SERVERSRC)/fb -I$(XF86SRC)/xaa \
           -I$(XF86SRC)/xf1bpp -I$(XF86SRC)/xf4bpp \
           -I$(XF86SRC)/xf24_32bpp \
daryll's avatar
daryll committed
42
           -I$(XF86SRC)/vgahw -I$(XF86SRC)/ramdac \
43
44
           -I$(XF86SRC)/ddc -I$(XF86SRC)/i2c -I$(XF86SRC)/vbe \
           -I$(XF86SRC)/rac -I$(XF86SRC)/int10 \
daryll's avatar
daryll committed
45
           -I$(FONTINCSRC) -I$(SERVERSRC)/include -I$(XINCLUDESRC) \
46
47
48
49
           -I$(XTOP)/include/extensions \
		   -I$(SERVERSRC)/render \
		   -I$(XF86SRC)/shadowfb \
           $(DRIINCLUDES)
daryll's avatar
daryll committed
50
51
#endif

52
53
DEFINES = $(DRIDEFINES)

daryll's avatar
daryll committed
54
55
56
57
58
59
60
61
62
63
#if MakeHasPosixVariableSubstitutions
SubdirLibraryRule($(OBJS))
#endif

ModuleObjectRule()

ObjectModuleTarget(sis,$(OBJS))

InstallObjectModule(sis,$(MODULEDIR),drivers)

64
65
66
67
#if !defined(XF86DriverSDK)
InstallModuleManPage(sis)
#endif

daryll's avatar
daryll committed
68
69
70
71
DependTarget()

InstallDriverSDKNonExecFile(Imakefile,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis.h,$(DRIVERSDKDIR)/drivers/sis)
72
73
74
75
76
InstallDriverSDKNonExecFile(sis300_accel.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis300_accel.h,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis310_accel.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis310_accel.h,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_accel.h,$(DRIVERSDKDIR)/drivers/sis)
daryll's avatar
daryll committed
77
InstallDriverSDKNonExecFile(sis_accel.c,$(DRIVERSDKDIR)/drivers/sis)
78
79
80
81
82
83
84
85
86
87
88
89
InstallDriverSDKNonExecFile(init.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(init.h,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(init301.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(init301.h,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(osdef.h,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(initdef.h,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(300vtbl.h,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(310vtbl.h,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(oem300.h,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(oem310.h,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_cursor.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_cursor.h,$(DRIVERSDKDIR)/drivers/sis)
daryll's avatar
daryll committed
90
InstallDriverSDKNonExecFile(sis_dac.c,$(DRIVERSDKDIR)/drivers/sis)
91
92
93
94
InstallDriverSDKNonExecFile(sis_dac.h,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_dga.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_dri.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_dri.h,$(DRIVERSDKDIR)/drivers/sis)
95
InstallDriverSDKNonExecFile(sis_common.h,$(DRIVERSDKDIR)/drivers/sis)
daryll's avatar
daryll committed
96
97
InstallDriverSDKNonExecFile(sis_driver.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_driver.h,$(DRIVERSDKDIR)/drivers/sis)
98
InstallDriverSDKNonExecFile(sis_opt.c,$(DRIVERSDKDIR)/drivers/sis)
daryll's avatar
daryll committed
99
InstallDriverSDKNonExecFile(sis_regs.h,$(DRIVERSDKDIR)/drivers/sis)
100
101
102
103
104
105
106
107
108
109
110
InstallDriverSDKNonExecFile(sis_setup.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_shadow.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_shadow.h,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_vb.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_vb.h,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_vga.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_video.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis6326_video.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(sis_accel.c,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(vgatypes.h,$(DRIVERSDKDIR)/drivers/sis)
InstallDriverSDKNonExecFile(vstruct.h,$(DRIVERSDKDIR)/drivers/sis)
daryll's avatar
daryll committed
111
112

InstallDriverSDKObjectModule(sis,$(DRIVERSDKMODULEDIR),drivers)