]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/include/Makefile.omk
changed name to Open Real-time Ethernet, some source header arranging
[orte.git] / orte / include / Makefile.omk
index 2f83d81a2c0f1c0173e496a403b2f30e41b9fecd..d9c32dd2af54ada3d391ecad402f4a5b79c6ee56 100644 (file)
@@ -1,7 +1,19 @@
+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),win32)
+renamed_include_HEADERS = \
+orte/orte_config_omk_win32.h->orte/orte_config.h
+else
 renamed_include_HEADERS = \
-orte/orte_config_omk_unix.h->orte/orte_config.h
+orte/orte_config_omk_linux.h->orte/orte_config.h
+endif
 
 nobase_include_HEADERS = \
 orte.h \
@@ -12,7 +24,7 @@ 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