Doc.
[rsync/rsync.git] / popt-1.2 / Makefile.in
1 # Makefile.in generated automatically by automake 1.3 from Makefile.am
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998 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 = /bin/sh
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 DISTDIR =
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@
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 CC = @CC@
63 CPP = @CPP@
64 MAKEINFO = @MAKEINFO@
65 PACKAGE = @PACKAGE@
66 RANLIB = @RANLIB@
67 TARGET = @TARGET@
68 U = @U@
69 VERSION = @VERSION@
70
71 AUTOMAKE_OPTIONS = 1.3 foreign
72
73 SUBDIRS = po
74
75 LDFLAGS = -L$(top_builddir)
76 INCLUDES = -I$(top_srcdir)
77
78 noinst_PROGRAMS = test1
79 test1_SOURCES = test1.c
80 test1_LDADD = -lpopt
81
82 include_HEADERS = popt.h
83 lib_LIBRARIES = libpopt.a
84 libpopt_a_SOURCES = popt.c findme.c poptparse.c poptconfig.c popthelp.c
85
86 CVSTAG = $(PACKAGE)-$(subst .,_,$(VERSION))
87 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
88 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
89 CONFIG_HEADER = config.h
90 CONFIG_CLEAN_FILES = 
91 LIBRARIES =  $(lib_LIBRARIES)
92
93
94 DEFS = @DEFS@ -I. -I$(srcdir) -I.
95 CPPFLAGS = @CPPFLAGS@
96 LIBS = @LIBS@
97 libpopt_a_LIBADD = 
98 libpopt_a_OBJECTS =  popt.o findme.o poptparse.o poptconfig.o popthelp.o
99 AR = ar
100 PROGRAMS =  $(noinst_PROGRAMS)
101
102 test1_OBJECTS =  test1.o
103 test1_DEPENDENCIES = 
104 test1_LDFLAGS = 
105 CFLAGS = @CFLAGS@
106 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
107 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
108 HEADERS =  $(include_HEADERS)
109
110 DIST_COMMON =  README COPYING Makefile.am Makefile.in acconfig.h \
111 aclocal.m4 config.h.in configure configure.in install-sh missing \
112 mkinstalldirs stamp-h.in
113
114
115 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
116
117 TAR = tar
118 GZIP = --best
119 DEP_FILES =  .deps/findme.P .deps/popt.P .deps/poptconfig.P \
120 .deps/popthelp.P .deps/poptparse.P .deps/test1.P
121 SOURCES = $(libpopt_a_SOURCES) $(test1_SOURCES)
122 OBJECTS = $(libpopt_a_OBJECTS) $(test1_OBJECTS)
123
124 all: all-recursive-am all-am
125
126 .SUFFIXES:
127 .SUFFIXES: .S .c .o .s
128 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
129         cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
130
131 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
132         cd $(top_builddir) \
133           && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
134
135 $(ACLOCAL_M4):  configure.in 
136         cd $(srcdir) && $(ACLOCAL)
137
138 config.status: $(srcdir)/configure
139         $(SHELL) ./config.status --recheck
140 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
141         cd $(srcdir) && $(AUTOCONF)
142
143 config.h: stamp-h
144         @:
145 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
146         cd $(top_builddir) \
147           && CONFIG_FILES= CONFIG_HEADERS=config.h \
148              $(SHELL) ./config.status
149         @echo timestamp > stamp-h
150 $(srcdir)/config.h.in: $(srcdir)/stamp-h.in
151 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
152         cd $(top_srcdir) && $(AUTOHEADER)
153         @echo timestamp > $(srcdir)/stamp-h.in
154
155 mostlyclean-hdr:
156
157 clean-hdr:
158
159 distclean-hdr:
160         -rm -f config.h
161
162 maintainer-clean-hdr:
163
164 mostlyclean-libLIBRARIES:
165
166 clean-libLIBRARIES:
167         -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
168
169 distclean-libLIBRARIES:
170
171 maintainer-clean-libLIBRARIES:
172
173 install-libLIBRARIES: $(lib_LIBRARIES)
174         @$(NORMAL_INSTALL)
175         $(mkinstalldirs) $(DESTDIR)$(libdir)
176         list='$(lib_LIBRARIES)'; for p in $$list; do \
177           if test -f $$p; then \
178             echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \
179             $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p; \
180           else :; fi; \
181         done
182         @$(POST_INSTALL)
183         @list='$(lib_LIBRARIES)'; for p in $$list; do \
184           if test -f $$p; then \
185             echo " $(RANLIB) $(DESTDIR)$(libdir)/$$p"; \
186             $(RANLIB) $(DESTDIR)$(libdir)/$$p; \
187           else :; fi; \
188         done
189
190 uninstall-libLIBRARIES:
191         @$(NORMAL_UNINSTALL)
192         list='$(lib_LIBRARIES)'; for p in $$list; do \
193           rm -f $(DESTDIR)$(libdir)/$$p; \
194         done
195
196 .s.o:
197         $(COMPILE) -c $<
198
199 .S.o:
200         $(COMPILE) -c $<
201
202 mostlyclean-compile:
203         -rm -f *.o core *.core
204
205 clean-compile:
206
207 distclean-compile:
208         -rm -f *.tab.c
209
210 maintainer-clean-compile:
211
212 libpopt.a: $(libpopt_a_OBJECTS) $(libpopt_a_DEPENDENCIES)
213         -rm -f libpopt.a
214         $(AR) cru libpopt.a $(libpopt_a_OBJECTS) $(libpopt_a_LIBADD)
215         $(RANLIB) libpopt.a
216
217 mostlyclean-noinstPROGRAMS:
218
219 clean-noinstPROGRAMS:
220         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
221
222 distclean-noinstPROGRAMS:
223
224 maintainer-clean-noinstPROGRAMS:
225
226 test1: $(test1_OBJECTS) $(test1_DEPENDENCIES)
227         @rm -f test1
228         $(LINK) $(test1_LDFLAGS) $(test1_OBJECTS) $(test1_LDADD) $(LIBS)
229
230 install-includeHEADERS: $(include_HEADERS)
231         @$(NORMAL_INSTALL)
232         $(mkinstalldirs) $(DESTDIR)$(includedir)
233         @list='$(include_HEADERS)'; for p in $$list; do \
234           if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
235           echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \
236           $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \
237         done
238
239 uninstall-includeHEADERS:
240         @$(NORMAL_UNINSTALL)
241         list='$(include_HEADERS)'; for p in $$list; do \
242           rm -f $(DESTDIR)$(includedir)/$$p; \
243         done
244
245 # This directory's subdirectories are mostly independent; you can cd
246 # into them and run `make' without going through this Makefile.
247 # To change the values of `make' variables: instead of editing Makefiles,
248 # (1) if the variable is set in `config.status', edit `config.status'
249 #     (which will cause the Makefiles to be regenerated when you run `make');
250 # (2) otherwise, pass the desired values on the `make' command line.
251
252 @SET_MAKE@
253
254 all-recursive install-data-recursive install-exec-recursive \
255 installdirs-recursive install-recursive uninstall-recursive  \
256 check-recursive installcheck-recursive info-recursive dvi-recursive:
257         @set fnord $(MAKEFLAGS); amf=$$2; \
258         list='$(SUBDIRS)'; for subdir in $$list; do \
259           target=`echo $@ | sed s/-recursive//`; \
260           echo "Making $$target in $$subdir"; \
261           (cd $$subdir && $(MAKE) $$target) \
262            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
263         done && test -z "$$fail"
264
265 mostlyclean-recursive clean-recursive distclean-recursive \
266 maintainer-clean-recursive:
267         @set fnord $(MAKEFLAGS); amf=$$2; \
268         rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
269           rev="$$subdir $$rev"; \
270         done; \
271         for subdir in $$rev; do \
272           target=`echo $@ | sed s/-recursive//`; \
273           echo "Making $$target in $$subdir"; \
274           (cd $$subdir && $(MAKE) $$target) \
275            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
276         done && test -z "$$fail"
277 tags-recursive:
278         list='$(SUBDIRS)'; for subdir in $$list; do \
279           (cd $$subdir && $(MAKE) tags); \
280         done
281
282 tags: TAGS
283
284 ID: $(HEADERS) $(SOURCES) $(LISP)
285         here=`pwd` && cd $(srcdir) \
286           && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
287
288 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
289         tags=; \
290         here=`pwd`; \
291         list='$(SUBDIRS)'; for subdir in $$list; do \
292           test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
293         done; \
294         list='$(SOURCES) $(HEADERS)'; \
295         unique=`for i in $$list; do echo $$i; done | \
296           awk '    { files[$$0] = 1; } \
297                END { for (i in files) print i; }'`; \
298         test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
299           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
300
301 mostlyclean-tags:
302
303 clean-tags:
304
305 distclean-tags:
306         -rm -f TAGS ID
307
308 maintainer-clean-tags:
309
310 distdir = $(PACKAGE)-$(VERSION)
311 top_distdir = $(distdir)
312
313 # This target untars the dist file and tries a VPATH configuration.  Then
314 # it guarantees that the distribution is self-contained by making another
315 # tarfile.
316 distcheck: dist
317         -rm -rf $(distdir)
318         GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
319         mkdir $(distdir)/=build
320         mkdir $(distdir)/=inst
321         dc_install_base=`cd $(distdir)/=inst && pwd`; \
322         cd $(distdir)/=build \
323           && ../configure --srcdir=.. --prefix=$$dc_install_base \
324           && $(MAKE) \
325           && $(MAKE) dvi \
326           && $(MAKE) check \
327           && $(MAKE) install \
328           && $(MAKE) installcheck \
329           && $(MAKE) dist
330         -rm -rf $(distdir)
331         @echo "========================"; \
332         echo "$(distdir).tar.gz is ready for distribution"; \
333         echo "========================"
334 dist: distdir
335         -chmod -R a+r $(distdir)
336         GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
337         -rm -rf $(distdir)
338 dist-all: distdir
339         -chmod -R a+r $(distdir)
340         GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
341         -rm -rf $(distdir)
342 distdir: $(DISTFILES)
343         -rm -rf $(distdir)
344         mkdir $(distdir)
345         -chmod 777 $(distdir)
346         here=`cd $(top_builddir) && pwd`; \
347         top_distdir=`cd $(distdir) && pwd`; \
348         distdir=`cd $(distdir) && pwd`; \
349         cd $(top_srcdir) \
350           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
351         @for file in $(DISTFILES); do \
352           d=$(srcdir); \
353           test -f $(distdir)/$$file \
354           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
355           || cp -p $$d/$$file $(distdir)/$$file; \
356         done
357         for subdir in $(SUBDIRS); do \
358           test -d $(distdir)/$$subdir \
359           || mkdir $(distdir)/$$subdir \
360           || exit 1; \
361           chmod 777 $(distdir)/$$subdir; \
362           (cd $$subdir && $(MAKE) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
363             || exit 1; \
364         done
365
366 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
367
368 -include $(DEP_FILES)
369
370 mostlyclean-depend:
371
372 clean-depend:
373
374 distclean-depend:
375
376 maintainer-clean-depend:
377         -rm -rf .deps
378
379 %.o: %.c
380         @echo '$(COMPILE) -c $<'; \
381         $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
382
383 %.lo: %.c
384         @echo '$(LTCOMPILE) -c $<'; \
385         $(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
386         @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
387           < .deps/$(*F).p > .deps/$(*F).P
388         @-rm -f .deps/$(*F).p
389 info: info-recursive
390 dvi: dvi-recursive
391 check: all-am
392         $(MAKE) check-recursive
393 installcheck: installcheck-recursive
394 all-recursive-am: config.h
395         $(MAKE) all-recursive
396
397 all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(HEADERS) config.h
398
399 install-exec-am: install-libLIBRARIES
400
401 install-data-am: install-includeHEADERS
402
403 uninstall-am: uninstall-libLIBRARIES uninstall-includeHEADERS
404
405 install-exec: install-exec-recursive install-exec-am
406         @$(NORMAL_INSTALL)
407
408 install-data: install-data-recursive install-data-am
409         @$(NORMAL_INSTALL)
410
411 install: install-recursive install-exec-am install-data-am
412         @:
413
414 uninstall: uninstall-recursive uninstall-am
415
416 install-strip:
417         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
418 installdirs: installdirs-recursive
419         $(mkinstalldirs)  $(DATADIR)$(libdir) $(DATADIR)$(includedir)
420
421
422 mostlyclean-generic:
423         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
424
425 clean-generic:
426         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
427
428 distclean-generic:
429         -rm -f Makefile $(DISTCLEANFILES)
430         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
431         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
432
433 maintainer-clean-generic:
434         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
435         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
436 mostlyclean-am:  mostlyclean-hdr mostlyclean-libLIBRARIES \
437                 mostlyclean-compile mostlyclean-noinstPROGRAMS \
438                 mostlyclean-tags mostlyclean-depend mostlyclean-generic
439
440 clean-am:  clean-hdr clean-libLIBRARIES clean-compile \
441                 clean-noinstPROGRAMS clean-tags clean-depend \
442                 clean-generic mostlyclean-am
443
444 distclean-am:  distclean-hdr distclean-libLIBRARIES distclean-compile \
445                 distclean-noinstPROGRAMS distclean-tags \
446                 distclean-depend distclean-generic clean-am
447
448 maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-libLIBRARIES \
449                 maintainer-clean-compile \
450                 maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
451                 maintainer-clean-depend maintainer-clean-generic \
452                 distclean-am
453
454 mostlyclean:  mostlyclean-recursive mostlyclean-am
455
456 clean:  clean-recursive clean-am
457
458 distclean:  distclean-recursive distclean-am
459         -rm -f config.status
460
461 maintainer-clean:  maintainer-clean-recursive maintainer-clean-am
462         @echo "This command is intended for maintainers to use;"
463         @echo "it deletes files that may require special tools to rebuild."
464         -rm -f config.status
465
466 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
467 mostlyclean-libLIBRARIES distclean-libLIBRARIES clean-libLIBRARIES \
468 maintainer-clean-libLIBRARIES uninstall-libLIBRARIES \
469 install-libLIBRARIES mostlyclean-compile distclean-compile \
470 clean-compile maintainer-clean-compile mostlyclean-noinstPROGRAMS \
471 distclean-noinstPROGRAMS clean-noinstPROGRAMS \
472 maintainer-clean-noinstPROGRAMS uninstall-includeHEADERS \
473 install-includeHEADERS install-data-recursive uninstall-data-recursive \
474 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
475 uninstalldirs-recursive all-recursive check-recursive \
476 installcheck-recursive info-recursive dvi-recursive \
477 mostlyclean-recursive distclean-recursive clean-recursive \
478 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
479 distclean-tags clean-tags maintainer-clean-tags distdir \
480 mostlyclean-depend distclean-depend clean-depend \
481 maintainer-clean-depend info dvi installcheck all-recursive-am all-am \
482 install-exec-am install-data-am uninstall-am install-exec install-data \
483 install uninstall all installdirs mostlyclean-generic distclean-generic \
484 clean-generic maintainer-clean-generic clean mostlyclean distclean \
485 maintainer-clean
486
487
488 .PHONY: archive
489 archive: 
490         @echo "This is $(PACKAGE)-$(VERSION)."
491         @sleep 5
492         @cvs -Q tag -F $(CVSTAG) .
493         @rm -rf /tmp/$(PACKAGE)-$(VERSION) /tmp/$(PACKAGE)
494         @cd /tmp; cvs -Q -d $(CVSROOT) export -r$(CVSTAG) $(PACKAGE) || :
495         @mv /tmp/$(PACKAGE) /tmp/$(PACKAGE)-$(VERSION)
496         @cd /tmp/$(PACKAGE)-$(VERSION); ./autogen.sh ; make depend; make distclean
497         @cd /tmp/$(PACKAGE)-$(VERSION); ./autogen.sh --noconfigure
498         @cd /tmp; tar czSpf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)
499         @rm -rf /tmp/$(PACKAGE)-$(VERSION)
500         @cp /tmp/$(PACKAGE)-$(VERSION).tar.gz .
501         @rm -f /tmp/$(PACKAGE)-$(VERSION).tar.gz 
502         @echo " "
503         @echo "The final archive is ./$(PACKAGE)-$(VERSION).tar.gz."
504
505 # Tell versions [3.59,3.63) of GNU make to not export all variables.
506 # Otherwise a system limit (for SysV at least) may be exceeded.
507 .NOEXPORT: