fp@1242: #------------------------------------------------------------------------------ fp@1242: # fp@1326: # $Id$ fp@2589: # fp@2589: # Copyright (C) 2006-2012 Florian Pose, Ingenieurgemeinschaft IgH fp@2589: # fp@1326: # This file is part of the IgH EtherCAT master userspace library. fp@2589: # fp@1326: # The IgH EtherCAT master userspace library is free software; you can fp@1326: # redistribute it and/or modify it under the terms of the GNU Lesser General fp@1326: # Public License as published by the Free Software Foundation; version 2.1 of fp@1326: # the License. fp@2589: # fp@1326: # The IgH EtherCAT master userspace library is distributed in the hope that fp@1326: # it will be useful, but WITHOUT ANY WARRANTY; without even the implied fp@1326: # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the fp@1326: # GNU Lesser General Public License for more details. fp@2589: # fp@1326: # You should have received a copy of the GNU Lesser General Public License fp@1326: # along with the IgH EtherCAT master userspace library. If not, see fp@1326: # . fp@2589: # fp@1363: # --- fp@1363: # fp@1363: # The license mentioned above concerns the source code only. Using the fp@1363: # EtherCAT technology and brand is only permitted in compliance with the fp@1326: # industrial property and similar rights of Beckhoff Automation GmbH. fp@1242: # fp@1242: #------------------------------------------------------------------------------ fp@1242: fp@1242: lib_LTLIBRARIES = libethercat.la fp@1242: fp@1242: #------------------------------------------------------------------------------ fp@1242: fp@1242: libethercat_la_SOURCES = \ fp@1244: common.c \ fp@1255: domain.c \ fp@1255: master.c \ fp@2589: reg_request.c \ fp@1352: sdo_request.c \ fp@1264: slave_config.c \ fp@1264: voe_handler.c fp@1244: fp@1244: noinst_HEADERS = \ fp@1244: domain.h \ fp@2589: ioctl.h \ fp@1246: master.h \ fp@2589: reg_request.h \ fp@1352: sdo_request.h \ fp@1264: slave_config.h \ fp@1264: voe_handler.h fp@1242: pw@2679: libethercat_la_CFLAGS = -fno-strict-aliasing -Wall -I$(top_srcdir) fp@2589: libethercat_la_LDFLAGS = -version-info 1:0:0 fp@2589: fp@1242: #------------------------------------------------------------------------------ fp@2589: fp@2589: if ENABLE_RTDM fp@2589: fp@2589: lib_LTLIBRARIES += libethercat_rtdm.la fp@2589: fp@2589: libethercat_rtdm_la_SOURCES = $(libethercat_la_SOURCES) fp@2589: libethercat_rtdm_la_CFLAGS = $(libethercat_la_CFLAGS) -DUSE_RTDM fp@2589: libethercat_rtdm_la_LDFLAGS = $(libethercat_la_LDFLAGS) fp@2589: fp@2589: if ENABLE_XENOMAI fp@2589: libethercat_rtdm_la_CFLAGS += $(XENOMAI_RTDM_CFLAGS) fp@2589: libethercat_rtdm_la_LDFLAGS += $(XENOMAI_RTDM_LDFLAGS) fp@2589: endif fp@2589: fp@2589: if ENABLE_RTAI fp@2589: libethercat_rtdm_la_CFLAGS += $(RTAI_LXRT_CFLAGS) fp@2589: libethercat_rtdm_la_LDFLAGS += $(RTAI_LXRT_LDFLAGS) fp@2589: endif fp@2589: fp@2589: endif fp@2589: fp@2589: #------------------------------------------------------------------------------