Makefile.in 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814
  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-2013 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. sbindir = @sbindir@
  236. sharedstatedir = @sharedstatedir@
  237. srcdir = @srcdir@
  238. sysconfdir = @sysconfdir@
  239. target_alias = @target_alias@
  240. top_build_prefix = @top_build_prefix@
  241. top_builddir = @top_builddir@
  242. top_srcdir = @top_srcdir@
  243. AUTOMAKE_OPTIONS = gnu
  244. SUBDIRS = doc src man contrib
  245. EXTRA_DIST = autogen.sh configure.ng .mailmap
  246. all: all-recursive
  247. .SUFFIXES:
  248. am--refresh: Makefile
  249. @:
  250. $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
  251. @for dep in $?; do \
  252. case '$(am__configure_deps)' in \
  253. *$$dep*) \
  254. echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
  255. $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
  256. && exit 0; \
  257. exit 1;; \
  258. esac; \
  259. done; \
  260. echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
  261. $(am__cd) $(top_srcdir) && \
  262. $(AUTOMAKE) --gnu Makefile
  263. .PRECIOUS: Makefile
  264. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  265. @case '$?' in \
  266. *config.status*) \
  267. echo ' $(SHELL) ./config.status'; \
  268. $(SHELL) ./config.status;; \
  269. *) \
  270. echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
  271. cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
  272. esac;
  273. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  274. $(SHELL) ./config.status --recheck
  275. $(top_srcdir)/configure: $(am__configure_deps)
  276. $(am__cd) $(srcdir) && $(AUTOCONF)
  277. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  278. $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  279. $(am__aclocal_m4_deps):
  280. # This directory's subdirectories are mostly independent; you can cd
  281. # into them and run `make' without going through this Makefile.
  282. # To change the values of `make' variables: instead of editing Makefiles,
  283. # (1) if the variable is set in `config.status', edit `config.status'
  284. # (which will cause the Makefiles to be regenerated when you run `make');
  285. # (2) otherwise, pass the desired values on the `make' command line.
  286. $(RECURSIVE_TARGETS):
  287. @fail= failcom='exit 1'; \
  288. for f in x $$MAKEFLAGS; do \
  289. case $$f in \
  290. *=* | --[!k]*);; \
  291. *k*) failcom='fail=yes';; \
  292. esac; \
  293. done; \
  294. dot_seen=no; \
  295. target=`echo $@ | sed s/-recursive//`; \
  296. list='$(SUBDIRS)'; for subdir in $$list; do \
  297. echo "Making $$target in $$subdir"; \
  298. if test "$$subdir" = "."; then \
  299. dot_seen=yes; \
  300. local_target="$$target-am"; \
  301. else \
  302. local_target="$$target"; \
  303. fi; \
  304. ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  305. || eval $$failcom; \
  306. done; \
  307. if test "$$dot_seen" = "no"; then \
  308. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  309. fi; test -z "$$fail"
  310. $(RECURSIVE_CLEAN_TARGETS):
  311. @fail= failcom='exit 1'; \
  312. for f in x $$MAKEFLAGS; do \
  313. case $$f in \
  314. *=* | --[!k]*);; \
  315. *k*) failcom='fail=yes';; \
  316. esac; \
  317. done; \
  318. dot_seen=no; \
  319. case "$@" in \
  320. distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  321. *) list='$(SUBDIRS)' ;; \
  322. esac; \
  323. rev=''; for subdir in $$list; do \
  324. if test "$$subdir" = "."; then :; else \
  325. rev="$$subdir $$rev"; \
  326. fi; \
  327. done; \
  328. rev="$$rev ."; \
  329. target=`echo $@ | sed s/-recursive//`; \
  330. for subdir in $$rev; do \
  331. echo "Making $$target in $$subdir"; \
  332. if test "$$subdir" = "."; then \
  333. local_target="$$target-am"; \
  334. else \
  335. local_target="$$target"; \
  336. fi; \
  337. ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  338. || eval $$failcom; \
  339. done && test -z "$$fail"
  340. tags-recursive:
  341. list='$(SUBDIRS)'; for subdir in $$list; do \
  342. test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  343. done
  344. ctags-recursive:
  345. list='$(SUBDIRS)'; for subdir in $$list; do \
  346. test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  347. done
  348. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  349. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  350. unique=`for i in $$list; do \
  351. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  352. done | \
  353. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  354. END { if (nonempty) { for (i in files) print i; }; }'`; \
  355. mkid -fID $$unique
  356. tags: TAGS
  357. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  358. $(TAGS_FILES) $(LISP)
  359. set x; \
  360. here=`pwd`; \
  361. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  362. include_option=--etags-include; \
  363. empty_fix=.; \
  364. else \
  365. include_option=--include; \
  366. empty_fix=; \
  367. fi; \
  368. list='$(SUBDIRS)'; for subdir in $$list; do \
  369. if test "$$subdir" = .; then :; else \
  370. test ! -f $$subdir/TAGS || \
  371. set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  372. fi; \
  373. done; \
  374. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  375. unique=`for i in $$list; do \
  376. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  377. done | \
  378. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  379. END { if (nonempty) { for (i in files) print i; }; }'`; \
  380. shift; \
  381. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  382. test -n "$$unique" || unique=$$empty_fix; \
  383. if test $$# -gt 0; then \
  384. $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  385. "$$@" $$unique; \
  386. else \
  387. $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  388. $$unique; \
  389. fi; \
  390. fi
  391. ctags: CTAGS
  392. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  393. $(TAGS_FILES) $(LISP)
  394. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  395. unique=`for i in $$list; do \
  396. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  397. done | \
  398. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  399. END { if (nonempty) { for (i in files) print i; }; }'`; \
  400. test -z "$(CTAGS_ARGS)$$unique" \
  401. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  402. $$unique
  403. GTAGS:
  404. here=`$(am__cd) $(top_builddir) && pwd` \
  405. && $(am__cd) $(top_srcdir) \
  406. && gtags -i $(GTAGS_ARGS) "$$here"
  407. distclean-tags:
  408. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  409. distdir: $(DISTFILES)
  410. $(am__remove_distdir)
  411. test -d "$(distdir)" || mkdir "$(distdir)"
  412. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  413. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  414. list='$(DISTFILES)'; \
  415. dist_files=`for file in $$list; do echo $$file; done | \
  416. sed -e "s|^$$srcdirstrip/||;t" \
  417. -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  418. case $$dist_files in \
  419. */*) $(MKDIR_P) `echo "$$dist_files" | \
  420. sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  421. sort -u` ;; \
  422. esac; \
  423. for file in $$dist_files; do \
  424. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  425. if test -d $$d/$$file; then \
  426. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  427. if test -d "$(distdir)/$$file"; then \
  428. find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  429. fi; \
  430. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  431. cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  432. find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  433. fi; \
  434. cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  435. else \
  436. test -f "$(distdir)/$$file" \
  437. || cp -p $$d/$$file "$(distdir)/$$file" \
  438. || exit 1; \
  439. fi; \
  440. done
  441. @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  442. if test "$$subdir" = .; then :; else \
  443. $(am__make_dryrun) \
  444. || test -d "$(distdir)/$$subdir" \
  445. || $(MKDIR_P) "$(distdir)/$$subdir" \
  446. || exit 1; \
  447. dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  448. $(am__relativize); \
  449. new_distdir=$$reldir; \
  450. dir1=$$subdir; dir2="$(top_distdir)"; \
  451. $(am__relativize); \
  452. new_top_distdir=$$reldir; \
  453. echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  454. echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  455. ($(am__cd) $$subdir && \
  456. $(MAKE) $(AM_MAKEFLAGS) \
  457. top_distdir="$$new_top_distdir" \
  458. distdir="$$new_distdir" \
  459. am__remove_distdir=: \
  460. am__skip_length_check=: \
  461. am__skip_mode_fix=: \
  462. distdir) \
  463. || exit 1; \
  464. fi; \
  465. done
  466. -test -n "$(am__skip_mode_fix)" \
  467. || find "$(distdir)" -type d ! -perm -755 \
  468. -exec chmod u+rwx,go+rx {} \; -o \
  469. ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  470. ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  471. ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
  472. || chmod -R a+r "$(distdir)"
  473. dist-gzip: distdir
  474. tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  475. $(am__remove_distdir)
  476. dist-bzip2: distdir
  477. tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
  478. $(am__remove_distdir)
  479. dist-lzip: distdir
  480. tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
  481. $(am__remove_distdir)
  482. dist-lzma: distdir
  483. tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
  484. $(am__remove_distdir)
  485. dist-xz: distdir
  486. tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
  487. $(am__remove_distdir)
  488. dist-tarZ: distdir
  489. tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  490. $(am__remove_distdir)
  491. dist-shar: distdir
  492. shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
  493. $(am__remove_distdir)
  494. dist-zip: distdir
  495. -rm -f $(distdir).zip
  496. zip -rq $(distdir).zip $(distdir)
  497. $(am__remove_distdir)
  498. dist dist-all: distdir
  499. tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  500. $(am__remove_distdir)
  501. # This target untars the dist file and tries a VPATH configuration. Then
  502. # it guarantees that the distribution is self-contained by making another
  503. # tarfile.
  504. distcheck: dist
  505. case '$(DIST_ARCHIVES)' in \
  506. *.tar.gz*) \
  507. GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
  508. *.tar.bz2*) \
  509. bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
  510. *.tar.lzma*) \
  511. lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
  512. *.tar.lz*) \
  513. lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
  514. *.tar.xz*) \
  515. xz -dc $(distdir).tar.xz | $(am__untar) ;;\
  516. *.tar.Z*) \
  517. uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
  518. *.shar.gz*) \
  519. GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
  520. *.zip*) \
  521. unzip $(distdir).zip ;;\
  522. esac
  523. chmod -R a-w $(distdir); chmod u+w $(distdir)
  524. mkdir $(distdir)/_build
  525. mkdir $(distdir)/_inst
  526. chmod a-w $(distdir)
  527. test -d $(distdir)/_build || exit 0; \
  528. dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  529. && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
  530. && am__cwd=`pwd` \
  531. && $(am__cd) $(distdir)/_build \
  532. && ../configure --srcdir=.. --prefix="$$dc_install_base" \
  533. $(AM_DISTCHECK_CONFIGURE_FLAGS) \
  534. $(DISTCHECK_CONFIGURE_FLAGS) \
  535. && $(MAKE) $(AM_MAKEFLAGS) \
  536. && $(MAKE) $(AM_MAKEFLAGS) dvi \
  537. && $(MAKE) $(AM_MAKEFLAGS) check \
  538. && $(MAKE) $(AM_MAKEFLAGS) install \
  539. && $(MAKE) $(AM_MAKEFLAGS) installcheck \
  540. && $(MAKE) $(AM_MAKEFLAGS) uninstall \
  541. && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
  542. distuninstallcheck \
  543. && chmod -R a-w "$$dc_install_base" \
  544. && ({ \
  545. (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
  546. && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
  547. && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
  548. && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
  549. distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
  550. } || { rm -rf "$$dc_destdir"; exit 1; }) \
  551. && rm -rf "$$dc_destdir" \
  552. && $(MAKE) $(AM_MAKEFLAGS) dist \
  553. && rm -rf $(DIST_ARCHIVES) \
  554. && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
  555. && cd "$$am__cwd" \
  556. || exit 1
  557. $(am__remove_distdir)
  558. @(echo "$(distdir) archives ready for distribution: "; \
  559. list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  560. sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
  561. distuninstallcheck:
  562. @test -n '$(distuninstallcheck_dir)' || { \
  563. echo 'ERROR: trying to run $@ with an empty' \
  564. '$$(distuninstallcheck_dir)' >&2; \
  565. exit 1; \
  566. }; \
  567. $(am__cd) '$(distuninstallcheck_dir)' || { \
  568. echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
  569. exit 1; \
  570. }; \
  571. test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
  572. || { echo "ERROR: files left after uninstall:" ; \
  573. if test -n "$(DESTDIR)"; then \
  574. echo " (check DESTDIR support)"; \
  575. fi ; \
  576. $(distuninstallcheck_listfiles) ; \
  577. exit 1; } >&2
  578. distcleancheck: distclean
  579. @if test '$(srcdir)' = . ; then \
  580. echo "ERROR: distcleancheck can only run from a VPATH build" ; \
  581. exit 1 ; \
  582. fi
  583. @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
  584. || { echo "ERROR: files left in build directory after distclean:" ; \
  585. $(distcleancheck_listfiles) ; \
  586. exit 1; } >&2
  587. check-am: all-am
  588. check: check-recursive
  589. all-am: Makefile
  590. installdirs: installdirs-recursive
  591. installdirs-am:
  592. install: install-recursive
  593. install-exec: install-exec-recursive
  594. install-data: install-data-recursive
  595. uninstall: uninstall-recursive
  596. install-am: all-am
  597. @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  598. installcheck: installcheck-recursive
  599. install-strip:
  600. if test -z '$(STRIP)'; then \
  601. $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  602. install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  603. install; \
  604. else \
  605. $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  606. install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  607. "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  608. fi
  609. mostlyclean-generic:
  610. clean-generic:
  611. distclean-generic:
  612. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  613. -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  614. maintainer-clean-generic:
  615. @echo "This command is intended for maintainers to use"
  616. @echo "it deletes files that may require special tools to rebuild."
  617. clean: clean-recursive
  618. clean-am: clean-generic clean-local mostlyclean-am
  619. distclean: distclean-recursive
  620. -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  621. -rm -f Makefile
  622. distclean-am: clean-am distclean-generic distclean-tags
  623. dvi: dvi-recursive
  624. dvi-am:
  625. html: html-recursive
  626. html-am:
  627. info: info-recursive
  628. info-am:
  629. install-data-am:
  630. install-dvi: install-dvi-recursive
  631. install-dvi-am:
  632. install-exec-am:
  633. install-html: install-html-recursive
  634. install-html-am:
  635. install-info: install-info-recursive
  636. install-info-am:
  637. install-man:
  638. install-pdf: install-pdf-recursive
  639. install-pdf-am:
  640. install-ps: install-ps-recursive
  641. install-ps-am:
  642. installcheck-am:
  643. maintainer-clean: maintainer-clean-recursive
  644. -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  645. -rm -rf $(top_srcdir)/autom4te.cache
  646. -rm -f Makefile
  647. maintainer-clean-am: distclean-am maintainer-clean-generic \
  648. maintainer-clean-local
  649. mostlyclean: mostlyclean-recursive
  650. mostlyclean-am: mostlyclean-generic
  651. pdf: pdf-recursive
  652. pdf-am:
  653. ps: ps-recursive
  654. ps-am:
  655. uninstall-am:
  656. .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  657. install-am install-strip tags-recursive
  658. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  659. all all-am am--refresh check check-am clean clean-generic \
  660. clean-local ctags ctags-recursive dist dist-all dist-bzip2 \
  661. dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \
  662. dist-zip distcheck distclean distclean-generic distclean-tags \
  663. distcleancheck distdir distuninstallcheck dvi dvi-am html \
  664. html-am info info-am install install-am install-data \
  665. install-data-am install-dvi install-dvi-am install-exec \
  666. install-exec-am install-html install-html-am install-info \
  667. install-info-am install-man install-pdf install-pdf-am \
  668. install-ps install-ps-am install-strip installcheck \
  669. installcheck-am installdirs installdirs-am maintainer-clean \
  670. maintainer-clean-generic maintainer-clean-local mostlyclean \
  671. mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \
  672. uninstall uninstall-am
  673. clean-local: osxpkg-clean
  674. rm -f build-stamp*
  675. maintainer-clean-local:
  676. rm -rf autom4te.cache
  677. rm -f Makefile.in Makefile aclocal.m4 configure configure.ac
  678. rm -f ar-lib mkinstalldirs missing depcomp install-sh
  679. rm -f config.log debian
  680. testsuite:
  681. cd src/testsuite && make check
  682. lint:
  683. cd src/ngircd && make lint
  684. srcdoc:
  685. cd doc && make srcdoc
  686. have-xcodebuild:
  687. @xcodebuild -project contrib/MacOSX/ngIRCd.xcodeproj -list \
  688. >/dev/null 2>&1 \
  689. || ( echo; echo "Error: \"xcodebuild\" not found!"; echo; exit 1 )
  690. have-packagemaker:
  691. @packagemaker >/dev/null 2>&1; [ $$? -le 1 ] \
  692. || ( echo; echo "Error: \"packagemaker\" not found!"; echo; exit 2)
  693. xcode: have-xcodebuild
  694. rel=`git describe|sed -e 's/rel-//g'|sed -e 's/-/~/'`; \
  695. def="GCC_PREPROCESSOR_DEFINITIONS=\"VERSION=\\\"$$rel\\\"\""; \
  696. xcodebuild -project contrib/MacOSX/ngIRCd.xcodeproj -alltargets \
  697. -configuration Default $$def build
  698. xcode-clean: have-xcodebuild
  699. xcodebuild -project contrib/MacOSX/ngIRCd.xcodeproj -alltargets \
  700. -configuration Default clean
  701. rm -fr contrib/MacOSX/build
  702. rpm: distcheck
  703. rpm -ta ngircd-*.tar.gz
  704. deb:
  705. [ -f debian/rules ] || ln -s contrib/Debian debian
  706. dpkg-buildpackage -rfakeroot -i
  707. osxpkg: have-packagemaker osxpkg-dest
  708. cd contrib/MacOSX && packagemaker --no-recommend \
  709. --doc ngIRCd.pmdoc \
  710. --out ../../$(distdir).mpkg
  711. rm -f $(distdir).mpkg.zip
  712. zip -ro9 $(distdir).mpkg.zip $(distdir).mpkg
  713. make osxpkg-clean
  714. osxpkg-clean:
  715. [ ! -r ngircd.dest ] || sudo -n rm -rf ngircd.dest
  716. rm -rf ngircd.dest $(distdir).mpkg
  717. osxpkg-dest: have-xcodebuild osxpkg-clean clean
  718. ./configure --prefix=/opt/ngircd
  719. make xcode
  720. make -C contrib/MacOSX de.barton.ngircd.plist
  721. mkdir -p ngircd.dest/opt/ngircd/sbin
  722. DESTDIR="$$PWD/ngircd.dest" make -C doc install
  723. DESTDIR="$$PWD/ngircd.dest" make -C contrib install
  724. DESTDIR="$$PWD/ngircd.dest" make -C man install
  725. cp contrib/MacOSX/build/Default/ngIRCd \
  726. ngircd.dest/opt/ngircd/sbin/ngircd
  727. rm ngircd.dest/opt/ngircd/etc/ngircd.conf
  728. echo "Have a nice day IRCing!" >ngircd.dest/opt/ngircd/etc/ngircd.motd
  729. chmod -R a-s,og-w,a+rX ngircd.dest
  730. sudo chown -R root:wheel ngircd.dest
  731. .PHONY: deb have-packagemaker have-xcodebuild lint osxpkg osxpkg-clean \
  732. osxpkg-dest rpm srcdoc testsuite xcode xcode-clean
  733. # -eof-
  734. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  735. # Otherwise a system limit (for SysV at least) may be exceeded.
  736. .NOEXPORT: