Added __RTEMS_INSIDE__ macro to insure that ".inl" files are ALWAYS included

when building the executive source.
This commit is contained in:
Joel Sherrill
1998-08-24 14:50:00 +00:00
parent 9a95524f29
commit ff0b0082b1
7 changed files with 7 additions and 7 deletions

View File

@@ -26,7 +26,7 @@ include $(RTEMS_ROOT)/make/lib.cfg
# Add local stuff here using += # Add local stuff here using +=
# #
DEFINES += DEFINES += -D__RTEMS_INSIDE__
CPPFLAGS += CPPFLAGS +=
CFLAGS += $(CFLAGS_OS_V) CFLAGS += $(CFLAGS_OS_V)

View File

@@ -31,7 +31,7 @@ extern "C" {
* Define this at your own risk. * Define this at your own risk.
*/ */
#ifndef __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #if !defined(__RTEMS_VIOLATE_KERNEL_VISIBILITY__) && !defined(__RTEMS_INSIDE__)
#define __RTEMS_APPLICATION__ #define __RTEMS_APPLICATION__
#endif #endif

View File

@@ -31,7 +31,7 @@ extern "C" {
* Define this at your own risk. * Define this at your own risk.
*/ */
#ifndef __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #if !defined(__RTEMS_VIOLATE_KERNEL_VISIBILITY__) && !defined(__RTEMS_INSIDE__)
#define __RTEMS_APPLICATION__ #define __RTEMS_APPLICATION__
#endif #endif

View File

@@ -24,7 +24,7 @@ include $(RTEMS_ROOT)/make/lib.cfg
# Add local stuff here using += # Add local stuff here using +=
# #
DEFINES += DEFINES += -D__RTEMS_INSIDE__
CPPFLAGS += CPPFLAGS +=
CFLAGS += $(CFLAGS_OS_V) CFLAGS += $(CFLAGS_OS_V)

View File

@@ -22,7 +22,7 @@ include $(RTEMS_ROOT)/make/lib.cfg
# Add local stuff here using += # Add local stuff here using +=
# #
DEFINES += DEFINES += -D__RTEMS_INSIDE__
CPPFLAGS += CPPFLAGS +=
CFLAGS += $(CFLAGS_OS_V) CFLAGS += $(CFLAGS_OS_V)

View File

@@ -25,7 +25,7 @@ include $(RTEMS_ROOT)/make/lib.cfg
# Add local stuff here using += # Add local stuff here using +=
# #
DEFINES += DEFINES += -D__RTEMS_INSIDE__
CPPFLAGS += CPPFLAGS +=
CFLAGS += $(CFLAGS_OS_V) CFLAGS += $(CFLAGS_OS_V)

View File

@@ -31,7 +31,7 @@ extern "C" {
* Define this at your own risk. * Define this at your own risk.
*/ */
#ifndef __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #if !defined(__RTEMS_VIOLATE_KERNEL_VISIBILITY__) && !defined(__RTEMS_INSIDE__)
#define __RTEMS_APPLICATION__ #define __RTEMS_APPLICATION__
#endif #endif