lib/Makefile.am
branchstable-1.5
changeset 2433 3bdd7a747fae
parent 2425 6a6dec6fc806
child 2443 2c3ccdde3919
equal deleted inserted replaced
2432:f4313f5aba88 2433:3bdd7a747fae
     1 #------------------------------------------------------------------------------
     1 #------------------------------------------------------------------------------
     2 #
     2 #
     3 #  $Id$
     3 #  $Id$
     4 #
     4 #
     5 #  Copyright (C) 2006-2009  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 userspace library.
     7 #  This file is part of the IgH EtherCAT master userspace library.
     8 #
     8 #
     9 #  The IgH EtherCAT master userspace library is free software; you can
     9 #  The IgH EtherCAT master userspace library is free software; you can
    10 #  redistribute it and/or modify it under the terms of the GNU Lesser General
    10 #  redistribute it and/or modify it under the terms of the GNU Lesser General
    30 
    30 
    31 lib_LTLIBRARIES = libethercat.la
    31 lib_LTLIBRARIES = libethercat.la
    32 
    32 
    33 #------------------------------------------------------------------------------
    33 #------------------------------------------------------------------------------
    34 
    34 
    35 libethercat_la_CFLAGS = -I$(srcdir)/.. -fno-strict-aliasing -Wall
       
    36 libethercat_la_LDFLAGS = -version-info 1:0:0
       
    37 libethercat_la_SOURCES = \
    35 libethercat_la_SOURCES = \
    38 	common.c \
    36 	common.c \
    39 	domain.c \
    37 	domain.c \
    40 	master.c \
    38 	master.c \
    41 	sdo_request.c \
    39 	sdo_request.c \
    47 	master.h \
    45 	master.h \
    48 	sdo_request.h \
    46 	sdo_request.h \
    49 	slave_config.h \
    47 	slave_config.h \
    50 	voe_handler.h
    48 	voe_handler.h
    51 
    49 
       
    50 libethercat_la_CFLAGS = -fno-strict-aliasing -Wall
       
    51 libethercat_la_LDFLAGS = -version-info 1:0:0
       
    52 
    52 #------------------------------------------------------------------------------
    53 #------------------------------------------------------------------------------
       
    54 
       
    55 if ENABLE_RTDM
       
    56 
       
    57 lib_LTLIBRARIES += libethercat_rtdm.la
       
    58 
       
    59 libethercat_rtdm_la_SOURCES = $(libethercat_la_SOURCES)
       
    60 libethercat_rtdm_la_CFLAGS = $(libethercat_la_CFLAGS) -DUSE_RTDM
       
    61 libethercat_rtdm_la_LDFLAGS = $(libethercat_la_LDFLAGS)
       
    62 
       
    63 if ENABLE_XENOMAI
       
    64 libethercat_rtdm_la_CFLAGS += $(XENOMAI_RTDM_CFLAGS)
       
    65 libethercat_rtdm_la_LDFLAGS += $(XENOMAI_RTDM_LDFLAGS)
       
    66 endif
       
    67 
       
    68 if ENABLE_RTAI
       
    69 libethercat_rtdm_la_CFLAGS += $(RTAI_LXRT_CFLAGS)
       
    70 libethercat_rtdm_la_LDFLAGS += $(RTAI_LXRT_LDFLAGS)
       
    71 endif
       
    72 
       
    73 endif
       
    74 
       
    75 #------------------------------------------------------------------------------