1
0

Makefile.in 24 KB

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