From e6833a4892f048c147bccf4928f2ef11578dccb0 Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Fri, 30 Mar 2018 13:45:29 +0200 Subject: [PATCH] Move header files to include/kore. Mimics how the header files are installed on a system as PREFIX/include/kore. This is required for getting kodev to use the headers from the kore_source option instead of requiring the kore headers to be installed on the system even when building as a single_binary. --- Makefile | 2 +- {includes => include/kore}/http.h | 0 {includes => include/kore}/jsonrpc.h | 0 {includes => include/kore}/kore.h | 0 {includes => include/kore}/pgsql.h | 0 {includes => include/kore}/python_api.h | 0 {includes => include/kore}/python_methods.h | 0 {includes => include/kore}/tasks.h | 0 8 files changed, 1 insertion(+), 1 deletion(-) rename {includes => include/kore}/http.h (100%) rename {includes => include/kore}/jsonrpc.h (100%) rename {includes => include/kore}/kore.h (100%) rename {includes => include/kore}/pgsql.h (100%) rename {includes => include/kore}/python_api.h (100%) rename {includes => include/kore}/python_methods.h (100%) rename {includes => include/kore}/tasks.h (100%) diff --git a/Makefile b/Makefile index 6050a68..2932cad 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ FEATURES_INC= CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes CFLAGS+=-Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -CFLAGS+=-Wsign-compare -Iincludes -std=c99 -pedantic +CFLAGS+=-Wsign-compare -Iinclude/kore -std=c99 -pedantic CFLAGS+=-DPREFIX='"$(PREFIX)"' -fstack-protector-all LDFLAGS=-rdynamic -lssl -lcrypto diff --git a/includes/http.h b/include/kore/http.h similarity index 100% rename from includes/http.h rename to include/kore/http.h diff --git a/includes/jsonrpc.h b/include/kore/jsonrpc.h similarity index 100% rename from includes/jsonrpc.h rename to include/kore/jsonrpc.h diff --git a/includes/kore.h b/include/kore/kore.h similarity index 100% rename from includes/kore.h rename to include/kore/kore.h diff --git a/includes/pgsql.h b/include/kore/pgsql.h similarity index 100% rename from includes/pgsql.h rename to include/kore/pgsql.h diff --git a/includes/python_api.h b/include/kore/python_api.h similarity index 100% rename from includes/python_api.h rename to include/kore/python_api.h diff --git a/includes/python_methods.h b/include/kore/python_methods.h similarity index 100% rename from includes/python_methods.h rename to include/kore/python_methods.h diff --git a/includes/tasks.h b/include/kore/tasks.h similarity index 100% rename from includes/tasks.h rename to include/kore/tasks.h