Makefile.in 24 KB

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