]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/include/Makefile.omk
Migration to new version of OMK system.
[orte.git] / orte / include / Makefile.omk
index 928877121e7590cc2b8790273232980ff976b6a7..3e1195701e5340383056c6dc4aa330608e5331e0 100644 (file)
@@ -1,30 +1,47 @@
+ORTE_ENABLE=n
 ifeq ($(CONFIG_OC_ETH_ORTE),y)
+  ORTE_ENABLE=y
+endif
+ifeq ($(CONFIG_OC_ETH_ORTE_SOLIB),y)
+  ORTE_ENABLE=y
+endif
 
+ifeq ($(ORTE_ENABLE),y)
+ifeq ($(TARGET_OS),linux)
 renamed_include_HEADERS = \
-orte/orte_config_omk_unix.h->orte/orte_config.h
+orte/orte_config_omk_linux.h->orte/orte_config.h
+endif
+
+ifeq ($(TARGET_OS),win32)
+renamed_include_HEADERS = \
+orte/orte_config_omk_win32.h->orte/orte_config.h
+endif
 
 nobase_include_HEADERS = \
 orte.h \
 orte/cdr.h \
 orte/basic_types.h \
-orte/orte_config_omk_unix.h \
 orte/typedefs_defines_rtps.h \
 orte/defines_api.h \
 orte/typedefs_api.h \
 orte/protos_api.h
 
-endif #CONFIG_OC_ETH_ORTE
+endif #ORTE_ENABLE
 
 #############################################################################
 # RT-Linux version of build
 
 ifeq ($(CONFIG_OC_ETH_ORTE_RTL),y)
 
+ifeq ($(CONFIG_OC_ONETD),y)
+renamed_rtlinux_HEADERS = \
+orte/orte_config_omk_rtl_onetd.h->orte/orte_config.h
+endif #CONFIG_OC_ONETD
+
 nobase_rtlinux_HEADERS = \
 orte.h \
 orte/cdr.h \
 orte/basic_types.h \
-orte/orte_config_omk_rtl.h \
 orte/typedefs_defines_rtps.h \
 orte/defines_api.h \
 orte/typedefs_api.h \