summaryrefslogtreecommitdiff
path: root/Xext/Makefile.am
blob: 76e01e0cfae16ae993b9ce7671d65350bc77383f (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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# libXext.la:        includes all extensions and should be linked into Xvfb,
#                    Xnest, Xdmx and Xprt
# libXextbuiltin.la: includes those extensions that are built directly into
#                    Xorg by default
# libXextmodule.la:  includes those extensions that are built into a module
#                    that Xorg loads
noinst_LTLIBRARIES = libXext.la libXextbuiltin.la libXextmodule.la

INCLUDES = -I$(top_srcdir)/hw/xfree86/dixmods/extmod -I$(top_srcdir)/hw/xfree86/os-support

AM_CFLAGS = $(DIX_CFLAGS) @SERVER_DEFINES@ @LOADER_DEFINES@

sdk_HEADERS = xvdix.h xvmcext.h

if MITSHM
MITSHM_SRCS = shm.c
endif

if XV
XV_SRCS = xvmain.c xvdisp.c xvmc.c xvdix.h xvmcext.h xvdisp.h
endif

if RES
RES_SRCS = xres.c
endif

if SCREENSAVER
SCREENSAVER_SRCS = saver.c
endif

if XCSECURITY   
XCSECURITY_SRCS = security.c
SERVERCONFIGdir = $(libdir)/xserver
SERVERCONFIG_DATA = SecurityPolicy
AM_CFLAGS += -DDEFAULTPOLICYFILE=\"$(SERVERCONFIGdir)/SecurityPolicy\"
endif

if XINERAMA
PANORAMIX_SRCS = panoramiX.c panoramiX.h panoramiXh.h panoramiXsrv.h panoramiXprocs.c panoramiXSwap.c 
endif

if XEVIE
XEVIE_SRCS = xevie.c
endif

if XPRINT
XPRINT_SRCS = xprint.c
endif

if APPGROUP
APPGROUP_SRCS = appgroup.c appgroup.h
endif

if CUP
CUP_SRCS = cup.c
endif

if EVI
EVI_SRCS = EVI.c sampleEVI.c EVIstruct.h
endif

if MULTIBUFFER
MULTIBUFFER_SRCS = mbuf.c
endif
EXTRA_MULTIBUFFER_SRCS = mbufbf.c mbufpx.c

if FONTCACHE
FONTCACHE_SRCS = fontcache.c
endif

EXTRA_DIST = \
	README.xtest1-ddx \
	SecurityPolicy \
	$(EXTRA_MULTIBUFFER_SRCS)

libXext_la_SOURCES =		\
	bigreq.c		\
	mitmisc.c		\
	shape.c			\
	sleepuntil.c		\
	sleepuntil.h		\
	sync.c			\
	xtest.c			\
	xtest1di.c		\
	xtest1dd.c		\
	xtest1dd.h		\
	xcmisc.c		\
	dpms.c			\
	dpmsproc.h		\
	xf86bigfont.c		\
	$(MITSHM_SRCS)		\
	$(XV_SRCS)		\
	$(RES_SRCS)		\
	$(SCREENSAVER_SRCS)	\
	$(PANORAMIX_SRCS)	\
	$(XCSECURITY_SRCS)	\
	$(XEVIE_SRCS)		\
	$(XPRINT_SRCS)		\
	$(APPGROUP_SRCS)	\
	$(CUP_SRCS)		\
	$(EVI_SRCS)		\
	$(MULTIBUFFER_SRCS)	\
	$(FONTCACHE_SRCS)

libXextbuiltin_la_SOURCES =	\
	shape.c			\
	sleepuntil.c		\
	sleepuntil.h		\
	xtest.c			\
	xtest1di.c		\
	xtest1dd.c		\
	xtest1dd.h		\
	xf86bigfont.c		\
	$(MITSHM_SRCS)		\
	$(PANORAMIX_SRCS)	\
	$(XCSECURITY_SRCS)	\
	$(XEVIE_SRCS)		\
	$(XPRINT_SRCS)		\
	$(APPGROUP_SRCS)

libXextmodule_la_CFLAGS = $(AM_CFLAGS) @MODULE_DEFINES@ -DEXTMODULE
libXextmodule_la_SOURCES =	\
	bigreq.c		\
	mitmisc.c		\
	shape.c			\
	sync.c			\
	xcmisc.c		\
	dpms.c			\
	dpmsproc.h		\
	$(XV_SRCS)		\
	$(RES_SRCS)		\
	$(SCREENSAVER_SRCS)	\
	$(CUP_SRCS)		\
	$(EVI_SRCS)		\
	$(MULTIBUFFER_SRCS)	\
	$(FONTCACHE_SRCS)