Makefile.in 41 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234
  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. # Makefile for popt library.
  15. VPATH = @srcdir@
  16. pkgdatadir = $(datadir)/@PACKAGE@
  17. pkgincludedir = $(includedir)/@PACKAGE@
  18. pkglibdir = $(libdir)/@PACKAGE@
  19. pkglibexecdir = $(libexecdir)/@PACKAGE@
  20. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  21. install_sh_DATA = $(install_sh) -c -m 644
  22. install_sh_PROGRAM = $(install_sh) -c
  23. install_sh_SCRIPT = $(install_sh) -c
  24. INSTALL_HEADER = $(INSTALL_DATA)
  25. transform = $(program_transform_name)
  26. NORMAL_INSTALL = :
  27. PRE_INSTALL = :
  28. POST_INSTALL = :
  29. NORMAL_UNINSTALL = :
  30. PRE_UNINSTALL = :
  31. POST_UNINSTALL = :
  32. build_triplet = @build@
  33. host_triplet = @host@
  34. target_triplet = @target@
  35. noinst_PROGRAMS = test1$(EXEEXT) test2$(EXEEXT) tdict$(EXEEXT)
  36. @HAVE_LD_VERSION_SCRIPT_TRUE@am__append_1 = -Wl,--version-script=$(top_srcdir)/libpopt.vers
  37. subdir = .
  38. DIST_COMMON = README $(am__configure_deps) $(include_HEADERS) \
  39. $(noinst_HEADERS) $(srcdir)/Doxyfile.in $(srcdir)/Makefile.am \
  40. $(srcdir)/Makefile.in $(srcdir)/config.h.in \
  41. $(srcdir)/popt.pc.in $(srcdir)/popt.spec.in \
  42. $(srcdir)/test-poptrc.in $(top_srcdir)/configure ABOUT-NLS \
  43. COPYING config.guess config.rpath config.sub depcomp \
  44. install-sh ltmain.sh missing
  45. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  46. am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
  47. $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \
  48. $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
  49. $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  50. $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  51. $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
  52. $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
  53. $(top_srcdir)/configure.ac
  54. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  55. $(ACLOCAL_M4)
  56. am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
  57. configure.lineno config.status.lineno
  58. mkinstalldirs = $(install_sh) -d
  59. CONFIG_HEADER = config.h
  60. CONFIG_CLEAN_FILES = Doxyfile popt.pc popt.spec test-poptrc
  61. CONFIG_CLEAN_VPATH_FILES =
  62. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  63. am__vpath_adj = case $$p in \
  64. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  65. *) f=$$p;; \
  66. esac;
  67. am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  68. am__install_max = 40
  69. am__nobase_strip_setup = \
  70. srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  71. am__nobase_strip = \
  72. for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  73. am__nobase_list = $(am__nobase_strip_setup); \
  74. for p in $$list; do echo "$$p $$p"; done | \
  75. sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  76. $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  77. if (++n[$$2] == $(am__install_max)) \
  78. { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  79. END { for (dir in files) print dir, files[dir] }'
  80. am__base_list = \
  81. sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  82. sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  83. am__installdirs = "$(DESTDIR)$(usrlibdir)" "$(DESTDIR)$(man3dir)" \
  84. "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"
  85. LTLIBRARIES = $(usrlib_LTLIBRARIES)
  86. libpopt_la_LIBADD =
  87. am_libpopt_la_OBJECTS = popt.lo poptparse.lo poptconfig.lo popthelp.lo \
  88. poptint.lo
  89. libpopt_la_OBJECTS = $(am_libpopt_la_OBJECTS)
  90. libpopt_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  91. $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  92. $(libpopt_la_LDFLAGS) $(LDFLAGS) -o $@
  93. PROGRAMS = $(noinst_PROGRAMS)
  94. am_tdict_OBJECTS = tdict.$(OBJEXT)
  95. tdict_OBJECTS = $(am_tdict_OBJECTS)
  96. tdict_DEPENDENCIES = $(usrlib_LTLIBRARIES)
  97. tdict_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  98. --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(tdict_LDFLAGS) \
  99. $(LDFLAGS) -o $@
  100. am_test1_OBJECTS = test1.$(OBJEXT)
  101. test1_OBJECTS = $(am_test1_OBJECTS)
  102. test1_DEPENDENCIES = $(usrlib_LTLIBRARIES)
  103. test1_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  104. --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(test1_LDFLAGS) \
  105. $(LDFLAGS) -o $@
  106. am_test2_OBJECTS = test2.$(OBJEXT)
  107. test2_OBJECTS = $(am_test2_OBJECTS)
  108. test2_DEPENDENCIES = $(usrlib_LTLIBRARIES)
  109. test2_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  110. --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(test2_LDFLAGS) \
  111. $(LDFLAGS) -o $@
  112. SCRIPTS = $(noinst_SCRIPTS)
  113. DEFAULT_INCLUDES = -I.@am__isrc@
  114. depcomp = $(SHELL) $(top_srcdir)/depcomp
  115. am__depfiles_maybe = depfiles
  116. am__mv = mv -f
  117. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  118. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  119. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  120. --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  121. $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  122. CCLD = $(CC)
  123. LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  124. --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
  125. $(LDFLAGS) -o $@
  126. SOURCES = $(libpopt_la_SOURCES) $(tdict_SOURCES) $(test1_SOURCES) \
  127. $(test2_SOURCES)
  128. DIST_SOURCES = $(libpopt_la_SOURCES) $(tdict_SOURCES) $(test1_SOURCES) \
  129. $(test2_SOURCES)
  130. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  131. html-recursive info-recursive install-data-recursive \
  132. install-dvi-recursive install-exec-recursive \
  133. install-html-recursive install-info-recursive \
  134. install-pdf-recursive install-ps-recursive install-recursive \
  135. installcheck-recursive installdirs-recursive pdf-recursive \
  136. ps-recursive uninstall-recursive
  137. man3dir = $(mandir)/man3
  138. NROFF = nroff
  139. MANS = $(man_MANS)
  140. DATA = $(pkgconfig_DATA)
  141. HEADERS = $(include_HEADERS) $(noinst_HEADERS)
  142. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  143. distclean-recursive maintainer-clean-recursive
  144. AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  145. $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  146. distdir dist dist-all distcheck
  147. ETAGS = etags
  148. CTAGS = ctags
  149. am__tty_colors = \
  150. red=; grn=; lgn=; blu=; std=
  151. DIST_SUBDIRS = $(SUBDIRS)
  152. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  153. distdir = $(PACKAGE)-$(VERSION)
  154. top_distdir = $(distdir)
  155. am__remove_distdir = \
  156. { test ! -d "$(distdir)" \
  157. || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
  158. && rm -fr "$(distdir)"; }; }
  159. am__relativize = \
  160. dir0=`pwd`; \
  161. sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  162. sed_rest='s,^[^/]*/*,,'; \
  163. sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  164. sed_butlast='s,/*[^/]*$$,,'; \
  165. while test -n "$$dir1"; do \
  166. first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  167. if test "$$first" != "."; then \
  168. if test "$$first" = ".."; then \
  169. dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  170. dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  171. else \
  172. first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  173. if test "$$first2" = "$$first"; then \
  174. dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  175. else \
  176. dir2="../$$dir2"; \
  177. fi; \
  178. dir0="$$dir0"/"$$first"; \
  179. fi; \
  180. fi; \
  181. dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  182. done; \
  183. reldir="$$dir2"
  184. DIST_ARCHIVES = $(distdir).tar.gz
  185. GZIP_ENV = --best
  186. distuninstallcheck_listfiles = find . -type f -print
  187. distcleancheck_listfiles = find . -type f -print
  188. ACLOCAL = @ACLOCAL@
  189. AMTAR = @AMTAR@
  190. AR = @AR@
  191. AUTOCONF = @AUTOCONF@
  192. AUTOHEADER = @AUTOHEADER@
  193. AUTOMAKE = @AUTOMAKE@
  194. AWK = @AWK@
  195. CC = @CC@
  196. CCDEPMODE = @CCDEPMODE@
  197. CFLAGS = @CFLAGS@
  198. CPP = @CPP@
  199. CPPFLAGS = @CPPFLAGS@
  200. CYGPATH_W = @CYGPATH_W@
  201. DEFS = @DEFS@
  202. DEPDIR = @DEPDIR@
  203. DSYMUTIL = @DSYMUTIL@
  204. DUMPBIN = @DUMPBIN@
  205. ECHO_C = @ECHO_C@
  206. ECHO_N = @ECHO_N@
  207. ECHO_T = @ECHO_T@
  208. EGREP = @EGREP@
  209. EXEEXT = @EXEEXT@
  210. FGREP = @FGREP@
  211. GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
  212. GMSGFMT = @GMSGFMT@
  213. GMSGFMT_015 = @GMSGFMT_015@
  214. GREP = @GREP@
  215. INSTALL = @INSTALL@
  216. INSTALL_DATA = @INSTALL_DATA@
  217. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  218. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  219. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  220. INTLLIBS = @INTLLIBS@
  221. INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
  222. LD = @LD@
  223. LDFLAGS = @LDFLAGS@
  224. LIBICONV = @LIBICONV@
  225. LIBINTL = @LIBINTL@
  226. LIBOBJS = @LIBOBJS@
  227. LIBS = @LIBS@
  228. LIBTOOL = @LIBTOOL@
  229. LIPO = @LIPO@
  230. LN_S = @LN_S@
  231. LTLIBICONV = @LTLIBICONV@
  232. LTLIBINTL = @LTLIBINTL@
  233. LTLIBOBJS = @LTLIBOBJS@
  234. LT_AGE = @LT_AGE@
  235. LT_CURRENT = @LT_CURRENT@
  236. LT_REVISION = @LT_REVISION@
  237. MAINT = @MAINT@
  238. MAKEINFO = @MAKEINFO@
  239. MKDIR_P = @MKDIR_P@
  240. MSGFMT = @MSGFMT@
  241. MSGFMT_015 = @MSGFMT_015@
  242. MSGMERGE = @MSGMERGE@
  243. NM = @NM@
  244. NMEDIT = @NMEDIT@
  245. OBJDUMP = @OBJDUMP@
  246. OBJEXT = @OBJEXT@
  247. OTOOL = @OTOOL@
  248. OTOOL64 = @OTOOL64@
  249. PACKAGE = @PACKAGE@
  250. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  251. PACKAGE_NAME = @PACKAGE_NAME@
  252. PACKAGE_STRING = @PACKAGE_STRING@
  253. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  254. PACKAGE_VERSION = @PACKAGE_VERSION@
  255. PATH_SEPARATOR = @PATH_SEPARATOR@
  256. POPT_PKGCONFIG_LIBS = @POPT_PKGCONFIG_LIBS@
  257. POPT_SOURCE_PATH = @POPT_SOURCE_PATH@
  258. POSUB = @POSUB@
  259. RANLIB = @RANLIB@
  260. SED = @SED@
  261. SET_MAKE = @SET_MAKE@
  262. SHELL = @SHELL@
  263. STRIP = @STRIP@
  264. TARGET = @TARGET@
  265. U = @U@
  266. USE_NLS = @USE_NLS@
  267. VERSION = @VERSION@
  268. XGETTEXT = @XGETTEXT@
  269. XGETTEXT_015 = @XGETTEXT_015@
  270. XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
  271. abs_builddir = @abs_builddir@
  272. abs_srcdir = @abs_srcdir@
  273. abs_top_builddir = @abs_top_builddir@
  274. abs_top_srcdir = @abs_top_srcdir@
  275. ac_ct_CC = @ac_ct_CC@
  276. ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  277. am__include = @am__include@
  278. am__leading_dot = @am__leading_dot@
  279. am__quote = @am__quote@
  280. am__tar = @am__tar@
  281. am__untar = @am__untar@
  282. bindir = @bindir@
  283. build = @build@
  284. build_alias = @build_alias@
  285. build_cpu = @build_cpu@
  286. build_os = @build_os@
  287. build_vendor = @build_vendor@
  288. builddir = @builddir@
  289. datadir = @datadir@
  290. datarootdir = @datarootdir@
  291. docdir = @docdir@
  292. dvidir = @dvidir@
  293. exec_prefix = @exec_prefix@
  294. host = @host@
  295. host_alias = @host_alias@
  296. host_cpu = @host_cpu@
  297. host_os = @host_os@
  298. host_vendor = @host_vendor@
  299. htmldir = @htmldir@
  300. includedir = @includedir@
  301. infodir = @infodir@
  302. install_sh = @install_sh@
  303. libdir = @libdir@
  304. libexecdir = @libexecdir@
  305. localedir = @localedir@
  306. localstatedir = @localstatedir@
  307. lt_ECHO = @lt_ECHO@
  308. mandir = @mandir@
  309. mkdir_p = @mkdir_p@
  310. oldincludedir = @oldincludedir@
  311. pdfdir = @pdfdir@
  312. prefix = @prefix@
  313. program_transform_name = @program_transform_name@
  314. psdir = @psdir@
  315. sbindir = @sbindir@
  316. sharedstatedir = @sharedstatedir@
  317. srcdir = @srcdir@
  318. subdirs = @subdirs@
  319. sysconfdir = @sysconfdir@
  320. target = @target@
  321. target_alias = @target_alias@
  322. target_cpu = @target_cpu@
  323. target_os = @target_os@
  324. target_vendor = @target_vendor@
  325. top_build_prefix = @top_build_prefix@
  326. top_builddir = @top_builddir@
  327. top_srcdir = @top_srcdir@
  328. AUTOMAKE_OPTIONS = 1.4 foreign
  329. LINT = splint
  330. MCCABE = pmccabe
  331. EXTRA_DIST = config.rpath lookup3.c autogen.sh CHANGES $(man_MANS) \
  332. m4/Makefile.in \
  333. footer_no_timestamp.html libpopt.vers \
  334. testit.sh test-poptrc \
  335. popt.xcodeproj/project.pbxproj \
  336. popt.ps
  337. SUBDIRS = po . auto
  338. AM_CPPFLAGS = -I. -I$(top_srcdir)
  339. noinst_HEADERS = poptint.h system.h
  340. test1_SOURCES = test1.c
  341. test1_LDFLAGS =
  342. test1_LDADD = $(usrlib_LTLIBRARIES)
  343. test2_SOURCES = test2.c
  344. test2_LDFLAGS =
  345. test2_LDADD = $(usrlib_LTLIBRARIES)
  346. #test3_SOURCES = test3.c
  347. #test3_LDFLAGS =
  348. #test3_LDADD = $(usrlib_LTLIBRARIES)
  349. tdict_SOURCES = tdict.c
  350. tdict_LDFLAGS =
  351. tdict_LDADD = $(usrlib_LTLIBRARIES)
  352. noinst_SCRIPTS = testit.sh
  353. TESTS_ENVIRONMENT = \
  354. test1="$(top_builddir)/test1"
  355. TESTS = $(top_srcdir)/testit.sh
  356. include_HEADERS = popt.h
  357. usrlibdir = $(libdir)
  358. usrlib_LTLIBRARIES = libpopt.la
  359. libpopt_la_SOURCES = popt.c poptparse.c poptconfig.c popthelp.c poptint.c
  360. libpopt_la_LDFLAGS = -no-undefined @LTLIBINTL@ @LTLIBICONV@ \
  361. $(am__append_1)
  362. pkgconfigdir = $(prefix)/lib/pkgconfig
  363. pkgconfig_DATA = popt.pc
  364. man_MANS = popt.3
  365. BUILT_SOURCES = popt.pc # popt.lcd
  366. #.PHONY: lcov-upload
  367. #lcov-upload: lcov
  368. # rsync -rvz -e ssh --delete lcov/* ???
  369. ACLOCAL_AMFLAGS = -I m4
  370. all: $(BUILT_SOURCES) config.h
  371. $(MAKE) $(AM_MAKEFLAGS) all-recursive
  372. .SUFFIXES:
  373. .SUFFIXES: .c .lo .o .obj
  374. am--refresh:
  375. @:
  376. $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
  377. @for dep in $?; do \
  378. case '$(am__configure_deps)' in \
  379. *$$dep*) \
  380. echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
  381. $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
  382. && exit 0; \
  383. exit 1;; \
  384. esac; \
  385. done; \
  386. echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  387. $(am__cd) $(top_srcdir) && \
  388. $(AUTOMAKE) --foreign Makefile
  389. .PRECIOUS: Makefile
  390. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  391. @case '$?' in \
  392. *config.status*) \
  393. echo ' $(SHELL) ./config.status'; \
  394. $(SHELL) ./config.status;; \
  395. *) \
  396. echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
  397. cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
  398. esac;
  399. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  400. $(SHELL) ./config.status --recheck
  401. $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  402. $(am__cd) $(srcdir) && $(AUTOCONF)
  403. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  404. $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  405. $(am__aclocal_m4_deps):
  406. config.h: stamp-h1
  407. @if test ! -f $@; then \
  408. rm -f stamp-h1; \
  409. $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
  410. else :; fi
  411. stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
  412. @rm -f stamp-h1
  413. cd $(top_builddir) && $(SHELL) ./config.status config.h
  414. $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  415. ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
  416. rm -f stamp-h1
  417. touch $@
  418. distclean-hdr:
  419. -rm -f config.h stamp-h1
  420. Doxyfile: $(top_builddir)/config.status $(srcdir)/Doxyfile.in
  421. cd $(top_builddir) && $(SHELL) ./config.status $@
  422. popt.pc: $(top_builddir)/config.status $(srcdir)/popt.pc.in
  423. cd $(top_builddir) && $(SHELL) ./config.status $@
  424. popt.spec: $(top_builddir)/config.status $(srcdir)/popt.spec.in
  425. cd $(top_builddir) && $(SHELL) ./config.status $@
  426. test-poptrc: $(top_builddir)/config.status $(srcdir)/test-poptrc.in
  427. cd $(top_builddir) && $(SHELL) ./config.status $@
  428. install-usrlibLTLIBRARIES: $(usrlib_LTLIBRARIES)
  429. @$(NORMAL_INSTALL)
  430. test -z "$(usrlibdir)" || $(MKDIR_P) "$(DESTDIR)$(usrlibdir)"
  431. @list='$(usrlib_LTLIBRARIES)'; test -n "$(usrlibdir)" || list=; \
  432. list2=; for p in $$list; do \
  433. if test -f $$p; then \
  434. list2="$$list2 $$p"; \
  435. else :; fi; \
  436. done; \
  437. test -z "$$list2" || { \
  438. echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(usrlibdir)'"; \
  439. $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(usrlibdir)"; \
  440. }
  441. uninstall-usrlibLTLIBRARIES:
  442. @$(NORMAL_UNINSTALL)
  443. @list='$(usrlib_LTLIBRARIES)'; test -n "$(usrlibdir)" || list=; \
  444. for p in $$list; do \
  445. $(am__strip_dir) \
  446. echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(usrlibdir)/$$f'"; \
  447. $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(usrlibdir)/$$f"; \
  448. done
  449. clean-usrlibLTLIBRARIES:
  450. -test -z "$(usrlib_LTLIBRARIES)" || rm -f $(usrlib_LTLIBRARIES)
  451. @list='$(usrlib_LTLIBRARIES)'; for p in $$list; do \
  452. dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
  453. test "$$dir" != "$$p" || dir=.; \
  454. echo "rm -f \"$${dir}/so_locations\""; \
  455. rm -f "$${dir}/so_locations"; \
  456. done
  457. libpopt.la: $(libpopt_la_OBJECTS) $(libpopt_la_DEPENDENCIES)
  458. $(libpopt_la_LINK) -rpath $(usrlibdir) $(libpopt_la_OBJECTS) $(libpopt_la_LIBADD) $(LIBS)
  459. clean-noinstPROGRAMS:
  460. @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
  461. echo " rm -f" $$list; \
  462. rm -f $$list || exit $$?; \
  463. test -n "$(EXEEXT)" || exit 0; \
  464. list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  465. echo " rm -f" $$list; \
  466. rm -f $$list
  467. tdict$(EXEEXT): $(tdict_OBJECTS) $(tdict_DEPENDENCIES)
  468. @rm -f tdict$(EXEEXT)
  469. $(tdict_LINK) $(tdict_OBJECTS) $(tdict_LDADD) $(LIBS)
  470. test1$(EXEEXT): $(test1_OBJECTS) $(test1_DEPENDENCIES)
  471. @rm -f test1$(EXEEXT)
  472. $(test1_LINK) $(test1_OBJECTS) $(test1_LDADD) $(LIBS)
  473. test2$(EXEEXT): $(test2_OBJECTS) $(test2_DEPENDENCIES)
  474. @rm -f test2$(EXEEXT)
  475. $(test2_LINK) $(test2_OBJECTS) $(test2_LDADD) $(LIBS)
  476. mostlyclean-compile:
  477. -rm -f *.$(OBJEXT)
  478. distclean-compile:
  479. -rm -f *.tab.c
  480. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/popt.Plo@am__quote@
  481. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/poptconfig.Plo@am__quote@
  482. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/popthelp.Plo@am__quote@
  483. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/poptint.Plo@am__quote@
  484. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/poptparse.Plo@am__quote@
  485. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tdict.Po@am__quote@
  486. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test1.Po@am__quote@
  487. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test2.Po@am__quote@
  488. .c.o:
  489. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  490. @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  491. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  492. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  493. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  494. .c.obj:
  495. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  496. @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  497. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  498. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  499. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  500. .c.lo:
  501. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  502. @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  503. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  504. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  505. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  506. mostlyclean-libtool:
  507. -rm -f *.lo
  508. clean-libtool:
  509. -rm -rf .libs _libs
  510. distclean-libtool:
  511. -rm -f libtool config.lt
  512. install-man3: $(man_MANS)
  513. @$(NORMAL_INSTALL)
  514. test -z "$(man3dir)" || $(MKDIR_P) "$(DESTDIR)$(man3dir)"
  515. @list=''; test -n "$(man3dir)" || exit 0; \
  516. { for i in $$list; do echo "$$i"; done; \
  517. l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  518. sed -n '/\.3[a-z]*$$/p'; \
  519. } | while read p; do \
  520. if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  521. echo "$$d$$p"; echo "$$p"; \
  522. done | \
  523. sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
  524. -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  525. sed 'N;N;s,\n, ,g' | { \
  526. list=; while read file base inst; do \
  527. if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  528. echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
  529. $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
  530. fi; \
  531. done; \
  532. for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  533. while read files; do \
  534. test -z "$$files" || { \
  535. echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
  536. $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
  537. done; }
  538. uninstall-man3:
  539. @$(NORMAL_UNINSTALL)
  540. @list=''; test -n "$(man3dir)" || exit 0; \
  541. files=`{ for i in $$list; do echo "$$i"; done; \
  542. l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  543. sed -n '/\.3[a-z]*$$/p'; \
  544. } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
  545. -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  546. test -z "$$files" || { \
  547. echo " ( cd '$(DESTDIR)$(man3dir)' && rm -f" $$files ")"; \
  548. cd "$(DESTDIR)$(man3dir)" && rm -f $$files; }
  549. install-pkgconfigDATA: $(pkgconfig_DATA)
  550. @$(NORMAL_INSTALL)
  551. test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
  552. @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
  553. for p in $$list; do \
  554. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  555. echo "$$d$$p"; \
  556. done | $(am__base_list) | \
  557. while read files; do \
  558. echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
  559. $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
  560. done
  561. uninstall-pkgconfigDATA:
  562. @$(NORMAL_UNINSTALL)
  563. @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
  564. files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  565. test -n "$$files" || exit 0; \
  566. echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
  567. cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
  568. install-includeHEADERS: $(include_HEADERS)
  569. @$(NORMAL_INSTALL)
  570. test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
  571. @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
  572. for p in $$list; do \
  573. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  574. echo "$$d$$p"; \
  575. done | $(am__base_list) | \
  576. while read files; do \
  577. echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
  578. $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
  579. done
  580. uninstall-includeHEADERS:
  581. @$(NORMAL_UNINSTALL)
  582. @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
  583. files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  584. test -n "$$files" || exit 0; \
  585. echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \
  586. cd "$(DESTDIR)$(includedir)" && rm -f $$files
  587. # This directory's subdirectories are mostly independent; you can cd
  588. # into them and run `make' without going through this Makefile.
  589. # To change the values of `make' variables: instead of editing Makefiles,
  590. # (1) if the variable is set in `config.status', edit `config.status'
  591. # (which will cause the Makefiles to be regenerated when you run `make');
  592. # (2) otherwise, pass the desired values on the `make' command line.
  593. $(RECURSIVE_TARGETS):
  594. @fail= failcom='exit 1'; \
  595. for f in x $$MAKEFLAGS; do \
  596. case $$f in \
  597. *=* | --[!k]*);; \
  598. *k*) failcom='fail=yes';; \
  599. esac; \
  600. done; \
  601. dot_seen=no; \
  602. target=`echo $@ | sed s/-recursive//`; \
  603. list='$(SUBDIRS)'; for subdir in $$list; do \
  604. echo "Making $$target in $$subdir"; \
  605. if test "$$subdir" = "."; then \
  606. dot_seen=yes; \
  607. local_target="$$target-am"; \
  608. else \
  609. local_target="$$target"; \
  610. fi; \
  611. ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  612. || eval $$failcom; \
  613. done; \
  614. if test "$$dot_seen" = "no"; then \
  615. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  616. fi; test -z "$$fail"
  617. $(RECURSIVE_CLEAN_TARGETS):
  618. @fail= failcom='exit 1'; \
  619. for f in x $$MAKEFLAGS; do \
  620. case $$f in \
  621. *=* | --[!k]*);; \
  622. *k*) failcom='fail=yes';; \
  623. esac; \
  624. done; \
  625. dot_seen=no; \
  626. case "$@" in \
  627. distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  628. *) list='$(SUBDIRS)' ;; \
  629. esac; \
  630. rev=''; for subdir in $$list; do \
  631. if test "$$subdir" = "."; then :; else \
  632. rev="$$subdir $$rev"; \
  633. fi; \
  634. done; \
  635. rev="$$rev ."; \
  636. target=`echo $@ | sed s/-recursive//`; \
  637. for subdir in $$rev; do \
  638. echo "Making $$target in $$subdir"; \
  639. if test "$$subdir" = "."; then \
  640. local_target="$$target-am"; \
  641. else \
  642. local_target="$$target"; \
  643. fi; \
  644. ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  645. || eval $$failcom; \
  646. done && test -z "$$fail"
  647. tags-recursive:
  648. list='$(SUBDIRS)'; for subdir in $$list; do \
  649. test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  650. done
  651. ctags-recursive:
  652. list='$(SUBDIRS)'; for subdir in $$list; do \
  653. test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  654. done
  655. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  656. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  657. unique=`for i in $$list; do \
  658. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  659. done | \
  660. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  661. END { if (nonempty) { for (i in files) print i; }; }'`; \
  662. mkid -fID $$unique
  663. tags: TAGS
  664. TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  665. $(TAGS_FILES) $(LISP)
  666. set x; \
  667. here=`pwd`; \
  668. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  669. include_option=--etags-include; \
  670. empty_fix=.; \
  671. else \
  672. include_option=--include; \
  673. empty_fix=; \
  674. fi; \
  675. list='$(SUBDIRS)'; for subdir in $$list; do \
  676. if test "$$subdir" = .; then :; else \
  677. test ! -f $$subdir/TAGS || \
  678. set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  679. fi; \
  680. done; \
  681. list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  682. unique=`for i in $$list; do \
  683. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  684. done | \
  685. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  686. END { if (nonempty) { for (i in files) print i; }; }'`; \
  687. shift; \
  688. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  689. test -n "$$unique" || unique=$$empty_fix; \
  690. if test $$# -gt 0; then \
  691. $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  692. "$$@" $$unique; \
  693. else \
  694. $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  695. $$unique; \
  696. fi; \
  697. fi
  698. ctags: CTAGS
  699. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  700. $(TAGS_FILES) $(LISP)
  701. list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  702. unique=`for i in $$list; do \
  703. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  704. done | \
  705. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  706. END { if (nonempty) { for (i in files) print i; }; }'`; \
  707. test -z "$(CTAGS_ARGS)$$unique" \
  708. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  709. $$unique
  710. GTAGS:
  711. here=`$(am__cd) $(top_builddir) && pwd` \
  712. && $(am__cd) $(top_srcdir) \
  713. && gtags -i $(GTAGS_ARGS) "$$here"
  714. distclean-tags:
  715. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  716. check-TESTS: $(TESTS)
  717. @failed=0; all=0; xfail=0; xpass=0; skip=0; \
  718. srcdir=$(srcdir); export srcdir; \
  719. list=' $(TESTS) '; \
  720. $(am__tty_colors); \
  721. if test -n "$$list"; then \
  722. for tst in $$list; do \
  723. if test -f ./$$tst; then dir=./; \
  724. elif test -f $$tst; then dir=; \
  725. else dir="$(srcdir)/"; fi; \
  726. if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
  727. all=`expr $$all + 1`; \
  728. case " $(XFAIL_TESTS) " in \
  729. *[\ \ ]$$tst[\ \ ]*) \
  730. xpass=`expr $$xpass + 1`; \
  731. failed=`expr $$failed + 1`; \
  732. col=$$red; res=XPASS; \
  733. ;; \
  734. *) \
  735. col=$$grn; res=PASS; \
  736. ;; \
  737. esac; \
  738. elif test $$? -ne 77; then \
  739. all=`expr $$all + 1`; \
  740. case " $(XFAIL_TESTS) " in \
  741. *[\ \ ]$$tst[\ \ ]*) \
  742. xfail=`expr $$xfail + 1`; \
  743. col=$$lgn; res=XFAIL; \
  744. ;; \
  745. *) \
  746. failed=`expr $$failed + 1`; \
  747. col=$$red; res=FAIL; \
  748. ;; \
  749. esac; \
  750. else \
  751. skip=`expr $$skip + 1`; \
  752. col=$$blu; res=SKIP; \
  753. fi; \
  754. echo "$${col}$$res$${std}: $$tst"; \
  755. done; \
  756. if test "$$all" -eq 1; then \
  757. tests="test"; \
  758. All=""; \
  759. else \
  760. tests="tests"; \
  761. All="All "; \
  762. fi; \
  763. if test "$$failed" -eq 0; then \
  764. if test "$$xfail" -eq 0; then \
  765. banner="$$All$$all $$tests passed"; \
  766. else \
  767. if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
  768. banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
  769. fi; \
  770. else \
  771. if test "$$xpass" -eq 0; then \
  772. banner="$$failed of $$all $$tests failed"; \
  773. else \
  774. if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
  775. banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
  776. fi; \
  777. fi; \
  778. dashes="$$banner"; \
  779. skipped=""; \
  780. if test "$$skip" -ne 0; then \
  781. if test "$$skip" -eq 1; then \
  782. skipped="($$skip test was not run)"; \
  783. else \
  784. skipped="($$skip tests were not run)"; \
  785. fi; \
  786. test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
  787. dashes="$$skipped"; \
  788. fi; \
  789. report=""; \
  790. if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
  791. report="Please report to $(PACKAGE_BUGREPORT)"; \
  792. test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
  793. dashes="$$report"; \
  794. fi; \
  795. dashes=`echo "$$dashes" | sed s/./=/g`; \
  796. if test "$$failed" -eq 0; then \
  797. echo "$$grn$$dashes"; \
  798. else \
  799. echo "$$red$$dashes"; \
  800. fi; \
  801. echo "$$banner"; \
  802. test -z "$$skipped" || echo "$$skipped"; \
  803. test -z "$$report" || echo "$$report"; \
  804. echo "$$dashes$$std"; \
  805. test "$$failed" -eq 0; \
  806. else :; fi
  807. distdir: $(DISTFILES)
  808. @list='$(MANS)'; if test -n "$$list"; then \
  809. list=`for p in $$list; do \
  810. if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  811. if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
  812. if test -n "$$list" && \
  813. grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
  814. echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
  815. grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
  816. echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
  817. echo " typically \`make maintainer-clean' will remove them" >&2; \
  818. exit 1; \
  819. else :; fi; \
  820. else :; fi
  821. $(am__remove_distdir)
  822. test -d "$(distdir)" || mkdir "$(distdir)"
  823. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  824. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  825. list='$(DISTFILES)'; \
  826. dist_files=`for file in $$list; do echo $$file; done | \
  827. sed -e "s|^$$srcdirstrip/||;t" \
  828. -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  829. case $$dist_files in \
  830. */*) $(MKDIR_P) `echo "$$dist_files" | \
  831. sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  832. sort -u` ;; \
  833. esac; \
  834. for file in $$dist_files; do \
  835. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  836. if test -d $$d/$$file; then \
  837. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  838. if test -d "$(distdir)/$$file"; then \
  839. find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  840. fi; \
  841. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  842. cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  843. find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  844. fi; \
  845. cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  846. else \
  847. test -f "$(distdir)/$$file" \
  848. || cp -p $$d/$$file "$(distdir)/$$file" \
  849. || exit 1; \
  850. fi; \
  851. done
  852. @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  853. if test "$$subdir" = .; then :; else \
  854. test -d "$(distdir)/$$subdir" \
  855. || $(MKDIR_P) "$(distdir)/$$subdir" \
  856. || exit 1; \
  857. fi; \
  858. done
  859. @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  860. if test "$$subdir" = .; then :; else \
  861. dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  862. $(am__relativize); \
  863. new_distdir=$$reldir; \
  864. dir1=$$subdir; dir2="$(top_distdir)"; \
  865. $(am__relativize); \
  866. new_top_distdir=$$reldir; \
  867. echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  868. echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  869. ($(am__cd) $$subdir && \
  870. $(MAKE) $(AM_MAKEFLAGS) \
  871. top_distdir="$$new_top_distdir" \
  872. distdir="$$new_distdir" \
  873. am__remove_distdir=: \
  874. am__skip_length_check=: \
  875. am__skip_mode_fix=: \
  876. distdir) \
  877. || exit 1; \
  878. fi; \
  879. done
  880. -test -n "$(am__skip_mode_fix)" \
  881. || find "$(distdir)" -type d ! -perm -755 \
  882. -exec chmod u+rwx,go+rx {} \; -o \
  883. ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  884. ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  885. ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
  886. || chmod -R a+r "$(distdir)"
  887. dist-gzip: distdir
  888. tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  889. $(am__remove_distdir)
  890. dist-bzip2: distdir
  891. tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
  892. $(am__remove_distdir)
  893. dist-lzma: distdir
  894. tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
  895. $(am__remove_distdir)
  896. dist-xz: distdir
  897. tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
  898. $(am__remove_distdir)
  899. dist-tarZ: distdir
  900. tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  901. $(am__remove_distdir)
  902. dist-shar: distdir
  903. shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
  904. $(am__remove_distdir)
  905. dist-zip: distdir
  906. -rm -f $(distdir).zip
  907. zip -rq $(distdir).zip $(distdir)
  908. $(am__remove_distdir)
  909. dist dist-all: distdir
  910. tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  911. $(am__remove_distdir)
  912. # This target untars the dist file and tries a VPATH configuration. Then
  913. # it guarantees that the distribution is self-contained by making another
  914. # tarfile.
  915. distcheck: dist
  916. case '$(DIST_ARCHIVES)' in \
  917. *.tar.gz*) \
  918. GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
  919. *.tar.bz2*) \
  920. bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
  921. *.tar.lzma*) \
  922. lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
  923. *.tar.xz*) \
  924. xz -dc $(distdir).tar.xz | $(am__untar) ;;\
  925. *.tar.Z*) \
  926. uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
  927. *.shar.gz*) \
  928. GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
  929. *.zip*) \
  930. unzip $(distdir).zip ;;\
  931. esac
  932. chmod -R a-w $(distdir); chmod a+w $(distdir)
  933. mkdir $(distdir)/_build
  934. mkdir $(distdir)/_inst
  935. chmod a-w $(distdir)
  936. test -d $(distdir)/_build || exit 0; \
  937. dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  938. && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
  939. && am__cwd=`pwd` \
  940. && $(am__cd) $(distdir)/_build \
  941. && ../configure --srcdir=.. --prefix="$$dc_install_base" \
  942. $(DISTCHECK_CONFIGURE_FLAGS) \
  943. && $(MAKE) $(AM_MAKEFLAGS) \
  944. && $(MAKE) $(AM_MAKEFLAGS) dvi \
  945. && $(MAKE) $(AM_MAKEFLAGS) check \
  946. && $(MAKE) $(AM_MAKEFLAGS) install \
  947. && $(MAKE) $(AM_MAKEFLAGS) installcheck \
  948. && $(MAKE) $(AM_MAKEFLAGS) uninstall \
  949. && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
  950. distuninstallcheck \
  951. && chmod -R a-w "$$dc_install_base" \
  952. && ({ \
  953. (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
  954. && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
  955. && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
  956. && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
  957. distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
  958. } || { rm -rf "$$dc_destdir"; exit 1; }) \
  959. && rm -rf "$$dc_destdir" \
  960. && $(MAKE) $(AM_MAKEFLAGS) dist \
  961. && rm -rf $(DIST_ARCHIVES) \
  962. && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
  963. && cd "$$am__cwd" \
  964. || exit 1
  965. $(am__remove_distdir)
  966. @(echo "$(distdir) archives ready for distribution: "; \
  967. list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  968. sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
  969. distuninstallcheck:
  970. @$(am__cd) '$(distuninstallcheck_dir)' \
  971. && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
  972. || { echo "ERROR: files left after uninstall:" ; \
  973. if test -n "$(DESTDIR)"; then \
  974. echo " (check DESTDIR support)"; \
  975. fi ; \
  976. $(distuninstallcheck_listfiles) ; \
  977. exit 1; } >&2
  978. distcleancheck: distclean
  979. @if test '$(srcdir)' = . ; then \
  980. echo "ERROR: distcleancheck can only run from a VPATH build" ; \
  981. exit 1 ; \
  982. fi
  983. @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
  984. || { echo "ERROR: files left in build directory after distclean:" ; \
  985. $(distcleancheck_listfiles) ; \
  986. exit 1; } >&2
  987. check-am: all-am
  988. $(MAKE) $(AM_MAKEFLAGS) check-TESTS
  989. check: $(BUILT_SOURCES)
  990. $(MAKE) $(AM_MAKEFLAGS) check-recursive
  991. all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) \
  992. $(HEADERS) config.h
  993. installdirs: installdirs-recursive
  994. installdirs-am:
  995. for dir in "$(DESTDIR)$(usrlibdir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"; do \
  996. test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  997. done
  998. install: $(BUILT_SOURCES)
  999. $(MAKE) $(AM_MAKEFLAGS) install-recursive
  1000. install-exec: install-exec-recursive
  1001. install-data: install-data-recursive
  1002. uninstall: uninstall-recursive
  1003. install-am: all-am
  1004. @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  1005. installcheck: installcheck-recursive
  1006. install-strip:
  1007. $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  1008. install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  1009. `test -z '$(STRIP)' || \
  1010. echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  1011. mostlyclean-generic:
  1012. clean-generic:
  1013. distclean-generic:
  1014. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  1015. -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  1016. maintainer-clean-generic:
  1017. @echo "This command is intended for maintainers to use"
  1018. @echo "it deletes files that may require special tools to rebuild."
  1019. -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
  1020. clean: clean-recursive
  1021. clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
  1022. clean-usrlibLTLIBRARIES mostlyclean-am
  1023. distclean: distclean-recursive
  1024. -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  1025. -rm -rf ./$(DEPDIR)
  1026. -rm -f Makefile
  1027. distclean-am: clean-am distclean-compile distclean-generic \
  1028. distclean-hdr distclean-libtool distclean-local distclean-tags
  1029. dvi: dvi-recursive
  1030. dvi-am:
  1031. html: html-recursive
  1032. html-am:
  1033. info: info-recursive
  1034. info-am:
  1035. install-data-am: install-includeHEADERS install-man \
  1036. install-pkgconfigDATA install-usrlibLTLIBRARIES
  1037. install-dvi: install-dvi-recursive
  1038. install-dvi-am:
  1039. install-exec-am:
  1040. install-html: install-html-recursive
  1041. install-html-am:
  1042. install-info: install-info-recursive
  1043. install-info-am:
  1044. install-man: install-man3
  1045. install-pdf: install-pdf-recursive
  1046. install-pdf-am:
  1047. install-ps: install-ps-recursive
  1048. install-ps-am:
  1049. installcheck-am:
  1050. maintainer-clean: maintainer-clean-recursive
  1051. -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  1052. -rm -rf $(top_srcdir)/autom4te.cache
  1053. -rm -rf ./$(DEPDIR)
  1054. -rm -f Makefile
  1055. maintainer-clean-am: distclean-am maintainer-clean-generic
  1056. mostlyclean: mostlyclean-recursive
  1057. mostlyclean-am: mostlyclean-compile mostlyclean-generic \
  1058. mostlyclean-libtool
  1059. pdf: pdf-recursive
  1060. pdf-am:
  1061. ps: ps-recursive
  1062. ps-am:
  1063. uninstall-am: uninstall-includeHEADERS uninstall-man \
  1064. uninstall-pkgconfigDATA uninstall-usrlibLTLIBRARIES
  1065. uninstall-man: uninstall-man3
  1066. .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
  1067. check-am ctags-recursive install install-am install-strip \
  1068. tags-recursive
  1069. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  1070. all all-am am--refresh check check-TESTS check-am clean \
  1071. clean-generic clean-libtool clean-noinstPROGRAMS \
  1072. clean-usrlibLTLIBRARIES ctags ctags-recursive dist dist-all \
  1073. dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz \
  1074. dist-zip distcheck distclean distclean-compile \
  1075. distclean-generic distclean-hdr distclean-libtool \
  1076. distclean-local distclean-tags distcleancheck distdir \
  1077. distuninstallcheck dvi dvi-am html html-am info info-am \
  1078. install install-am install-data install-data-am install-dvi \
  1079. install-dvi-am install-exec install-exec-am install-html \
  1080. install-html-am install-includeHEADERS install-info \
  1081. install-info-am install-man install-man3 install-pdf \
  1082. install-pdf-am install-pkgconfigDATA install-ps install-ps-am \
  1083. install-strip install-usrlibLTLIBRARIES installcheck \
  1084. installcheck-am installdirs installdirs-am maintainer-clean \
  1085. maintainer-clean-generic mostlyclean mostlyclean-compile \
  1086. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  1087. tags tags-recursive uninstall uninstall-am \
  1088. uninstall-includeHEADERS uninstall-man uninstall-man3 \
  1089. uninstall-pkgconfigDATA uninstall-usrlibLTLIBRARIES
  1090. distclean-local:
  1091. rm -rf .ccache
  1092. .PHONY: updatepo
  1093. updatepo:
  1094. rsync -Lrtvz translationproject.org::tp/latest/popt/ po
  1095. popt.lcd: Makefile.am ${libpopt_la_SOURCES} ${include_HEADERS} ${noinst_HEADERS}
  1096. lclint -dump $@ ${libpopt_la_SOURCES}
  1097. .PHONY: sources
  1098. sources:
  1099. @echo $(libpopt_la_SOURCES:%=popt/%)
  1100. .PHONY: lint
  1101. lint:
  1102. $(LINT) ${DEFS} ${INCLUDES} test1.c ${libpopt_la_SOURCES}
  1103. .PHONY: mccabe
  1104. mccabe:
  1105. $(MCCABE) $(libpopt_la_SOURCES) | sort -n -r | head -n 10
  1106. .PHONY: doxygen
  1107. doxygen: Doxyfile
  1108. rm -rf doxygen
  1109. mkdir -p doxygen
  1110. doxygen
  1111. .PHONY: lcov-reset # run lcov from scratch, always
  1112. lcov-reset:
  1113. make lcov-run
  1114. make lcov-report
  1115. .PHONY: lcov # run lcov from scratch if the dir is not there
  1116. lcov:
  1117. make lcov-reset
  1118. .PHONY: lcov-run # reset run coverage tests
  1119. lcov-run:
  1120. @-rm -rf lcov
  1121. find . -name "*.gcda" -exec rm {} \;
  1122. make check
  1123. .PHONY: lcov-report # generate report based on current coverage data
  1124. lcov-report:
  1125. mkdir lcov
  1126. lcov --directory . --capture --output-file lcov/lcov.info
  1127. lcov -l lcov/lcov.info | grep -v "`cd $(top_srcdir) && pwd`" | cut -d: -f1 > lcov/remove
  1128. lcov -r lcov/lcov.info `cat lcov/remove` > lcov/lcov.cleaned.info
  1129. rm lcov/remove
  1130. mv lcov/lcov.cleaned.info lcov/lcov.info
  1131. genhtml -t "$(PACKAGE_STRING)" -o lcov lcov/lcov.info
  1132. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  1133. # Otherwise a system limit (for SysV at least) may be exceeded.
  1134. .NOEXPORT: