fp@46: #------------------------------------------------------------------------------ fp@0: # fp@0: # Globales Makefile fp@0: # fp@0: # IgH EtherCAT-Treiber fp@0: # fp@0: # $Id$ fp@0: # fp@46: #------------------------------------------------------------------------------ fp@12: fp@46: ifneq ($(KERNELRELEASE),) fp@16: fp@46: #------------------------------------------------------------------------------ fp@46: # Kbuild-Abschnitt fp@12: fp@54: obj-m := master/ devices/ rt/ mini/ fp@45: fp@46: #------------------------------------------------------------------------------ fp@45: fp@46: else fp@0: fp@46: #------------------------------------------------------------------------------ fp@46: # Default-Abschnitt fp@46: fp@46: include ethercat.conf fp@46: fp@46: modules: fp@45: $(MAKE) -C $(KERNELDIR) M=`pwd` modules fp@45: fp@45: clean: fp@45: $(MAKE) -C $(KERNELDIR) M=`pwd` clean fp@50: @rm -rf */.tmp_versions fp@0: fp@0: doc docs: fp@0: doxygen Doxyfile fp@0: fp@22: config conf $(CONFIG_FILE): fp@22: @echo "# EtherCAT Konfigurationsdatei Kernel 2.6" > $(CONFIG_FILE) fp@16: @echo >> $(CONFIG_FILE) fp@22: @echo "KERNELDIR = /usr/src/linux" >> $(CONFIG_FILE) fp@16: @echo >> $(CONFIG_FILE) fp@16: @echo "$(CONFIG_FILE) erstellt." fp@0: fp@12: #---------------------------------------------------------------- fp@46: fp@46: endif