tool/Makefile.am
changeset 1354 e2fb03ca54ef
parent 1335 09c6fce1ae45
child 1363 11c0b2caa253
equal deleted inserted replaced
1353:22b1de4c74e4 1354:e2fb03ca54ef
    81 	FoeCommand.h \
    81 	FoeCommand.h \
    82 	MasterDevice.h \
    82 	MasterDevice.h \
    83 	SdoCommand.h \
    83 	SdoCommand.h \
    84 	sii_crc.h
    84 	sii_crc.h
    85 
    85 
    86 REV = `if test -s $(srcdir)/../svnrevision; then \
    86 REV = `if test -s $(top_srcdir)/svnrevision; then \
    87 		cat $(srcdir)/../svnrevision; \
    87 		cat $(top_srcdir)/svnrevision; \
    88 	else \
    88 	else \
    89 		svnversion $(srcdir)/.. 2>/dev/null || echo "unknown"; \
    89 		svnversion $(srcdir)/.. 2>/dev/null || echo "unknown"; \
    90 	fi`
    90 	fi`
    91 
    91 
    92 ethercat_CXXFLAGS = -I../master -Wall -DSVNREV=$(REV)
    92 ethercat_CXXFLAGS = -I$(top_srcdir)/master -Wall -DSVNREV=$(REV)
    93 
    93 
    94 #------------------------------------------------------------------------------
    94 #------------------------------------------------------------------------------