author | Florian Pose <fp@igh-essen.com> |
Fri, 06 Jan 2006 13:20:29 +0000 | |
changeset 47 | ad5f969f263b |
parent 46 | f2d7a73d2f32 |
child 50 | 458e704afc6e |
permissions | -rw-r--r-- |
46
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
1 |
#------------------------------------------------------------------------------ |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
2 |
# |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
3 |
# Makefile Echtzeitmodule |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
4 |
# |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
5 |
# $Id$ |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
6 |
# |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
7 |
#------------------------------------------------------------------------------ |
0 | 8 |
|
28
801dc7eabf51
IPIPE,floatpoint,rtlib
Wilhelm Hagemeister <hm@igh-essen.com>
parents:
16
diff
changeset
|
9 |
ifneq ($(KERNELRELEASE),) |
0 | 10 |
|
46
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
11 |
#------------------------------------------------------------------------------ |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
12 |
# Kbuild-Abschnitt |
28
801dc7eabf51
IPIPE,floatpoint,rtlib
Wilhelm Hagemeister <hm@igh-essen.com>
parents:
16
diff
changeset
|
13 |
|
801dc7eabf51
IPIPE,floatpoint,rtlib
Wilhelm Hagemeister <hm@igh-essen.com>
parents:
16
diff
changeset
|
14 |
obj-m := msr_modul.o |
801dc7eabf51
IPIPE,floatpoint,rtlib
Wilhelm Hagemeister <hm@igh-essen.com>
parents:
16
diff
changeset
|
15 |
|
46
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
16 |
msr_modul-objs := msr_module.o \ |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
17 |
msr_jitter.o \ |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
18 |
rt_lib/msr-core/msr_lists.o \ |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
19 |
rt_lib/msr-core/msr_main.o \ |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
20 |
rt_lib/msr-core/msr_charbuf.o \ |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
21 |
rt_lib/msr-core/msr_reg.o \ |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
22 |
rt_lib/msr-core/msr_interpreter.o \ |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
23 |
rt_lib/msr-core/msr_messages.o \ |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
24 |
rt_lib/msr-core/msr_proc.o \ |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
25 |
rt_lib/msr-core/msr_error_reg.o \ |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
26 |
rt_lib/msr-utils/msr_utils.o \ |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
27 |
rt_lib/msr-math/msr_base64.o \ |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
28 |
libm.o |
28
801dc7eabf51
IPIPE,floatpoint,rtlib
Wilhelm Hagemeister <hm@igh-essen.com>
parents:
16
diff
changeset
|
29 |
|
46
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
30 |
EXTRA_CFLAGS := -I $(src)/rt_lib/msr-include -D_SIMULATION \ |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
31 |
-I/usr/include -mhard-float |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
32 |
|
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
33 |
#------------------------------------------------------------------------------ |
28
801dc7eabf51
IPIPE,floatpoint,rtlib
Wilhelm Hagemeister <hm@igh-essen.com>
parents:
16
diff
changeset
|
34 |
|
801dc7eabf51
IPIPE,floatpoint,rtlib
Wilhelm Hagemeister <hm@igh-essen.com>
parents:
16
diff
changeset
|
35 |
else |
801dc7eabf51
IPIPE,floatpoint,rtlib
Wilhelm Hagemeister <hm@igh-essen.com>
parents:
16
diff
changeset
|
36 |
|
46
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
37 |
#------------------------------------------------------------------------------ |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
38 |
# Default-Abschnitt |
28
801dc7eabf51
IPIPE,floatpoint,rtlib
Wilhelm Hagemeister <hm@igh-essen.com>
parents:
16
diff
changeset
|
39 |
|
801dc7eabf51
IPIPE,floatpoint,rtlib
Wilhelm Hagemeister <hm@igh-essen.com>
parents:
16
diff
changeset
|
40 |
default: |
46
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
41 |
$(MAKE) -C .. |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
42 |
|
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
43 |
clean: |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
44 |
$(MAKE) -C .. clean |
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
45 |
|
f2d7a73d2f32
Makefiles nochmals verbessert.
Florian Pose <fp@igh-essen.com>
parents:
28
diff
changeset
|
46 |
#------------------------------------------------------------------------------ |
28
801dc7eabf51
IPIPE,floatpoint,rtlib
Wilhelm Hagemeister <hm@igh-essen.com>
parents:
16
diff
changeset
|
47 |
|
801dc7eabf51
IPIPE,floatpoint,rtlib
Wilhelm Hagemeister <hm@igh-essen.com>
parents:
16
diff
changeset
|
48 |
endif |