Doc.
[rsync/rsync.git] / popt-1.2 / Makefile.in
CommitLineData
62402cb1
MP
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
16SHELL = /bin/sh
17
18srcdir = @srcdir@
19top_srcdir = @top_srcdir@
20VPATH = @srcdir@
21prefix = @prefix@
22exec_prefix = @exec_prefix@
23
24bindir = @bindir@
25sbindir = @sbindir@
26libexecdir = @libexecdir@
27datadir = @datadir@
28sysconfdir = @sysconfdir@
29sharedstatedir = @sharedstatedir@
30localstatedir = @localstatedir@
31libdir = @libdir@
32infodir = @infodir@
33mandir = @mandir@
34includedir = @includedir@
35oldincludedir = /usr/include
36
37DISTDIR =
38
39pkgdatadir = $(datadir)/@PACKAGE@
40pkglibdir = $(libdir)/@PACKAGE@
41pkgincludedir = $(includedir)/@PACKAGE@
42
43top_builddir = .
44
45ACLOCAL = @ACLOCAL@
46AUTOCONF = @AUTOCONF@
47AUTOMAKE = @AUTOMAKE@
48AUTOHEADER = @AUTOHEADER@
49
50INSTALL = @INSTALL@
51INSTALL_PROGRAM = @INSTALL_PROGRAM@
52INSTALL_DATA = @INSTALL_DATA@
53INSTALL_SCRIPT = @INSTALL_SCRIPT@
54transform = @program_transform_name@
55
56NORMAL_INSTALL = :
57PRE_INSTALL = :
58POST_INSTALL = :
59NORMAL_UNINSTALL = :
60PRE_UNINSTALL = :
61POST_UNINSTALL = :
62CC = @CC@
63CPP = @CPP@
64MAKEINFO = @MAKEINFO@
65PACKAGE = @PACKAGE@
66RANLIB = @RANLIB@
67TARGET = @TARGET@
68U = @U@
69VERSION = @VERSION@
70
71AUTOMAKE_OPTIONS = 1.3 foreign
72
73SUBDIRS = po
74
75LDFLAGS = -L$(top_builddir)
76INCLUDES = -I$(top_srcdir)
77
78noinst_PROGRAMS = test1
79test1_SOURCES = test1.c
80test1_LDADD = -lpopt
81
82include_HEADERS = popt.h
83lib_LIBRARIES = libpopt.a
84libpopt_a_SOURCES = popt.c findme.c poptparse.c poptconfig.c popthelp.c
85
86CVSTAG = $(PACKAGE)-$(subst .,_,$(VERSION))
87ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
88mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
89CONFIG_HEADER = config.h
90CONFIG_CLEAN_FILES =
91LIBRARIES = $(lib_LIBRARIES)
92
93
94DEFS = @DEFS@ -I. -I$(srcdir) -I.
95CPPFLAGS = @CPPFLAGS@
96LIBS = @LIBS@
97libpopt_a_LIBADD =
98libpopt_a_OBJECTS = popt.o findme.o poptparse.o poptconfig.o popthelp.o
99AR = ar
100PROGRAMS = $(noinst_PROGRAMS)
101
102test1_OBJECTS = test1.o
103test1_DEPENDENCIES =
104test1_LDFLAGS =
105CFLAGS = @CFLAGS@
106COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
107LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
108HEADERS = $(include_HEADERS)
109
110DIST_COMMON = README COPYING Makefile.am Makefile.in acconfig.h \
111aclocal.m4 config.h.in configure configure.in install-sh missing \
112mkinstalldirs stamp-h.in
113
114
115DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
116
117TAR = tar
118GZIP = --best
119DEP_FILES = .deps/findme.P .deps/popt.P .deps/poptconfig.P \
120.deps/popthelp.P .deps/poptparse.P .deps/test1.P
121SOURCES = $(libpopt_a_SOURCES) $(test1_SOURCES)
122OBJECTS = $(libpopt_a_OBJECTS) $(test1_OBJECTS)
123
124all: 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
131Makefile: $(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
138config.status: $(srcdir)/configure
139 $(SHELL) ./config.status --recheck
140$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
141 cd $(srcdir) && $(AUTOCONF)
142
143config.h: stamp-h
144 @:
145stamp-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
155mostlyclean-hdr:
156
157clean-hdr:
158
159distclean-hdr:
160 -rm -f config.h
161
162maintainer-clean-hdr:
163
164mostlyclean-libLIBRARIES:
165
166clean-libLIBRARIES:
167 -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
168
169distclean-libLIBRARIES:
170
171maintainer-clean-libLIBRARIES:
172
173install-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
190uninstall-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
202mostlyclean-compile:
203 -rm -f *.o core *.core
204
205clean-compile:
206
207distclean-compile:
208 -rm -f *.tab.c
209
210maintainer-clean-compile:
211
212libpopt.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
217mostlyclean-noinstPROGRAMS:
218
219clean-noinstPROGRAMS:
220 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
221
222distclean-noinstPROGRAMS:
223
224maintainer-clean-noinstPROGRAMS:
225
226test1: $(test1_OBJECTS) $(test1_DEPENDENCIES)
227 @rm -f test1
228 $(LINK) $(test1_LDFLAGS) $(test1_OBJECTS) $(test1_LDADD) $(LIBS)
229
230install-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
239uninstall-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
254all-recursive install-data-recursive install-exec-recursive \
255installdirs-recursive install-recursive uninstall-recursive \
256check-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
265mostlyclean-recursive clean-recursive distclean-recursive \
266maintainer-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"
277tags-recursive:
278 list='$(SUBDIRS)'; for subdir in $$list; do \
279 (cd $$subdir && $(MAKE) tags); \
280 done
281
282tags: TAGS
283
284ID: $(HEADERS) $(SOURCES) $(LISP)
285 here=`pwd` && cd $(srcdir) \
286 && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
287
288TAGS: 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
301mostlyclean-tags:
302
303clean-tags:
304
305distclean-tags:
306 -rm -f TAGS ID
307
308maintainer-clean-tags:
309
310distdir = $(PACKAGE)-$(VERSION)
311top_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.
316distcheck: 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 "========================"
334dist: distdir
335 -chmod -R a+r $(distdir)
336 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
337 -rm -rf $(distdir)
338dist-all: distdir
339 -chmod -R a+r $(distdir)
340 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
341 -rm -rf $(distdir)
342distdir: $(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
366DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
367
368-include $(DEP_FILES)
369
370mostlyclean-depend:
371
372clean-depend:
373
374distclean-depend:
375
376maintainer-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
389info: info-recursive
390dvi: dvi-recursive
391check: all-am
392 $(MAKE) check-recursive
393installcheck: installcheck-recursive
394all-recursive-am: config.h
395 $(MAKE) all-recursive
396
397all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(HEADERS) config.h
398
399install-exec-am: install-libLIBRARIES
400
401install-data-am: install-includeHEADERS
402
403uninstall-am: uninstall-libLIBRARIES uninstall-includeHEADERS
404
405install-exec: install-exec-recursive install-exec-am
406 @$(NORMAL_INSTALL)
407
408install-data: install-data-recursive install-data-am
409 @$(NORMAL_INSTALL)
410
411install: install-recursive install-exec-am install-data-am
412 @:
413
414uninstall: uninstall-recursive uninstall-am
415
416install-strip:
417 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
418installdirs: installdirs-recursive
419 $(mkinstalldirs) $(DATADIR)$(libdir) $(DATADIR)$(includedir)
420
421
422mostlyclean-generic:
423 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
424
425clean-generic:
426 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
427
428distclean-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
433maintainer-clean-generic:
434 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
435 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
436mostlyclean-am: mostlyclean-hdr mostlyclean-libLIBRARIES \
437 mostlyclean-compile mostlyclean-noinstPROGRAMS \
438 mostlyclean-tags mostlyclean-depend mostlyclean-generic
439
440clean-am: clean-hdr clean-libLIBRARIES clean-compile \
441 clean-noinstPROGRAMS clean-tags clean-depend \
442 clean-generic mostlyclean-am
443
444distclean-am: distclean-hdr distclean-libLIBRARIES distclean-compile \
445 distclean-noinstPROGRAMS distclean-tags \
446 distclean-depend distclean-generic clean-am
447
448maintainer-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
454mostlyclean: mostlyclean-recursive mostlyclean-am
455
456clean: clean-recursive clean-am
457
458distclean: distclean-recursive distclean-am
459 -rm -f config.status
460
461maintainer-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 \
467mostlyclean-libLIBRARIES distclean-libLIBRARIES clean-libLIBRARIES \
468maintainer-clean-libLIBRARIES uninstall-libLIBRARIES \
469install-libLIBRARIES mostlyclean-compile distclean-compile \
470clean-compile maintainer-clean-compile mostlyclean-noinstPROGRAMS \
471distclean-noinstPROGRAMS clean-noinstPROGRAMS \
472maintainer-clean-noinstPROGRAMS uninstall-includeHEADERS \
473install-includeHEADERS install-data-recursive uninstall-data-recursive \
474install-exec-recursive uninstall-exec-recursive installdirs-recursive \
475uninstalldirs-recursive all-recursive check-recursive \
476installcheck-recursive info-recursive dvi-recursive \
477mostlyclean-recursive distclean-recursive clean-recursive \
478maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
479distclean-tags clean-tags maintainer-clean-tags distdir \
480mostlyclean-depend distclean-depend clean-depend \
481maintainer-clean-depend info dvi installcheck all-recursive-am all-am \
482install-exec-am install-data-am uninstall-am install-exec install-data \
483install uninstall all installdirs mostlyclean-generic distclean-generic \
484clean-generic maintainer-clean-generic clean mostlyclean distclean \
485maintainer-clean
486
487
488.PHONY: archive
489archive:
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: