summaryrefslogtreecommitdiff
path: root/hw/vfb
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2011-09-07 12:50:20 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2014-03-27 14:09:33 +0000
commit45b223e1c2bdc447263a9de7af62c93f4058c33c (patch)
treec5b6a4daef14615e314fbb21feddef746dfb1cb8 /hw/vfb
parent7b2a517ba99f6756e98c4aef47d9b9399b997157 (diff)
Build dpmsstubs.c once as a convenience library, rather than once for each DDX which wants to use it
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'hw/vfb')
-rw-r--r--hw/vfb/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/vfb/Makefile.am b/hw/vfb/Makefile.am
index 9f4992c8b..c9f6957b4 100644
--- a/hw/vfb/Makefile.am
+++ b/hw/vfb/Makefile.am
@@ -9,7 +9,6 @@ AM_CFLAGS = -DHAVE_DIX_CONFIG_H \
SRCS = InitInput.c \
InitOutput.c \
- $(top_srcdir)/Xext/dpmsstubs.c \
$(top_srcdir)/Xi/stubs.c \
$(top_srcdir)/mi/miinitext.c
@@ -22,7 +21,8 @@ XVFB_LIBS = \
@XVFB_LIBS@ \
libfbcmap.a \
$(MAIN_LIB) \
- $(XSERVER_LIBS)
+ $(XSERVER_LIBS) \
+ $(top_builddir)/Xext/libXextdpmsstubs.la
Xvfb_LDADD = $(XVFB_LIBS) $(XVFB_SYS_LIBS) $(XSERVER_SYS_LIBS)
Xvfb_DEPENDENCIES = $(XVFB_LIBS)