1 # Makefile.in generated automatically by automake 1.3 from Makefile.am
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.
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
13 # Makefile for popt library.
19 top_srcdir = @top_srcdir@
22 exec_prefix = @exec_prefix@
26 libexecdir = @libexecdir@
28 sysconfdir = @sysconfdir@
29 sharedstatedir = @sharedstatedir@
30 localstatedir = @localstatedir@
34 includedir = @includedir@
35 oldincludedir = /usr/include
39 pkgdatadir = $(datadir)/@PACKAGE@
40 pkglibdir = $(libdir)/@PACKAGE@
41 pkgincludedir = $(includedir)/@PACKAGE@
48 AUTOHEADER = @AUTOHEADER@
51 INSTALL_PROGRAM = @INSTALL_PROGRAM@
52 INSTALL_DATA = @INSTALL_DATA@
53 INSTALL_SCRIPT = @INSTALL_SCRIPT@
54 transform = @program_transform_name@
71 AUTOMAKE_OPTIONS = 1.3 foreign
75 LDFLAGS = -L$(top_builddir)
76 INCLUDES = -I$(top_srcdir)
78 noinst_PROGRAMS = test1
79 test1_SOURCES = test1.c
82 include_HEADERS = popt.h
83 lib_LIBRARIES = libpopt.a
84 libpopt_a_SOURCES = popt.c findme.c poptparse.c poptconfig.c popthelp.c
86 CVSTAG = $(PACKAGE)-$(subst .,_,$(VERSION))
87 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
88 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
89 CONFIG_HEADER = config.h
91 LIBRARIES = $(lib_LIBRARIES)
94 DEFS = @DEFS@ -I. -I$(srcdir) -I.
98 libpopt_a_OBJECTS = popt.o findme.o poptparse.o poptconfig.o popthelp.o
100 PROGRAMS = $(noinst_PROGRAMS)
102 test1_OBJECTS = test1.o
106 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
107 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
108 HEADERS = $(include_HEADERS)
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
115 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
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)
124 all: all-recursive-am all-am
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
131 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
133 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
135 $(ACLOCAL_M4): configure.in
136 cd $(srcdir) && $(ACLOCAL)
138 config.status: $(srcdir)/configure
139 $(SHELL) ./config.status --recheck
140 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
141 cd $(srcdir) && $(AUTOCONF)
145 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
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
162 maintainer-clean-hdr:
164 mostlyclean-libLIBRARIES:
167 -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
169 distclean-libLIBRARIES:
171 maintainer-clean-libLIBRARIES:
173 install-libLIBRARIES: $(lib_LIBRARIES)
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; \
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; \
190 uninstall-libLIBRARIES:
192 list='$(lib_LIBRARIES)'; for p in $$list; do \
193 rm -f $(DESTDIR)$(libdir)/$$p; \
203 -rm -f *.o core *.core
210 maintainer-clean-compile:
212 libpopt.a: $(libpopt_a_OBJECTS) $(libpopt_a_DEPENDENCIES)
214 $(AR) cru libpopt.a $(libpopt_a_OBJECTS) $(libpopt_a_LIBADD)
217 mostlyclean-noinstPROGRAMS:
219 clean-noinstPROGRAMS:
220 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
222 distclean-noinstPROGRAMS:
224 maintainer-clean-noinstPROGRAMS:
226 test1: $(test1_OBJECTS) $(test1_DEPENDENCIES)
228 $(LINK) $(test1_LDFLAGS) $(test1_OBJECTS) $(test1_LDADD) $(LIBS)
230 install-includeHEADERS: $(include_HEADERS)
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; \
239 uninstall-includeHEADERS:
241 list='$(include_HEADERS)'; for p in $$list; do \
242 rm -f $(DESTDIR)$(includedir)/$$p; \
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.
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"
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"; \
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"
278 list='$(SUBDIRS)'; for subdir in $$list; do \
279 (cd $$subdir && $(MAKE) tags); \
284 ID: $(HEADERS) $(SOURCES) $(LISP)
285 here=`pwd` && cd $(srcdir) \
286 && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
288 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
291 list='$(SUBDIRS)'; for subdir in $$list; do \
292 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
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)
308 maintainer-clean-tags:
310 distdir = $(PACKAGE)-$(VERSION)
311 top_distdir = $(distdir)
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
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 \
328 && $(MAKE) installcheck \
331 @echo "========================"; \
332 echo "$(distdir).tar.gz is ready for distribution"; \
333 echo "========================"
335 -chmod -R a+r $(distdir)
336 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
339 -chmod -R a+r $(distdir)
340 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
342 distdir: $(DISTFILES)
345 -chmod 777 $(distdir)
346 here=`cd $(top_builddir) && pwd`; \
347 top_distdir=`cd $(distdir) && pwd`; \
348 distdir=`cd $(distdir) && pwd`; \
350 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
351 @for file in $(DISTFILES); do \
353 test -f $(distdir)/$$file \
354 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
355 || cp -p $$d/$$file $(distdir)/$$file; \
357 for subdir in $(SUBDIRS); do \
358 test -d $(distdir)/$$subdir \
359 || mkdir $(distdir)/$$subdir \
361 chmod 777 $(distdir)/$$subdir; \
362 (cd $$subdir && $(MAKE) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
366 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
368 -include $(DEP_FILES)
376 maintainer-clean-depend:
380 @echo '$(COMPILE) -c $<'; \
381 $(COMPILE) -Wp,-MD,.deps/$(*F).P -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
392 $(MAKE) check-recursive
393 installcheck: installcheck-recursive
394 all-recursive-am: config.h
395 $(MAKE) all-recursive
397 all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(HEADERS) config.h
399 install-exec-am: install-libLIBRARIES
401 install-data-am: install-includeHEADERS
403 uninstall-am: uninstall-libLIBRARIES uninstall-includeHEADERS
405 install-exec: install-exec-recursive install-exec-am
408 install-data: install-data-recursive install-data-am
411 install: install-recursive install-exec-am install-data-am
414 uninstall: uninstall-recursive uninstall-am
417 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
418 installdirs: installdirs-recursive
419 $(mkinstalldirs) $(DATADIR)$(libdir) $(DATADIR)$(includedir)
423 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
426 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
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)
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
440 clean-am: clean-hdr clean-libLIBRARIES clean-compile \
441 clean-noinstPROGRAMS clean-tags clean-depend \
442 clean-generic mostlyclean-am
444 distclean-am: distclean-hdr distclean-libLIBRARIES distclean-compile \
445 distclean-noinstPROGRAMS distclean-tags \
446 distclean-depend distclean-generic clean-am
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 \
454 mostlyclean: mostlyclean-recursive mostlyclean-am
456 clean: clean-recursive clean-am
458 distclean: distclean-recursive distclean-am
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."
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 \
490 @echo "This is $(PACKAGE)-$(VERSION)."
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
503 @echo "The final archive is ./$(PACKAGE)-$(VERSION).tar.gz."
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.