diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2007-09-18 12:23:43 -0400 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2007-09-18 12:23:43 -0400 |
commit | 957ad72229186c5d21e44366f61d58a4dfa89bfe (patch) | |
tree | 2284b3f2f4c1ed7c81ba0ccda720997fab4dab85 | |
parent | 5760b6ad37c794a0dd5312206184d0b8ae8e8eda (diff) |
Change liblitmus to have a more sane repository layout.
-rw-r--r-- | Makefile | 42 | ||||
-rw-r--r-- | include/edf-hsb.h (renamed from edf-hsb.h) | 0 | ||||
-rw-r--r-- | include/litmus.h (renamed from litmus.h) | 0 | ||||
-rw-r--r-- | include/logformat.h (renamed from logformat.h) | 0 | ||||
-rw-r--r-- | src/edf-hsb.c (renamed from edf-hsb.c) | 0 | ||||
-rw-r--r-- | src/hrt.c (renamed from hrt.c) | 0 | ||||
-rw-r--r-- | src/iotest.c (renamed from iotest.c) | 0 | ||||
-rw-r--r-- | src/litmus.c (renamed from litmus.c) | 0 | ||||
-rw-r--r-- | src/np_test.c (renamed from np_test.c) | 0 | ||||
-rw-r--r-- | src/rt_launch.c (renamed from rt_launch.c) | 0 | ||||
-rw-r--r-- | src/run.c (renamed from run.c) | 0 | ||||
-rw-r--r-- | src/set_rt_mode.c (renamed from set_rt_mode.c) | 0 | ||||
-rw-r--r-- | src/show_scheduler.c (renamed from show_scheduler.c) | 0 | ||||
-rw-r--r-- | src/timeout.c (renamed from timeout.c) | 0 | ||||
-rw-r--r-- | src/wait_test.c (renamed from wait_test.c) | 0 |
15 files changed, 23 insertions, 19 deletions
@@ -1,39 +1,43 @@ | |||
1 | CFLAGS=-Wall -g | 1 | CFLAGS=-Wall -g -Iinclude/ |
2 | CPPFLAGS=-Wall -g | 2 | CPPFLAGS=-Wall -g |
3 | 3 | ||
4 | LIBS= ./liblitmus.a | ||
5 | |||
4 | TARGETS = showsched iotest set_rt_mode run timeout rt_launch edfhsb liblitmus.a wait_test np_test | 6 | TARGETS = showsched iotest set_rt_mode run timeout rt_launch edfhsb liblitmus.a wait_test np_test |
5 | 7 | ||
8 | vpath %.h include/ | ||
9 | vpath %.c src/ | ||
6 | 10 | ||
7 | all: ${TARGETS} | 11 | all: ${TARGETS} |
8 | clean: | 12 | clean: |
9 | rm *.o ${TARGETS} | 13 | rm -f *.o *~ ${TARGETS} |
10 | 14 | ||
11 | wait_test: wait_test.o litmus.h litmus.o | 15 | wait_test: wait_test.o litmus.h liblitmus.a |
12 | cc -static -o wait_test litmus.o wait_test.o | 16 | cc -static -o wait_test wait_test.o ${LIBS} |
13 | 17 | ||
14 | np_test: np_test.o litmus.h litmus.o | 18 | np_test: np_test.o litmus.h liblitmus.a |
15 | cc -static -o np_test litmus.o np_test.o | 19 | cc -static -o np_test np_test.o ${LIBS} |
16 | 20 | ||
17 | iotest: iotest.o litmus.h litmus.o | 21 | iotest: iotest.o litmus.h liblitmus.a |
18 | cc -static -o iotest litmus.o iotest.o | 22 | cc -static -o iotest iotest.o ${LIBS} |
19 | 23 | ||
20 | run: run.o | 24 | run: run.o |
21 | cc -o run run.o | 25 | cc -o run run.o |
22 | 26 | ||
23 | set_rt_mode: litmus.o set_rt_mode.o | 27 | set_rt_mode: liblitmus.a set_rt_mode.o |
24 | cc -o set_rt_mode litmus.o set_rt_mode.o | 28 | cc -o set_rt_mode set_rt_mode.o ${LIBS} |
25 | 29 | ||
26 | showsched: show_scheduler.o litmus.o litmus.h | 30 | showsched: show_scheduler.o liblitmus.a litmus.h |
27 | cc -o showsched show_scheduler.o litmus.o | 31 | cc -o showsched show_scheduler.o ${LIBS} |
28 | 32 | ||
29 | timeout: litmus.o timeout.o litmus.h | 33 | timeout: liblitmus.a timeout.o litmus.h |
30 | cc -static -o timeout litmus.o timeout.o | 34 | cc -static -o timeout timeout.o ${LIBS} |
31 | 35 | ||
32 | rt_launch: litmus.o litmus.h rt_launch.o | 36 | rt_launch: liblitmus.a litmus.h rt_launch.o |
33 | cc -static -o rt_launch litmus.o rt_launch.o | 37 | cc -static -o rt_launch rt_launch.o ${LIBS} |
34 | 38 | ||
35 | edfhsb: litmus.o edf-hsb.o litmus.h edf-hsb.h hrt.o | 39 | edfhsb: liblitmus.a edf-hsb.o litmus.h edf-hsb.h hrt.o |
36 | cc -o edfhsb hrt.o litmus.o edf-hsb.o | 40 | cc -o edfhsb hrt.o edf-hsb.o ${LIBS} |
37 | 41 | ||
38 | liblitmus.a: litmus.o litmus.h edf-hsb.o edf-hsb.h | 42 | liblitmus.a: litmus.o litmus.h edf-hsb.o edf-hsb.h |
39 | ${AR} rcs liblitmus.a litmus.o edf-hsb.o | 43 | ${AR} rcs liblitmus.a litmus.o edf-hsb.o |
diff --git a/edf-hsb.h b/include/edf-hsb.h index 0ac3d4f..0ac3d4f 100644 --- a/edf-hsb.h +++ b/include/edf-hsb.h | |||
diff --git a/litmus.h b/include/litmus.h index 88b0f0b..88b0f0b 100644 --- a/litmus.h +++ b/include/litmus.h | |||
diff --git a/logformat.h b/include/logformat.h index 3a74bf7..3a74bf7 100644 --- a/logformat.h +++ b/include/logformat.h | |||
diff --git a/edf-hsb.c b/src/edf-hsb.c index 9ace2ca..9ace2ca 100644 --- a/edf-hsb.c +++ b/src/edf-hsb.c | |||
diff --git a/np_test.c b/src/np_test.c index dad68aa..dad68aa 100644 --- a/np_test.c +++ b/src/np_test.c | |||
diff --git a/rt_launch.c b/src/rt_launch.c index 31e6447..31e6447 100644 --- a/rt_launch.c +++ b/src/rt_launch.c | |||
diff --git a/set_rt_mode.c b/src/set_rt_mode.c index 5936d7d..5936d7d 100644 --- a/set_rt_mode.c +++ b/src/set_rt_mode.c | |||
diff --git a/show_scheduler.c b/src/show_scheduler.c index 7026e2a..7026e2a 100644 --- a/show_scheduler.c +++ b/src/show_scheduler.c | |||
diff --git a/timeout.c b/src/timeout.c index ba513f9..ba513f9 100644 --- a/timeout.c +++ b/src/timeout.c | |||
diff --git a/wait_test.c b/src/wait_test.c index efd4d90..efd4d90 100644 --- a/wait_test.c +++ b/src/wait_test.c | |||