cleanup includes
We now produce a local libssh2_config.h file in this dir for the examples to use so I cleaned up the include path at the same time.
This commit is contained in:
parent
e3d8c1cfed
commit
7f27b0822d
@ -1,5 +1,7 @@
|
|||||||
AUTOMAKE_OPTIONS = foreign nostdinc
|
AUTOMAKE_OPTIONS = foreign nostdinc
|
||||||
|
|
||||||
|
EXTRA_DIST = libssh2_config.h.in
|
||||||
|
|
||||||
# samples
|
# samples
|
||||||
noinst_PROGRAMS = direct_tcpip ssh2 \
|
noinst_PROGRAMS = direct_tcpip ssh2 \
|
||||||
scp scp_nonblock \
|
scp scp_nonblock \
|
||||||
@ -10,7 +12,5 @@ noinst_PROGRAMS = direct_tcpip ssh2 \
|
|||||||
sftp_RW_nonblock \
|
sftp_RW_nonblock \
|
||||||
sftpdir sftpdir_nonblock ssh2_exec ssh2_agent
|
sftpdir sftpdir_nonblock ssh2_exec ssh2_agent
|
||||||
|
|
||||||
# the examples need the $(top_builddir)/src since when building outside of the
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||||
# source dir they still need to reach the libssh2_config.h header
|
|
||||||
AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/include -I$(top_builddir)/src
|
|
||||||
LDADD = $(top_builddir)/src/libssh2.la
|
LDADD = $(top_builddir)/src/libssh2.la
|
||||||
|
Loading…
x
Reference in New Issue
Block a user