Skip to content
Snippets Groups Projects
Commit 0fae1870 authored by Florian Pose's avatar Florian Pose
Browse files

Build examples by default.

parent 3ab05b2f
No related branches found
No related tags found
No related merge requests found
...@@ -31,6 +31,6 @@ ...@@ -31,6 +31,6 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
obj-m := master/ devices/ obj-m := examples/ master/ devices/
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
...@@ -45,6 +45,9 @@ if ENABLE_USERLIB ...@@ -45,6 +45,9 @@ if ENABLE_USERLIB
SUBDIRS += lib SUBDIRS += lib
endif endif
# userspace example depends on lib/
SUBDIRS += examples
DIST_SUBDIRS = \ DIST_SUBDIRS = \
devices \ devices \
examples \ examples \
......
...@@ -423,6 +423,7 @@ AC_CONFIG_FILES([ ...@@ -423,6 +423,7 @@ AC_CONFIG_FILES([
devices/Makefile devices/Makefile
devices/e1000/Kbuild devices/e1000/Kbuild
devices/e1000/Makefile devices/e1000/Makefile
examples/Kbuild
examples/Makefile examples/Makefile
examples/mini/Kbuild examples/mini/Kbuild
examples/mini/Makefile examples/mini/Makefile
......
...@@ -35,6 +35,7 @@ SUBDIRS = e1000 ...@@ -35,6 +35,7 @@ SUBDIRS = e1000
DIST_SUBDIRS = e1000 DIST_SUBDIRS = e1000
# using HEADERS to enable tags target
noinst_HEADERS = \ noinst_HEADERS = \
8139too-2.6.13-ethercat.c \ 8139too-2.6.13-ethercat.c \
8139too-2.6.13-orig.c \ 8139too-2.6.13-orig.c \
...@@ -50,7 +51,6 @@ noinst_HEADERS = \ ...@@ -50,7 +51,6 @@ noinst_HEADERS = \
8139too-2.6.23-orig.c \ 8139too-2.6.23-orig.c \
8139too-2.6.24-ethercat.c \ 8139too-2.6.24-ethercat.c \
8139too-2.6.24-orig.c \ 8139too-2.6.24-orig.c \
Kbuild.in \
e100-2.6.20-ethercat.c \ e100-2.6.20-ethercat.c \
e100-2.6.20-orig.c \ e100-2.6.20-orig.c \
e100-2.6.24-ethercat.c \ e100-2.6.24-ethercat.c \
...@@ -59,6 +59,9 @@ noinst_HEADERS = \ ...@@ -59,6 +59,9 @@ noinst_HEADERS = \
e100-2.6.26-orig.c \ e100-2.6.26-orig.c \
ecdev.h ecdev.h
EXTRA_DIST = \
Kbuild.in
BUILT_SOURCES = \ BUILT_SOURCES = \
Kbuild Kbuild
......
#------------------------------------------------------------------------------
#
# $Id: Kbuild.in 1097 2008-04-03 15:31:34Z fp $
#
# Copyright (C) 2006 Florian Pose, Ingenieurgemeinschaft IgH
#
# This file is part of the IgH EtherCAT Master.
#
# The IgH EtherCAT Master is free software; you can redistribute it
# and/or modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# The IgH EtherCAT Master is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with the IgH EtherCAT Master; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# The right to use EtherCAT Technology is granted and comes free of
# charge under condition of compatibility of product made by
# Licensee. People intending to distribute/sell products based on the
# code, have to sign an agreement to guarantee that products using
# software based on IgH EtherCAT master stay compatible with the actual
# EtherCAT specification (which are released themselves as an open
# standard) as the (only) precondition to have the right to use EtherCAT
# Technology, IP and trade marks.
#
#------------------------------------------------------------------------------
obj-m := mini/
#------------------------------------------------------------------------------
...@@ -31,9 +31,19 @@ ...@@ -31,9 +31,19 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
if ENABLE_USERLIB
SUBDIRS = user
endif
DIST_SUBDIRS = \ DIST_SUBDIRS = \
mini \ mini \
rtai \ rtai \
user user
EXTRA_DIST = \
Kbuild.in
BUILT_SOURCES = \
Kbuild
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
...@@ -31,9 +31,8 @@ ...@@ -31,9 +31,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# HEADERS, because of tags target # using HEADERS to enable tags target
noinst_HEADERS = \ noinst_HEADERS = \
Kbuild.in \
cdev.c cdev.h \ cdev.c cdev.h \
datagram.c datagram.h \ datagram.c datagram.h \
debug.c debug.h \ debug.c debug.h \
...@@ -67,6 +66,9 @@ noinst_HEADERS = \ ...@@ -67,6 +66,9 @@ noinst_HEADERS = \
sync_config.c sync_config.h \ sync_config.c sync_config.h \
voe_handler.c voe_handler.h voe_handler.c voe_handler.h
EXTRA_DIST = \
Kbuild.in
BUILT_SOURCES = \ BUILT_SOURCES = \
Kbuild Kbuild
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment