Makefile 41 KB

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