Makefile.in 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860
  1. # Makefile.in generated by automake 1.16.1 from Makefile.am.
  2. # @configure_input@
  3. # Copyright (C) 1994-2018 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. #
  13. # ngIRCd -- The Next Generation IRC Daemon
  14. # Copyright (c)2001-2015 Alexander Barton (alex@barton.de) and Contributors
  15. #
  16. # This program is free software; you can redistribute it and/or modify
  17. # it under the terms of the GNU General Public License as published by
  18. # the Free Software Foundation; either version 2 of the License, or
  19. # (at your option) any later version.
  20. # Please read the file COPYING, README and AUTHORS for more information.
  21. #
  22. VPATH = @srcdir@
  23. am__is_gnu_make = { \
  24. if test -z '$(MAKELEVEL)'; then \
  25. false; \
  26. elif test -n '$(MAKE_HOST)'; then \
  27. true; \
  28. elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
  29. true; \
  30. else \
  31. false; \
  32. fi; \
  33. }
  34. am__make_running_with_option = \
  35. case $${target_option-} in \
  36. ?) ;; \
  37. *) echo "am__make_running_with_option: internal error: invalid" \
  38. "target option '$${target_option-}' specified" >&2; \
  39. exit 1;; \
  40. esac; \
  41. has_opt=no; \
  42. sane_makeflags=$$MAKEFLAGS; \
  43. if $(am__is_gnu_make); then \
  44. sane_makeflags=$$MFLAGS; \
  45. else \
  46. case $$MAKEFLAGS in \
  47. *\\[\ \ ]*) \
  48. bs=\\; \
  49. sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  50. | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  51. esac; \
  52. fi; \
  53. skip_next=no; \
  54. strip_trailopt () \
  55. { \
  56. flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  57. }; \
  58. for flg in $$sane_makeflags; do \
  59. test $$skip_next = yes && { skip_next=no; continue; }; \
  60. case $$flg in \
  61. *=*|--*) continue;; \
  62. -*I) strip_trailopt 'I'; skip_next=yes;; \
  63. -*I?*) strip_trailopt 'I';; \
  64. -*O) strip_trailopt 'O'; skip_next=yes;; \
  65. -*O?*) strip_trailopt 'O';; \
  66. -*l) strip_trailopt 'l'; skip_next=yes;; \
  67. -*l?*) strip_trailopt 'l';; \
  68. -[dEDm]) skip_next=yes;; \
  69. -[JT]) skip_next=yes;; \
  70. esac; \
  71. case $$flg in \
  72. *$$target_option*) has_opt=yes; break;; \
  73. esac; \
  74. done; \
  75. test $$has_opt = yes
  76. am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  77. am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  78. pkgdatadir = $(datadir)/@PACKAGE@
  79. pkgincludedir = $(includedir)/@PACKAGE@
  80. pkglibdir = $(libdir)/@PACKAGE@
  81. pkglibexecdir = $(libexecdir)/@PACKAGE@
  82. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  83. install_sh_DATA = $(install_sh) -c -m 644
  84. install_sh_PROGRAM = $(install_sh) -c
  85. install_sh_SCRIPT = $(install_sh) -c
  86. INSTALL_HEADER = $(INSTALL_DATA)
  87. transform = $(program_transform_name)
  88. NORMAL_INSTALL = :
  89. PRE_INSTALL = :
  90. POST_INSTALL = :
  91. NORMAL_UNINSTALL = :
  92. PRE_UNINSTALL = :
  93. POST_UNINSTALL = :
  94. build_triplet = @build@
  95. host_triplet = @host@
  96. subdir = .
  97. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  98. am__aclocal_m4_deps = $(top_srcdir)/configure.ac
  99. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  100. $(ACLOCAL_M4)
  101. DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
  102. $(am__configure_deps) $(am__DIST_COMMON)
  103. am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
  104. configure.lineno config.status.lineno
  105. mkinstalldirs = $(install_sh) -d
  106. CONFIG_HEADER = $(top_builddir)/src/config.h
  107. CONFIG_CLEAN_FILES =
  108. CONFIG_CLEAN_VPATH_FILES =
  109. AM_V_P = $(am__v_P_@AM_V@)
  110. am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  111. am__v_P_0 = false
  112. am__v_P_1 = :
  113. AM_V_GEN = $(am__v_GEN_@AM_V@)
  114. am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  115. am__v_GEN_0 = @echo " GEN " $@;
  116. am__v_GEN_1 =
  117. AM_V_at = $(am__v_at_@AM_V@)
  118. am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  119. am__v_at_0 = @
  120. am__v_at_1 =
  121. SOURCES =
  122. DIST_SOURCES =
  123. RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
  124. ctags-recursive dvi-recursive html-recursive info-recursive \
  125. install-data-recursive install-dvi-recursive \
  126. install-exec-recursive install-html-recursive \
  127. install-info-recursive install-pdf-recursive \
  128. install-ps-recursive install-recursive installcheck-recursive \
  129. installdirs-recursive pdf-recursive ps-recursive \
  130. tags-recursive uninstall-recursive
  131. am__can_run_installinfo = \
  132. case $$AM_UPDATE_INFO_DIR in \
  133. n|no|NO) false;; \
  134. *) (install-info --version) >/dev/null 2>&1;; \
  135. esac
  136. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  137. distclean-recursive maintainer-clean-recursive
  138. am__recursive_targets = \
  139. $(RECURSIVE_TARGETS) \
  140. $(RECURSIVE_CLEAN_TARGETS) \
  141. $(am__extra_recursive_targets)
  142. AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
  143. cscope distdir distdir-am dist dist-all distcheck
  144. am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  145. # Read a list of newline-separated strings from the standard input,
  146. # and print each of them once, without duplicates. Input order is
  147. # *not* preserved.
  148. am__uniquify_input = $(AWK) '\
  149. BEGIN { nonempty = 0; } \
  150. { items[$$0] = 1; nonempty = 1; } \
  151. END { if (nonempty) { for (i in items) print i; }; } \
  152. '
  153. # Make sure the list of sources is unique. This is necessary because,
  154. # e.g., the same source file might be shared among _SOURCES variables
  155. # for different programs/libraries.
  156. am__define_uniq_tagged_files = \
  157. list='$(am__tagged_files)'; \
  158. unique=`for i in $$list; do \
  159. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  160. done | $(am__uniquify_input)`
  161. ETAGS = etags
  162. CTAGS = ctags
  163. CSCOPE = cscope
  164. DIST_SUBDIRS = $(SUBDIRS)
  165. am__DIST_COMMON = $(srcdir)/Makefile.in AUTHORS COPYING ChangeLog NEWS \
  166. ar-lib compile config.guess config.sub install-sh missing
  167. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  168. distdir = $(PACKAGE)-$(VERSION)
  169. top_distdir = $(distdir)
  170. am__remove_distdir = \
  171. if test -d "$(distdir)"; then \
  172. find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
  173. && rm -rf "$(distdir)" \
  174. || { sleep 5 && rm -rf "$(distdir)"; }; \
  175. else :; fi
  176. am__post_remove_distdir = $(am__remove_distdir)
  177. am__relativize = \
  178. dir0=`pwd`; \
  179. sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  180. sed_rest='s,^[^/]*/*,,'; \
  181. sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  182. sed_butlast='s,/*[^/]*$$,,'; \
  183. while test -n "$$dir1"; do \
  184. first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  185. if test "$$first" != "."; then \
  186. if test "$$first" = ".."; then \
  187. dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  188. dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  189. else \
  190. first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  191. if test "$$first2" = "$$first"; then \
  192. dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  193. else \
  194. dir2="../$$dir2"; \
  195. fi; \
  196. dir0="$$dir0"/"$$first"; \
  197. fi; \
  198. fi; \
  199. dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  200. done; \
  201. reldir="$$dir2"
  202. DIST_ARCHIVES = $(distdir).tar.gz
  203. GZIP_ENV = --best
  204. DIST_TARGETS = dist-gzip
  205. distuninstallcheck_listfiles = find . -type f -print
  206. am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
  207. | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
  208. distcleancheck_listfiles = find . -type f -print
  209. ACLOCAL = @ACLOCAL@
  210. AMTAR = @AMTAR@
  211. AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  212. AR = @AR@
  213. AUTOCONF = @AUTOCONF@
  214. AUTOHEADER = @AUTOHEADER@
  215. AUTOMAKE = @AUTOMAKE@
  216. AWK = @AWK@
  217. CC = @CC@
  218. CCDEPMODE = @CCDEPMODE@
  219. CFLAGS = @CFLAGS@
  220. CPP = @CPP@
  221. CPPFLAGS = @CPPFLAGS@
  222. CYGPATH_W = @CYGPATH_W@
  223. DEFS = @DEFS@
  224. DEPDIR = @DEPDIR@
  225. ECHO_C = @ECHO_C@
  226. ECHO_N = @ECHO_N@
  227. ECHO_T = @ECHO_T@
  228. EGREP = @EGREP@
  229. EXEEXT = @EXEEXT@
  230. GREP = @GREP@
  231. INSTALL = @INSTALL@
  232. INSTALL_DATA = @INSTALL_DATA@
  233. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  234. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  235. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  236. LDFLAGS = @LDFLAGS@
  237. LIBOBJS = @LIBOBJS@
  238. LIBS = @LIBS@
  239. LN_S = @LN_S@
  240. LTLIBOBJS = @LTLIBOBJS@
  241. MAKEINFO = @MAKEINFO@
  242. MKDIR_P = @MKDIR_P@
  243. OBJEXT = @OBJEXT@
  244. OPENSSL_CFLAGS = @OPENSSL_CFLAGS@
  245. OPENSSL_LIBS = @OPENSSL_LIBS@
  246. PACKAGE = @PACKAGE@
  247. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  248. PACKAGE_NAME = @PACKAGE_NAME@
  249. PACKAGE_STRING = @PACKAGE_STRING@
  250. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  251. PACKAGE_URL = @PACKAGE_URL@
  252. PACKAGE_VERSION = @PACKAGE_VERSION@
  253. PATH_SEPARATOR = @PATH_SEPARATOR@
  254. PKG_CONFIG = @PKG_CONFIG@
  255. PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
  256. PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
  257. RANLIB = @RANLIB@
  258. SET_MAKE = @SET_MAKE@
  259. SHELL = @SHELL@
  260. STRIP = @STRIP@
  261. VERSION = @VERSION@
  262. abs_builddir = @abs_builddir@
  263. abs_srcdir = @abs_srcdir@
  264. abs_top_builddir = @abs_top_builddir@
  265. abs_top_srcdir = @abs_top_srcdir@
  266. ac_ct_AR = @ac_ct_AR@
  267. ac_ct_CC = @ac_ct_CC@
  268. am__include = @am__include@
  269. am__leading_dot = @am__leading_dot@
  270. am__quote = @am__quote@
  271. am__tar = @am__tar@
  272. am__untar = @am__untar@
  273. bindir = @bindir@
  274. build = @build@
  275. build_alias = @build_alias@
  276. build_cpu = @build_cpu@
  277. build_os = @build_os@
  278. build_vendor = @build_vendor@
  279. builddir = @builddir@
  280. datadir = @datadir@
  281. datarootdir = @datarootdir@
  282. docdir = @docdir@
  283. dvidir = @dvidir@
  284. exec_prefix = @exec_prefix@
  285. host = @host@
  286. host_alias = @host_alias@
  287. host_cpu = @host_cpu@
  288. host_os = @host_os@
  289. host_vendor = @host_vendor@
  290. htmldir = @htmldir@
  291. includedir = @includedir@
  292. infodir = @infodir@
  293. install_sh = @install_sh@
  294. libdir = @libdir@
  295. libexecdir = @libexecdir@
  296. localedir = @localedir@
  297. localstatedir = @localstatedir@
  298. mandir = @mandir@
  299. mkdir_p = @mkdir_p@
  300. oldincludedir = @oldincludedir@
  301. pdfdir = @pdfdir@
  302. prefix = @prefix@
  303. program_transform_name = @program_transform_name@
  304. psdir = @psdir@
  305. runstatedir = @runstatedir@
  306. sbindir = @sbindir@
  307. sharedstatedir = @sharedstatedir@
  308. srcdir = @srcdir@
  309. sysconfdir = @sysconfdir@
  310. target_alias = @target_alias@
  311. top_build_prefix = @top_build_prefix@
  312. top_builddir = @top_builddir@
  313. top_srcdir = @top_srcdir@
  314. SUBDIRS = doc src man contrib
  315. EXTRA_DIST = README.md INSTALL.md autogen.sh configure.ng .clang_complete .mailmap
  316. all: all-recursive
  317. .SUFFIXES:
  318. am--refresh: Makefile
  319. @:
  320. $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
  321. @for dep in $?; do \
  322. case '$(am__configure_deps)' in \
  323. *$$dep*) \
  324. echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
  325. $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
  326. && exit 0; \
  327. exit 1;; \
  328. esac; \
  329. done; \
  330. echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  331. $(am__cd) $(top_srcdir) && \
  332. $(AUTOMAKE) --foreign Makefile
  333. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  334. @case '$?' in \
  335. *config.status*) \
  336. echo ' $(SHELL) ./config.status'; \
  337. $(SHELL) ./config.status;; \
  338. *) \
  339. echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
  340. cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
  341. esac;
  342. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  343. $(SHELL) ./config.status --recheck
  344. $(top_srcdir)/configure: $(am__configure_deps)
  345. $(am__cd) $(srcdir) && $(AUTOCONF)
  346. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  347. $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  348. $(am__aclocal_m4_deps):
  349. # This directory's subdirectories are mostly independent; you can cd
  350. # into them and run 'make' without going through this Makefile.
  351. # To change the values of 'make' variables: instead of editing Makefiles,
  352. # (1) if the variable is set in 'config.status', edit 'config.status'
  353. # (which will cause the Makefiles to be regenerated when you run 'make');
  354. # (2) otherwise, pass the desired values on the 'make' command line.
  355. $(am__recursive_targets):
  356. @fail=; \
  357. if $(am__make_keepgoing); then \
  358. failcom='fail=yes'; \
  359. else \
  360. failcom='exit 1'; \
  361. fi; \
  362. dot_seen=no; \
  363. target=`echo $@ | sed s/-recursive//`; \
  364. case "$@" in \
  365. distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  366. *) list='$(SUBDIRS)' ;; \
  367. esac; \
  368. for subdir in $$list; do \
  369. echo "Making $$target in $$subdir"; \
  370. if test "$$subdir" = "."; then \
  371. dot_seen=yes; \
  372. local_target="$$target-am"; \
  373. else \
  374. local_target="$$target"; \
  375. fi; \
  376. ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  377. || eval $$failcom; \
  378. done; \
  379. if test "$$dot_seen" = "no"; then \
  380. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  381. fi; test -z "$$fail"
  382. ID: $(am__tagged_files)
  383. $(am__define_uniq_tagged_files); mkid -fID $$unique
  384. tags: tags-recursive
  385. TAGS: tags
  386. tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  387. set x; \
  388. here=`pwd`; \
  389. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  390. include_option=--etags-include; \
  391. empty_fix=.; \
  392. else \
  393. include_option=--include; \
  394. empty_fix=; \
  395. fi; \
  396. list='$(SUBDIRS)'; for subdir in $$list; do \
  397. if test "$$subdir" = .; then :; else \
  398. test ! -f $$subdir/TAGS || \
  399. set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  400. fi; \
  401. done; \
  402. $(am__define_uniq_tagged_files); \
  403. shift; \
  404. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  405. test -n "$$unique" || unique=$$empty_fix; \
  406. if test $$# -gt 0; then \
  407. $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  408. "$$@" $$unique; \
  409. else \
  410. $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  411. $$unique; \
  412. fi; \
  413. fi
  414. ctags: ctags-recursive
  415. CTAGS: ctags
  416. ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  417. $(am__define_uniq_tagged_files); \
  418. test -z "$(CTAGS_ARGS)$$unique" \
  419. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  420. $$unique
  421. GTAGS:
  422. here=`$(am__cd) $(top_builddir) && pwd` \
  423. && $(am__cd) $(top_srcdir) \
  424. && gtags -i $(GTAGS_ARGS) "$$here"
  425. cscope: cscope.files
  426. test ! -s cscope.files \
  427. || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
  428. clean-cscope:
  429. -rm -f cscope.files
  430. cscope.files: clean-cscope cscopelist
  431. cscopelist: cscopelist-recursive
  432. cscopelist-am: $(am__tagged_files)
  433. list='$(am__tagged_files)'; \
  434. case "$(srcdir)" in \
  435. [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  436. *) sdir=$(subdir)/$(srcdir) ;; \
  437. esac; \
  438. for i in $$list; do \
  439. if test -f "$$i"; then \
  440. echo "$(subdir)/$$i"; \
  441. else \
  442. echo "$$sdir/$$i"; \
  443. fi; \
  444. done >> $(top_builddir)/cscope.files
  445. distclean-tags:
  446. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  447. -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
  448. distdir: $(BUILT_SOURCES)
  449. $(MAKE) $(AM_MAKEFLAGS) distdir-am
  450. distdir-am: $(DISTFILES)
  451. $(am__remove_distdir)
  452. test -d "$(distdir)" || mkdir "$(distdir)"
  453. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  454. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  455. list='$(DISTFILES)'; \
  456. dist_files=`for file in $$list; do echo $$file; done | \
  457. sed -e "s|^$$srcdirstrip/||;t" \
  458. -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  459. case $$dist_files in \
  460. */*) $(MKDIR_P) `echo "$$dist_files" | \
  461. sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  462. sort -u` ;; \
  463. esac; \
  464. for file in $$dist_files; do \
  465. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  466. if test -d $$d/$$file; then \
  467. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  468. if test -d "$(distdir)/$$file"; then \
  469. find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  470. fi; \
  471. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  472. cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  473. find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  474. fi; \
  475. cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  476. else \
  477. test -f "$(distdir)/$$file" \
  478. || cp -p $$d/$$file "$(distdir)/$$file" \
  479. || exit 1; \
  480. fi; \
  481. done
  482. @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  483. if test "$$subdir" = .; then :; else \
  484. $(am__make_dryrun) \
  485. || test -d "$(distdir)/$$subdir" \
  486. || $(MKDIR_P) "$(distdir)/$$subdir" \
  487. || exit 1; \
  488. dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  489. $(am__relativize); \
  490. new_distdir=$$reldir; \
  491. dir1=$$subdir; dir2="$(top_distdir)"; \
  492. $(am__relativize); \
  493. new_top_distdir=$$reldir; \
  494. echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  495. echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  496. ($(am__cd) $$subdir && \
  497. $(MAKE) $(AM_MAKEFLAGS) \
  498. top_distdir="$$new_top_distdir" \
  499. distdir="$$new_distdir" \
  500. am__remove_distdir=: \
  501. am__skip_length_check=: \
  502. am__skip_mode_fix=: \
  503. distdir) \
  504. || exit 1; \
  505. fi; \
  506. done
  507. -test -n "$(am__skip_mode_fix)" \
  508. || find "$(distdir)" -type d ! -perm -755 \
  509. -exec chmod u+rwx,go+rx {} \; -o \
  510. ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  511. ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  512. ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
  513. || chmod -R a+r "$(distdir)"
  514. dist-gzip: distdir
  515. tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
  516. $(am__post_remove_distdir)
  517. dist-bzip2: distdir
  518. tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
  519. $(am__post_remove_distdir)
  520. dist-lzip: distdir
  521. tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
  522. $(am__post_remove_distdir)
  523. dist-xz: distdir
  524. tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
  525. $(am__post_remove_distdir)
  526. dist-tarZ: distdir
  527. @echo WARNING: "Support for distribution archives compressed with" \
  528. "legacy program 'compress' is deprecated." >&2
  529. @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
  530. tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  531. $(am__post_remove_distdir)
  532. dist-shar: distdir
  533. @echo WARNING: "Support for shar distribution archives is" \
  534. "deprecated." >&2
  535. @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
  536. shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
  537. $(am__post_remove_distdir)
  538. dist-zip: distdir
  539. -rm -f $(distdir).zip
  540. zip -rq $(distdir).zip $(distdir)
  541. $(am__post_remove_distdir)
  542. dist dist-all:
  543. $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
  544. $(am__post_remove_distdir)
  545. # This target untars the dist file and tries a VPATH configuration. Then
  546. # it guarantees that the distribution is self-contained by making another
  547. # tarfile.
  548. distcheck: dist
  549. case '$(DIST_ARCHIVES)' in \
  550. *.tar.gz*) \
  551. eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
  552. *.tar.bz2*) \
  553. bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
  554. *.tar.lz*) \
  555. lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
  556. *.tar.xz*) \
  557. xz -dc $(distdir).tar.xz | $(am__untar) ;;\
  558. *.tar.Z*) \
  559. uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
  560. *.shar.gz*) \
  561. eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
  562. *.zip*) \
  563. unzip $(distdir).zip ;;\
  564. esac
  565. chmod -R a-w $(distdir)
  566. chmod u+w $(distdir)
  567. mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
  568. chmod a-w $(distdir)
  569. test -d $(distdir)/_build || exit 0; \
  570. dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  571. && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
  572. && am__cwd=`pwd` \
  573. && $(am__cd) $(distdir)/_build/sub \
  574. && ../../configure \
  575. $(AM_DISTCHECK_CONFIGURE_FLAGS) \
  576. $(DISTCHECK_CONFIGURE_FLAGS) \
  577. --srcdir=../.. --prefix="$$dc_install_base" \
  578. && $(MAKE) $(AM_MAKEFLAGS) \
  579. && $(MAKE) $(AM_MAKEFLAGS) dvi \
  580. && $(MAKE) $(AM_MAKEFLAGS) check \
  581. && $(MAKE) $(AM_MAKEFLAGS) install \
  582. && $(MAKE) $(AM_MAKEFLAGS) installcheck \
  583. && $(MAKE) $(AM_MAKEFLAGS) uninstall \
  584. && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
  585. distuninstallcheck \
  586. && chmod -R a-w "$$dc_install_base" \
  587. && ({ \
  588. (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
  589. && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
  590. && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
  591. && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
  592. distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
  593. } || { rm -rf "$$dc_destdir"; exit 1; }) \
  594. && rm -rf "$$dc_destdir" \
  595. && $(MAKE) $(AM_MAKEFLAGS) dist \
  596. && rm -rf $(DIST_ARCHIVES) \
  597. && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
  598. && cd "$$am__cwd" \
  599. || exit 1
  600. $(am__post_remove_distdir)
  601. @(echo "$(distdir) archives ready for distribution: "; \
  602. list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  603. sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
  604. distuninstallcheck:
  605. @test -n '$(distuninstallcheck_dir)' || { \
  606. echo 'ERROR: trying to run $@ with an empty' \
  607. '$$(distuninstallcheck_dir)' >&2; \
  608. exit 1; \
  609. }; \
  610. $(am__cd) '$(distuninstallcheck_dir)' || { \
  611. echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
  612. exit 1; \
  613. }; \
  614. test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
  615. || { echo "ERROR: files left after uninstall:" ; \
  616. if test -n "$(DESTDIR)"; then \
  617. echo " (check DESTDIR support)"; \
  618. fi ; \
  619. $(distuninstallcheck_listfiles) ; \
  620. exit 1; } >&2
  621. distcleancheck: distclean
  622. @if test '$(srcdir)' = . ; then \
  623. echo "ERROR: distcleancheck can only run from a VPATH build" ; \
  624. exit 1 ; \
  625. fi
  626. @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
  627. || { echo "ERROR: files left in build directory after distclean:" ; \
  628. $(distcleancheck_listfiles) ; \
  629. exit 1; } >&2
  630. check-am: all-am
  631. check: check-recursive
  632. all-am: Makefile
  633. installdirs: installdirs-recursive
  634. installdirs-am:
  635. install: install-recursive
  636. install-exec: install-exec-recursive
  637. install-data: install-data-recursive
  638. uninstall: uninstall-recursive
  639. install-am: all-am
  640. @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  641. installcheck: installcheck-recursive
  642. install-strip:
  643. if test -z '$(STRIP)'; then \
  644. $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  645. install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  646. install; \
  647. else \
  648. $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  649. install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  650. "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  651. fi
  652. mostlyclean-generic:
  653. clean-generic:
  654. distclean-generic:
  655. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  656. -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  657. maintainer-clean-generic:
  658. @echo "This command is intended for maintainers to use"
  659. @echo "it deletes files that may require special tools to rebuild."
  660. clean: clean-recursive
  661. clean-am: clean-generic clean-local mostlyclean-am
  662. distclean: distclean-recursive
  663. -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  664. -rm -f Makefile
  665. distclean-am: clean-am distclean-generic distclean-tags
  666. dvi: dvi-recursive
  667. dvi-am:
  668. html: html-recursive
  669. html-am:
  670. info: info-recursive
  671. info-am:
  672. install-data-am:
  673. install-dvi: install-dvi-recursive
  674. install-dvi-am:
  675. install-exec-am:
  676. install-html: install-html-recursive
  677. install-html-am:
  678. install-info: install-info-recursive
  679. install-info-am:
  680. install-man:
  681. install-pdf: install-pdf-recursive
  682. install-pdf-am:
  683. install-ps: install-ps-recursive
  684. install-ps-am:
  685. installcheck-am:
  686. maintainer-clean: maintainer-clean-recursive
  687. -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  688. -rm -rf $(top_srcdir)/autom4te.cache
  689. -rm -f Makefile
  690. maintainer-clean-am: distclean-am maintainer-clean-generic \
  691. maintainer-clean-local
  692. mostlyclean: mostlyclean-recursive
  693. mostlyclean-am: mostlyclean-generic
  694. pdf: pdf-recursive
  695. pdf-am:
  696. ps: ps-recursive
  697. ps-am:
  698. uninstall-am:
  699. .MAKE: $(am__recursive_targets) install-am install-strip
  700. .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
  701. am--refresh check check-am clean clean-cscope clean-generic \
  702. clean-local cscope cscopelist-am ctags ctags-am dist dist-all \
  703. dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz \
  704. dist-zip distcheck distclean distclean-generic distclean-tags \
  705. distcleancheck distdir distuninstallcheck dvi dvi-am html \
  706. html-am info info-am install install-am install-data \
  707. install-data-am install-dvi install-dvi-am install-exec \
  708. install-exec-am install-html install-html-am install-info \
  709. install-info-am install-man install-pdf install-pdf-am \
  710. install-ps install-ps-am install-strip installcheck \
  711. installcheck-am installdirs installdirs-am maintainer-clean \
  712. maintainer-clean-generic maintainer-clean-local mostlyclean \
  713. mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
  714. uninstall-am
  715. .PRECIOUS: Makefile
  716. clean-local: osxpkg-clean
  717. rm -f build-stamp*
  718. maintainer-clean-local:
  719. rm -rf autom4te.cache
  720. rm -f Makefile.in Makefile aclocal.m4 configure configure.ac
  721. rm -f ar-lib mkinstalldirs missing depcomp install-sh
  722. rm -f config.log debian
  723. testsuite:
  724. cd src/testsuite && ${MAKE} check
  725. lint:
  726. cd src/ngircd && ${MAKE} lint
  727. srcdoc:
  728. cd doc && ${MAKE} srcdoc
  729. have-xcodebuild:
  730. @xcodebuild -project contrib/MacOSX/ngIRCd.xcodeproj -list \
  731. >/dev/null 2>&1 \
  732. || ( echo; echo "Error: \"xcodebuild\" not found!"; echo; exit 1 )
  733. have-packagemaker:
  734. @packagemaker >/dev/null 2>&1; [ $$? -le 1 ] \
  735. || ( echo; echo "Error: \"packagemaker\" not found!"; echo; exit 2)
  736. xcode: have-xcodebuild
  737. rel=`git describe|sed -e 's/rel-//g'|sed -e 's/-/~/'`; \
  738. def="GCC_PREPROCESSOR_DEFINITIONS=\"VERSION=\\\"$$rel\\\"\""; \
  739. xcodebuild -project contrib/MacOSX/ngIRCd.xcodeproj -alltargets \
  740. -configuration Default $$def build
  741. xcode-clean: have-xcodebuild
  742. xcodebuild -project contrib/MacOSX/ngIRCd.xcodeproj -alltargets \
  743. -configuration Default clean
  744. rm -fr contrib/MacOSX/build
  745. rpm: distcheck
  746. rpm -ta ngircd-*.tar.gz
  747. deb:
  748. [ -f debian/rules ] || ln -s contrib/Debian debian
  749. dpkg-buildpackage -rfakeroot -i
  750. osxpkg: have-packagemaker osxpkg-dest
  751. cd contrib/MacOSX && packagemaker --no-recommend \
  752. --doc ngIRCd.pmdoc \
  753. --out ../../$(distdir).mpkg
  754. rm -f $(distdir).mpkg.zip
  755. zip -ro9 $(distdir).mpkg.zip $(distdir).mpkg
  756. ${MAKE} osxpkg-clean
  757. osxpkg-clean:
  758. [ ! -r ngircd.dest ] || sudo -n rm -rf ngircd.dest
  759. rm -rf ngircd.dest $(distdir).mpkg
  760. osxpkg-dest: have-xcodebuild osxpkg-clean clean
  761. ./configure --prefix=/opt/ngircd
  762. ${MAKE} xcode
  763. ${MAKE} -C contrib/MacOSX de.barton.ngircd.plist
  764. mkdir -p ngircd.dest/opt/ngircd/sbin
  765. DESTDIR="$$PWD/ngircd.dest" ${MAKE} -C doc install
  766. DESTDIR="$$PWD/ngircd.dest" ${MAKE} -C contrib install
  767. DESTDIR="$$PWD/ngircd.dest" ${MAKE} -C man install
  768. cp contrib/MacOSX/build/Default/ngIRCd \
  769. ngircd.dest/opt/ngircd/sbin/ngircd
  770. rm ngircd.dest/opt/ngircd/etc/ngircd.conf
  771. echo "Have a nice day IRCing!" >ngircd.dest/opt/ngircd/etc/ngircd.motd
  772. chmod -R a-s,og-w,a+rX ngircd.dest
  773. sudo chown -R root:wheel ngircd.dest
  774. .PHONY: deb have-packagemaker have-xcodebuild lint osxpkg osxpkg-clean \
  775. osxpkg-dest rpm srcdoc testsuite xcode xcode-clean
  776. # -eof-
  777. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  778. # Otherwise a system limit (for SysV at least) may be exceeded.
  779. .NOEXPORT: