1
0

Makefile.in 25 KB

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