Makefile.in 20 KB

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