Module: xenomai-3
Branch: master
Commit: acde09bc494c5a13652548f0f5778842ddf8f90e
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=acde09bc494c5a13652548f0f5778842ddf8f90e

Author: Philippe Gerum <r...@xenomai.org>
Date:   Tue Dec 13 11:35:50 2016 +0100

include/rtdm: mercury: export basic RTDM definitions

The basic RTDM definitions and data types should be exposed to
Mercury-based applications, since the native RTDM implementation
should use them over the POSIX I/O interface the same way.

---

 include/Makefile.am           |    5 ++---
 include/rtdm/Makefile.am      |    7 +++++--
 include/rtdm/uapi/Makefile.am |    7 +++++--
 3 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/include/Makefile.am b/include/Makefile.am
index f1b5738..1e9fe02 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -6,14 +6,13 @@ SUBDIRS =             \
        smokey          \
        alchemy         \
        psos            \
+       rtdm            \
        trank           \
        vxworks         \
        xenomai
 
 if XENO_COBALT
-SUBDIRS +=             \
-       cobalt          \
-       rtdm
+SUBDIRS += cobalt
 else
 SUBDIRS += mercury
 endif
diff --git a/include/rtdm/Makefile.am b/include/rtdm/Makefile.am
index a4e6ff8..a8773ed 100644
--- a/include/rtdm/Makefile.am
+++ b/include/rtdm/Makefile.am
@@ -1,13 +1,16 @@
 includesubdir = $(includedir)/rtdm
 
-includesub_HEADERS =   \
+includesub_HEADERS = rtdm.h
+
+if XENO_COBALT
+includesub_HEADERS +=  \
        analogy.h       \
        autotune.h      \
        can.h           \
        ipc.h           \
-       rtdm.h          \
        serial.h        \
        testing.h       \
        udd.h
+endif
 
 SUBDIRS = uapi
diff --git a/include/rtdm/uapi/Makefile.am b/include/rtdm/uapi/Makefile.am
index 7cff6c2..9560310 100644
--- a/include/rtdm/uapi/Makefile.am
+++ b/include/rtdm/uapi/Makefile.am
@@ -1,11 +1,14 @@
 includesubdir = $(includedir)/rtdm/uapi
 
-includesub_HEADERS =   \
+includesub_HEADERS = rtdm.h
+
+if XENO_COBALT
+includesub_HEADERS +=  \
        analogy.h       \
        autotune.h      \
        can.h           \
        ipc.h           \
-       rtdm.h          \
        serial.h        \
        testing.h       \
        udd.h
+endif


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to