builddir and srcdir, tbc.
This commit is contained in:
parent
919eac507b
commit
50c8c0b45b
|
|
@ -29,7 +29,7 @@ AM_CFLAGS = -Wall
|
|||
noinst_PROGRAMS = ec_user_example
|
||||
|
||||
ec_user_example_SOURCES = main.c
|
||||
ec_user_example_CFLAGS = -I$(srcdir)/../../include
|
||||
ec_user_example_LDFLAGS = -L$(srcdir)/../../lib/.libs -lethercat
|
||||
ec_user_example_CFLAGS = -I$(top_srcdir)/include
|
||||
ec_user_example_LDFLAGS = -L$(top_builddir)/lib/.libs -lethercat
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -83,12 +83,12 @@ noinst_HEADERS = \
|
|||
SdoCommand.h \
|
||||
sii_crc.h
|
||||
|
||||
REV = `if test -s $(srcdir)/../svnrevision; then \
|
||||
cat $(srcdir)/../svnrevision; \
|
||||
REV = `if test -s $(top_srcdir)/svnrevision; then \
|
||||
cat $(top_srcdir)/svnrevision; \
|
||||
else \
|
||||
svnversion $(srcdir)/.. 2>/dev/null || echo "unknown"; \
|
||||
fi`
|
||||
|
||||
ethercat_CXXFLAGS = -I../master -Wall -DSVNREV=$(REV)
|
||||
ethercat_CXXFLAGS = -I$(top_srcdir)/master -Wall -DSVNREV=$(REV)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue