summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2017-07-29 22:43:08 +0300
committerRan Benita <ran234@gmail.com>2017-07-31 15:55:48 +0300
commitd44ba481d7a22310f5345cc90f7ba66928006f40 (patch)
treed9b9cf7c533055e1c69640951f191a9dde5b38c7
parent1b6fa0298ac691640a793e64ab2853ecfd5bba1a (diff)
downloadxorg-lib-libxkbcommon-d44ba481d7a22310f5345cc90f7ba66928006f40.tar.gz
build: remove unneeded preprocessor include flags
Better to avoid these unexpected include paths. Signed-off-by: Ran Benita <ran234@gmail.com>
-rw-r--r--Makefile.am4
-rw-r--r--bench/rules.c4
-rw-r--r--test/rmlvo-to-kccgst.c4
-rw-r--r--test/rules-file.c4
4 files changed, 7 insertions, 9 deletions
diff --git a/Makefile.am b/Makefile.am
index a9d84d4..be5abc1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -25,8 +25,6 @@ AM_CPPFLAGS = \
-DDFLT_XKB_CONFIG_ROOT='"$(XKBCONFIGROOT)"' \
-DXLOCALEDIR='"$(XLOCALEDIR)"' \
-I$(top_srcdir)/src \
- -I$(top_srcdir)/src/xkbcomp \
- -I$(top_builddir)/src/xkbcomp \
-include $(top_builddir)/src/config.h
AM_CFLAGS = $(BASE_CFLAGS)
@@ -115,7 +113,7 @@ xkbcommon_x11include_HEADERS = \
lib_LTLIBRARIES += libxkbcommon-x11.la
libxkbcommon_x11_la_CFLAGS = $(AM_CFLAGS) $(XCB_XKB_CFLAGS)
-libxkbcommon_x11_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/x11
+libxkbcommon_x11_la_CPPFLAGS = $(AM_CPPFLAGS)
libxkbcommon_x11_la_LIBADD = libxkbcommon.la $(XCB_XKB_LIBS)
if HAVE_VERSION_SCRIPT
libxkbcommon_x11_la_LDFLAGS = -Wl,--version-script=${srcdir}/xkbcommon-x11.map
diff --git a/bench/rules.c b/bench/rules.c
index 0dda7e3..c5d7dc8 100644
--- a/bench/rules.c
+++ b/bench/rules.c
@@ -24,8 +24,8 @@
#include <time.h>
#include "../test/test.h"
-#include "xkbcomp-priv.h"
-#include "rules.h"
+#include "xkbcomp/xkbcomp-priv.h"
+#include "xkbcomp/rules.h"
#include "bench.h"
#define BENCHMARK_ITERATIONS 20000
diff --git a/test/rmlvo-to-kccgst.c b/test/rmlvo-to-kccgst.c
index 5d15933..f3c8076 100644
--- a/test/rmlvo-to-kccgst.c
+++ b/test/rmlvo-to-kccgst.c
@@ -24,8 +24,8 @@
#include <unistd.h>
#include "test.h"
-#include "xkbcomp-priv.h"
-#include "rules.h"
+#include "xkbcomp/xkbcomp-priv.h"
+#include "xkbcomp/rules.h"
int
main(int argc, char *argv[])
diff --git a/test/rules-file.c b/test/rules-file.c
index e91d546..b32009e 100644
--- a/test/rules-file.c
+++ b/test/rules-file.c
@@ -22,8 +22,8 @@
*/
#include "test.h"
-#include "xkbcomp-priv.h"
-#include "rules.h"
+#include "xkbcomp/xkbcomp-priv.h"
+#include "xkbcomp/rules.h"
struct test_data {
/* Rules file */