summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/drivers/apm/Imakefile
blob: b4a1e6e62a2b1dc7ed51eb1c235aeaf78a052713 (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
XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/drivers/apm/Imakefile,v 1.18 2000/03/31 22:55:36 dawes Exp $

#define IHaveModules
#include <Server.tmpl>

#if BuildXF86RushExt
RUSH_SRC = apm_rush.c
RUSH_OBJ = apm_rush.o
DEFINES = -DXF86RUSH_EXT
#endif

SRCS = apm_accel.c apm_cursor.c apm_dga.c apm_driver.c apm_i2c.c $(RUSH_SRC)
                   
OBJS = apm_accel.o apm_cursor.o apm_dga.o apm_driver.o apm_i2c.o $(RUSH_OBJ)

#if defined(XF86DriverSDK)
INCLUDES = -I. -I../../include
#else
INCLUDES = -I. -I$(XF86COMSRC) -I$(XF86OSSRC) \
           -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)/rac -I$(XF86SRC)/int10 \
	   -I$(XF86SRC)/shadowfb \
	   -I$(XF86SRC)/i2c -I$(XF86SRC)/ddc \
           -I$(SERVERSRC)/Xext -I$(EXTINCSRC) -I$(SERVERSRC)/render \
           -I$(SERVERSRC)/include -I$(XINCLUDESRC) \
	   -I$(XF86OSSRC)/vbe -I$(FONTINCSRC)
#endif

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

ModuleObjectRule()

ObjectModuleTarget(apm,$(OBJS))

InstallObjectModule(apm,$(MODULEDIR),drivers)

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

DependTarget()

InstallDriverSDKNonExecFile(Imakefile,$(DRIVERSDKDIR)/drivers/apm)
InstallDriverSDKNonExecFile(apm.h,$(DRIVERSDKDIR)/drivers/apm)
InstallDriverSDKNonExecFile(apm_regs.h,$(DRIVERSDKDIR)/drivers/apm)
InstallDriverSDKNonExecFile(apm_accel.c,$(DRIVERSDKDIR)/drivers/apm)
InstallDriverSDKNonExecFile(apm_cursor.c,$(DRIVERSDKDIR)/drivers/apm)
InstallDriverSDKNonExecFile(apm_dga.c,$(DRIVERSDKDIR)/drivers/apm)
InstallDriverSDKNonExecFile(apm_driver.c,$(DRIVERSDKDIR)/drivers/apm)
InstallDriverSDKNonExecFile(apm_i2c.c,$(DRIVERSDKDIR)/drivers/apm)
InstallDriverSDKNonExecFile(apm_funcs.c,$(DRIVERSDKDIR)/drivers/apm)
InstallDriverSDKNonExecFile(apm_video.c,$(DRIVERSDKDIR)/drivers/apm)
#if BuildXF86RushExt
InstallDriverSDKNonExecFile(apm_rush.c,$(DRIVERSDKDIR)/drivers/apm)
#endif

InstallDriverSDKObjectModule(apm,$(DRIVERSDKMODULEDIR),drivers)