]> rtime.felk.cvut.cz Git - frescor/fosa.git/commitdiff
Added Makefiles for OMK makesystem
authorsojkam <sojkam@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Tue, 27 May 2008 06:20:40 +0000 (06:20 +0000)
committersojkam <sojkam@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Tue, 27 May 2008 06:20:40 +0000 (06:20 +0000)
See http://www.frescor.org/private/wiki/content/Building_FRESCOR_with_OMK_makesystem
for details.

git-svn-id: http://www.frescor.org/private/svn/frescor/fosa/trunk@1182 35b4ef3e-fd22-0410-ab77-dab3279adceb

12 files changed:
Makefile.omk [new file with mode: 0644]
include/Makefile.omk [new file with mode: 0644]
marte_non_local_jump/Makefile.omk [new file with mode: 0644]
src_marte/Makefile.omk [new file with mode: 0644]
src_marte/tests/Makefile.omk [new file with mode: 0644]
src_marte/tests/test_clock_and_timers/Makefile.omk [new file with mode: 0644]
src_marte/tests/test_cpu_clocks/Makefile.omk [new symlink]
src_marte/tests/test_fosa_ads/Makefile.omk [new symlink]
src_marte/tests/test_fosa_general/Makefile.omk [new symlink]
src_marte/tests/test_non_local_jump/Makefile.omk [new symlink]
src_marte/tests/test_queue_signal_fosa/Makefile.omk [new symlink]
src_marte/tests/test_time/Makefile.omk [new symlink]

diff --git a/Makefile.omk b/Makefile.omk
new file mode 100644 (file)
index 0000000..85d5ecf
--- /dev/null
@@ -0,0 +1,5 @@
+SUBDIRS=include
+
+ifeq ($(PLATFORM),MARTE_OS)
+SUBDIRS+=src_marte marte_non_local_jump
+endif
diff --git a/include/Makefile.omk b/include/Makefile.omk
new file mode 100644 (file)
index 0000000..9aa9efe
--- /dev/null
@@ -0,0 +1 @@
+include_HEADERS = $(notdir $(wildcard $(SOURCES_DIR)/*.h))
diff --git a/marte_non_local_jump/Makefile.omk b/marte_non_local_jump/Makefile.omk
new file mode 100644 (file)
index 0000000..9aa9efe
--- /dev/null
@@ -0,0 +1 @@
+include_HEADERS = $(notdir $(wildcard $(SOURCES_DIR)/*.h))
diff --git a/src_marte/Makefile.omk b/src_marte/Makefile.omk
new file mode 100644 (file)
index 0000000..6a09070
--- /dev/null
@@ -0,0 +1,4 @@
+SUBDIRS = tests
+
+lib_LIBRARIES=fosa
+fosa_SOURCES=$(notdir $(wildcard $(SOURCES_DIR)/*.c))
diff --git a/src_marte/tests/Makefile.omk b/src_marte/tests/Makefile.omk
new file mode 100644 (file)
index 0000000..c459c78
--- /dev/null
@@ -0,0 +1 @@
+SUBDIRS=$(ALL_OMK_SUBDIRS)
diff --git a/src_marte/tests/test_clock_and_timers/Makefile.omk b/src_marte/tests/test_clock_and_timers/Makefile.omk
new file mode 100644 (file)
index 0000000..a02e70f
--- /dev/null
@@ -0,0 +1,8 @@
+test_PROGRAMS:=$(basename $(notdir $(wildcard $(SOURCES_DIR)/*.c)))
+
+$(foreach t,$(test_PROGRAMS),\
+$(eval $(t)_SOURCES = $(t).c)\
+$(eval $(t)_LIBS = fosa m)\
+)
+
+
diff --git a/src_marte/tests/test_cpu_clocks/Makefile.omk b/src_marte/tests/test_cpu_clocks/Makefile.omk
new file mode 120000 (symlink)
index 0000000..c85f658
--- /dev/null
@@ -0,0 +1 @@
+../test_clock_and_timers/Makefile.omk
\ No newline at end of file
diff --git a/src_marte/tests/test_fosa_ads/Makefile.omk b/src_marte/tests/test_fosa_ads/Makefile.omk
new file mode 120000 (symlink)
index 0000000..c85f658
--- /dev/null
@@ -0,0 +1 @@
+../test_clock_and_timers/Makefile.omk
\ No newline at end of file
diff --git a/src_marte/tests/test_fosa_general/Makefile.omk b/src_marte/tests/test_fosa_general/Makefile.omk
new file mode 120000 (symlink)
index 0000000..c85f658
--- /dev/null
@@ -0,0 +1 @@
+../test_clock_and_timers/Makefile.omk
\ No newline at end of file
diff --git a/src_marte/tests/test_non_local_jump/Makefile.omk b/src_marte/tests/test_non_local_jump/Makefile.omk
new file mode 120000 (symlink)
index 0000000..c85f658
--- /dev/null
@@ -0,0 +1 @@
+../test_clock_and_timers/Makefile.omk
\ No newline at end of file
diff --git a/src_marte/tests/test_queue_signal_fosa/Makefile.omk b/src_marte/tests/test_queue_signal_fosa/Makefile.omk
new file mode 120000 (symlink)
index 0000000..c85f658
--- /dev/null
@@ -0,0 +1 @@
+../test_clock_and_timers/Makefile.omk
\ No newline at end of file
diff --git a/src_marte/tests/test_time/Makefile.omk b/src_marte/tests/test_time/Makefile.omk
new file mode 120000 (symlink)
index 0000000..c85f658
--- /dev/null
@@ -0,0 +1 @@
+../test_clock_and_timers/Makefile.omk
\ No newline at end of file