summaryrefslogtreecommitdiff
path: root/examples/System_V_IPC/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/System_V_IPC/Makefile')
-rw-r--r--examples/System_V_IPC/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/examples/System_V_IPC/Makefile b/examples/System_V_IPC/Makefile
index f10bb815dd1..6aef5522d8e 100644
--- a/examples/System_V_IPC/Makefile
+++ b/examples/System_V_IPC/Makefile
@@ -12,15 +12,21 @@ INFO = README
DIRS = SV_Message_Queues \
SV_Semaphores \
- SV_Shared_Memory
+ SV_Shared_Memory
#----------------------------------------------------------------------------
# Include macros and targets
#----------------------------------------------------------------------------
include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU
+ifdef VXWORKS
+ DIRS = .
+ nobuild:
+ @echo These examples won\'t run or build for VxWorks.
+else
+ include $(ACE_ROOT)/include/makeinclude/macros.GNU
+ include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
+ include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU
+ include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU
+endif # VXWORKS