]> rtime.felk.cvut.cz Git - orte.git/blob - orte/include/Makefile.omk
Add orte_config.h for RTEMS
[orte.git] / orte / include / Makefile.omk
1 ORTE_ENABLE=n
2 ifeq ($(CONFIG_OC_ETH_ORTE),y)
3   ORTE_ENABLE=y
4 endif
5 ifeq ($(CONFIG_OC_ETH_ORTE_SOLIB),y)
6   ORTE_ENABLE=y
7 endif
8
9 ifeq ($(ORTE_ENABLE),y)
10 ifeq ($(TARGET_OS),win32)
11 renamed_include_HEADERS = \
12 orte/orte_config_omk_win32.h->orte/orte_config.h
13 else ifeq ($(firstword $(OMK_RULES_TYPE)),rtems)
14 renamed_include_HEADERS = \
15 orte/orte_config_omk_rtems.h->orte/orte_config.h
16 else
17 renamed_include_HEADERS = \
18 orte/orte_config_omk_linux.h->orte/orte_config.h
19 endif
20
21 nobase_include_HEADERS = \
22 orte.h \
23 orte/cdr.h \
24 orte/basic_types.h \
25 orte/typedefs_defines_rtps.h \
26 orte/defines_api.h \
27 orte/typedefs_api.h \
28 orte/protos_api.h
29
30 endif #ORTE_ENABLE
31
32 #############################################################################
33 # RT-Linux version of build
34
35 ifeq ($(CONFIG_OC_ETH_ORTE_RTL),y)
36
37 ifeq ($(CONFIG_OC_ONETD),y)
38 renamed_rtlinux_HEADERS = \
39 orte/orte_config_omk_rtl_onetd.h->orte/orte_config.h
40 endif #CONFIG_OC_ONETD
41
42 nobase_rtlinux_HEADERS = \
43 orte.h \
44 orte/cdr.h \
45 orte/basic_types.h \
46 orte/typedefs_defines_rtps.h \
47 orte/defines_api.h \
48 orte/typedefs_api.h \
49 orte/protos_api.h
50
51 endif #CONFIG_OC_ETH_ORTE_RTL