blob: b23be5af82c8a2570ec0776c57695f9b690184df (
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
|
#ifndef ConfigDefines
# define ConfigDefines -D__XCONFIGFILE__='"$(XCONFIGFILE)"' \
-D__XCONFIGDIR__='"$(XCONFIGDIR)"' -D__XLOGFILE__='"$(XLOGFILE)"' \
-D__XSERVERNAME__='"$(XSERVERNAME)"'
#endif
CONFIG_DEFINES = ConfigDefines
#ifndef ServerDefines
#define ServerDefines StandardDefines VersionDefines
#endif
#ifdef BuilderEMailAddr
BUILDERADDR = BuilderEMailAddr
#else
BUILDERADDR = "xorg@lists.freedesktop.org"
#endif
#ifdef VendorSupportAddress
VENDORSUPPORT = VendorSupportAddress
BUGMSG = -DBUILDERADDR='$(BUILDERADDR)' -DVENDORSUPPORT='$(VENDORSUPPORT)'
#else
BUGMSG = -DBUILDERADDR='$(BUILDERADDR)'
#endif
#if defined(XF86DriverSDK)
BUILDMODULEDIR = $(DRIVERSDKMODULEDIR)
BUILDMODULETOP = ..
TOP_INCLUDES = TopIncludes
IMAKE_DEFINES = -DXF86DriverSDK=1
#ifdef UseInstalled
IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(TOP) -I$(IRULESRC) \
$(IMAKE_DEFINES) $(IMAKE_WARNINGS)
#else
IMAKE_CMD = $(IMAKE) -I$(TOP) -I$(IRULESRC) \
$(IMAKE_DEFINES) $(IMAKE_WARNINGS)
#endif
#undef ImakeSubCmdHelper
#ifdef UseInstalled
#define ImakeSubCmdHelper $(IMAKE) -DUseInstalled -I$(IMAKETOP) \
-I$(IRULESRC) $(IMAKE_DEFINES) $(IMAKE_WARNINGS)
#else
#define ImakeSubCmdHelper $(IMAKEPREFIX)$(IMAKE) -I$(IMAKETOP) \
$(IMAKE_DEFINES) $(IMAKE_WARNINGS) \
-I$(IMAKEPREFIX)$(IRULESRC)
#endif
#endif
#ifndef JoystickSupport
#define JoystickSupport NO
#endif
/*
* Module support: These overrides must be here, not in xf86.rules,
* because they will replace rules after having seen the first lines
* of Imakefile (include <Server.tmpl>)
*/
#ifndef ProPoliceSupport
#define ProPoliceSupport O
#endif
#ifndef HasGccMergeConstants
#define HasGccMergeConstants NO
#endif
MODULE_CFLAGS = $(MODULE_PIC_FLAGS) $(MODULE_GCC_FLAGS)
|