summaryrefslogtreecommitdiff
path: root/fb/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'fb/Makefile.am')
-rw-r--r--fb/Makefile.am14
1 files changed, 10 insertions, 4 deletions
diff --git a/fb/Makefile.am b/fb/Makefile.am
index 7b024aa75..1649669c0 100644
--- a/fb/Makefile.am
+++ b/fb/Makefile.am
@@ -1,17 +1,19 @@
-noinst_LTLIBRARIES = libfb.la libfbmmx.la
+noinst_LTLIBRARIES = libfb.la libwfb.la libfbmmx.la
INCLUDES = \
-I$(top_srcdir)/hw/xfree86/os-support \
-I$(top_srcdir)/hw/xfree86/os-support/bus \
-I$(top_srcdir)/hw/xfree86/common
-AM_CFLAGS = $(DIX_CFLAGS) @SERVER_DEFINES@ @MODULE_DEFINES@ @LOADER_DEFINES@
+AM_CFLAGS = $(DIX_CFLAGS)
if XORG
-sdk_HEADERS = fb.h fbrop.h fbpseudocolor.h fboverlay.h
+sdk_HEADERS = fb.h fbrop.h fbpseudocolor.h fboverlay.h wfbrename.h
endif
+libfb_la_CFLAGS = $(AM_CFLAGS)
+
if MMX_CAPABLE
-AM_CFLAGS += -DUSE_MMX
+libfb_la_CFLAGS += -DUSE_MMX
libfbmmx_la_CFLAGS = \
$(DIX_CFLAGS) \
@@ -23,6 +25,8 @@ libfbmmx_la_CFLAGS = \
--param large-function-growth=10000
endif
+libwfb_la_CFLAGS = $(AM_CFLAGS) -DFB_ACCESS_WRAPPER
+
libfbmmx_la_SOURCES = \
fbmmx.c \
fbmmx.h
@@ -70,6 +74,8 @@ libfb_la_SOURCES = \
fbedge.c \
fbedgeimp.h
+libwfb_la_SOURCES = $(libfb_la_SOURCES)
+
libfb_la_LIBADD = libfbmmx.la
EXTRA_DIST = fbcmap.c