summaryrefslogtreecommitdiff
path: root/XTrap
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2005-11-29 16:39:33 +0000
committerKevin E Martin <kem@kem.org>2005-11-29 16:39:33 +0000
commitda5d66f2ff27b21fe5c39a4abb4f627edd707f1d (patch)
treead479b2ead1b745fc1eb056456c2126f8e18f947 /XTrap
parent51a721a6dbb42702347aad3115147e4922fc1a25 (diff)
Fix usage of XFree86LOADER/XFree86Module/IN_MODULE and update loadable
module builds to reflect this change.
Diffstat (limited to 'XTrap')
-rw-r--r--XTrap/Makefile.am10
1 files changed, 8 insertions, 2 deletions
diff --git a/XTrap/Makefile.am b/XTrap/Makefile.am
index 1eddd4f56..2d8a5f787 100644
--- a/XTrap/Makefile.am
+++ b/XTrap/Makefile.am
@@ -1,5 +1,11 @@
-noinst_LTLIBRARIES = libxtrap.la
+noinst_LTLIBRARIES = libxtrap.la libxtrapmodule.la
-AM_CFLAGS = $(DIX_CFLAGS)
+AM_CFLAGS = $(DIX_CFLAGS) @LOADER_DEFINES@
libxtrap_la_SOURCES = xtrapddmi.c xtrapdi.c xtrapdiswp.c xtrapditbl.c
+
+libxtrapmodule_la_CFLAGS = \
+ $(AM_CFLAGS) \
+ @MODULE_DEFINES@ \
+ -I$(top_srcdir)/hw/xfree86/os-support
+libxtrapmodule_la_SOURCES = xtrapddmi.c xtrapdi.c xtrapdiswp.c xtrapditbl.c