# Generated automatically from Makefile.in by configure. # Makefile.in generated automatically by automake 1.4-p4 from Makefile.am # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. # Makefile for cfg library. PACKAGE = cfg VERSION = 0.1 SHELL = /bin/sh # Directories {{{ top_builddir = . srcdir = . top_srcdir = . prefix = /home/host/tmp exec_prefix = ${prefix} bindir = ${exec_prefix}/bin sbindir = ${exec_prefix}/sbin libexecdir = ${exec_prefix}/libexec datadir = ${prefix}/share sysconfdir = ${prefix}/etc sharedstatedir = ${prefix}/com localstatedir = ${prefix}/var libdir = ${exec_prefix}/lib infodir = ${prefix}/info mandir = ${prefix}/man includedir = ${prefix}/include oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/cfg pkglibdir = $(libdir)/cfg pkgincludedir = $(includedir)/cfg # }}} Directories # Programs {{{ #ACLOCAL = @ACLOCAL@ #AUTOCONF = @AUTOCONF@ #AUTOMAKE = @AUTOMAKE@ #AUTOHEADER = @AUTOHEADER@ ACLOCAL = aclocal AUTOCONF = autoconf AUTOMAKE = automake AUTOHEADER = autoheader INSTALL = /usr/bin/install -c INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = ${INSTALL} -m 644 INSTALL_SCRIPT = ${INSTALL_PROGRAM} transform = s,x,x, mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : CC = gcc CPP = gcc -E CXX = c++ CFLAGS = -O2 -Wall -pedantic LN_S = ln -s MAKEINFO = @MAKEINFO@ RANLIB = ranlib STRIP = strip AWK = mawk TAR = tar GZIP_ENV = --best NROFF = nroff DEPEND = makedepend COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@ MAKEFLAGS = # }}} Programs # Targets {{{ EXTRA_DIST = autogen.sh $(man_MANS) TODO COPYING AUTHOR SOURCES = $(srcdir)/cfg.c \ $(srcdir)/parse.c \ $(srcdir)/props.c \ $(srcdir)/cmdline.c \ $(srcdir)/cfgfile.c \ $(srcdir)/shared.c \ $(srcdir)/str/strplus.c \ $(srcdir)/str/strctype.c \ $(srcdir)/str/strdyn.c \ $(srcdir)/str/dynfgets.c OBJECTS = $(srcdir)/cfg.o \ $(srcdir)/parse.o \ $(srcdir)/props.o \ $(srcdir)/cmdline.o \ $(srcdir)/cfgfile.o \ $(srcdir)/shared.o \ $(srcdir)/str/strplus.o \ $(srcdir)/str/strctype.o \ $(srcdir)/str/strdyn.o \ $(srcdir)/str/dynfgets.o DEP_FILES = $(srcdir)/.deps/cfg.P \ $(srcdir)/.deps/parse.P \ $(srcdir)/.deps/props.P \ $(srcdir)/.deps/cmdline.P \ $(srcdir)/.deps/cfgfile.P \ $(srcdir)/.deps/shared.P noinst_HEADERS = cfgfile.h \ cmdline.h \ props.h \ shared.h \ str/charsets.h \ str/dynfgets.h \ str/strconv.h \ str/strctype.h \ str/strdyn.h \ str/strplus.h noinst_SCRIPTS = compile_test.sh LIBSTATIC = lib$(PACKAGE).a LIBDYNAMIC = lib$(PACKAGE).so LIBDYNAMICV = lib$(PACKAGE)-$(VERSION).so include_HEADERS = cfg.h install_LIB = $(LIBSTATIC) $(LIBDYNAMICV) man_MANS = # }}} Targets CVSTAG = $(PACKAGE)-$(subst .,_,$(VERSION)) ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = Doxyfile SCRIPTS = $(noinst_SCRIPTS) man3dir = $(mandir)/man3 MANS = $(man_MANS) HEADERS = $(include_HEADERS) $(noinst_HEADERS) DIST_COMMON = ./stamp-h.in COPYING Doxyfile.in Makefile.in \ TODO aclocal.m4 config.guess config.h.in config.sub configure \ configure.in install-sh missing mkinstalldirs DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) all: Makefile $(MANS) $(HEADERS) config.h lib Doxyfile DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) -include $(DEP_FILES) static: $(LIBSTATIC) dynamic: $(LIBDYNAMICV) lib: $(LIBSTATIC) $(LIBDYNAMICV) $(LIBSTATIC): $(OBJECTS) $(AR) r $@ $(OBJECTS) $(LIBDYNAMICV): $(OBJECTS) $(LD) $(LDFLAGS) -shared -o $@ $(OBJECTS) .SUFFIXES: Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status $(ACLOCAL_M4): configure.in cd $(srcdir) && $(ACLOCAL) config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) $(srcdir)/config.h: $(srcdir)/config.h.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ $(SHELL) ./config.status $(srcdir)/config.h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOHEADER) mostlyclean-hdr: clean-hdr: distclean-hdr: -rm -f config.h maintainer-clean-hdr: Doxyfile: $(top_builddir)/config.status Doxyfile.in cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status $(srcdir)/str/strplus.o: cd str && $(MAKE) $(srcdir)/str/strctype.o: cd str && $(MAKE) $(srcdir)/str/strdyn.o: cd str && $(MAKE) clean-str: cd str && $(MAKE) clean test: $(CC) $(CFLAGS) -g -ggdb -DSELF_CFG -DDEBUG=1 -o cfg $(SOURCES) %.o: %.c @echo '$(COMPILE) -c $<'; \ $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-cp .deps/$(*F).pp .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm .deps/$(*F).pp # Section: Install {{{ install: all install-exec install-data uninstall: uninstall-man uninstall-includeHEADERS uninstall-exec installcheck: install-exec: install-lib uninstall-exec: uninstall-lib install-lib: $(install_LIB) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(libdir) @list='$(install_LIB)'; for p in $$list; do \ if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(libdir)/$$p"; \ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(libdir)/$$p; \ done uninstall-lib: @$(NORMAL_UNINSTALL) list='$(install_LIB)'; for p in $$list; do \ rm -f $(DESTDIR)$(libdir)/$$p; \ done install-data: install-man install-includeHEADERS install-strip: $(MAKE) $(MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: $(mkinstalldirs) $(DESTDIR)$(mandir)/man3 $(DESTDIR)$(includedir) install-man3: $(mkinstalldirs) $(DESTDIR)$(man3dir) @list='$(man3_MANS)'; \ l2='$(man_MANS)'; for i in $$l2; do \ case "$$i" in \ *.3*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \ $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \ done uninstall-man3: @list='$(man3_MANS)'; \ l2='$(man_MANS)'; for i in $$l2; do \ case "$$i" in \ *.3*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \ rm -f $(DESTDIR)$(man3dir)/$$inst; \ done install-man: $(MANS) @$(NORMAL_INSTALL) $(MAKE) $(MAKEFLAGS) install-man3 uninstall-man: @$(NORMAL_UNINSTALL) $(MAKE) $(MAKEFLAGS) uninstall-man3 install-includeHEADERS: $(include_HEADERS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(includedir) @list='$(include_HEADERS)'; for p in $$list; do \ if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \ done uninstall-includeHEADERS: @$(NORMAL_UNINSTALL) list='$(include_HEADERS)'; for p in $$list; do \ rm -f $(DESTDIR)$(includedir)/$$p; \ done # }}} Section: Install # Section: TAGS {{{ tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS) # }}} Section: TAGS mostlyclean-tags: clean-tags: distclean-tags: -rm -f TAGS ID maintainer-clean-tags: distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) # Section: distribution {{{ # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist -rm -rf $(distdir) GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz mkdir $(distdir)/=build mkdir $(distdir)/=inst dc_install_base=`cd $(distdir)/=inst && pwd`; \ cd $(distdir)/=build \ && ../configure --srcdir=.. --prefix=$$dc_install_base \ && $(MAKE) $(MAKEFLAGS) \ && $(MAKE) $(MAKEFLAGS) dvi \ && $(MAKE) $(MAKEFLAGS) check \ && $(MAKE) $(MAKEFLAGS) install \ && $(MAKE) $(MAKEFLAGS) installcheck \ && $(MAKE) $(MAKEFLAGS) dist -rm -rf $(distdir) @banner="$(distdir).tar.gz is ready for distribution"; \ dashes=`echo "$$banner" | sed s/./=/g`; \ echo "$$dashes"; \ echo "$$banner"; \ echo "$$dashes" dist: distdir -chmod -R a+r $(distdir) GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) -rm -rf $(distdir) dist-all: distdir -chmod -R a+r $(distdir) GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) -rm -rf $(distdir) distdir: $(DISTFILES) -rm -rf $(distdir) mkdir $(distdir) -chmod 777 $(distdir) here=`cd $(top_builddir) && pwd`; \ top_distdir=`cd $(distdir) && pwd`; \ distdir=`cd $(distdir) && pwd`; \ cd $(top_srcdir) \ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile $(mkinstalldirs) $(distdir)/-I$(top_srcdir) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* distclean: distclean-hdr distclean-tags distclean-generic clean -rm -f config.status # }}} Section: distribution info: dvi: check: all mostlyclean-generic: clean-generic: maintainer-clean-generic: mostlyclean: mostlyclean-hdr mostlyclean-tags mostlyclean-generic clean: clean-str clean-hdr clean-tags clean-generic mostlyclean clean-lib -rm -f *.o core *.core -rm -rf .deps clean-lib: -rm -f lib* maintainer-clean: maintainer-clean-hdr maintainer-clean-tags \ maintainer-clean-generic distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." -rm -f config.status # PHONY {{{ .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ install uninstall installdirs \ install-exec install-data \ install-man3 uninstall-man3 \ install-man uninstall-man \ install-lib uninstall-lib \ install-includeHEADERS uninstall-includeHEADERS \ tags mostlyclean-tags \ distclean-tags clean-tags maintainer-clean-tags distdir info \ dvi check installcheck \ mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean # }}} PHONY .PHONY: sources sources: @echo $(SOURCES:%=cfg/%) .PHONY: lclint lclint: lclint ${DEFS} ${INCLUDES} ${SOURCES} .PHONY: archive archive: @echo "This is $(PACKAGE)-$(VERSION)." @sleep 5 @cvs -Q tag -F $(CVSTAG) . @rm -rf /tmp/$(PACKAGE)-$(VERSION) /tmp/$(PACKAGE) @cd /tmp; cvs -Q -d $(CVSROOT) export -r$(CVSTAG) $(PACKAGE) || : @mv /tmp/$(PACKAGE) /tmp/$(PACKAGE)-$(VERSION) @cd /tmp/$(PACKAGE)-$(VERSION); ./autogen.sh ; make depend; make distclean @cd /tmp/$(PACKAGE)-$(VERSION); ./autogen.sh --noconfigure @cd /tmp; tar czSpf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION) @rm -rf /tmp/$(PACKAGE)-$(VERSION) @cp /tmp/$(PACKAGE)-$(VERSION).tar.gz . @rm -f /tmp/$(PACKAGE)-$(VERSION).tar.gz @echo " " @echo "The final archive is ./$(PACKAGE)-$(VERSION).tar.gz." .PHONY: doxygen doxygen: Doxyfile rm -rf doxygen mkdir -p doxygen doxygen # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: # vim600: fdm=marker fdc=3