summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/Makefile32
-rw-r--r--common/common.cpp32
2 files changed, 64 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
new file mode 100644
index 0000000..d4f0594
--- /dev/null
+++ b/common/Makefile
@@ -0,0 +1,32 @@
+CC := $(CROSS_COMPILE)gcc
+CXX := $(CROSS_COMPILE)g++
+LD := $(CROSS_COMPILE)g++
+
+TAO_IDL := tao_idl
+
+DESTDIR := /usr
+
+LIB = libdistrio_common.so
+OBJ = commonC.o common.o commonS.o
+
+IDL_CLEANFILES = commonC.cpp commonC.inl commonI.h commonS.h commonC.h \
+ commonS.cpp
+
+all: idl $(OBJ)
+ $(LD) -shared -o $(LIB) $(OBJ)
+
+idl:
+ $(TAO_IDL) -GI -I../interfaces ../interfaces/common.idl
+ rm -f commonI.cpp
+
+idl_clean:
+ rm -f $(IDL_CLEANFILES)
+
+clean: idl_clean
+ rm -f $(LIB)
+
+install: all
+ cp -a $(LIB) $(DESTDIR)/lib
+
+uninstall:
+ rm -f $(DESTDIR)/lib/$(LIB)
diff --git a/common/common.cpp b/common/common.cpp
new file mode 100644
index 0000000..cea3ed2
--- /dev/null
+++ b/common/common.cpp
@@ -0,0 +1,32 @@
+// -*- C++ -*-
+// $Id$
+
+/**
+ * Code generated by the The ACE ORB (TAO) IDL Compiler v2.1.2
+ * TAO and the TAO IDL Compiler have been developed by:
+ * Center for Distributed Object Computing
+ * Washington University
+ * St. Louis, MO
+ * USA
+ * http://www.cs.wustl.edu/~schmidt/doc-center.html
+ * and
+ * Distributed Object Computing Laboratory
+ * University of California at Irvine
+ * Irvine, CA
+ * USA
+ * and
+ * Institute for Software Integrated Systems
+ * Vanderbilt University
+ * Nashville, TN
+ * USA
+ * http://www.isis.vanderbilt.edu/
+ *
+ * Information about TAO is available at:
+ * http://www.cs.wustl.edu/~schmidt/TAO.html
+ **/
+
+// TAO_IDL - Generated from
+// be/be_codegen.cpp:1673
+
+#include "commonI.h"
+