summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.bsd-wrapper9
-rw-r--r--src/Makefile.am10
2 files changed, 9 insertions, 10 deletions
diff --git a/Makefile.bsd-wrapper b/Makefile.bsd-wrapper
new file mode 100644
index 0000000..eed4728
--- /dev/null
+++ b/Makefile.bsd-wrapper
@@ -0,0 +1,9 @@
+# $OpenBSD: Makefile.bsd-wrapper,v 1.4 2008/03/25 23:41:50 matthieu Exp $
+
+.include <bsd.xconf.mk>
+
+.if ${XENOCARA_BUILD_DRI:L} != "yes"
+CONFIGURE_ARGS+= --disable-dri
+.endif
+
+.include <bsd.xorg.mk>
diff --git a/src/Makefile.am b/src/Makefile.am
index ad21034..aeab815 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -143,13 +143,3 @@ EXTRA_DIST = \
\
gx_vga.c \
lx_vga.c
-
-if BUILD_ZTV
-
-ztv_drv_la_LTLIBRARIES = ztv_drv.la
-ztv_drv_la_LDFLAGS = -module -avoid-version
-ztv_drv_ladir = $(moduledir)/drivers
-
-ztv_drv_la_SOURCES = z4l.c
-
-endif BUILD_ZTV