author | Florian Pose <fp@igh-essen.com> |
Fri, 11 Nov 2005 11:20:55 +0000 | |
changeset 12 | 920e3b41a61f |
parent 0 | 05c992bf5847 |
child 16 | f04e93b8af0f |
permissions | -rw-r--r-- |
12
920e3b41a61f
"make kerneldirs" erstellt die Default-Datei kerneldirs.mk zum Editieren.
Florian Pose <fp@igh-essen.com>
parents:
0
diff
changeset
|
1 |
#---------------------------------------------------------------- |
0 | 2 |
# |
3 |
# Globales Makefile |
|
4 |
# |
|
5 |
# IgH EtherCAT-Treiber |
|
6 |
# |
|
7 |
# $Id$ |
|
8 |
# |
|
12
920e3b41a61f
"make kerneldirs" erstellt die Default-Datei kerneldirs.mk zum Editieren.
Florian Pose <fp@igh-essen.com>
parents:
0
diff
changeset
|
9 |
#---------------------------------------------------------------- |
920e3b41a61f
"make kerneldirs" erstellt die Default-Datei kerneldirs.mk zum Editieren.
Florian Pose <fp@igh-essen.com>
parents:
0
diff
changeset
|
10 |
|
920e3b41a61f
"make kerneldirs" erstellt die Default-Datei kerneldirs.mk zum Editieren.
Florian Pose <fp@igh-essen.com>
parents:
0
diff
changeset
|
11 |
KERNEL_DIRS_FILE = kerneldirs.mk |
920e3b41a61f
"make kerneldirs" erstellt die Default-Datei kerneldirs.mk zum Editieren.
Florian Pose <fp@igh-essen.com>
parents:
0
diff
changeset
|
12 |
|
920e3b41a61f
"make kerneldirs" erstellt die Default-Datei kerneldirs.mk zum Editieren.
Florian Pose <fp@igh-essen.com>
parents:
0
diff
changeset
|
13 |
#---------------------------------------------------------------- |
0 | 14 |
|
15 |
all: .rs232dbg .drivers .rt .mini |
|
16 |
||
17 |
doc docs: |
|
18 |
doxygen Doxyfile |
|
19 |
||
20 |
.drivers: |
|
21 |
$(MAKE) -C drivers |
|
22 |
||
23 |
.rt: |
|
24 |
$(MAKE) -C rt |
|
25 |
||
26 |
.rs232dbg: |
|
27 |
$(MAKE) -C rs232dbg |
|
28 |
||
29 |
.mini: |
|
30 |
$(MAKE) -C mini |
|
31 |
||
12
920e3b41a61f
"make kerneldirs" erstellt die Default-Datei kerneldirs.mk zum Editieren.
Florian Pose <fp@igh-essen.com>
parents:
0
diff
changeset
|
32 |
kerneldirs: |
920e3b41a61f
"make kerneldirs" erstellt die Default-Datei kerneldirs.mk zum Editieren.
Florian Pose <fp@igh-essen.com>
parents:
0
diff
changeset
|
33 |
@echo "# EtherCAT Standard-Kernel-Verzeichnisse" > $(KERNEL_DIRS_FILE) |
920e3b41a61f
"make kerneldirs" erstellt die Default-Datei kerneldirs.mk zum Editieren.
Florian Pose <fp@igh-essen.com>
parents:
0
diff
changeset
|
34 |
@echo >> $(KERNEL_DIRS_FILE) |
920e3b41a61f
"make kerneldirs" erstellt die Default-Datei kerneldirs.mk zum Editieren.
Florian Pose <fp@igh-essen.com>
parents:
0
diff
changeset
|
35 |
@echo "KERNELDIR = /vol/projekte/msr_messen_steuern_regeln/linux/kernel/2.4.20/include/linux-2.4.20.CX1100-rthal5" >> $(KERNEL_DIRS_FILE) |
920e3b41a61f
"make kerneldirs" erstellt die Default-Datei kerneldirs.mk zum Editieren.
Florian Pose <fp@igh-essen.com>
parents:
0
diff
changeset
|
36 |
@echo "RTAIDIR = /vol/projekte/msr_messen_steuern_regeln/linux/kernel/2.4.20/include/rtai-24.1.13" >> $(KERNEL_DIRS_FILE) |
920e3b41a61f
"make kerneldirs" erstellt die Default-Datei kerneldirs.mk zum Editieren.
Florian Pose <fp@igh-essen.com>
parents:
0
diff
changeset
|
37 |
@echo "RTLIBDIR = rt_lib" >> $(KERNEL_DIRS_FILE) |
920e3b41a61f
"make kerneldirs" erstellt die Default-Datei kerneldirs.mk zum Editieren.
Florian Pose <fp@igh-essen.com>
parents:
0
diff
changeset
|
38 |
@echo >> $(KERNEL_DIRS_FILE) |
920e3b41a61f
"make kerneldirs" erstellt die Default-Datei kerneldirs.mk zum Editieren.
Florian Pose <fp@igh-essen.com>
parents:
0
diff
changeset
|
39 |
@echo "$(KERNEL_DIRS_FILE) erstellt." |
0 | 40 |
|
41 |
clean: |
|
42 |
$(MAKE) -C rt clean |
|
43 |
$(MAKE) -C drivers clean |
|
44 |
$(MAKE) -C rs232dbg clean |
|
45 |
$(MAKE) -C mini clean |
|
46 |
||
12
920e3b41a61f
"make kerneldirs" erstellt die Default-Datei kerneldirs.mk zum Editieren.
Florian Pose <fp@igh-essen.com>
parents:
0
diff
changeset
|
47 |
#---------------------------------------------------------------- |