Makefile.in 25 KB

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