Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 46e640722b98989315d9386707127573 > files > 5

directfb-1.6.2-3.mga3.src.rpm

--- DirectFB-1.4.2/systems/x11/Makefile.am.x11-linkage	2009-06-03 17:23:21.000000000 +0200
+++ DirectFB-1.4.2/systems/x11/Makefile.am	2009-11-08 11:53:27.000000000 +0100
@@ -18,6 +18,15 @@
 
 systems_LTLIBRARIES = libdirectfb_x11.la
 
+inputdriversdir = $(MODULEDIR)/inputdrivers
+
+if BUILD_STATIC
+inputdrivers_DATA = libdirectfb_x11input.o
+endif
+
+inputdrivers_LTLIBRARIES = libdirectfb_x11input.la
+
+
 libdirectfb_x11_la_LDFLAGS = \
 	$(X11_LIBS)	\
 	-avoid-version	\
@@ -38,7 +47,6 @@
 	x11.h			\
 	x11image.c		\
 	x11image.h		\
-	x11input.c		\
 	x11_surface_pool.c	\
 	x11_surface_pool.h	\
 	x11types.h		\
@@ -58,6 +66,19 @@
 	$(top_builddir)/lib/fusion/libfusion.la \
 	$(top_builddir)/src/libdirectfb.la
 
+libdirectfb_x11input_la_LDFLAGS = \
+	$(X11_LIBS)	\
+	-avoid-version	\
+	-module
+
+libdirectfb_x11input_la_SOURCES = \
+	x11input.c
+
+libdirectfb_x11input_la_LIBADD = \
+	$(top_builddir)/lib/direct/libdirect.la \
+	$(top_builddir)/lib/fusion/libfusion.la \
+	$(top_builddir)/src/libdirectfb.la
+
 
 include $(top_srcdir)/rules/libobject.make
 
--- DirectFB-1.4.2/gfxdrivers/vdpau/Makefile.am.link	2011-07-18 07:08:13.000000000 +0200
+++ DirectFB-1.4.2/gfxdrivers/vdpau/Makefile.am	2011-07-18 07:09:02.000000000 +0200
@@ -25,11 +25,11 @@
 libdirectfb_vdpau_la_LDFLAGS = \
 	-module			\
 	-avoid-version		\
-	$(DFB_LDFLAGS) -lm
+	$(DFB_LDFLAGS)
 
 libdirectfb_vdpau_la_LIBADD = \
 	$(top_builddir)/lib/direct/libdirect.la \
-	$(top_builddir)/src/libdirectfb.la
+	$(top_builddir)/src/libdirectfb.la -lm $(X11VDPAU_LIBS)
 
 
 include $(top_srcdir)/rules/libobject.make