From 947a2e26e4217531e612a5110e6f95296c94614f Mon Sep 17 00:00:00 2001 From: Eamon Walsh Date: Thu, 24 Jan 2008 16:02:34 -0500 Subject: Add SELinux extension support, disabled by default. --- src/.gitignore | 1 + src/Makefile.am | 10 ++++++++++ 2 files changed, 11 insertions(+) (limited to 'src') diff --git a/src/.gitignore b/src/.gitignore index 2793eb7..86d9b9c 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -18,6 +18,7 @@ xfixes.* xinerama.* xinput.* xprint.* +xselinux.* xtest.* xv.* xvmc.* diff --git a/src/Makefile.am b/src/Makefile.am index c4f6880..ae7f511 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -215,6 +215,16 @@ libxcb_xprint_la_LIBADD = $(XCB_LIBS) libxcb_xprint_la_SOURCES = xprint.c xprint.h endif +if BUILD_SELINUX +lib_LTLIBRARIES += libxcb-xselinux.la +EXTHEADERS += xselinux.h +EXTSOURCES += xselinux.c +EXTENSION_XML += xselinux.xml +libxcb_xselinux_la_LDFLAGS = -version-info 0:0:0 +libxcb_xselinux_la_LIBADD = $(XCB_LIBS) +libxcb_xselinux_la_SOURCES = xselinux.c xselinux.h +endif + if BUILD_XTEST lib_LTLIBRARIES += libxcb-xtest.la EXTHEADERS += xtest.h -- cgit v1.2.3