equal
deleted
inserted
replaced
1 #------------------------------------------------------------------------------ |
1 #------------------------------------------------------------------------------ |
2 # |
2 # |
3 # $Id$ |
3 # $Id$ |
4 # |
4 # |
5 # Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH |
5 # Copyright (C) 2006-2012 Florian Pose, Ingenieurgemeinschaft IgH |
6 # |
6 # |
7 # This file is part of the IgH EtherCAT Master. |
7 # This file is part of the IgH EtherCAT Master. |
8 # |
8 # |
9 # The IgH EtherCAT Master is free software; you can redistribute it and/or |
9 # The IgH EtherCAT Master is free software; you can redistribute it and/or |
10 # modify it under the terms of the GNU General Public License version 2, as |
10 # modify it under the terms of the GNU General Public License version 2, as |
50 fsm_sii.o \ |
50 fsm_sii.o \ |
51 fsm_slave.o \ |
51 fsm_slave.o \ |
52 fsm_slave_config.o \ |
52 fsm_slave_config.o \ |
53 fsm_slave_scan.o \ |
53 fsm_slave_scan.o \ |
54 fsm_soe.o \ |
54 fsm_soe.o \ |
|
55 ioctl.o \ |
55 mailbox.o \ |
56 mailbox.o \ |
56 master.o \ |
57 master.o \ |
57 module.o \ |
58 module.o \ |
58 pdo.o \ |
59 pdo.o \ |
59 pdo_entry.o \ |
60 pdo_entry.o \ |
68 sync.o \ |
69 sync.o \ |
69 sync_config.o \ |
70 sync_config.o \ |
70 voe_handler.o |
71 voe_handler.o |
71 |
72 |
72 ifeq (@ENABLE_EOE@,1) |
73 ifeq (@ENABLE_EOE@,1) |
73 ec_master-objs += ethernet.o |
74 ec_master-objs += ethernet.o |
74 endif |
75 endif |
|
76 |
75 ifeq (@ENABLE_DEBUG_IF@,1) |
77 ifeq (@ENABLE_DEBUG_IF@,1) |
76 ec_master-objs += debug.o |
78 ec_master-objs += debug.o |
77 endif |
79 endif |
|
80 |
|
81 ifeq (@ENABLE_RTDM@,1) |
|
82 |
|
83 ec_master-objs += rtdm.o |
|
84 |
|
85 ifeq (@ENABLE_XENOMAI@, 1) |
|
86 CFLAGS_rtdm.o := -I@XENOMAI_DIR@/include |
|
87 endif |
|
88 |
|
89 ifeq (@ENABLE_RTAI@, 1) |
|
90 CFLAGS_rtdm.o := -I@RTAI_DIR@/include |
|
91 endif |
|
92 |
|
93 ec_master-objs += rtdm-ioctl.o |
|
94 CFLAGS_rtdm-ioctl.o := -DEC_IOCTL_RTDM |
|
95 |
|
96 endif # ENABLE_RTDM |
78 |
97 |
79 REV := $(shell if test -s $(src)/../revision; then \ |
98 REV := $(shell if test -s $(src)/../revision; then \ |
80 cat $(src)/../revision; \ |
99 cat $(src)/../revision; \ |
81 else \ |
100 else \ |
82 hg id -i $(src)/.. 2>/dev/null || echo "unknown"; \ |
101 hg id -i $(src)/.. 2>/dev/null || echo "unknown"; \ |