tool/Makefile.am
changeset 1516 e3b09f847512
parent 1514 85ac1c91045d
child 1528 dbc617badc33
equal deleted inserted replaced
1515:e722e0ac5d28 1516:e3b09f847512
    25 #  EtherCAT technology and brand is only permitted in compliance with the
    25 #  EtherCAT technology and brand is only permitted in compliance with the
    26 #  industrial property and similar rights of Beckhoff Automation GmbH.
    26 #  industrial property and similar rights of Beckhoff Automation GmbH.
    27 #
    27 #
    28 #  ---
    28 #  ---
    29 #
    29 #
    30 #  vim: syntax=make
    30 #  vim: syntax=automake
    31 #
    31 #
    32 #------------------------------------------------------------------------------
    32 #------------------------------------------------------------------------------
       
    33 
       
    34 EXTRA_DIST =
    33 
    35 
    34 bin_PROGRAMS = ethercat
    36 bin_PROGRAMS = ethercat
    35 
    37 
    36 ethercat_SOURCES = \
    38 ethercat_SOURCES = \
    37 	Command.cpp \
    39 	Command.cpp \
    40 	CommandCStruct.cpp \
    42 	CommandCStruct.cpp \
    41 	CommandData.cpp \
    43 	CommandData.cpp \
    42 	CommandDebug.cpp \
    44 	CommandDebug.cpp \
    43 	CommandDomains.cpp \
    45 	CommandDomains.cpp \
    44 	CommandDownload.cpp \
    46 	CommandDownload.cpp \
    45 	CommandEoe.cpp \
       
    46 	CommandFoeRead.cpp \
    47 	CommandFoeRead.cpp \
    47 	CommandFoeWrite.cpp \
    48 	CommandFoeWrite.cpp \
    48 	CommandGraph.cpp \
    49 	CommandGraph.cpp \
    49 	CommandMaster.cpp \
    50 	CommandMaster.cpp \
    50 	CommandPdos.cpp \
    51 	CommandPdos.cpp \
    63 	MasterDevice.cpp \
    64 	MasterDevice.cpp \
    64 	SdoCommand.cpp \
    65 	SdoCommand.cpp \
    65 	main.cpp \
    66 	main.cpp \
    66 	sii_crc.cpp
    67 	sii_crc.cpp
    67 
    68 
       
    69 if ENABLE_EOE
       
    70 ethercat_SOURCES += CommandEoe.cpp
       
    71 else
       
    72 EXTRA_DIST += CommandEoe.cpp
       
    73 endif
       
    74 
    68 noinst_HEADERS = \
    75 noinst_HEADERS = \
    69 	Command.h \
    76 	Command.h \
    70 	CommandAlias.h \
    77 	CommandAlias.h \
    71 	CommandConfig.h \
    78 	CommandConfig.h \
    72 	CommandCStruct.h \
    79 	CommandCStruct.h \
    73 	CommandData.h \
    80 	CommandData.h \
    74 	CommandDebug.h \
    81 	CommandDebug.h \
    75 	CommandDomains.h \
    82 	CommandDomains.h \
    76 	CommandDownload.h \
    83 	CommandDownload.h \
    77 	CommandEoe.h \
       
    78 	CommandFoeRead.h \
    84 	CommandFoeRead.h \
    79 	CommandFoeWrite.h \
    85 	CommandFoeWrite.h \
    80 	CommandGraph.h \
    86 	CommandGraph.h \
    81 	CommandMaster.h \
    87 	CommandMaster.h \
    82 	CommandPdos.h \
    88 	CommandPdos.h \
    94 	FoeCommand.h \
   100 	FoeCommand.h \
    95 	MasterDevice.h \
   101 	MasterDevice.h \
    96 	SdoCommand.h \
   102 	SdoCommand.h \
    97 	sii_crc.h
   103 	sii_crc.h
    98 
   104 
       
   105 if ENABLE_EOE
       
   106 noinst_HEADERS += CommandEoe.h
       
   107 else
       
   108 EXTRA_DIST += CommandEoe.h
       
   109 endif
       
   110 
    99 REV = `if test -s $(top_srcdir)/svnrevision; then \
   111 REV = `if test -s $(top_srcdir)/svnrevision; then \
   100 		cat $(top_srcdir)/svnrevision; \
   112 		cat $(top_srcdir)/svnrevision; \
   101 	else \
   113 	else \
   102 		svnversion $(srcdir)/.. 2>/dev/null || echo "unknown"; \
   114 		svnversion $(srcdir)/.. 2>/dev/null || echo "unknown"; \
   103 	fi`
   115 	fi`