summaryrefslogtreecommitdiff
path: root/hw/xfree86/dixmods/extmod/Makefile.am
blob: f90e144ea067f96b52eebac3438291fcd370f365 (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
sdk_HEADERS = dgaproc.h

extsmoduledir = $(moduledir)/extensions
extsmodule_LTLIBRARIES = libextmod.la

if DGA
DGA_SRCS = xf86dga.c xf86dga2.c dgaproc.h xf86dgaext.h
endif

if XV
XV_SRCS = xvmod.c xvmodproc.h
endif

if XF86MISC
XF86MISC_SRCS = xf86misc.c xf86miscproc.h
endif

if XF86VIDMODE
XF86VMODE_SRCS = xf86vmode.c vidmodeproc.h
endif

AM_CFLAGS = @DIX_CFLAGS@ @XORG_CFLAGS@
INCLUDES = @XORG_INCS@ \
           -I$(top_srcdir)/afb \
           -I$(top_srcdir)/mfb \
           -I$(top_srcdir)/cfb \
           -I$(top_srcdir)/dbe \
           -I$(top_srcdir)/hw/xfree86/loader \
           -I$(top_srcdir)/miext/shadow

libextmod_la_LDFLAGS = -avoid-version
libextmod_la_SOURCES = modinit.c \
                       modinit.h \
                       $(DGA_SRCS) \
                       $(XF86MISC_SRCS) \
                       $(XF86VMODE_SRCS) \
                       $(XV_SRCS)
libextmod_la_LIBADD = $(top_builddir)/Xext/libXextmodule.la