summaryrefslogtreecommitdiff
path: root/manager/lib/Makefile
diff options
context:
space:
mode:
authorManuel Traut <manut@mecka.net>2012-06-07 13:52:08 +0200
committerManuel Traut <manut@mecka.net>2012-06-07 13:52:08 +0200
commit986a4e78ce5461dc0ada66169bb9111fb0346c46 (patch)
treeff2c7cf1740688313547190fa7626e4543483538 /manager/lib/Makefile
parente84faa1a220ebdcf79a3d95e539dfc8d86a8c460 (diff)
cleanup project structure
move some subprojects fixup makefiles Signed-off-by: Manuel Traut <manut@mecka.net>
Diffstat (limited to 'manager/lib/Makefile')
-rw-r--r--manager/lib/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/manager/lib/Makefile b/manager/lib/Makefile
index fa5d771..b24cc0d 100644
--- a/manager/lib/Makefile
+++ b/manager/lib/Makefile
@@ -2,8 +2,10 @@ CC := $(CROSS_COMPILE)gcc
CXX := $(CROSS_COMPILE)g++
LD := $(CROSS_COMPILE)g++
-DISTRIO_COMMON := ../../common
-DISTRIO_IO := ../../io
+DISTRIO_BASE = ../../
+
+DISTRIO_COMMON := $(DISTRIO_BASE)common
+DISTRIO_IO := $(DISTRIO_BASE)io/lib
CFLAGS += -fPIC -I$(DISTRIO_COMMON) -I$(DISTRIO_IO)
CXXFLAGS += $(CFLAGS)
@@ -24,7 +26,8 @@ all: $(OBJ)
.PHONY: idl
idl:
- $(TAO_IDL) -GI -I../../interfaces ../../interfaces/$(COMPONENT).idl
+ $(TAO_IDL) -GI -I$(DISTRIO_BASE)interfaces \
+ $(DISTRIO_BASE)interfaces/$(COMPONENT).idl
rm -f $(COMPONENT)I.cpp
.PHONY: idl_clean