equal
deleted
inserted
replaced
1 ################################################################# |
1 #---------------------------------------------------------------- |
2 # |
2 # |
3 # Globales Makefile |
3 # Globales Makefile |
4 # |
4 # |
5 # IgH EtherCAT-Treiber |
5 # IgH EtherCAT-Treiber |
6 # |
6 # |
7 # $Id$ |
7 # $Id$ |
8 # |
8 # |
9 ################################################################# |
9 #---------------------------------------------------------------- |
|
10 |
|
11 KERNEL_DIRS_FILE = kerneldirs.mk |
|
12 |
|
13 #---------------------------------------------------------------- |
10 |
14 |
11 all: .rs232dbg .drivers .rt .mini |
15 all: .rs232dbg .drivers .rt .mini |
12 |
16 |
13 doc docs: |
17 doc docs: |
14 doxygen Doxyfile |
18 doxygen Doxyfile |
15 |
|
16 ################################################################# |
|
17 |
19 |
18 .drivers: |
20 .drivers: |
19 $(MAKE) -C drivers |
21 $(MAKE) -C drivers |
20 |
22 |
21 .rt: |
23 .rt: |
25 $(MAKE) -C rs232dbg |
27 $(MAKE) -C rs232dbg |
26 |
28 |
27 .mini: |
29 .mini: |
28 $(MAKE) -C mini |
30 $(MAKE) -C mini |
29 |
31 |
30 ################################################################# |
32 kerneldirs: |
|
33 @echo "# EtherCAT Standard-Kernel-Verzeichnisse" > $(KERNEL_DIRS_FILE) |
|
34 @echo >> $(KERNEL_DIRS_FILE) |
|
35 @echo "KERNELDIR = /vol/projekte/msr_messen_steuern_regeln/linux/kernel/2.4.20/include/linux-2.4.20.CX1100-rthal5" >> $(KERNEL_DIRS_FILE) |
|
36 @echo "RTAIDIR = /vol/projekte/msr_messen_steuern_regeln/linux/kernel/2.4.20/include/rtai-24.1.13" >> $(KERNEL_DIRS_FILE) |
|
37 @echo "RTLIBDIR = rt_lib" >> $(KERNEL_DIRS_FILE) |
|
38 @echo >> $(KERNEL_DIRS_FILE) |
|
39 @echo "$(KERNEL_DIRS_FILE) erstellt." |
31 |
40 |
32 clean: |
41 clean: |
33 $(MAKE) -C rt clean |
42 $(MAKE) -C rt clean |
34 $(MAKE) -C drivers clean |
43 $(MAKE) -C drivers clean |
35 $(MAKE) -C rs232dbg clean |
44 $(MAKE) -C rs232dbg clean |
36 $(MAKE) -C mini clean |
45 $(MAKE) -C mini clean |
37 |
46 |
38 ################################################################# |
47 #---------------------------------------------------------------- |