From c5a86757bd8309027d50f82d8947250c8e1197e6 Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 21 Nov 2015 19:27:08 +1000 Subject: Make all include paths in ugfx relative. The only include path now needed is for drivers (in particular GDISP drivers) --- src/gos/gos.h | 22 +++++++++++----------- src/gos/gos_arduino.c | 2 +- src/gos/gos_chibios.c | 2 +- src/gos/gos_cmsis.c | 2 +- src/gos/gos_ecos.c | 2 +- src/gos/gos_freertos.c | 2 +- src/gos/gos_linux.c | 2 +- src/gos/gos_osx.c | 2 +- src/gos/gos_raw32.c | 2 +- src/gos/gos_rawrtos.c | 2 +- src/gos/gos_win32.c | 2 +- src/gos/gos_x_heap.c | 2 +- src/gos/gos_x_threads.c | 2 +- 13 files changed, 23 insertions(+), 23 deletions(-) (limited to 'src/gos') diff --git a/src/gos/gos.h b/src/gos/gos.h index 4463740d..445e4b3a 100644 --- a/src/gos/gos.h +++ b/src/gos/gos.h @@ -457,27 +457,27 @@ * (without any of the documentation overheads) is in the files below. */ #elif GFX_USE_OS_RAWRTOS - #include "src/gos/gos_rawrtos.h" + #include "gos_rawrtos.h" #elif GFX_USE_OS_CHIBIOS - #include "src/gos/gos_chibios.h" + #include "gos_chibios.h" #elif GFX_USE_OS_FREERTOS - #include "src/gos/gos_freertos.h" + #include "gos_freertos.h" #elif GFX_USE_OS_WIN32 - #include "src/gos/gos_win32.h" + #include "gos_win32.h" #elif GFX_USE_OS_LINUX - #include "src/gos/gos_linux.h" + #include "gos_linux.h" #elif GFX_USE_OS_OSX - #include "src/gos/gos_osx.h" + #include "gos_osx.h" #elif GFX_USE_OS_RAW32 - #include "src/gos/gos_raw32.h" + #include "gos_raw32.h" #elif GFX_USE_OS_ECOS - #include "src/gos/gos_ecos.h" + #include "gos_ecos.h" #elif GFX_USE_OS_ARDUINO - #include "src/gos/gos_arduino.h" + #include "gos_arduino.h" #elif GFX_USE_OS_CMSIS - #include "src/gos/gos_cmsis.h" + #include "gos_cmsis.h" #elif GFX_USE_OS_KEIL - #include "src/gos/gos_keil.h" + #include "gos_keil.h" #else #error "Your operating system is not supported yet" #endif diff --git a/src/gos/gos_arduino.c b/src/gos/gos_arduino.c index c565abb9..726c57db 100644 --- a/src/gos/gos_arduino.c +++ b/src/gos/gos_arduino.c @@ -5,7 +5,7 @@ * http://ugfx.org/license.html */ -#include "gfx.h" +#include "../../gfx.h" #if GFX_USE_OS_ARDUINO diff --git a/src/gos/gos_chibios.c b/src/gos/gos_chibios.c index d650caa0..c23155ca 100644 --- a/src/gos/gos_chibios.c +++ b/src/gos/gos_chibios.c @@ -5,7 +5,7 @@ * http://ugfx.org/license.html */ -#include "gfx.h" +#include "../../gfx.h" #if GFX_USE_OS_CHIBIOS diff --git a/src/gos/gos_cmsis.c b/src/gos/gos_cmsis.c index ea4a6599..1422fd90 100644 --- a/src/gos/gos_cmsis.c +++ b/src/gos/gos_cmsis.c @@ -5,7 +5,7 @@ * http://ugfx.org/license.html */ -#include "gfx.h" +#include "../../gfx.h" #include #if GFX_USE_OS_CMSIS diff --git a/src/gos/gos_ecos.c b/src/gos/gos_ecos.c index b3476b22..771ac389 100644 --- a/src/gos/gos_ecos.c +++ b/src/gos/gos_ecos.c @@ -5,7 +5,7 @@ * http://ugfx.org/license.html */ -#include "gfx.h" +#include "../../gfx.h" #if GFX_USE_OS_ECOS diff --git a/src/gos/gos_freertos.c b/src/gos/gos_freertos.c index 227caf31..c1c9c16a 100644 --- a/src/gos/gos_freertos.c +++ b/src/gos/gos_freertos.c @@ -5,7 +5,7 @@ * http://ugfx.org/license.html */ -#include "gfx.h" +#include "../../gfx.h" #include #if GFX_USE_OS_FREERTOS diff --git a/src/gos/gos_linux.c b/src/gos/gos_linux.c index 52f983b2..1e0675dd 100644 --- a/src/gos/gos_linux.c +++ b/src/gos/gos_linux.c @@ -8,7 +8,7 @@ // We need to include stdio.h below. Turn off GFILE_NEED_STDIO just for this file to prevent conflicts #define GFILE_NEED_STDIO_MUST_BE_OFF -#include "gfx.h" +#include "../../gfx.h" #if GFX_USE_OS_LINUX diff --git a/src/gos/gos_osx.c b/src/gos/gos_osx.c index f0c2b4cd..413ddc62 100644 --- a/src/gos/gos_osx.c +++ b/src/gos/gos_osx.c @@ -8,7 +8,7 @@ // We need to include stdio.h below. Turn off GFILE_NEED_STDIO just for this file to prevent conflicts #define GFILE_NEED_STDIO_MUST_BE_OFF -#include "gfx.h" +#include "../../gfx.h" #if GFX_USE_OS_OSX diff --git a/src/gos/gos_raw32.c b/src/gos/gos_raw32.c index 4e61feb9..2b482ae2 100644 --- a/src/gos/gos_raw32.c +++ b/src/gos/gos_raw32.c @@ -8,7 +8,7 @@ // We need to include stdio.h below for Win32 emulation. Turn off GFILE_NEED_STDIO just for this file to prevent conflicts #define GFILE_NEED_STDIO_MUST_BE_OFF -#include "gfx.h" +#include "../../gfx.h" #if GFX_USE_OS_RAW32 diff --git a/src/gos/gos_rawrtos.c b/src/gos/gos_rawrtos.c index a33c49b3..7c24cd5a 100644 --- a/src/gos/gos_rawrtos.c +++ b/src/gos/gos_rawrtos.c @@ -5,7 +5,7 @@ * http://ugfx.org/license.html */ -#include "gfx.h" +#include "../../gfx.h" #if GFX_USE_OS_RAWRTOS diff --git a/src/gos/gos_win32.c b/src/gos/gos_win32.c index 8e769aab..e9abedd7 100644 --- a/src/gos/gos_win32.c +++ b/src/gos/gos_win32.c @@ -8,7 +8,7 @@ // We need to include stdio.h below. Turn off GFILE_NEED_STDIO just for this file to prevent conflicts #define GFILE_NEED_STDIO_MUST_BE_OFF -#include "gfx.h" +#include "../../gfx.h" #if GFX_USE_OS_WIN32 diff --git a/src/gos/gos_x_heap.c b/src/gos/gos_x_heap.c index e8faa02f..cd78f403 100644 --- a/src/gos/gos_x_heap.c +++ b/src/gos/gos_x_heap.c @@ -5,7 +5,7 @@ * http://ugfx.org/license.html */ -#include "gfx.h" +#include "../../gfx.h" #if GOS_NEED_X_HEAP diff --git a/src/gos/gos_x_threads.c b/src/gos/gos_x_threads.c index 76637322..51f5936b 100644 --- a/src/gos/gos_x_threads.c +++ b/src/gos/gos_x_threads.c @@ -5,7 +5,7 @@ * http://ugfx.org/license.html */ -#include "gfx.h" +#include "../../gfx.h" #if GOS_NEED_X_THREADS -- cgit v1.2.3