summaryrefslogtreecommitdiff
path: root/hw/xfree86/dixmods/extmod/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/dixmods/extmod/Makefile.am')
-rw-r--r--hw/xfree86/dixmods/extmod/Makefile.am7
1 files changed, 4 insertions, 3 deletions
diff --git a/hw/xfree86/dixmods/extmod/Makefile.am b/hw/xfree86/dixmods/extmod/Makefile.am
index 9f3c9ffc8..35b32f6d0 100644
--- a/hw/xfree86/dixmods/extmod/Makefile.am
+++ b/hw/xfree86/dixmods/extmod/Makefile.am
@@ -1,6 +1,7 @@
sdk_HEADERS = dgaproc.h
-module_LTLIBRARIES = libextmod.la
+extsmoduledir = $(moduledir)/extensions
+extsmodule_LTLIBRARIES = libextmod.la
if DGA
DGA_SRCS = xf86dga.c xf86dga2.c dgaproc.h xf86dgaext.h
@@ -10,7 +11,7 @@ if XV
XV_SRCS = xvmod.c xvmodproc.h
endif
-AM_CFLAGS = @XORG_CFLAGS@ -DEXTMODULE
+AM_CFLAGS = @XORG_CFLAGS@ -DEXTMODULE @LOADER_DEFINES@
INCLUDES = @XORG_INCS@ \
-I$(top_srcdir)/afb \
-I$(top_srcdir)/mfb \
@@ -29,4 +30,4 @@ libextmod_la_SOURCES = modinit.c \
xf86vmode.c \
vidmodeproc.h \
$(XV_SRCS)
-libextmod_la_LIBADD = $(top_builddir)/Xext/libXext.la
+libextmod_la_LIBADD = $(top_builddir)/Xext/libXextmodule.la