patch-Makefile_in 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- cgilib-0.7.orig/Makefile.in 2009-02-08 19:47:04.000000000 +0100
  3. +++ cgilib-0.7/Makefile.in 2009-05-09 04:01:39.000000000 +0200
  4. @@ -1,8 +1,8 @@
  5. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  6. +# Makefile.in generated by automake 1.9.6 from Makefile.am.
  7. # @configure_input@
  8. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  9. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  10. +# 2003, 2004, 2005 Free Software Foundation, Inc.
  11. # This Makefile.in is free software; the Free Software Foundation
  12. # gives unlimited permission to copy and/or distribute it,
  13. # with or without modifications, as long as this notice is preserved.
  14. @@ -32,11 +32,15 @@
  15. +srcdir = @srcdir@
  16. +top_srcdir = @top_srcdir@
  17. VPATH = @srcdir@
  18. pkgdatadir = $(datadir)/@PACKAGE@
  19. pkglibdir = $(libdir)/@PACKAGE@
  20. pkgincludedir = $(includedir)/@PACKAGE@
  21. +top_builddir = .
  22. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  23. +INSTALL = @INSTALL@
  24. install_sh_DATA = $(install_sh) -c -m 644
  25. install_sh_PROGRAM = $(install_sh) -c
  26. install_sh_SCRIPT = $(install_sh) -c
  27. @@ -51,17 +55,17 @@ POST_UNINSTALL = :
  28. build_triplet = @build@
  29. host_triplet = @host@
  30. bin_PROGRAMS = cgitest$(EXEEXT) jumpto$(EXEEXT)
  31. -subdir = .
  32. DIST_COMMON = README $(am__configure_deps) $(include_HEADERS) \
  33. $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
  34. - $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL \
  35. + $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
  36. config.guess config.sub depcomp install-sh ltmain.sh missing
  37. +subdir = .
  38. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  39. am__aclocal_m4_deps = $(top_srcdir)/configure.ac
  40. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  41. $(ACLOCAL_M4)
  42. am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
  43. - configure.lineno config.status.lineno
  44. + configure.lineno configure.status.lineno
  45. mkinstalldirs = $(install_sh) -d
  46. CONFIG_CLEAN_FILES =
  47. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  48. @@ -78,9 +82,6 @@ LTLIBRARIES = $(lib_LTLIBRARIES)
  49. libcgi_la_LIBADD =
  50. am_libcgi_la_OBJECTS = cgi.lo cookies.lo aux.lo
  51. libcgi_la_OBJECTS = $(am_libcgi_la_OBJECTS)
  52. -libcgi_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  53. - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  54. - $(libcgi_la_LDFLAGS) $(LDFLAGS) -o $@
  55. binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  56. PROGRAMS = $(bin_PROGRAMS)
  57. am_cgitest_OBJECTS = cgitest.$(OBJEXT)
  58. @@ -89,18 +90,17 @@ cgitest_DEPENDENCIES = libcgi.la
  59. am_jumpto_OBJECTS = cgitest.$(OBJEXT)
  60. jumpto_OBJECTS = $(am_jumpto_OBJECTS)
  61. jumpto_DEPENDENCIES = libcgi.la
  62. -DEFAULT_INCLUDES = -I.@am__isrc@
  63. +DEFAULT_INCLUDES = -I. -I$(srcdir)
  64. depcomp = $(SHELL) $(top_srcdir)/depcomp
  65. am__depfiles_maybe = depfiles
  66. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  67. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  68. -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  69. - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  70. - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  71. +LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
  72. + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  73. + $(AM_CFLAGS) $(CFLAGS)
  74. CCLD = $(CC)
  75. -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  76. - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
  77. - $(LDFLAGS) -o $@
  78. +LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  79. + $(AM_LDFLAGS) $(LDFLAGS) -o $@
  80. SOURCES = $(libcgi_la_SOURCES) $(cgitest_SOURCES) $(jumpto_SOURCES)
  81. DIST_SOURCES = $(libcgi_la_SOURCES) $(cgitest_SOURCES) \
  82. $(jumpto_SOURCES)
  83. @@ -124,6 +124,8 @@ GZIP_ENV = --best
  84. distuninstallcheck_listfiles = find . -type f -print
  85. distcleancheck_listfiles = find . -type f -print
  86. ACLOCAL = @ACLOCAL@
  87. +AMDEP_FALSE = @AMDEP_FALSE@
  88. +AMDEP_TRUE = @AMDEP_TRUE@
  89. AMTAR = @AMTAR@
  90. AR = @AR@
  91. AUTOCONF = @AUTOCONF@
  92. @@ -152,7 +154,6 @@ EXEEXT = @EXEEXT@
  93. F77 = @F77@
  94. FFLAGS = @FFLAGS@
  95. GREP = @GREP@
  96. -INSTALL = @INSTALL@
  97. INSTALL_DATA = @INSTALL_DATA@
  98. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  99. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  100. @@ -164,7 +165,6 @@ LIBTOOL = @LIBTOOL@
  101. LN_S = @LN_S@
  102. LTLIBOBJS = @LTLIBOBJS@
  103. MAKEINFO = @MAKEINFO@
  104. -MKDIR_P = @MKDIR_P@
  105. NMEDIT = @NMEDIT@
  106. OBJEXT = @OBJEXT@
  107. PACKAGE = @PACKAGE@
  108. @@ -181,13 +181,13 @@ SHELL = @SHELL@
  109. SO_VERSION = @SO_VERSION@
  110. STRIP = @STRIP@
  111. VERSION = @VERSION@
  112. -abs_builddir = @abs_builddir@
  113. -abs_srcdir = @abs_srcdir@
  114. -abs_top_builddir = @abs_top_builddir@
  115. -abs_top_srcdir = @abs_top_srcdir@
  116. ac_ct_CC = @ac_ct_CC@
  117. ac_ct_CXX = @ac_ct_CXX@
  118. ac_ct_F77 = @ac_ct_F77@
  119. +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  120. +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  121. +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  122. +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  123. am__include = @am__include@
  124. am__leading_dot = @am__leading_dot@
  125. am__quote = @am__quote@
  126. @@ -199,7 +199,6 @@ build_alias = @build_alias@
  127. build_cpu = @build_cpu@
  128. build_os = @build_os@
  129. build_vendor = @build_vendor@
  130. -builddir = @builddir@
  131. datadir = @datadir@
  132. datarootdir = @datarootdir@
  133. docdir = @docdir@
  134. @@ -227,11 +226,8 @@ program_transform_name = @program_transf
  135. psdir = @psdir@
  136. sbindir = @sbindir@
  137. sharedstatedir = @sharedstatedir@
  138. -srcdir = @srcdir@
  139. sysconfdir = @sysconfdir@
  140. target_alias = @target_alias@
  141. -top_builddir = @top_builddir@
  142. -top_srcdir = @top_srcdir@
  143. lib_LTLIBRARIES = libcgi.la
  144. libcgi_la_SOURCES = cgi.c cookies.c aux.c
  145. libcgi_la_LDFLAGS = -version-info @SO_VERSION@
  146. @@ -245,56 +241,23 @@ all: all-am
  147. .SUFFIXES:
  148. .SUFFIXES: .c .lo .o .obj
  149. -am--refresh:
  150. - @:
  151. -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
  152. - @for dep in $?; do \
  153. - case '$(am__configure_deps)' in \
  154. - *$$dep*) \
  155. - echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
  156. - cd $(srcdir) && $(AUTOMAKE) --foreign \
  157. - && exit 0; \
  158. - exit 1;; \
  159. - esac; \
  160. - done; \
  161. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  162. - cd $(top_srcdir) && \
  163. - $(AUTOMAKE) --foreign Makefile
  164. -.PRECIOUS: Makefile
  165. -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  166. - @case '$?' in \
  167. - *config.status*) \
  168. - echo ' $(SHELL) ./config.status'; \
  169. - $(SHELL) ./config.status;; \
  170. - *) \
  171. - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
  172. - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
  173. - esac;
  174. -
  175. -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  176. - $(SHELL) ./config.status --recheck
  177. -
  178. -$(top_srcdir)/configure: $(am__configure_deps)
  179. - cd $(srcdir) && $(AUTOCONF)
  180. -$(ACLOCAL_M4): $(am__aclocal_m4_deps)
  181. - cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  182. install-libLTLIBRARIES: $(lib_LTLIBRARIES)
  183. @$(NORMAL_INSTALL)
  184. - test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
  185. + test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
  186. @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  187. if test -f $$p; then \
  188. f=$(am__strip_dir) \
  189. - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
  190. - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
  191. + echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
  192. + $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
  193. else :; fi; \
  194. done
  195. uninstall-libLTLIBRARIES:
  196. @$(NORMAL_UNINSTALL)
  197. - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  198. + @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  199. p=$(am__strip_dir) \
  200. - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
  201. - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
  202. + echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
  203. + $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
  204. done
  205. clean-libLTLIBRARIES:
  206. @@ -306,18 +269,18 @@ clean-libLTLIBRARIES:
  207. rm -f "$${dir}/so_locations"; \
  208. done
  209. libcgi.la: $(libcgi_la_OBJECTS) $(libcgi_la_DEPENDENCIES)
  210. - $(libcgi_la_LINK) -rpath $(libdir) $(libcgi_la_OBJECTS) $(libcgi_la_LIBADD) $(LIBS)
  211. + $(LINK) -rpath $(libdir) $(libcgi_la_LDFLAGS) $(libcgi_la_OBJECTS) $(libcgi_la_LIBADD) $(LIBS)
  212. install-binPROGRAMS: $(bin_PROGRAMS)
  213. @$(NORMAL_INSTALL)
  214. - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  215. + test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
  216. @list='$(bin_PROGRAMS)'; for p in $$list; do \
  217. p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  218. if test -f $$p \
  219. || test -f $$p1 \
  220. ; then \
  221. f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  222. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
  223. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
  224. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
  225. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
  226. else :; fi; \
  227. done
  228. @@ -337,10 +300,10 @@ clean-binPROGRAMS:
  229. done
  230. cgitest$(EXEEXT): $(cgitest_OBJECTS) $(cgitest_DEPENDENCIES)
  231. @rm -f cgitest$(EXEEXT)
  232. - $(LINK) $(cgitest_OBJECTS) $(cgitest_LDADD) $(LIBS)
  233. + $(LINK) $(cgitest_LDFLAGS) $(cgitest_OBJECTS) $(cgitest_LDADD) $(LIBS)
  234. jumpto$(EXEEXT): $(jumpto_OBJECTS) $(jumpto_DEPENDENCIES)
  235. @rm -f jumpto$(EXEEXT)
  236. - $(LINK) $(jumpto_OBJECTS) $(jumpto_LDADD) $(LIBS)
  237. + $(LINK) $(jumpto_LDFLAGS) $(jumpto_OBJECTS) $(jumpto_LDADD) $(LIBS)
  238. mostlyclean-compile:
  239. -rm -f *.$(OBJEXT)
  240. @@ -354,22 +317,22 @@ distclean-compile:
  241. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cookies.Plo@am__quote@
  242. .c.o:
  243. -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  244. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  245. +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  246. +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  247. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  248. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  249. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  250. .c.obj:
  251. -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  252. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  253. +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
  254. +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  255. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  256. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  257. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  258. .c.lo:
  259. -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  260. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  261. +@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  262. +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  263. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  264. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  265. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  266. @@ -382,9 +345,10 @@ clean-libtool:
  267. distclean-libtool:
  268. -rm -f libtool
  269. +uninstall-info-am:
  270. install-man3: $(man3_MANS) $(man_MANS)
  271. @$(NORMAL_INSTALL)
  272. - test -z "$(man3dir)" || $(MKDIR_P) "$(DESTDIR)$(man3dir)"
  273. + test -z "$(man3dir)" || $(mkdir_p) "$(DESTDIR)$(man3dir)"
  274. @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
  275. l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  276. for i in $$l2; do \
  277. @@ -429,7 +393,7 @@ uninstall-man3:
  278. done
  279. install-man5: $(man5_MANS) $(man_MANS)
  280. @$(NORMAL_INSTALL)
  281. - test -z "$(man5dir)" || $(MKDIR_P) "$(DESTDIR)$(man5dir)"
  282. + test -z "$(man5dir)" || $(mkdir_p) "$(DESTDIR)$(man5dir)"
  283. @list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
  284. l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  285. for i in $$l2; do \
  286. @@ -474,7 +438,7 @@ uninstall-man5:
  287. done
  288. install-includeHEADERS: $(include_HEADERS)
  289. @$(NORMAL_INSTALL)
  290. - test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
  291. + test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
  292. @list='$(include_HEADERS)'; for p in $$list; do \
  293. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  294. f=$(am__strip_dir) \
  295. @@ -495,8 +459,8 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS
  296. unique=`for i in $$list; do \
  297. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  298. done | \
  299. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  300. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  301. + $(AWK) ' { files[$$0] = 1; } \
  302. + END { for (i in files) print i; }'`; \
  303. mkid -fID $$unique
  304. tags: TAGS
  305. @@ -508,8 +472,8 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEP
  306. unique=`for i in $$list; do \
  307. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  308. done | \
  309. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  310. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  311. + $(AWK) ' { files[$$0] = 1; } \
  312. + END { for (i in files) print i; }'`; \
  313. if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  314. test -n "$$unique" || unique=$$empty_fix; \
  315. $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  316. @@ -519,12 +483,13 @@ ctags: CTAGS
  317. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  318. $(TAGS_FILES) $(LISP)
  319. tags=; \
  320. + here=`pwd`; \
  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. + $(AWK) ' { files[$$0] = 1; } \
  328. + END { for (i in files) print i; }'`; \
  329. test -z "$(CTAGS_ARGS)$$tags$$unique" \
  330. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  331. $$tags $$unique
  332. @@ -539,22 +504,23 @@ distclean-tags:
  333. distdir: $(DISTFILES)
  334. $(am__remove_distdir)
  335. - test -d $(distdir) || mkdir $(distdir)
  336. - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  337. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  338. - list='$(DISTFILES)'; \
  339. - dist_files=`for file in $$list; do echo $$file; done | \
  340. - sed -e "s|^$$srcdirstrip/||;t" \
  341. - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  342. - case $$dist_files in \
  343. - */*) $(MKDIR_P) `echo "$$dist_files" | \
  344. - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  345. - sort -u` ;; \
  346. - esac; \
  347. - for file in $$dist_files; do \
  348. + mkdir $(distdir)
  349. + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  350. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  351. + list='$(DISTFILES)'; for file in $$list; do \
  352. + case $$file in \
  353. + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  354. + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  355. + esac; \
  356. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  357. + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  358. + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  359. + dir="/$$dir"; \
  360. + $(mkdir_p) "$(distdir)$$dir"; \
  361. + else \
  362. + dir=''; \
  363. + fi; \
  364. if test -d $$d/$$file; then \
  365. - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  366. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  367. cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  368. fi; \
  369. @@ -568,7 +534,7 @@ distdir: $(DISTFILES)
  370. -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
  371. ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  372. ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  373. - ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
  374. + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
  375. || chmod -R a+r $(distdir)
  376. dist-gzip: distdir
  377. tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  378. @@ -578,10 +544,6 @@ dist-bzip2: distdir
  379. tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
  380. $(am__remove_distdir)
  381. -dist-lzma: distdir
  382. - tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
  383. - $(am__remove_distdir)
  384. -
  385. dist-tarZ: distdir
  386. tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  387. $(am__remove_distdir)
  388. @@ -608,8 +570,6 @@ distcheck: dist
  389. GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
  390. *.tar.bz2*) \
  391. bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
  392. - *.tar.lzma*) \
  393. - unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
  394. *.tar.Z*) \
  395. uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
  396. *.shar.gz*) \
  397. @@ -649,7 +609,7 @@ distcheck: dist
  398. $(am__remove_distdir)
  399. @(echo "$(distdir) archives ready for distribution: "; \
  400. list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  401. - sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
  402. + sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
  403. distuninstallcheck:
  404. @cd $(distuninstallcheck_dir) \
  405. && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
  406. @@ -675,7 +635,7 @@ install-binPROGRAMS: install-libLTLIBRAR
  407. installdirs:
  408. for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(includedir)"; do \
  409. - test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  410. + test -z "$$dir" || $(mkdir_p) "$$dir"; \
  411. done
  412. install: install-am
  413. install-exec: install-exec-am
  414. @@ -725,20 +685,12 @@ info-am:
  415. install-data-am: install-includeHEADERS install-man
  416. -install-dvi: install-dvi-am
  417. -
  418. install-exec-am: install-binPROGRAMS install-libLTLIBRARIES
  419. -install-html: install-html-am
  420. -
  421. install-info: install-info-am
  422. install-man: install-man3 install-man5
  423. -install-pdf: install-pdf-am
  424. -
  425. -install-ps: install-ps-am
  426. -
  427. installcheck-am:
  428. maintainer-clean: maintainer-clean-am
  429. @@ -762,31 +714,28 @@ ps: ps-am
  430. ps-am:
  431. uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \
  432. - uninstall-libLTLIBRARIES uninstall-man
  433. + uninstall-info-am uninstall-libLTLIBRARIES uninstall-man
  434. uninstall-man: uninstall-man3 uninstall-man5
  435. -.MAKE: install-am install-strip
  436. -
  437. .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
  438. clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
  439. clean-libtool ctags dist dist-all dist-bzip2 dist-gzip \
  440. - dist-lzma dist-shar dist-tarZ dist-zip distcheck distclean \
  441. + dist-shar dist-tarZ dist-zip distcheck distclean \
  442. distclean-compile distclean-generic distclean-libtool \
  443. distclean-tags distcleancheck distdir distuninstallcheck dvi \
  444. dvi-am html html-am info info-am install install-am \
  445. - install-binPROGRAMS install-data install-data-am install-dvi \
  446. - install-dvi-am install-exec install-exec-am install-html \
  447. - install-html-am install-includeHEADERS install-info \
  448. + install-binPROGRAMS install-data install-data-am install-exec \
  449. + install-exec-am install-includeHEADERS install-info \
  450. install-info-am install-libLTLIBRARIES install-man \
  451. - install-man3 install-man5 install-pdf install-pdf-am \
  452. - install-ps install-ps-am install-strip installcheck \
  453. + install-man3 install-man5 install-strip installcheck \
  454. installcheck-am installdirs maintainer-clean \
  455. maintainer-clean-generic mostlyclean mostlyclean-compile \
  456. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  457. tags uninstall uninstall-am uninstall-binPROGRAMS \
  458. - uninstall-includeHEADERS uninstall-libLTLIBRARIES \
  459. - uninstall-man uninstall-man3 uninstall-man5
  460. + uninstall-includeHEADERS uninstall-info-am \
  461. + uninstall-libLTLIBRARIES uninstall-man uninstall-man3 \
  462. + uninstall-man5
  463. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  464. # Otherwise a system limit (for SysV at least) may be exceeded.