d48d7c3a87
Despite we announced the CMake support in libssh2-1.6.0 release notes, the files required by the CMake build system were not included in the release tarballs. Hence, the only way to use CMake for build was the upstream git repository. This commit makes CMake actually supported in the release tarballs.
22 lines
578 B
Makefile
22 lines
578 B
Makefile
AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/include -I$(top_builddir)/src
|
|
LDADD = ../src/libssh2.la
|
|
|
|
if SSHD
|
|
noinst_PROGRAMS = ssh2
|
|
ssh2_SOURCES = ssh2.c
|
|
endif
|
|
|
|
ctests = simple$(EXEEXT)
|
|
TESTS = $(ctests) mansyntax.sh
|
|
if SSHD
|
|
TESTS += ssh2.sh
|
|
endif
|
|
check_PROGRAMS = $(ctests)
|
|
|
|
TESTS_ENVIRONMENT = SSHD=$(SSHD) EXEEXT=$(EXEEXT)
|
|
TESTS_ENVIRONMENT += srcdir=$(top_srcdir)/tests builddir=$(top_builddir)/tests
|
|
|
|
EXTRA_DIST = ssh2.sh mansyntax.sh
|
|
EXTRA_DIST += etc/host etc/host.pub etc/user etc/user.pub
|
|
EXTRA_DIST += CMakeLists.txt libssh2_config_cmake.h.in sshd_fixture.sh.in
|