[Cbe-oss-dev] [PATCH 09/17]MARS/modules/task: Fix lib makefile
Yuji Mano
yuji.mano at am.sony.com
Wed Nov 26 14:40:12 EST 2008
This fixes the modules task host lib makefile so it creates the .libs directory
as necessary. Other minor cleanups included.
Signed-off-by: Yuji Mano <yuji.mano at am.sony.com>
---
modules/task/src/host/lib/Makefile.am | 6 +++---
modules/task/src/mpu/lib/Makefile.am | 2 +-
modules/task/src/mpu/module/Makefile.am | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
--- a/modules/task/src/host/lib/Makefile.am
+++ b/modules/task/src/host/lib/Makefile.am
@@ -71,8 +71,8 @@ pkginclude_HEADERS = \
AM_CPPFLAGS = \
$(extra_cppflags) \
- -I$(srcdir)/../../../include/host \
-I$(srcdir)/../../../include/common \
+ -I$(srcdir)/../../../include/host \
-I$(srcdir)/../../../src/common
AM_CFLAGS = \
@@ -100,12 +100,12 @@ libmars_task_la_SOURCES = \
task_semaphore.c \
task_signal.c
-nodist_libmars_task_la_SOURCES = \
- mars_task_module.eo
+nodist_libmars_task_la_SOURCES = mars_task_module.eo
libmars_task_la_DEPENDENCIES = mars_task_module.eo
mars_task_module.eo: ${MARS_TASK_MODULE}
+ @mkdir -p .libs
$(EMBEDSPU) $(CFLAGS) mars_task_module_entry $< $@
$(EMBEDSPU) $(CFLAGS) -fPIC -DPIC mars_task_module_entry $< .libs/$@
--- a/modules/task/src/mpu/lib/Makefile.am
+++ b/modules/task/src/mpu/lib/Makefile.am
@@ -69,8 +69,8 @@ pkginclude_HEADERS = \
AM_CPPFLAGS = \
$(extra_cppflags) \
- -I$(srcdir)/../../../include/mpu \
-I$(srcdir)/../../../include/common \
+ -I$(srcdir)/../../../include/mpu \
-I$(srcdir)/../../../src/common \
-I$(srcdir)/../../../src/mpu/module
--- a/modules/task/src/mpu/module/Makefile.am
+++ b/modules/task/src/mpu/module/Makefile.am
@@ -61,8 +61,8 @@ MAINTAINERCLEANFILES = Makefile.in
AM_CPPFLAGS = \
$(extra_cppflags) \
- -I$(srcdir)/../../../include/mpu \
-I$(srcdir)/../../../include/common \
+ -I$(srcdir)/../../../include/mpu \
-I$(srcdir)/../../../src/common \
-I$(srcdir)/../../../src/mpu/lib
More information about the cbe-oss-dev
mailing list