Makefile.in 34 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079
  1. # Makefile.in generated by automake 1.16.4 from Makefile.am.
  2. # @configure_input@
  3. # Copyright (C) 1994-2021 Free Software Foundation, Inc.
  4. # This Makefile.in is free software; the Free Software Foundation
  5. # gives unlimited permission to copy and/or distribute it,
  6. # with or without modifications, as long as this notice is preserved.
  7. # This program is distributed in the hope that it will be useful,
  8. # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  9. # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  10. # PARTICULAR PURPOSE.
  11. @SET_MAKE@
  12. VPATH = @srcdir@
  13. am__is_gnu_make = { \
  14. if test -z '$(MAKELEVEL)'; then \
  15. false; \
  16. elif test -n '$(MAKE_HOST)'; then \
  17. true; \
  18. elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
  19. true; \
  20. else \
  21. false; \
  22. fi; \
  23. }
  24. am__make_running_with_option = \
  25. case $${target_option-} in \
  26. ?) ;; \
  27. *) echo "am__make_running_with_option: internal error: invalid" \
  28. "target option '$${target_option-}' specified" >&2; \
  29. exit 1;; \
  30. esac; \
  31. has_opt=no; \
  32. sane_makeflags=$$MAKEFLAGS; \
  33. if $(am__is_gnu_make); then \
  34. sane_makeflags=$$MFLAGS; \
  35. else \
  36. case $$MAKEFLAGS in \
  37. *\\[\ \ ]*) \
  38. bs=\\; \
  39. sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  40. | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  41. esac; \
  42. fi; \
  43. skip_next=no; \
  44. strip_trailopt () \
  45. { \
  46. flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  47. }; \
  48. for flg in $$sane_makeflags; do \
  49. test $$skip_next = yes && { skip_next=no; continue; }; \
  50. case $$flg in \
  51. *=*|--*) continue;; \
  52. -*I) strip_trailopt 'I'; skip_next=yes;; \
  53. -*I?*) strip_trailopt 'I';; \
  54. -*O) strip_trailopt 'O'; skip_next=yes;; \
  55. -*O?*) strip_trailopt 'O';; \
  56. -*l) strip_trailopt 'l'; skip_next=yes;; \
  57. -*l?*) strip_trailopt 'l';; \
  58. -[dEDm]) skip_next=yes;; \
  59. -[JT]) skip_next=yes;; \
  60. esac; \
  61. case $$flg in \
  62. *$$target_option*) has_opt=yes; break;; \
  63. esac; \
  64. done; \
  65. test $$has_opt = yes
  66. am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  67. am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  68. pkgdatadir = $(datadir)/@PACKAGE@
  69. pkgincludedir = $(includedir)/@PACKAGE@
  70. pkglibdir = $(libdir)/@PACKAGE@
  71. pkglibexecdir = $(libexecdir)/@PACKAGE@
  72. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  73. install_sh_DATA = $(install_sh) -c -m 644
  74. install_sh_PROGRAM = $(install_sh) -c
  75. install_sh_SCRIPT = $(install_sh) -c
  76. INSTALL_HEADER = $(INSTALL_DATA)
  77. transform = $(program_transform_name)
  78. NORMAL_INSTALL = :
  79. PRE_INSTALL = :
  80. POST_INSTALL = :
  81. NORMAL_UNINSTALL = :
  82. PRE_UNINSTALL = :
  83. POST_UNINSTALL = :
  84. build_triplet = @build@
  85. host_triplet = @host@
  86. @BUILD_EXAMPLES_TRUE@am__append_1 = example
  87. subdir = .
  88. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  89. am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
  90. $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
  91. $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
  92. $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  93. $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  94. $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
  95. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  96. $(ACLOCAL_M4)
  97. DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
  98. $(am__configure_deps) $(include_HEADERS) $(am__DIST_COMMON)
  99. am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
  100. configure.lineno config.status.lineno
  101. mkinstalldirs = $(install_sh) -d
  102. CONFIG_HEADER = $(top_builddir)/src/libssh2_config.h
  103. CONFIG_CLEAN_FILES = libssh2.pc
  104. CONFIG_CLEAN_VPATH_FILES =
  105. AM_V_P = $(am__v_P_@AM_V@)
  106. am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  107. am__v_P_0 = false
  108. am__v_P_1 = :
  109. AM_V_GEN = $(am__v_GEN_@AM_V@)
  110. am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  111. am__v_GEN_0 = @echo " GEN " $@;
  112. am__v_GEN_1 =
  113. AM_V_at = $(am__v_at_@AM_V@)
  114. am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  115. am__v_at_0 = @
  116. am__v_at_1 =
  117. SOURCES =
  118. DIST_SOURCES =
  119. RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
  120. ctags-recursive dvi-recursive html-recursive info-recursive \
  121. install-data-recursive install-dvi-recursive \
  122. install-exec-recursive install-html-recursive \
  123. install-info-recursive install-pdf-recursive \
  124. install-ps-recursive install-recursive installcheck-recursive \
  125. installdirs-recursive pdf-recursive ps-recursive \
  126. tags-recursive uninstall-recursive
  127. am__can_run_installinfo = \
  128. case $$AM_UPDATE_INFO_DIR in \
  129. n|no|NO) false;; \
  130. *) (install-info --version) >/dev/null 2>&1;; \
  131. esac
  132. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  133. am__vpath_adj = case $$p in \
  134. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  135. *) f=$$p;; \
  136. esac;
  137. am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  138. am__install_max = 40
  139. am__nobase_strip_setup = \
  140. srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  141. am__nobase_strip = \
  142. for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  143. am__nobase_list = $(am__nobase_strip_setup); \
  144. for p in $$list; do echo "$$p $$p"; done | \
  145. sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  146. $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  147. if (++n[$$2] == $(am__install_max)) \
  148. { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  149. END { for (dir in files) print dir, files[dir] }'
  150. am__base_list = \
  151. sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  152. sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  153. am__uninstall_files_from_dir = { \
  154. test -z "$$files" \
  155. || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
  156. || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
  157. $(am__cd) "$$dir" && rm -f $$files; }; \
  158. }
  159. am__installdirs = "$(DESTDIR)$(pkgconfigdir)" \
  160. "$(DESTDIR)$(includedir)"
  161. DATA = $(pkgconfig_DATA)
  162. HEADERS = $(include_HEADERS)
  163. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  164. distclean-recursive maintainer-clean-recursive
  165. am__recursive_targets = \
  166. $(RECURSIVE_TARGETS) \
  167. $(RECURSIVE_CLEAN_TARGETS) \
  168. $(am__extra_recursive_targets)
  169. AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
  170. cscope distdir distdir-am dist dist-all distcheck
  171. am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  172. # Read a list of newline-separated strings from the standard input,
  173. # and print each of them once, without duplicates. Input order is
  174. # *not* preserved.
  175. am__uniquify_input = $(AWK) '\
  176. BEGIN { nonempty = 0; } \
  177. { items[$$0] = 1; nonempty = 1; } \
  178. END { if (nonempty) { for (i in items) print i; }; } \
  179. '
  180. # Make sure the list of sources is unique. This is necessary because,
  181. # e.g., the same source file might be shared among _SOURCES variables
  182. # for different programs/libraries.
  183. am__define_uniq_tagged_files = \
  184. list='$(am__tagged_files)'; \
  185. unique=`for i in $$list; do \
  186. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  187. done | $(am__uniquify_input)`
  188. DIST_SUBDIRS = src tests docs example
  189. am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.inc \
  190. $(srcdir)/libssh2.pc.in COPYING ChangeLog NEWS README compile \
  191. config.guess config.rpath config.sub depcomp install-sh \
  192. ltmain.sh missing
  193. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  194. distdir = $(PACKAGE)-$(VERSION)
  195. top_distdir = $(distdir)
  196. am__remove_distdir = \
  197. if test -d "$(distdir)"; then \
  198. find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
  199. && rm -rf "$(distdir)" \
  200. || { sleep 5 && rm -rf "$(distdir)"; }; \
  201. else :; fi
  202. am__post_remove_distdir = $(am__remove_distdir)
  203. am__relativize = \
  204. dir0=`pwd`; \
  205. sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  206. sed_rest='s,^[^/]*/*,,'; \
  207. sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  208. sed_butlast='s,/*[^/]*$$,,'; \
  209. while test -n "$$dir1"; do \
  210. first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  211. if test "$$first" != "."; then \
  212. if test "$$first" = ".."; then \
  213. dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  214. dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  215. else \
  216. first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  217. if test "$$first2" = "$$first"; then \
  218. dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  219. else \
  220. dir2="../$$dir2"; \
  221. fi; \
  222. dir0="$$dir0"/"$$first"; \
  223. fi; \
  224. fi; \
  225. dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  226. done; \
  227. reldir="$$dir2"
  228. DIST_ARCHIVES = $(distdir).tar.gz
  229. GZIP_ENV = --best
  230. DIST_TARGETS = dist-gzip
  231. # Exists only to be overridden by the user if desired.
  232. AM_DISTCHECK_DVI_TARGET = dvi
  233. distuninstallcheck_listfiles = find . -type f -print
  234. am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
  235. | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
  236. distcleancheck_listfiles = find . -type f -print
  237. ACLOCAL = @ACLOCAL@
  238. ALLOCA = @ALLOCA@
  239. AMTAR = @AMTAR@
  240. AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  241. AR = @AR@
  242. AS = @AS@
  243. AUTOCONF = @AUTOCONF@
  244. AUTOHEADER = @AUTOHEADER@
  245. AUTOMAKE = @AUTOMAKE@
  246. AWK = @AWK@
  247. CC = @CC@
  248. CCDEPMODE = @CCDEPMODE@
  249. CFLAGS = @CFLAGS@
  250. CPP = @CPP@
  251. CPPFLAGS = @CPPFLAGS@
  252. CSCOPE = @CSCOPE@
  253. CTAGS = @CTAGS@
  254. CXX = @CXX@
  255. CXXCPP = @CXXCPP@
  256. CXXDEPMODE = @CXXDEPMODE@
  257. CXXFLAGS = @CXXFLAGS@
  258. CYGPATH_W = @CYGPATH_W@
  259. DEFS = @DEFS@
  260. DEPDIR = @DEPDIR@
  261. DLLTOOL = @DLLTOOL@
  262. DSYMUTIL = @DSYMUTIL@
  263. DUMPBIN = @DUMPBIN@
  264. ECHO_C = @ECHO_C@
  265. ECHO_N = @ECHO_N@
  266. ECHO_T = @ECHO_T@
  267. EGREP = @EGREP@
  268. ETAGS = @ETAGS@
  269. EXEEXT = @EXEEXT@
  270. FGREP = @FGREP@
  271. GREP = @GREP@
  272. HAVE_LIBBCRYPT = @HAVE_LIBBCRYPT@
  273. HAVE_LIBCRYPT32 = @HAVE_LIBCRYPT32@
  274. HAVE_LIBGCRYPT = @HAVE_LIBGCRYPT@
  275. HAVE_LIBMBEDCRYPTO = @HAVE_LIBMBEDCRYPTO@
  276. HAVE_LIBSSL = @HAVE_LIBSSL@
  277. HAVE_LIBZ = @HAVE_LIBZ@
  278. INSTALL = @INSTALL@
  279. INSTALL_DATA = @INSTALL_DATA@
  280. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  281. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  282. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  283. LD = @LD@
  284. LDFLAGS = @LDFLAGS@
  285. LIBBCRYPT = @LIBBCRYPT@
  286. LIBBCRYPT_PREFIX = @LIBBCRYPT_PREFIX@
  287. LIBCRYPT32 = @LIBCRYPT32@
  288. LIBCRYPT32_PREFIX = @LIBCRYPT32_PREFIX@
  289. LIBGCRYPT = @LIBGCRYPT@
  290. LIBGCRYPT_PREFIX = @LIBGCRYPT_PREFIX@
  291. LIBMBEDCRYPTO = @LIBMBEDCRYPTO@
  292. LIBMBEDCRYPTO_PREFIX = @LIBMBEDCRYPTO_PREFIX@
  293. LIBOBJS = @LIBOBJS@
  294. LIBS = @LIBS@
  295. LIBSREQUIRED = @LIBSREQUIRED@
  296. LIBSSH2VER = @LIBSSH2VER@
  297. LIBSSL = @LIBSSL@
  298. LIBSSL_PREFIX = @LIBSSL_PREFIX@
  299. LIBTOOL = @LIBTOOL@
  300. LIBZ = @LIBZ@
  301. LIBZ_PREFIX = @LIBZ_PREFIX@
  302. LIB_FUZZING_ENGINE = @LIB_FUZZING_ENGINE@
  303. LIPO = @LIPO@
  304. LN_S = @LN_S@
  305. LTLIBBCRYPT = @LTLIBBCRYPT@
  306. LTLIBCRYPT32 = @LTLIBCRYPT32@
  307. LTLIBGCRYPT = @LTLIBGCRYPT@
  308. LTLIBMBEDCRYPTO = @LTLIBMBEDCRYPTO@
  309. LTLIBOBJS = @LTLIBOBJS@
  310. LTLIBSSL = @LTLIBSSL@
  311. LTLIBZ = @LTLIBZ@
  312. LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
  313. MAINT = @MAINT@
  314. MAKEINFO = @MAKEINFO@
  315. MANIFEST_TOOL = @MANIFEST_TOOL@
  316. MKDIR_P = @MKDIR_P@
  317. NM = @NM@
  318. NMEDIT = @NMEDIT@
  319. OBJDUMP = @OBJDUMP@
  320. OBJEXT = @OBJEXT@
  321. OTOOL = @OTOOL@
  322. OTOOL64 = @OTOOL64@
  323. PACKAGE = @PACKAGE@
  324. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  325. PACKAGE_NAME = @PACKAGE_NAME@
  326. PACKAGE_STRING = @PACKAGE_STRING@
  327. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  328. PACKAGE_URL = @PACKAGE_URL@
  329. PACKAGE_VERSION = @PACKAGE_VERSION@
  330. PATH_SEPARATOR = @PATH_SEPARATOR@
  331. RANLIB = @RANLIB@
  332. SED = @SED@
  333. SET_MAKE = @SET_MAKE@
  334. SHELL = @SHELL@
  335. SSHD = @SSHD@
  336. STRIP = @STRIP@
  337. VERSION = @VERSION@
  338. abs_builddir = @abs_builddir@
  339. abs_srcdir = @abs_srcdir@
  340. abs_top_builddir = @abs_top_builddir@
  341. abs_top_srcdir = @abs_top_srcdir@
  342. ac_ct_AR = @ac_ct_AR@
  343. ac_ct_CC = @ac_ct_CC@
  344. ac_ct_CXX = @ac_ct_CXX@
  345. ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  346. am__include = @am__include@
  347. am__leading_dot = @am__leading_dot@
  348. am__quote = @am__quote@
  349. am__tar = @am__tar@
  350. am__untar = @am__untar@
  351. bindir = @bindir@
  352. build = @build@
  353. build_alias = @build_alias@
  354. build_cpu = @build_cpu@
  355. build_os = @build_os@
  356. build_vendor = @build_vendor@
  357. builddir = @builddir@
  358. datadir = @datadir@
  359. datarootdir = @datarootdir@
  360. docdir = @docdir@
  361. dvidir = @dvidir@
  362. exec_prefix = @exec_prefix@
  363. host = @host@
  364. host_alias = @host_alias@
  365. host_cpu = @host_cpu@
  366. host_os = @host_os@
  367. host_vendor = @host_vendor@
  368. htmldir = @htmldir@
  369. includedir = @includedir@
  370. infodir = @infodir@
  371. install_sh = @install_sh@
  372. libdir = @libdir@
  373. libexecdir = @libexecdir@
  374. localedir = @localedir@
  375. localstatedir = @localstatedir@
  376. mandir = @mandir@
  377. mkdir_p = @mkdir_p@
  378. oldincludedir = @oldincludedir@
  379. pdfdir = @pdfdir@
  380. prefix = @prefix@
  381. program_transform_name = @program_transform_name@
  382. psdir = @psdir@
  383. runstatedir = @runstatedir@
  384. sbindir = @sbindir@
  385. sharedstatedir = @sharedstatedir@
  386. srcdir = @srcdir@
  387. sysconfdir = @sysconfdir@
  388. target_alias = @target_alias@
  389. top_build_prefix = @top_build_prefix@
  390. top_builddir = @top_builddir@
  391. top_srcdir = @top_srcdir@
  392. AUTOMAKE_OPTIONS = foreign nostdinc
  393. SUBDIRS = src tests docs $(am__append_1)
  394. pkgconfigdir = $(libdir)/pkgconfig
  395. pkgconfig_DATA = libssh2.pc
  396. include_HEADERS = \
  397. include/libssh2.h \
  398. include/libssh2_publickey.h \
  399. include/libssh2_sftp.h
  400. NETWAREFILES = nw/keepscreen.c \
  401. nw/nwlib.c \
  402. nw/GNUmakefile \
  403. nw/test/GNUmakefile
  404. DSP = win32/libssh2.dsp
  405. VCPROJ = win32/libssh2.vcproj
  406. DISTCLEANFILES = $(DSP) ChangeLog
  407. VMSFILES = vms/libssh2_make_example.dcl vms/libssh2_make_help.dcl \
  408. vms/libssh2_make_kit.dcl vms/libssh2_make_lib.dcl vms/man2help.c \
  409. vms/readme.vms vms/libssh2_config.h
  410. WIN32FILES = win32/GNUmakefile win32/test/GNUmakefile \
  411. win32/libssh2_config.h win32/config.mk win32/rules.mk \
  412. win32/Makefile.Watcom win32/libssh2.dsw win32/tests.dsp $(DSP) \
  413. win32/msvcproj.head win32/msvcproj.foot win32/libssh2.rc
  414. OS400FILES = os400/README400 os400/initscript.sh os400/make.sh \
  415. os400/make-src.sh os400/make-rpg.sh os400/make-include.sh \
  416. os400/os400sys.c os400/ccsid.c \
  417. os400/libssh2_config.h os400/macros.h os400/libssh2_ccsid.h \
  418. os400/include/alloca.h os400/include/sys/socket.h os400/include/stdio.h \
  419. os400/libssh2rpg/libssh2.rpgle.in \
  420. os400/libssh2rpg/libssh2_ccsid.rpgle.in \
  421. os400/libssh2rpg/libssh2_publickey.rpgle \
  422. os400/libssh2rpg/libssh2_sftp.rpgle \
  423. Makefile.os400qc3.inc
  424. EXTRA_DIST = $(WIN32FILES) $(NETWAREFILES) get_ver.awk \
  425. maketgz NMakefile RELEASE-NOTES libssh2.pc.in $(VMSFILES) config.rpath \
  426. CMakeLists.txt cmake $(OS400FILES)
  427. ACLOCAL_AMFLAGS = -I m4
  428. # DSP/VCPROJ generation adapted from libcurl
  429. # only OpenSSL and WinCNG are supported with this build system
  430. CRYPTO_CSOURCES = openssl.c wincng.c mbedtls.c
  431. CRYPTO_HHEADERS = openssl.h wincng.h mbedtls.h
  432. CSOURCES = channel.c comp.c crypt.c hostkey.c kex.c mac.c misc.c \
  433. packet.c publickey.c scp.c session.c sftp.c userauth.c transport.c \
  434. version.c knownhost.c agent.c $(CRYPTO_CSOURCES) pem.c keepalive.c global.c \
  435. blowfish.c bcrypt_pbkdf.c agent_win.c
  436. HHEADERS = libssh2_priv.h $(CRYPTO_HHEADERS) transport.h channel.h comp.h \
  437. mac.h misc.h packet.h userauth.h session.h sftp.h crypto.h blf.h agent.h
  438. # Makefile.inc provides the CSOURCES and HHEADERS defines
  439. WIN32SOURCES = $(CSOURCES)
  440. WIN32HEADERS = $(HHEADERS) libssh2_config.h
  441. all: all-recursive
  442. .SUFFIXES:
  443. am--refresh: Makefile
  444. @:
  445. $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/Makefile.inc $(am__configure_deps)
  446. @for dep in $?; do \
  447. case '$(am__configure_deps)' in \
  448. *$$dep*) \
  449. echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
  450. $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
  451. && exit 0; \
  452. exit 1;; \
  453. esac; \
  454. done; \
  455. echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  456. $(am__cd) $(top_srcdir) && \
  457. $(AUTOMAKE) --foreign Makefile
  458. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  459. @case '$?' in \
  460. *config.status*) \
  461. echo ' $(SHELL) ./config.status'; \
  462. $(SHELL) ./config.status;; \
  463. *) \
  464. echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
  465. cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
  466. esac;
  467. $(srcdir)/Makefile.inc $(am__empty):
  468. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  469. $(SHELL) ./config.status --recheck
  470. $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  471. $(am__cd) $(srcdir) && $(AUTOCONF)
  472. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  473. $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  474. $(am__aclocal_m4_deps):
  475. libssh2.pc: $(top_builddir)/config.status $(srcdir)/libssh2.pc.in
  476. cd $(top_builddir) && $(SHELL) ./config.status $@
  477. mostlyclean-libtool:
  478. -rm -f *.lo
  479. clean-libtool:
  480. -rm -rf .libs _libs
  481. distclean-libtool:
  482. -rm -f libtool config.lt
  483. install-pkgconfigDATA: $(pkgconfig_DATA)
  484. @$(NORMAL_INSTALL)
  485. @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
  486. if test -n "$$list"; then \
  487. echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
  488. $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
  489. fi; \
  490. for p in $$list; do \
  491. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  492. echo "$$d$$p"; \
  493. done | $(am__base_list) | \
  494. while read files; do \
  495. echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
  496. $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
  497. done
  498. uninstall-pkgconfigDATA:
  499. @$(NORMAL_UNINSTALL)
  500. @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
  501. files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  502. dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
  503. install-includeHEADERS: $(include_HEADERS)
  504. @$(NORMAL_INSTALL)
  505. @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
  506. if test -n "$$list"; then \
  507. echo " $(MKDIR_P) '$(DESTDIR)$(includedir)'"; \
  508. $(MKDIR_P) "$(DESTDIR)$(includedir)" || exit 1; \
  509. fi; \
  510. for p in $$list; do \
  511. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  512. echo "$$d$$p"; \
  513. done | $(am__base_list) | \
  514. while read files; do \
  515. echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
  516. $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
  517. done
  518. uninstall-includeHEADERS:
  519. @$(NORMAL_UNINSTALL)
  520. @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
  521. files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  522. dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir)
  523. # This directory's subdirectories are mostly independent; you can cd
  524. # into them and run 'make' without going through this Makefile.
  525. # To change the values of 'make' variables: instead of editing Makefiles,
  526. # (1) if the variable is set in 'config.status', edit 'config.status'
  527. # (which will cause the Makefiles to be regenerated when you run 'make');
  528. # (2) otherwise, pass the desired values on the 'make' command line.
  529. $(am__recursive_targets):
  530. @fail=; \
  531. if $(am__make_keepgoing); then \
  532. failcom='fail=yes'; \
  533. else \
  534. failcom='exit 1'; \
  535. fi; \
  536. dot_seen=no; \
  537. target=`echo $@ | sed s/-recursive//`; \
  538. case "$@" in \
  539. distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  540. *) list='$(SUBDIRS)' ;; \
  541. esac; \
  542. for subdir in $$list; do \
  543. echo "Making $$target in $$subdir"; \
  544. if test "$$subdir" = "."; then \
  545. dot_seen=yes; \
  546. local_target="$$target-am"; \
  547. else \
  548. local_target="$$target"; \
  549. fi; \
  550. ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  551. || eval $$failcom; \
  552. done; \
  553. if test "$$dot_seen" = "no"; then \
  554. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  555. fi; test -z "$$fail"
  556. ID: $(am__tagged_files)
  557. $(am__define_uniq_tagged_files); mkid -fID $$unique
  558. tags: tags-recursive
  559. TAGS: tags
  560. tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  561. set x; \
  562. here=`pwd`; \
  563. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  564. include_option=--etags-include; \
  565. empty_fix=.; \
  566. else \
  567. include_option=--include; \
  568. empty_fix=; \
  569. fi; \
  570. list='$(SUBDIRS)'; for subdir in $$list; do \
  571. if test "$$subdir" = .; then :; else \
  572. test ! -f $$subdir/TAGS || \
  573. set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  574. fi; \
  575. done; \
  576. $(am__define_uniq_tagged_files); \
  577. shift; \
  578. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  579. test -n "$$unique" || unique=$$empty_fix; \
  580. if test $$# -gt 0; then \
  581. $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  582. "$$@" $$unique; \
  583. else \
  584. $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  585. $$unique; \
  586. fi; \
  587. fi
  588. ctags: ctags-recursive
  589. CTAGS: ctags
  590. ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  591. $(am__define_uniq_tagged_files); \
  592. test -z "$(CTAGS_ARGS)$$unique" \
  593. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  594. $$unique
  595. GTAGS:
  596. here=`$(am__cd) $(top_builddir) && pwd` \
  597. && $(am__cd) $(top_srcdir) \
  598. && gtags -i $(GTAGS_ARGS) "$$here"
  599. cscope: cscope.files
  600. test ! -s cscope.files \
  601. || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
  602. clean-cscope:
  603. -rm -f cscope.files
  604. cscope.files: clean-cscope cscopelist
  605. cscopelist: cscopelist-recursive
  606. cscopelist-am: $(am__tagged_files)
  607. list='$(am__tagged_files)'; \
  608. case "$(srcdir)" in \
  609. [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  610. *) sdir=$(subdir)/$(srcdir) ;; \
  611. esac; \
  612. for i in $$list; do \
  613. if test -f "$$i"; then \
  614. echo "$(subdir)/$$i"; \
  615. else \
  616. echo "$$sdir/$$i"; \
  617. fi; \
  618. done >> $(top_builddir)/cscope.files
  619. distclean-tags:
  620. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  621. -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
  622. distdir: $(BUILT_SOURCES)
  623. $(MAKE) $(AM_MAKEFLAGS) distdir-am
  624. distdir-am: $(DISTFILES)
  625. $(am__remove_distdir)
  626. test -d "$(distdir)" || mkdir "$(distdir)"
  627. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  628. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  629. list='$(DISTFILES)'; \
  630. dist_files=`for file in $$list; do echo $$file; done | \
  631. sed -e "s|^$$srcdirstrip/||;t" \
  632. -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  633. case $$dist_files in \
  634. */*) $(MKDIR_P) `echo "$$dist_files" | \
  635. sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  636. sort -u` ;; \
  637. esac; \
  638. for file in $$dist_files; do \
  639. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  640. if test -d $$d/$$file; then \
  641. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  642. if test -d "$(distdir)/$$file"; then \
  643. find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  644. fi; \
  645. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  646. cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  647. find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  648. fi; \
  649. cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  650. else \
  651. test -f "$(distdir)/$$file" \
  652. || cp -p $$d/$$file "$(distdir)/$$file" \
  653. || exit 1; \
  654. fi; \
  655. done
  656. @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  657. if test "$$subdir" = .; then :; else \
  658. $(am__make_dryrun) \
  659. || test -d "$(distdir)/$$subdir" \
  660. || $(MKDIR_P) "$(distdir)/$$subdir" \
  661. || exit 1; \
  662. dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  663. $(am__relativize); \
  664. new_distdir=$$reldir; \
  665. dir1=$$subdir; dir2="$(top_distdir)"; \
  666. $(am__relativize); \
  667. new_top_distdir=$$reldir; \
  668. echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  669. echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  670. ($(am__cd) $$subdir && \
  671. $(MAKE) $(AM_MAKEFLAGS) \
  672. top_distdir="$$new_top_distdir" \
  673. distdir="$$new_distdir" \
  674. am__remove_distdir=: \
  675. am__skip_length_check=: \
  676. am__skip_mode_fix=: \
  677. distdir) \
  678. || exit 1; \
  679. fi; \
  680. done
  681. $(MAKE) $(AM_MAKEFLAGS) \
  682. top_distdir="$(top_distdir)" distdir="$(distdir)" \
  683. dist-hook
  684. -test -n "$(am__skip_mode_fix)" \
  685. || find "$(distdir)" -type d ! -perm -755 \
  686. -exec chmod u+rwx,go+rx {} \; -o \
  687. ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  688. ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  689. ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
  690. || chmod -R a+r "$(distdir)"
  691. dist-gzip: distdir
  692. tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
  693. $(am__post_remove_distdir)
  694. dist-bzip2: distdir
  695. tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
  696. $(am__post_remove_distdir)
  697. dist-lzip: distdir
  698. tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
  699. $(am__post_remove_distdir)
  700. dist-xz: distdir
  701. tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
  702. $(am__post_remove_distdir)
  703. dist-zstd: distdir
  704. tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
  705. $(am__post_remove_distdir)
  706. dist-tarZ: distdir
  707. @echo WARNING: "Support for distribution archives compressed with" \
  708. "legacy program 'compress' is deprecated." >&2
  709. @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
  710. tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  711. $(am__post_remove_distdir)
  712. dist-shar: distdir
  713. @echo WARNING: "Support for shar distribution archives is" \
  714. "deprecated." >&2
  715. @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
  716. shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
  717. $(am__post_remove_distdir)
  718. dist-zip: distdir
  719. -rm -f $(distdir).zip
  720. zip -rq $(distdir).zip $(distdir)
  721. $(am__post_remove_distdir)
  722. dist dist-all:
  723. $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
  724. $(am__post_remove_distdir)
  725. # This target untars the dist file and tries a VPATH configuration. Then
  726. # it guarantees that the distribution is self-contained by making another
  727. # tarfile.
  728. distcheck: dist
  729. case '$(DIST_ARCHIVES)' in \
  730. *.tar.gz*) \
  731. eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
  732. *.tar.bz2*) \
  733. bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
  734. *.tar.lz*) \
  735. lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
  736. *.tar.xz*) \
  737. xz -dc $(distdir).tar.xz | $(am__untar) ;;\
  738. *.tar.Z*) \
  739. uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
  740. *.shar.gz*) \
  741. eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
  742. *.zip*) \
  743. unzip $(distdir).zip ;;\
  744. *.tar.zst*) \
  745. zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
  746. esac
  747. chmod -R a-w $(distdir)
  748. chmod u+w $(distdir)
  749. mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
  750. chmod a-w $(distdir)
  751. test -d $(distdir)/_build || exit 0; \
  752. dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  753. && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
  754. && am__cwd=`pwd` \
  755. && $(am__cd) $(distdir)/_build/sub \
  756. && ../../configure \
  757. $(AM_DISTCHECK_CONFIGURE_FLAGS) \
  758. $(DISTCHECK_CONFIGURE_FLAGS) \
  759. --srcdir=../.. --prefix="$$dc_install_base" \
  760. && $(MAKE) $(AM_MAKEFLAGS) \
  761. && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
  762. && $(MAKE) $(AM_MAKEFLAGS) check \
  763. && $(MAKE) $(AM_MAKEFLAGS) install \
  764. && $(MAKE) $(AM_MAKEFLAGS) installcheck \
  765. && $(MAKE) $(AM_MAKEFLAGS) uninstall \
  766. && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
  767. distuninstallcheck \
  768. && chmod -R a-w "$$dc_install_base" \
  769. && ({ \
  770. (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
  771. && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
  772. && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
  773. && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
  774. distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
  775. } || { rm -rf "$$dc_destdir"; exit 1; }) \
  776. && rm -rf "$$dc_destdir" \
  777. && $(MAKE) $(AM_MAKEFLAGS) dist \
  778. && rm -rf $(DIST_ARCHIVES) \
  779. && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
  780. && cd "$$am__cwd" \
  781. || exit 1
  782. $(am__post_remove_distdir)
  783. @(echo "$(distdir) archives ready for distribution: "; \
  784. list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  785. sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
  786. distuninstallcheck:
  787. @test -n '$(distuninstallcheck_dir)' || { \
  788. echo 'ERROR: trying to run $@ with an empty' \
  789. '$$(distuninstallcheck_dir)' >&2; \
  790. exit 1; \
  791. }; \
  792. $(am__cd) '$(distuninstallcheck_dir)' || { \
  793. echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
  794. exit 1; \
  795. }; \
  796. test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
  797. || { echo "ERROR: files left after uninstall:" ; \
  798. if test -n "$(DESTDIR)"; then \
  799. echo " (check DESTDIR support)"; \
  800. fi ; \
  801. $(distuninstallcheck_listfiles) ; \
  802. exit 1; } >&2
  803. distcleancheck: distclean
  804. @if test '$(srcdir)' = . ; then \
  805. echo "ERROR: distcleancheck can only run from a VPATH build" ; \
  806. exit 1 ; \
  807. fi
  808. @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
  809. || { echo "ERROR: files left in build directory after distclean:" ; \
  810. $(distcleancheck_listfiles) ; \
  811. exit 1; } >&2
  812. check-am: all-am
  813. check: check-recursive
  814. all-am: Makefile $(DATA) $(HEADERS)
  815. installdirs: installdirs-recursive
  816. installdirs-am:
  817. for dir in "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"; do \
  818. test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  819. done
  820. install: install-recursive
  821. install-exec: install-exec-recursive
  822. install-data: install-data-recursive
  823. uninstall: uninstall-recursive
  824. install-am: all-am
  825. @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  826. installcheck: installcheck-recursive
  827. install-strip:
  828. if test -z '$(STRIP)'; then \
  829. $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  830. install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  831. install; \
  832. else \
  833. $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  834. install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  835. "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  836. fi
  837. mostlyclean-generic:
  838. clean-generic:
  839. distclean-generic:
  840. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  841. -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  842. -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
  843. maintainer-clean-generic:
  844. @echo "This command is intended for maintainers to use"
  845. @echo "it deletes files that may require special tools to rebuild."
  846. clean: clean-recursive
  847. clean-am: clean-generic clean-libtool mostlyclean-am
  848. distclean: distclean-recursive
  849. -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  850. -rm -f Makefile
  851. distclean-am: clean-am distclean-generic distclean-libtool \
  852. distclean-tags
  853. dvi: dvi-recursive
  854. dvi-am:
  855. html: html-recursive
  856. html-am:
  857. info: info-recursive
  858. info-am:
  859. install-data-am: install-includeHEADERS install-pkgconfigDATA
  860. install-dvi: install-dvi-recursive
  861. install-dvi-am:
  862. install-exec-am:
  863. install-html: install-html-recursive
  864. install-html-am:
  865. install-info: install-info-recursive
  866. install-info-am:
  867. install-man:
  868. install-pdf: install-pdf-recursive
  869. install-pdf-am:
  870. install-ps: install-ps-recursive
  871. install-ps-am:
  872. installcheck-am:
  873. maintainer-clean: maintainer-clean-recursive
  874. -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  875. -rm -rf $(top_srcdir)/autom4te.cache
  876. -rm -f Makefile
  877. maintainer-clean-am: distclean-am maintainer-clean-generic
  878. mostlyclean: mostlyclean-recursive
  879. mostlyclean-am: mostlyclean-generic mostlyclean-libtool
  880. pdf: pdf-recursive
  881. pdf-am:
  882. ps: ps-recursive
  883. ps-am:
  884. uninstall-am: uninstall-includeHEADERS uninstall-pkgconfigDATA
  885. .MAKE: $(am__recursive_targets) install-am install-strip
  886. .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
  887. am--refresh check check-am clean clean-cscope clean-generic \
  888. clean-libtool cscope cscopelist-am ctags ctags-am dist \
  889. dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
  890. dist-tarZ dist-xz dist-zip dist-zstd distcheck distclean \
  891. distclean-generic distclean-libtool distclean-tags \
  892. distcleancheck distdir distuninstallcheck dvi dvi-am html \
  893. html-am info info-am install install-am install-data \
  894. install-data-am install-dvi install-dvi-am install-exec \
  895. install-exec-am install-html install-html-am \
  896. install-includeHEADERS install-info install-info-am \
  897. install-man install-pdf install-pdf-am install-pkgconfigDATA \
  898. install-ps install-ps-am install-strip installcheck \
  899. installcheck-am installdirs installdirs-am maintainer-clean \
  900. maintainer-clean-generic mostlyclean mostlyclean-generic \
  901. mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
  902. uninstall-am uninstall-includeHEADERS uninstall-pkgconfigDATA
  903. .PRECIOUS: Makefile
  904. .PHONY: ChangeLog
  905. ChangeLog:
  906. echo "see NEWS" > ./ChangeLog
  907. dist-hook:
  908. rm -rf $(top_builddir)/tests/log
  909. find $(distdir) -name "*.dist" -exec rm {} \;
  910. (distit=`find $(srcdir) -name "*.dist"`; \
  911. for file in $$distit; do \
  912. strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \
  913. cp $$file $(distdir)$$strip; \
  914. done)
  915. # Code Coverage
  916. init-coverage:
  917. make clean
  918. lcov --directory . --zerocounters
  919. COVERAGE_CCOPTS ?= "-g --coverage"
  920. COVERAGE_OUT ?= docs/coverage
  921. build-coverage:
  922. make CFLAGS=$(COVERAGE_CCOPTS) check
  923. mkdir -p $(COVERAGE_OUT)
  924. lcov --directory . --output-file $(COVERAGE_OUT)/$(PACKAGE).info \
  925. --capture
  926. gen-coverage:
  927. genhtml --output-directory $(COVERAGE_OUT) \
  928. $(COVERAGE_OUT)/$(PACKAGE).info \
  929. --highlight --frames --legend \
  930. --title "$(PACKAGE_NAME)"
  931. coverage: init-coverage build-coverage gen-coverage
  932. $(DSP): win32/msvcproj.head win32/msvcproj.foot Makefile.am
  933. echo "creating $(DSP)"
  934. @( (cat $(srcdir)/win32/msvcproj.head; \
  935. echo "# Begin Group \"Source Files\""; \
  936. echo ""; \
  937. echo "# PROP Default_Filter \"cpp;c;cxx\""; \
  938. win32_srcs='$(WIN32SOURCES)'; \
  939. sorted_srcs=`for file in $$win32_srcs; do echo $$file; done | sort`; \
  940. for file in $$sorted_srcs; do \
  941. echo "# Begin Source File"; \
  942. echo ""; \
  943. echo "SOURCE=..\\src\\"$$file; \
  944. echo "# End Source File"; \
  945. done; \
  946. echo "# End Group"; \
  947. echo "# Begin Group \"Header Files\""; \
  948. echo ""; \
  949. echo "# PROP Default_Filter \"h;hpp;hxx\""; \
  950. win32_hdrs='$(WIN32HEADERS)'; \
  951. sorted_hdrs=`for file in $$win32_hdrs; do echo $$file; done | sort`; \
  952. for file in $$sorted_hdrs; do \
  953. echo "# Begin Source File"; \
  954. echo ""; \
  955. if [ "$$file" = "libssh2_config.h" ]; \
  956. then \
  957. echo "SOURCE=.\\"$$file; \
  958. else \
  959. echo "SOURCE=..\\src\\"$$file; \
  960. fi; \
  961. echo "# End Source File"; \
  962. done; \
  963. echo "# End Group"; \
  964. cat $(srcdir)/win32/msvcproj.foot) | \
  965. awk '{printf("%s\r\n", gensub("\r", "", "g"))}' > $@ )
  966. $(VCPROJ): win32/vc8proj.head win32/vc8proj.foot Makefile.am
  967. echo "creating $(VCPROJ)"
  968. @( (cat $(srcdir)/vc8proj.head; \
  969. win32_srcs='$(WIN32SOURCES)'; \
  970. sorted_srcs=`for file in $$win32_srcs; do echo $$file; done | sort`; \
  971. for file in $$sorted_srcs; do \
  972. echo "<File RelativePath=\""..\src\$$file"\"></File>"; \
  973. done; \
  974. echo "</Filter><Filter Name=\"Header Files\">"; \
  975. win32_hdrs='$(WIN32HEADERS)'; \
  976. sorted_hdrs=`for file in $$win32_hdrs; do echo $$file; done | sort`; \
  977. for file in $$sorted_hdrs; do \
  978. echo "<File RelativePath=\""..\src\$$file"\"></File>"; \
  979. done; \
  980. cat $(srcdir)/vc8proj.foot) | \
  981. awk '{printf("%s\r\n", gensub("\r", "", "g"))}' > $@ )
  982. checksrc:
  983. perl src/checksrc.pl -i4 -m79 -ASIZEOFNOPAREN -ASNPRINTF -ACOPYRIGHT \
  984. -AFOPENMODE -Wsrc/libssh2_config.h src/*.[ch] include/*.h example/*.c \
  985. tests/*.[ch]
  986. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  987. # Otherwise a system limit (for SysV at least) may be exceeded.
  988. .NOEXPORT: