]> rtime.felk.cvut.cz Git - orte.git/blob - orte/liborte/Makefile.omk
Migration to new version of OMK system.
[orte.git] / orte / liborte / Makefile.omk
1 default_CONFIG = CONFIG_OC_ETH_ORTE=y
2 default_CONFIG += CONFIG_OC_ETH_ORTE_SOLIB=n
3
4 ifeq ($(TARGET_OS),win32)
5 renamed_include_HEADERS = \
6 ../contrib/win_pthread/pthread.dll->../lib/pthread.dll
7 endif #TARGET_OS
8
9 INCLUDES = -I $(srcdir)/../include
10
11 orte_SOURCES = \
12 conv.c \
13 debug.c \
14 event.c \
15 fnmatch.c \
16 htimerNtp.c \
17 objectEntry.c \
18 objectEntryTimer.c \
19 objectUtils.c \
20 ORTEAppRecvThread.c \
21 ORTEAppSendThread.c \
22 ORTEDomainApp.c \
23 ORTEPublication.c \
24 ORTEPublicationTimer.c \
25 ORTESubscription.c \
26 ORTEDomain.c \
27 ORTEDomainMgr.c \
28 ORTEInit.c \
29 ORTEThreadUtils.c \
30 ORTETypeRegister.c \
31 ORTEVerbosity.c \
32 ORTEPattern.c \
33 ORTEMisc.c \
34 parameter.c \
35 RTPSAck.c \
36 RTPSCSTReader.c \
37 RTPSCSTReaderTimer.c \
38 RTPSCSTReaderProc.c \
39 RTPSCSTWriter.c \
40 RTPSCSTWriterTimer.c \
41 RTPSGap.c \
42 RTPSHeader.c \
43 RTPSHeardBeat.c \
44 RTPSInfoDST.c \
45 RTPSInfoREPLY.c \
46 RTPSInfoSRC.c \
47 RTPSInfoTS.c \
48 RTPSPad.c \
49 RTPSUtils.c \
50 RTPSVar.c \
51 RTPSIssue.c \
52 sock.c \
53 ul_gavl.c \
54 ul_gavlprim.c \
55 cdr.c
56
57 ifeq ($(CONFIG_OC_ETH_ORTE),y)
58 lib_LIBRARIES = orte
59 endif #CONFIG_OC_ETH_ORTE
60
61 ifeq ($(CONFIG_OC_ETH_ORTE_SOLIB),y)
62 shared_LIBRARIES = orte
63 lib_LOADLIBES = pthread
64 ifeq ($(TARGET_OS),win32)
65 lib_LOADLIBES += ws2_32
66 endif #TARGET_OS
67 endif #CONFIG_OC_ETH_ORTE_SOLIB
68
69 #############################################################################
70 # RT-Linux version of build
71
72 default_CONFIG += CONFIG_OC_ETH_ORTE_RTL=n
73
74 rtlinux_INCLUDES = -I $(srcdir)/../include
75
76 ortert_SOURCES = \
77 conv.c \
78 debug.c \
79 event.c \
80 fnmatch.c \
81 htimerNtp.c \
82 objectEntry.c \
83 objectEntryTimer.c \
84 objectUtils.c \
85 ORTEAppRecvThread.c \
86 ORTEAppSendThread.c \
87 ORTEDomainApp.c \
88 ORTEPublication.c \
89 ORTEPublicationTimer.c \
90 ORTESubscription.c \
91 ORTEDomain.c \
92 ORTEDomainMgr.c \
93 ORTEInit.c \
94 ORTEThreadUtils.c \
95 ORTETypeRegister.c \
96 ORTEVerbosity.c \
97 ORTEPattern.c \
98 ORTEMisc.c \
99 parameter.c \
100 RTPSAck.c \
101 RTPSCSTReader.c \
102 RTPSCSTReaderTimer.c \
103 RTPSCSTReaderProc.c \
104 RTPSCSTWriter.c \
105 RTPSCSTWriterTimer.c \
106 RTPSGap.c \
107 RTPSHeader.c \
108 RTPSHeardBeat.c \
109 RTPSInfoDST.c \
110 RTPSInfoREPLY.c \
111 RTPSInfoSRC.c \
112 RTPSInfoTS.c \
113 RTPSPad.c \
114 RTPSUtils.c \
115 RTPSVar.c \
116 RTPSIssue.c \
117 sock.c \
118 ul_gavl.c \
119 ul_gavlprim.c \
120 cdr.c
121
122 ifeq ($(CONFIG_OC_ETH_ORTE_RTL),y)
123 rtlinux_LIBRARIES = orte_rt
124 rtlinux_MODULES = orte_rt
125 orte_rt_SOURCES = $(ortert_SOURCES)
126 SUBDIRS = rtl
127 endif #CONFIG_OC_ETH_ORTE_RTL