From ff0b0082b1a8b20b5a434c0ccd7b0e4358866bac Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 24 Aug 1998 14:50:00 +0000 Subject: Added __RTEMS_INSIDE__ macro to insure that ".inl" files are ALWAYS included when building the executive source. --- c/src/exec/posix/src/Makefile.in | 2 +- c/src/exec/rtems/headers/rtems.h | 2 +- c/src/exec/rtems/include/rtems.h | 2 +- c/src/exec/rtems/src/Makefile.in | 2 +- c/src/exec/sapi/src/Makefile.in | 2 +- c/src/exec/score/src/Makefile.in | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'c') diff --git a/c/src/exec/posix/src/Makefile.in b/c/src/exec/posix/src/Makefile.in index fbe1778cf9..7091a3b7c3 100644 --- a/c/src/exec/posix/src/Makefile.in +++ b/c/src/exec/posix/src/Makefile.in @@ -26,7 +26,7 @@ include $(RTEMS_ROOT)/make/lib.cfg # Add local stuff here using += # -DEFINES += +DEFINES += -D__RTEMS_INSIDE__ CPPFLAGS += CFLAGS += $(CFLAGS_OS_V) diff --git a/c/src/exec/rtems/headers/rtems.h b/c/src/exec/rtems/headers/rtems.h index dc7d7c2c0b..9a165c08dd 100644 --- a/c/src/exec/rtems/headers/rtems.h +++ b/c/src/exec/rtems/headers/rtems.h @@ -31,7 +31,7 @@ extern "C" { * Define this at your own risk. */ -#ifndef __RTEMS_VIOLATE_KERNEL_VISIBILITY__ +#if !defined(__RTEMS_VIOLATE_KERNEL_VISIBILITY__) && !defined(__RTEMS_INSIDE__) #define __RTEMS_APPLICATION__ #endif diff --git a/c/src/exec/rtems/include/rtems.h b/c/src/exec/rtems/include/rtems.h index dc7d7c2c0b..9a165c08dd 100644 --- a/c/src/exec/rtems/include/rtems.h +++ b/c/src/exec/rtems/include/rtems.h @@ -31,7 +31,7 @@ extern "C" { * Define this at your own risk. */ -#ifndef __RTEMS_VIOLATE_KERNEL_VISIBILITY__ +#if !defined(__RTEMS_VIOLATE_KERNEL_VISIBILITY__) && !defined(__RTEMS_INSIDE__) #define __RTEMS_APPLICATION__ #endif diff --git a/c/src/exec/rtems/src/Makefile.in b/c/src/exec/rtems/src/Makefile.in index 6cfbefad4f..cfab26e662 100644 --- a/c/src/exec/rtems/src/Makefile.in +++ b/c/src/exec/rtems/src/Makefile.in @@ -24,7 +24,7 @@ include $(RTEMS_ROOT)/make/lib.cfg # Add local stuff here using += # -DEFINES += +DEFINES += -D__RTEMS_INSIDE__ CPPFLAGS += CFLAGS += $(CFLAGS_OS_V) diff --git a/c/src/exec/sapi/src/Makefile.in b/c/src/exec/sapi/src/Makefile.in index f5d4a9b565..23e87931c7 100644 --- a/c/src/exec/sapi/src/Makefile.in +++ b/c/src/exec/sapi/src/Makefile.in @@ -22,7 +22,7 @@ include $(RTEMS_ROOT)/make/lib.cfg # Add local stuff here using += # -DEFINES += +DEFINES += -D__RTEMS_INSIDE__ CPPFLAGS += CFLAGS += $(CFLAGS_OS_V) diff --git a/c/src/exec/score/src/Makefile.in b/c/src/exec/score/src/Makefile.in index 3799b123f1..4548b4cdde 100644 --- a/c/src/exec/score/src/Makefile.in +++ b/c/src/exec/score/src/Makefile.in @@ -25,7 +25,7 @@ include $(RTEMS_ROOT)/make/lib.cfg # Add local stuff here using += # -DEFINES += +DEFINES += -D__RTEMS_INSIDE__ CPPFLAGS += CFLAGS += $(CFLAGS_OS_V) -- cgit v1.2.3