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

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

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

if XV
XV_SRCS = xvmod.c xvmodproc.h
endif

if XF86VIDMODE
XF86VMODE_SRCS = xf86vmode.c vidmodeproc.h
endif

AM_CFLAGS = @DIX_CFLAGS@ @XORG_CFLAGS@
INCLUDES = @XORG_INCS@ \
           -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) \
                       $(XF86VMODE_SRCS) \
                       $(XV_SRCS)
libextmod_la_LIBADD = $(top_builddir)/Xext/libXextmodule.la