|
1 #------------------------------------------------------------------------------ |
|
2 # |
|
3 # Makefile.am |
|
4 # |
|
5 # IgH EtherCAT master |
|
6 # |
|
7 # $Id$ |
|
8 # |
|
9 # Copyright (C) 2006 Florian Pose, Ingenieurgemeinschaft IgH |
|
10 # |
|
11 # This file is part of the IgH EtherCAT Master. |
|
12 # |
|
13 # The IgH EtherCAT Master is free software; you can redistribute it |
|
14 # and/or modify it under the terms of the GNU General Public License |
|
15 # as published by the Free Software Foundation; either version 2 of the |
|
16 # License, or (at your option) any later version. |
|
17 # |
|
18 # The IgH EtherCAT Master is distributed in the hope that it will be |
|
19 # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
21 # GNU General Public License for more details. |
|
22 # |
|
23 # You should have received a copy of the GNU General Public License |
|
24 # along with the IgH EtherCAT Master; if not, write to the Free Software |
|
25 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
|
26 # |
|
27 # The right to use EtherCAT Technology is granted and comes free of |
|
28 # charge under condition of compatibility of product made by |
|
29 # Licensee. People intending to distribute/sell products based on the |
|
30 # code, have to sign an agreement to guarantee that products using |
|
31 # software based on IgH EtherCAT master stay compatible with the actual |
|
32 # EtherCAT specification (which are released themselves as an open |
|
33 # standard) as the (only) precondition to have the right to use EtherCAT |
|
34 # Technology, IP and trade marks. |
|
35 # |
|
36 #------------------------------------------------------------------------------ |
|
37 |
|
38 SUBDIRS = master/ devices/ |
|
39 |
|
40 initdir = $(sysconfdir)/init.d |
|
41 sysdir = $(sysconfdir)/sysconfig |
|
42 |
|
43 include_HEADERS = include/ecdb.h include/ecrt.h |
|
44 noinst_SCRIPTS = script/lsec.pl script/ethercat.sh script/sysconfig |
|
45 |
|
46 MINI_FILES = \ |
|
47 examples/mini/Kbuild \ |
|
48 examples/mini/Makefile.am \ |
|
49 examples/mini/Makefile.in \ |
|
50 examples/mini/mini.c |
|
51 |
|
52 RTAI_FILES = \ |
|
53 examples/rtai/Kbuild \ |
|
54 examples/rtai/Makefile.am \ |
|
55 examples/rtai/Makefile.in \ |
|
56 examples/rtai/rtai_sample.c |
|
57 |
|
58 MSR_FILES = \ |
|
59 examples/msr/Kbuild \ |
|
60 examples/msr/libm.o_shipped \ |
|
61 examples/msr/Makefile.am \ |
|
62 examples/msr/Makefile.in \ |
|
63 examples/msr/msr_load \ |
|
64 examples/msr/msr_param.h \ |
|
65 examples/msr/msr_sample.c \ |
|
66 examples/msr/msrserv.pl \ |
|
67 examples/msr/msr_unload |
|
68 |
|
69 EXTRA_DIST = $(noinst_SCRIPTS) $(MINI_FILES) $(RTAI_FILES) $(MSR_FILES) |
|
70 |
|
71 install-data-local: |
|
72 $(mkinstalldirs) $(bindir) |
|
73 $(mkinstalldirs) $(initdir) |
|
74 $(mkinstalldirs) $(sysdir) |
|
75 $(INSTALL_SCRIPT) $(srcdir)/script/lsec.pl $(bindir)/lsec |
|
76 $(INSTALL_SCRIPT) $(srcdir)/script/ethercat.sh $(initdir)/ethercat |
|
77 $(INSTALL_DATA) $(srcdir)/script/sysconfig $(sysdir)/ethercat |
|
78 |
|
79 uninstall-local: |
|
80 rm -rf $(LINUX_MODULES_DIR)/ethercat |
|
81 rm $(bindir)/lsec |
|
82 rm $(initdir)/ethercat |
|
83 rm $(sysdir)/ethercat |
|
84 |
|
85 doc: |
|
86 doxygen Doxyfile |
|
87 |
|
88 cleandoc: |
|
89 @rm -rf documentation |
|
90 |
|
91 #------------------------------------------------------------------------------ |