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