Makefile
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--
"make kerneldirs" erstellt die Default-Datei kerneldirs.mk zum Editieren.
#----------------------------------------------------------------
#
#  Globales Makefile
#
#  IgH EtherCAT-Treiber
#
#  $Id$
#
#----------------------------------------------------------------

KERNEL_DIRS_FILE = kerneldirs.mk

#----------------------------------------------------------------

all: .rs232dbg .drivers .rt .mini

doc docs:
	doxygen Doxyfile

.drivers:
	$(MAKE) -C drivers

.rt:
	$(MAKE) -C rt

.rs232dbg:
	$(MAKE) -C rs232dbg

.mini:
	$(MAKE) -C mini

kerneldirs:
	@echo "# EtherCAT Standard-Kernel-Verzeichnisse" > $(KERNEL_DIRS_FILE)
	@echo >> $(KERNEL_DIRS_FILE)
	@echo "KERNELDIR = /vol/projekte/msr_messen_steuern_regeln/linux/kernel/2.4.20/include/linux-2.4.20.CX1100-rthal5" >> $(KERNEL_DIRS_FILE)
	@echo "RTAIDIR   = /vol/projekte/msr_messen_steuern_regeln/linux/kernel/2.4.20/include/rtai-24.1.13" >> $(KERNEL_DIRS_FILE)
	@echo "RTLIBDIR = rt_lib" >> $(KERNEL_DIRS_FILE)
	@echo >> $(KERNEL_DIRS_FILE)
	@echo "$(KERNEL_DIRS_FILE) erstellt."

clean:
	$(MAKE) -C rt clean
	$(MAKE) -C drivers clean
	$(MAKE) -C rs232dbg clean
	$(MAKE) -C mini clean

#----------------------------------------------------------------