examples/mini/Makefile.am
changeset 387 e6e708a5d502
parent 385 c33367851350
child 393 9cfbb344adc0
equal deleted inserted replaced
386:7020a47f092a 387:e6e708a5d502
    33 #  standard) as the (only) precondition to have the right to use EtherCAT
    33 #  standard) as the (only) precondition to have the right to use EtherCAT
    34 #  Technology, IP and trade marks.
    34 #  Technology, IP and trade marks.
    35 #
    35 #
    36 #------------------------------------------------------------------------------
    36 #------------------------------------------------------------------------------
    37 
    37 
    38 ABSSRCDIR = `cd $(srcdir) && pwd -P`
       
    39 
       
    40 all:
    38 all:
    41 	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="$(ABSSRCDIR)" modules
    39 	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules
    42 
    40 
    43 clean-local:
    41 clean-local:
    44 	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="$(ABSSRCDIR)" clean
    42 	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" clean
    45 
    43 
    46 install-data-local:
    44 install-data-local:
    47 	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="$(ABSSRCDIR)" \
    45 	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" \
    48 		INSTALL_MOD_PATH="$(DESTDIR)" \
    46 		INSTALL_MOD_PATH="$(DESTDIR)" \
    49 		INSTALL_MOD_DIR="ethercat" modules_install
    47 		INSTALL_MOD_DIR="ethercat" modules_install
    50 
    48 
    51 #------------------------------------------------------------------------------
    49 #------------------------------------------------------------------------------