summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorManuel Traut <manut@mecka.net>2012-06-03 13:53:44 +0200
committerManuel Traut <manut@mecka.net>2012-06-03 13:53:44 +0200
commit0f322594c1a54f5058c77173a4eef04f73bc7a29 (patch)
treef3f9e90f935455f34fb033d2a454fadbf8a740c0 /common/Makefile
parent9846551e704f5998cd8f62a95b044e2ae8208579 (diff)
libdistrio_common: add corba helper functions
- to initialize orb - to register new digital objects at the naming service - to run the orb Signed-off-by: Manuel Traut <manut@mecka.net>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/common/Makefile b/common/Makefile
index 441b13f..af3963e 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -2,7 +2,9 @@ CC := $(CROSS_COMPILE)gcc
CXX := $(CROSS_COMPILE)g++
LD := $(CROSS_COMPILE)g++
-CFLAGS += -fPIC
+DISTRIO_IO = ../io
+
+CFLAGS += -fPIC -I. -I$(DISTRIO_IO)
CXXFLAGS += $(CFLAGS)
TAO_IDL := tao_idl
@@ -11,7 +13,7 @@ DESTDIR := /usr
COMPONENT = distrio_common
LIB = lib$(COMPONENT).so
-OBJ = $(COMPONENT)C.o $(COMPONENT).o $(COMPONENT)S.o
+OBJ = $(COMPONENT)C.o $(COMPONENT).o $(COMPONENT)S.o common.o
IDL_CLEANFILES = $(COMPONENT)C.cpp $(COMPONENT)C.inl $(COMPONENT)I.h \
$(COMPONENT)S.h $(COMPONENT)C.h $(COMPONENT)S.cpp