summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorKusanagi Kouichi <[email protected]>2014-02-15 11:53:00 +0900
committerEmil Velikov <[email protected]>2014-02-17 21:14:16 +0000
commit6ba4392da265b0b33e3516e85b2fdcfa9c169c39 (patch)
treec43566de942fb35bcb1556b47b1722938ae2035d /src/mapi
parent61f6cddef72a49d87e2b31ed49cdbc941d3b1efc (diff)
configure: Try pkg-config first for libselinux
v2 (Emil) Add SELINUX_CFLAGS in the respective locations Signed-off-by: Kusanagi Kouichi <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]> (v1)
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/Makefile.am1
-rw-r--r--src/mapi/shared-glapi/Makefile.am1
-rw-r--r--src/mapi/vgapi/Makefile.am1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/mapi/glapi/Makefile.am b/src/mapi/glapi/Makefile.am
index bf653a30543..e425baceacf 100644
--- a/src/mapi/glapi/Makefile.am
+++ b/src/mapi/glapi/Makefile.am
@@ -27,6 +27,7 @@ include ../Makefile.sources
AM_CPPFLAGS = \
$(DEFINES) \
+ $(SELINUX_CFLAGS) \
-I$(top_srcdir)/include \
-I$(top_srcdir)/src/mapi \
-I$(top_builddir)/src/mapi \
diff --git a/src/mapi/shared-glapi/Makefile.am b/src/mapi/shared-glapi/Makefile.am
index b4703be010d..8d8b4dd783c 100644
--- a/src/mapi/shared-glapi/Makefile.am
+++ b/src/mapi/shared-glapi/Makefile.am
@@ -21,6 +21,7 @@ CLEANFILES = $(BUILT_SOURCES)
AM_CFLAGS = $(PTHREAD_CFLAGS)
AM_CPPFLAGS = \
$(DEFINES) \
+ $(SELINUX_CFLAGS) \
-I$(top_srcdir)/include \
-I$(top_srcdir)/src/mapi \
-I$(top_builddir)/src/mapi \
diff --git a/src/mapi/vgapi/Makefile.am b/src/mapi/vgapi/Makefile.am
index 8952df01af3..197f19f7d95 100644
--- a/src/mapi/vgapi/Makefile.am
+++ b/src/mapi/vgapi/Makefile.am
@@ -21,6 +21,7 @@
AM_CPPFLAGS = \
$(DEFINES) \
+ $(SELINUX_CFLAGS) \
-I$(top_srcdir)/include \
-I$(top_srcdir)/src/mapi \
-DMAPI_ABI_HEADER=\"vgapi_tmp.h\"