1 | # Makefile.in generated by automake 1.6.3 from Makefile.am. |
---|
2 | # @configure_input@ |
---|
3 | |
---|
4 | # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 |
---|
5 | # Free Software Foundation, Inc. |
---|
6 | # This Makefile.in is free software; the Free Software Foundation |
---|
7 | # gives unlimited permission to copy and/or distribute it, |
---|
8 | # with or without modifications, as long as this notice is preserved. |
---|
9 | |
---|
10 | # This program is distributed in the hope that it will be useful, |
---|
11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
---|
12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
---|
13 | # PARTICULAR PURPOSE. |
---|
14 | |
---|
15 | @SET_MAKE@ |
---|
16 | |
---|
17 | # Makefile for popt library. |
---|
18 | SHELL = @SHELL@ |
---|
19 | |
---|
20 | srcdir = @srcdir@ |
---|
21 | top_srcdir = @top_srcdir@ |
---|
22 | VPATH = @srcdir@ |
---|
23 | prefix = @prefix@ |
---|
24 | exec_prefix = @exec_prefix@ |
---|
25 | |
---|
26 | bindir = @bindir@ |
---|
27 | sbindir = @sbindir@ |
---|
28 | libexecdir = @libexecdir@ |
---|
29 | datadir = @datadir@ |
---|
30 | sysconfdir = @sysconfdir@ |
---|
31 | sharedstatedir = @sharedstatedir@ |
---|
32 | localstatedir = @localstatedir@ |
---|
33 | libdir = @libdir@ |
---|
34 | infodir = @infodir@ |
---|
35 | mandir = @mandir@ |
---|
36 | includedir = @includedir@ |
---|
37 | oldincludedir = /usr/include |
---|
38 | pkgdatadir = $(datadir)/@PACKAGE@ |
---|
39 | pkglibdir = $(libdir)/@PACKAGE@ |
---|
40 | pkgincludedir = $(includedir)/@PACKAGE@ |
---|
41 | top_builddir = . |
---|
42 | |
---|
43 | ACLOCAL = @ACLOCAL@ |
---|
44 | AUTOCONF = @AUTOCONF@ |
---|
45 | AUTOMAKE = @AUTOMAKE@ |
---|
46 | AUTOHEADER = @AUTOHEADER@ |
---|
47 | |
---|
48 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
---|
49 | INSTALL = @INSTALL@ |
---|
50 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
---|
51 | INSTALL_DATA = @INSTALL_DATA@ |
---|
52 | install_sh_DATA = $(install_sh) -c -m 644 |
---|
53 | install_sh_PROGRAM = $(install_sh) -c |
---|
54 | install_sh_SCRIPT = $(install_sh) -c |
---|
55 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
---|
56 | INSTALL_HEADER = $(INSTALL_DATA) |
---|
57 | transform = @program_transform_name@ |
---|
58 | NORMAL_INSTALL = : |
---|
59 | PRE_INSTALL = : |
---|
60 | POST_INSTALL = : |
---|
61 | NORMAL_UNINSTALL = : |
---|
62 | PRE_UNINSTALL = : |
---|
63 | POST_UNINSTALL = : |
---|
64 | build_alias = @build_alias@ |
---|
65 | build_triplet = @build@ |
---|
66 | host_alias = @host_alias@ |
---|
67 | host_triplet = @host@ |
---|
68 | target_alias = @target_alias@ |
---|
69 | target_triplet = @target@ |
---|
70 | |
---|
71 | EXEEXT = @EXEEXT@ |
---|
72 | OBJEXT = @OBJEXT@ |
---|
73 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
---|
74 | AMTAR = @AMTAR@ |
---|
75 | AS = @AS@ |
---|
76 | AWK = @AWK@ |
---|
77 | BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ |
---|
78 | CATOBJEXT = @CATOBJEXT@ |
---|
79 | CC = @CC@ |
---|
80 | CPP = @CPP@ |
---|
81 | DATADIRNAME = @DATADIRNAME@ |
---|
82 | DEPDIR = @DEPDIR@ |
---|
83 | DLLTOOL = @DLLTOOL@ |
---|
84 | ECHO = @ECHO@ |
---|
85 | GENCAT = @GENCAT@ |
---|
86 | GLIBC21 = @GLIBC21@ |
---|
87 | GMSGFMT = @GMSGFMT@ |
---|
88 | HAVE_LIB = @HAVE_LIB@ |
---|
89 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
---|
90 | INSTOBJEXT = @INSTOBJEXT@ |
---|
91 | INTLBISON = @INTLBISON@ |
---|
92 | INTLLIBS = @INTLLIBS@ |
---|
93 | INTLOBJS = @INTLOBJS@ |
---|
94 | INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ |
---|
95 | LIB = @LIB@ |
---|
96 | LIBICONV = @LIBICONV@ |
---|
97 | LIBINTL = @LIBINTL@ |
---|
98 | LIBTOOL = @LIBTOOL@ |
---|
99 | LN_S = @LN_S@ |
---|
100 | LTLIB = @LTLIB@ |
---|
101 | LTLIBICONV = @LTLIBICONV@ |
---|
102 | LTLIBINTL = @LTLIBINTL@ |
---|
103 | MKINSTALLDIRS = @MKINSTALLDIRS@ |
---|
104 | OBJDUMP = @OBJDUMP@ |
---|
105 | PACKAGE = @PACKAGE@ |
---|
106 | POPT_SOURCE_PATH = @POPT_SOURCE_PATH@ |
---|
107 | POSUB = @POSUB@ |
---|
108 | RANLIB = @RANLIB@ |
---|
109 | STRIP = @STRIP@ |
---|
110 | TARGET = @TARGET@ |
---|
111 | U = @U@ |
---|
112 | USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ |
---|
113 | USE_NLS = @USE_NLS@ |
---|
114 | VERSION = @VERSION@ |
---|
115 | am__include = @am__include@ |
---|
116 | am__quote = @am__quote@ |
---|
117 | install_sh = @install_sh@ |
---|
118 | |
---|
119 | AUTOMAKE_OPTIONS = 1.4 foreign |
---|
120 | |
---|
121 | EXTRA_DIST = autogen.sh CHANGES $(man_MANS) popt.spec \ |
---|
122 | testit.sh test-poptrc \ |
---|
123 | po/*.in po/*.po po/popt.pot \ |
---|
124 | popt.ps |
---|
125 | |
---|
126 | |
---|
127 | SUBDIRS = intl po |
---|
128 | |
---|
129 | INCLUDES = -I. -I$(top_srcdir) |
---|
130 | |
---|
131 | noinst_HEADERS = findme.h poptint.h system.h |
---|
132 | |
---|
133 | |
---|
134 | #noinst_PROGRAMS = test1 test2 test3 |
---|
135 | #test1_SOURCES = test1.c |
---|
136 | #test1_LDFLAGS = -all-static |
---|
137 | #test1_LDADD = $(lib_LTLIBRARIES) |
---|
138 | #test2_SOURCES = test2.c |
---|
139 | #test2_LDFLAGS = -all-static |
---|
140 | #test2_LDADD = $(lib_LTLIBRARIES) |
---|
141 | #test3_SOURCES = test3.c |
---|
142 | #test3_LDFLAGS = -all-static |
---|
143 | #test3_LDADD = $(lib_LTLIBRARIES) |
---|
144 | noinst_SCRIPTS = testit.sh |
---|
145 | |
---|
146 | TESTS_ENVIRONMENT = \ |
---|
147 | test1="./test1" |
---|
148 | |
---|
149 | |
---|
150 | TESTS = testit.sh |
---|
151 | |
---|
152 | include_HEADERS = popt.h |
---|
153 | lib_LTLIBRARIES = libpopt.la |
---|
154 | libpopt_la_SOURCES = popt.c findme.c poptparse.c poptconfig.c popthelp.c |
---|
155 | |
---|
156 | man_MANS = popt.3 |
---|
157 | |
---|
158 | CVSTAG = $(PACKAGE)-$(subst .,_,$(VERSION)) |
---|
159 | subdir = . |
---|
160 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
---|
161 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
---|
162 | CONFIG_HEADER = config.h |
---|
163 | CONFIG_CLEAN_FILES = Doxyfile intl/Makefile |
---|
164 | LTLIBRARIES = $(lib_LTLIBRARIES) |
---|
165 | |
---|
166 | libpopt_la_LDFLAGS = |
---|
167 | libpopt_la_LIBADD = |
---|
168 | am_libpopt_la_OBJECTS = popt.lo findme.lo poptparse.lo poptconfig.lo \ |
---|
169 | popthelp.lo |
---|
170 | libpopt_la_OBJECTS = $(am_libpopt_la_OBJECTS) |
---|
171 | SCRIPTS = $(noinst_SCRIPTS) |
---|
172 | |
---|
173 | |
---|
174 | DEFS = @DEFS@ |
---|
175 | DEFAULT_INCLUDES = -I. -I$(srcdir) -I. |
---|
176 | CPPFLAGS = @CPPFLAGS@ |
---|
177 | LDFLAGS = @LDFLAGS@ |
---|
178 | LIBS = @LIBS@ |
---|
179 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
---|
180 | am__depfiles_maybe = depfiles |
---|
181 | @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/findme.Plo ./$(DEPDIR)/popt.Plo \ |
---|
182 | @AMDEP_TRUE@ ./$(DEPDIR)/poptconfig.Plo ./$(DEPDIR)/popthelp.Plo \ |
---|
183 | @AMDEP_TRUE@ ./$(DEPDIR)/poptparse.Plo |
---|
184 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
---|
185 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
---|
186 | LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \ |
---|
187 | $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
---|
188 | CCLD = $(CC) |
---|
189 | LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ |
---|
190 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
---|
191 | CFLAGS = @CFLAGS@ |
---|
192 | DIST_SOURCES = $(libpopt_la_SOURCES) |
---|
193 | |
---|
194 | NROFF = nroff |
---|
195 | MANS = $(man_MANS) |
---|
196 | HEADERS = $(include_HEADERS) $(noinst_HEADERS) |
---|
197 | |
---|
198 | |
---|
199 | RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \ |
---|
200 | uninstall-info-recursive all-recursive install-data-recursive \ |
---|
201 | install-exec-recursive installdirs-recursive install-recursive \ |
---|
202 | uninstall-recursive check-recursive installcheck-recursive |
---|
203 | DIST_COMMON = README $(include_HEADERS) $(noinst_HEADERS) ABOUT-NLS \ |
---|
204 | COPYING Doxyfile.in Makefile.am Makefile.in aclocal.m4 \ |
---|
205 | config.guess config.h.in config.sub configure configure.in \ |
---|
206 | depcomp install-sh ltmain.sh missing mkinstalldirs |
---|
207 | DIST_SUBDIRS = $(SUBDIRS) |
---|
208 | SOURCES = $(libpopt_la_SOURCES) |
---|
209 | |
---|
210 | all: config.h |
---|
211 | $(MAKE) $(AM_MAKEFLAGS) all-recursive |
---|
212 | |
---|
213 | .SUFFIXES: |
---|
214 | .SUFFIXES: .c .lo .o .obj |
---|
215 | |
---|
216 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
---|
217 | configure.lineno |
---|
218 | $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
---|
219 | cd $(top_srcdir) && \ |
---|
220 | $(AUTOMAKE) --foreign Makefile |
---|
221 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
---|
222 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe) |
---|
223 | |
---|
224 | $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
---|
225 | $(SHELL) ./config.status --recheck |
---|
226 | $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) |
---|
227 | cd $(srcdir) && $(AUTOCONF) |
---|
228 | |
---|
229 | $(ACLOCAL_M4): configure.in |
---|
230 | cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
---|
231 | |
---|
232 | config.h: stamp-h1 |
---|
233 | @if test ! -f $@; then \ |
---|
234 | rm -f stamp-h1; \ |
---|
235 | $(MAKE) stamp-h1; \ |
---|
236 | else :; fi |
---|
237 | |
---|
238 | stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
---|
239 | @rm -f stamp-h1 |
---|
240 | cd $(top_builddir) && $(SHELL) ./config.status config.h |
---|
241 | |
---|
242 | $(srcdir)/config.h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) |
---|
243 | cd $(top_srcdir) && $(AUTOHEADER) |
---|
244 | touch $(srcdir)/config.h.in |
---|
245 | |
---|
246 | distclean-hdr: |
---|
247 | -rm -f config.h stamp-h1 |
---|
248 | Doxyfile: $(top_builddir)/config.status Doxyfile.in |
---|
249 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
---|
250 | intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in |
---|
251 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
---|
252 | libLTLIBRARIES_INSTALL = $(INSTALL) |
---|
253 | install-libLTLIBRARIES: $(lib_LTLIBRARIES) |
---|
254 | @$(NORMAL_INSTALL) |
---|
255 | $(mkinstalldirs) $(DESTDIR)$(libdir) |
---|
256 | @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ |
---|
257 | if test -f $$p; then \ |
---|
258 | f="`echo $$p | sed -e 's|^.*/||'`"; \ |
---|
259 | echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \ |
---|
260 | $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \ |
---|
261 | else :; fi; \ |
---|
262 | done |
---|
263 | |
---|
264 | uninstall-libLTLIBRARIES: |
---|
265 | @$(NORMAL_UNINSTALL) |
---|
266 | @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ |
---|
267 | p="`echo $$p | sed -e 's|^.*/||'`"; \ |
---|
268 | echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \ |
---|
269 | $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \ |
---|
270 | done |
---|
271 | |
---|
272 | clean-libLTLIBRARIES: |
---|
273 | -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) |
---|
274 | @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ |
---|
275 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ |
---|
276 | test -z "$dir" && dir=.; \ |
---|
277 | echo "rm -f \"$${dir}/so_locations\""; \ |
---|
278 | rm -f "$${dir}/so_locations"; \ |
---|
279 | done |
---|
280 | libpopt.la: $(libpopt_la_OBJECTS) $(libpopt_la_DEPENDENCIES) |
---|
281 | $(LINK) -rpath $(libdir) $(libpopt_la_LDFLAGS) $(libpopt_la_OBJECTS) $(libpopt_la_LIBADD) $(LIBS) |
---|
282 | |
---|
283 | mostlyclean-compile: |
---|
284 | -rm -f *.$(OBJEXT) core *.core |
---|
285 | |
---|
286 | distclean-compile: |
---|
287 | -rm -f *.tab.c |
---|
288 | |
---|
289 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/findme.Plo@am__quote@ |
---|
290 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/popt.Plo@am__quote@ |
---|
291 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/poptconfig.Plo@am__quote@ |
---|
292 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/popthelp.Plo@am__quote@ |
---|
293 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/poptparse.Plo@am__quote@ |
---|
294 | |
---|
295 | distclean-depend: |
---|
296 | -rm -rf ./$(DEPDIR) |
---|
297 | |
---|
298 | .c.o: |
---|
299 | @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
---|
300 | @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ |
---|
301 | @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
---|
302 | $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< |
---|
303 | |
---|
304 | .c.obj: |
---|
305 | @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
---|
306 | @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ |
---|
307 | @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
---|
308 | $(COMPILE) -c `cygpath -w $<` |
---|
309 | |
---|
310 | .c.lo: |
---|
311 | @AMDEP_TRUE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ |
---|
312 | @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ |
---|
313 | @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
---|
314 | $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< |
---|
315 | CCDEPMODE = @CCDEPMODE@ |
---|
316 | |
---|
317 | mostlyclean-libtool: |
---|
318 | -rm -f *.lo |
---|
319 | |
---|
320 | clean-libtool: |
---|
321 | -rm -rf .libs _libs |
---|
322 | |
---|
323 | distclean-libtool: |
---|
324 | -rm -f libtool |
---|
325 | uninstall-info-am: |
---|
326 | |
---|
327 | man3dir = $(mandir)/man3 |
---|
328 | install-man3: $(man3_MANS) $(man_MANS) |
---|
329 | @$(NORMAL_INSTALL) |
---|
330 | $(mkinstalldirs) $(DESTDIR)$(man3dir) |
---|
331 | @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \ |
---|
332 | l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ |
---|
333 | for i in $$l2; do \ |
---|
334 | case "$$i" in \ |
---|
335 | *.3*) list="$$list $$i" ;; \ |
---|
336 | esac; \ |
---|
337 | done; \ |
---|
338 | for i in $$list; do \ |
---|
339 | if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ |
---|
340 | else file=$$i; fi; \ |
---|
341 | ext=`echo $$i | sed -e 's/^.*\\.//'`; \ |
---|
342 | case "$$ext" in \ |
---|
343 | 3*) ;; \ |
---|
344 | *) ext='3' ;; \ |
---|
345 | esac; \ |
---|
346 | inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ |
---|
347 | inst=`echo $$inst | sed -e 's/^.*\///'`; \ |
---|
348 | inst=`echo $$inst | sed '$(transform)'`.$$ext; \ |
---|
349 | echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \ |
---|
350 | $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \ |
---|
351 | done |
---|
352 | uninstall-man3: |
---|
353 | @$(NORMAL_UNINSTALL) |
---|
354 | @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \ |
---|
355 | l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ |
---|
356 | for i in $$l2; do \ |
---|
357 | case "$$i" in \ |
---|
358 | *.3*) list="$$list $$i" ;; \ |
---|
359 | esac; \ |
---|
360 | done; \ |
---|
361 | for i in $$list; do \ |
---|
362 | ext=`echo $$i | sed -e 's/^.*\\.//'`; \ |
---|
363 | inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ |
---|
364 | inst=`echo $$inst | sed -e 's/^.*\///'`; \ |
---|
365 | inst=`echo $$inst | sed '$(transform)'`.$$ext; \ |
---|
366 | echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \ |
---|
367 | rm -f $(DESTDIR)$(man3dir)/$$inst; \ |
---|
368 | done |
---|
369 | includeHEADERS_INSTALL = $(INSTALL_HEADER) |
---|
370 | install-includeHEADERS: $(include_HEADERS) |
---|
371 | @$(NORMAL_INSTALL) |
---|
372 | $(mkinstalldirs) $(DESTDIR)$(includedir) |
---|
373 | @list='$(include_HEADERS)'; for p in $$list; do \ |
---|
374 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
---|
375 | f="`echo $$p | sed -e 's|^.*/||'`"; \ |
---|
376 | echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \ |
---|
377 | $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \ |
---|
378 | done |
---|
379 | |
---|
380 | uninstall-includeHEADERS: |
---|
381 | @$(NORMAL_UNINSTALL) |
---|
382 | @list='$(include_HEADERS)'; for p in $$list; do \ |
---|
383 | f="`echo $$p | sed -e 's|^.*/||'`"; \ |
---|
384 | echo " rm -f $(DESTDIR)$(includedir)/$$f"; \ |
---|
385 | rm -f $(DESTDIR)$(includedir)/$$f; \ |
---|
386 | done |
---|
387 | |
---|
388 | # This directory's subdirectories are mostly independent; you can cd |
---|
389 | # into them and run `make' without going through this Makefile. |
---|
390 | # To change the values of `make' variables: instead of editing Makefiles, |
---|
391 | # (1) if the variable is set in `config.status', edit `config.status' |
---|
392 | # (which will cause the Makefiles to be regenerated when you run `make'); |
---|
393 | # (2) otherwise, pass the desired values on the `make' command line. |
---|
394 | $(RECURSIVE_TARGETS): |
---|
395 | @set fnord $$MAKEFLAGS; amf=$$2; \ |
---|
396 | dot_seen=no; \ |
---|
397 | target=`echo $@ | sed s/-recursive//`; \ |
---|
398 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
---|
399 | echo "Making $$target in $$subdir"; \ |
---|
400 | if test "$$subdir" = "."; then \ |
---|
401 | dot_seen=yes; \ |
---|
402 | local_target="$$target-am"; \ |
---|
403 | else \ |
---|
404 | local_target="$$target"; \ |
---|
405 | fi; \ |
---|
406 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
---|
407 | || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ |
---|
408 | done; \ |
---|
409 | if test "$$dot_seen" = "no"; then \ |
---|
410 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
---|
411 | fi; test -z "$$fail" |
---|
412 | |
---|
413 | mostlyclean-recursive clean-recursive distclean-recursive \ |
---|
414 | maintainer-clean-recursive: |
---|
415 | @set fnord $$MAKEFLAGS; amf=$$2; \ |
---|
416 | dot_seen=no; \ |
---|
417 | case "$@" in \ |
---|
418 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ |
---|
419 | *) list='$(SUBDIRS)' ;; \ |
---|
420 | esac; \ |
---|
421 | rev=''; for subdir in $$list; do \ |
---|
422 | if test "$$subdir" = "."; then :; else \ |
---|
423 | rev="$$subdir $$rev"; \ |
---|
424 | fi; \ |
---|
425 | done; \ |
---|
426 | rev="$$rev ."; \ |
---|
427 | target=`echo $@ | sed s/-recursive//`; \ |
---|
428 | for subdir in $$rev; do \ |
---|
429 | echo "Making $$target in $$subdir"; \ |
---|
430 | if test "$$subdir" = "."; then \ |
---|
431 | local_target="$$target-am"; \ |
---|
432 | else \ |
---|
433 | local_target="$$target"; \ |
---|
434 | fi; \ |
---|
435 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
---|
436 | || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ |
---|
437 | done && test -z "$$fail" |
---|
438 | tags-recursive: |
---|
439 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
---|
440 | test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ |
---|
441 | done |
---|
442 | |
---|
443 | ETAGS = etags |
---|
444 | ETAGSFLAGS = |
---|
445 | |
---|
446 | tags: TAGS |
---|
447 | |
---|
448 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
---|
449 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
---|
450 | unique=`for i in $$list; do \ |
---|
451 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
---|
452 | done | \ |
---|
453 | $(AWK) ' { files[$$0] = 1; } \ |
---|
454 | END { for (i in files) print i; }'`; \ |
---|
455 | mkid -fID $$unique |
---|
456 | |
---|
457 | TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ |
---|
458 | $(TAGS_FILES) $(LISP) |
---|
459 | tags=; \ |
---|
460 | here=`pwd`; \ |
---|
461 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
---|
462 | if test "$$subdir" = .; then :; else \ |
---|
463 | test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ |
---|
464 | fi; \ |
---|
465 | done; \ |
---|
466 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ |
---|
467 | unique=`for i in $$list; do \ |
---|
468 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
---|
469 | done | \ |
---|
470 | $(AWK) ' { files[$$0] = 1; } \ |
---|
471 | END { for (i in files) print i; }'`; \ |
---|
472 | test -z "$(ETAGS_ARGS)$$tags$$unique" \ |
---|
473 | || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
---|
474 | $$tags $$unique |
---|
475 | |
---|
476 | GTAGS: |
---|
477 | here=`$(am__cd) $(top_builddir) && pwd` \ |
---|
478 | && cd $(top_srcdir) \ |
---|
479 | && gtags -i $(GTAGS_ARGS) $$here |
---|
480 | |
---|
481 | distclean-tags: |
---|
482 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH |
---|
483 | |
---|
484 | check-TESTS: $(TESTS) |
---|
485 | @failed=0; all=0; xfail=0; xpass=0; \ |
---|
486 | srcdir=$(srcdir); export srcdir; \ |
---|
487 | list='$(TESTS)'; \ |
---|
488 | if test -n "$$list"; then \ |
---|
489 | for tst in $$list; do \ |
---|
490 | if test -f ./$$tst; then dir=./; \ |
---|
491 | elif test -f $$tst; then dir=; \ |
---|
492 | else dir="$(srcdir)/"; fi; \ |
---|
493 | if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ |
---|
494 | all=`expr $$all + 1`; \ |
---|
495 | case " $(XFAIL_TESTS) " in \ |
---|
496 | *" $$tst "*) \ |
---|
497 | xpass=`expr $$xpass + 1`; \ |
---|
498 | failed=`expr $$failed + 1`; \ |
---|
499 | echo "XPASS: $$tst"; \ |
---|
500 | ;; \ |
---|
501 | *) \ |
---|
502 | echo "PASS: $$tst"; \ |
---|
503 | ;; \ |
---|
504 | esac; \ |
---|
505 | elif test $$? -ne 77; then \ |
---|
506 | all=`expr $$all + 1`; \ |
---|
507 | case " $(XFAIL_TESTS) " in \ |
---|
508 | *" $$tst "*) \ |
---|
509 | xfail=`expr $$xfail + 1`; \ |
---|
510 | echo "XFAIL: $$tst"; \ |
---|
511 | ;; \ |
---|
512 | *) \ |
---|
513 | failed=`expr $$failed + 1`; \ |
---|
514 | echo "FAIL: $$tst"; \ |
---|
515 | ;; \ |
---|
516 | esac; \ |
---|
517 | fi; \ |
---|
518 | done; \ |
---|
519 | if test "$$failed" -eq 0; then \ |
---|
520 | if test "$$xfail" -eq 0; then \ |
---|
521 | banner="All $$all tests passed"; \ |
---|
522 | else \ |
---|
523 | banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ |
---|
524 | fi; \ |
---|
525 | else \ |
---|
526 | if test "$$xpass" -eq 0; then \ |
---|
527 | banner="$$failed of $$all tests failed"; \ |
---|
528 | else \ |
---|
529 | banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ |
---|
530 | fi; \ |
---|
531 | fi; \ |
---|
532 | dashes=`echo "$$banner" | sed s/./=/g`; \ |
---|
533 | echo "$$dashes"; \ |
---|
534 | echo "$$banner"; \ |
---|
535 | echo "$$dashes"; \ |
---|
536 | test "$$failed" -eq 0; \ |
---|
537 | else :; fi |
---|
538 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
---|
539 | |
---|
540 | top_distdir = . |
---|
541 | distdir = $(PACKAGE)-$(VERSION) |
---|
542 | |
---|
543 | am__remove_distdir = \ |
---|
544 | { test ! -d $(distdir) \ |
---|
545 | || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ |
---|
546 | && rm -fr $(distdir); }; } |
---|
547 | |
---|
548 | GZIP_ENV = --best |
---|
549 | distcleancheck_listfiles = find . -type f -print |
---|
550 | |
---|
551 | distdir: $(DISTFILES) |
---|
552 | $(am__remove_distdir) |
---|
553 | mkdir $(distdir) |
---|
554 | $(mkinstalldirs) $(distdir)/. $(distdir)/intl $(distdir)/po |
---|
555 | @list='$(DISTFILES)'; for file in $$list; do \ |
---|
556 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
---|
557 | dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ |
---|
558 | if test "$$dir" != "$$file" && test "$$dir" != "."; then \ |
---|
559 | dir="/$$dir"; \ |
---|
560 | $(mkinstalldirs) "$(distdir)$$dir"; \ |
---|
561 | else \ |
---|
562 | dir=''; \ |
---|
563 | fi; \ |
---|
564 | if test -d $$d/$$file; then \ |
---|
565 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
---|
566 | cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ |
---|
567 | fi; \ |
---|
568 | cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ |
---|
569 | else \ |
---|
570 | test -f $(distdir)/$$file \ |
---|
571 | || cp -p $$d/$$file $(distdir)/$$file \ |
---|
572 | || exit 1; \ |
---|
573 | fi; \ |
---|
574 | done |
---|
575 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
---|
576 | if test "$$subdir" = .; then :; else \ |
---|
577 | test -d $(distdir)/$$subdir \ |
---|
578 | || mkdir $(distdir)/$$subdir \ |
---|
579 | || exit 1; \ |
---|
580 | (cd $$subdir && \ |
---|
581 | $(MAKE) $(AM_MAKEFLAGS) \ |
---|
582 | top_distdir="$(top_distdir)" \ |
---|
583 | distdir=../$(distdir)/$$subdir \ |
---|
584 | distdir) \ |
---|
585 | || exit 1; \ |
---|
586 | fi; \ |
---|
587 | done |
---|
588 | -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ |
---|
589 | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
---|
590 | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
---|
591 | ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ |
---|
592 | || chmod -R a+r $(distdir) |
---|
593 | dist-gzip: distdir |
---|
594 | $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
---|
595 | $(am__remove_distdir) |
---|
596 | |
---|
597 | dist dist-all: distdir |
---|
598 | $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
---|
599 | $(am__remove_distdir) |
---|
600 | |
---|
601 | # This target untars the dist file and tries a VPATH configuration. Then |
---|
602 | # it guarantees that the distribution is self-contained by making another |
---|
603 | # tarfile. |
---|
604 | distcheck: dist |
---|
605 | $(am__remove_distdir) |
---|
606 | GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - |
---|
607 | chmod -R a-w $(distdir); chmod a+w $(distdir) |
---|
608 | mkdir $(distdir)/=build |
---|
609 | mkdir $(distdir)/=inst |
---|
610 | chmod a-w $(distdir) |
---|
611 | dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \ |
---|
612 | && cd $(distdir)/=build \ |
---|
613 | && ../configure --srcdir=.. --prefix=$$dc_install_base \ |
---|
614 | --with-included-gettext \ |
---|
615 | $(DISTCHECK_CONFIGURE_FLAGS) \ |
---|
616 | && $(MAKE) $(AM_MAKEFLAGS) \ |
---|
617 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
---|
618 | && $(MAKE) $(AM_MAKEFLAGS) check \ |
---|
619 | && $(MAKE) $(AM_MAKEFLAGS) install \ |
---|
620 | && $(MAKE) $(AM_MAKEFLAGS) installcheck \ |
---|
621 | && $(MAKE) $(AM_MAKEFLAGS) uninstall \ |
---|
622 | && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \ |
---|
623 | || { echo "ERROR: files left after uninstall:" ; \ |
---|
624 | find $$dc_install_base -type f -print ; \ |
---|
625 | exit 1; } >&2 ) \ |
---|
626 | && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \ |
---|
627 | && rm -f $(distdir).tar.gz \ |
---|
628 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck |
---|
629 | $(am__remove_distdir) |
---|
630 | @echo "$(distdir).tar.gz is ready for distribution" | \ |
---|
631 | sed 'h;s/./=/g;p;x;p;x' |
---|
632 | distcleancheck: distclean |
---|
633 | if test '$(srcdir)' = . ; then \ |
---|
634 | echo "ERROR: distcleancheck can only run from a VPATH build" ; \ |
---|
635 | exit 1 ; \ |
---|
636 | fi |
---|
637 | test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ |
---|
638 | || { echo "ERROR: files left after distclean:" ; \ |
---|
639 | $(distcleancheck_listfiles) ; \ |
---|
640 | exit 1; } >&2 |
---|
641 | check-am: all-am |
---|
642 | $(MAKE) $(AM_MAKEFLAGS) check-TESTS |
---|
643 | check: check-recursive |
---|
644 | all-am: Makefile $(LTLIBRARIES) $(SCRIPTS) $(MANS) $(HEADERS) config.h |
---|
645 | installdirs: installdirs-recursive |
---|
646 | installdirs-am: |
---|
647 | $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(man3dir) $(DESTDIR)$(includedir) |
---|
648 | |
---|
649 | install: install-recursive |
---|
650 | install-exec: install-exec-recursive |
---|
651 | install-data: install-data-recursive |
---|
652 | uninstall: uninstall-recursive |
---|
653 | |
---|
654 | install-am: all-am |
---|
655 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
---|
656 | |
---|
657 | installcheck: installcheck-recursive |
---|
658 | install-strip: |
---|
659 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
---|
660 | INSTALL_STRIP_FLAG=-s \ |
---|
661 | `test -z '$(STRIP)' || \ |
---|
662 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
---|
663 | mostlyclean-generic: |
---|
664 | |
---|
665 | clean-generic: |
---|
666 | |
---|
667 | distclean-generic: |
---|
668 | -rm -f Makefile $(CONFIG_CLEAN_FILES) |
---|
669 | |
---|
670 | maintainer-clean-generic: |
---|
671 | @echo "This command is intended for maintainers to use" |
---|
672 | @echo "it deletes files that may require special tools to rebuild." |
---|
673 | clean: clean-recursive |
---|
674 | |
---|
675 | clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ |
---|
676 | mostlyclean-am |
---|
677 | |
---|
678 | distclean: distclean-recursive |
---|
679 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
---|
680 | distclean-am: clean-am distclean-compile distclean-depend \ |
---|
681 | distclean-generic distclean-hdr distclean-libtool \ |
---|
682 | distclean-tags |
---|
683 | |
---|
684 | dvi: dvi-recursive |
---|
685 | |
---|
686 | dvi-am: |
---|
687 | |
---|
688 | info: info-recursive |
---|
689 | |
---|
690 | info-am: |
---|
691 | |
---|
692 | install-data-am: install-includeHEADERS install-man |
---|
693 | |
---|
694 | install-exec-am: install-libLTLIBRARIES |
---|
695 | |
---|
696 | install-info: install-info-recursive |
---|
697 | |
---|
698 | install-man: install-man3 |
---|
699 | |
---|
700 | installcheck-am: |
---|
701 | |
---|
702 | maintainer-clean: maintainer-clean-recursive |
---|
703 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
---|
704 | -rm -rf autom4te.cache |
---|
705 | maintainer-clean-am: distclean-am maintainer-clean-generic |
---|
706 | |
---|
707 | mostlyclean: mostlyclean-recursive |
---|
708 | |
---|
709 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ |
---|
710 | mostlyclean-libtool |
---|
711 | |
---|
712 | uninstall-am: uninstall-includeHEADERS uninstall-info-am \ |
---|
713 | uninstall-libLTLIBRARIES uninstall-man |
---|
714 | |
---|
715 | uninstall-info: uninstall-info-recursive |
---|
716 | |
---|
717 | uninstall-man: uninstall-man3 |
---|
718 | |
---|
719 | .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-TESTS check-am \ |
---|
720 | clean clean-generic clean-libLTLIBRARIES clean-libtool \ |
---|
721 | clean-recursive dist dist-all dist-gzip distcheck distclean \ |
---|
722 | distclean-compile distclean-depend distclean-generic \ |
---|
723 | distclean-hdr distclean-libtool distclean-recursive \ |
---|
724 | distclean-tags distcleancheck distdir dvi dvi-am dvi-recursive \ |
---|
725 | info info-am info-recursive install install-am install-data \ |
---|
726 | install-data-am install-data-recursive install-exec \ |
---|
727 | install-exec-am install-exec-recursive install-includeHEADERS \ |
---|
728 | install-info install-info-am install-info-recursive \ |
---|
729 | install-libLTLIBRARIES install-man install-man3 \ |
---|
730 | install-recursive install-strip installcheck installcheck-am \ |
---|
731 | installdirs installdirs-am installdirs-recursive \ |
---|
732 | maintainer-clean maintainer-clean-generic \ |
---|
733 | maintainer-clean-recursive mostlyclean mostlyclean-compile \ |
---|
734 | mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \ |
---|
735 | tags tags-recursive uninstall uninstall-am \ |
---|
736 | uninstall-includeHEADERS uninstall-info-am \ |
---|
737 | uninstall-info-recursive uninstall-libLTLIBRARIES uninstall-man \ |
---|
738 | uninstall-man3 uninstall-recursive |
---|
739 | |
---|
740 | |
---|
741 | #BUILT_SOURCES = popt.lcd |
---|
742 | |
---|
743 | popt.lcd: Makefile.am ${libpopt_la_SOURCES} ${include_HEADERS} ${noinst_HEADERS} |
---|
744 | lclint -dump $@ ${libpopt_la_SOURCES} |
---|
745 | |
---|
746 | .PHONY: sources |
---|
747 | sources: |
---|
748 | @echo $(libpopt_la_SOURCES:%=popt/%) |
---|
749 | |
---|
750 | .PHONY: lclint |
---|
751 | lclint: |
---|
752 | lclint ${DEFS} ${INCLUDES} test1.c ${libpopt_la_SOURCES} |
---|
753 | |
---|
754 | .PHONY: archive |
---|
755 | archive: |
---|
756 | @echo "This is $(PACKAGE)-$(VERSION)." |
---|
757 | @sleep 5 |
---|
758 | @cvs -Q tag -F $(CVSTAG) . |
---|
759 | @rm -rf /tmp/$(PACKAGE)-$(VERSION) /tmp/$(PACKAGE) |
---|
760 | @cd /tmp; cvs -Q -d $(CVSROOT) export -r$(CVSTAG) $(PACKAGE) || : |
---|
761 | @mv /tmp/$(PACKAGE) /tmp/$(PACKAGE)-$(VERSION) |
---|
762 | @cd /tmp/$(PACKAGE)-$(VERSION); ./autogen.sh ; make depend; make distclean |
---|
763 | @cd /tmp/$(PACKAGE)-$(VERSION); ./autogen.sh --noconfigure |
---|
764 | @cd /tmp; tar czSpf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION) |
---|
765 | @rm -rf /tmp/$(PACKAGE)-$(VERSION) |
---|
766 | @cp /tmp/$(PACKAGE)-$(VERSION).tar.gz . |
---|
767 | @rm -f /tmp/$(PACKAGE)-$(VERSION).tar.gz |
---|
768 | @echo " " |
---|
769 | @echo "The final archive is ./$(PACKAGE)-$(VERSION).tar.gz." |
---|
770 | |
---|
771 | .PHONY: doxygen |
---|
772 | doxygen: Doxyfile |
---|
773 | rm -rf doxygen |
---|
774 | mkdir -p doxygen |
---|
775 | doxygen |
---|
776 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
---|
777 | # Otherwise a system limit (for SysV at least) may be exceeded. |
---|
778 | .NOEXPORT: |
---|