Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, April 19, 2024

Diff for libplaton/Makefile.in between version 1.2 and 1.9

version 1.2, 2001/10/14 01:43:29 version 1.9, 2002/10/01 18:32:14
Line 1 
Line 1 
 # Makefile.in generated automatically by automake 1.4 from Makefile.am; modified !  # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
 #                                                                       (by rajo)  # 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.
   
 #  # Main Makefile for libcfg+ library.
 # Author: rajo <host8@kepler.fmph.uniba.sk>  # $Id$
 #  
 # Copyright (c) rajo  
 #  
   
 # $Id$  PACKAGE = @PACKAGE@
   VERSION = @VERSION@
   
   CVSTAG = $(PACKAGE)-$(subst .,_,$(VERSION))
   
   SHELL = @SHELL@
   
 # Directories {{{  # Directories {{{
 srcdir = @srcdir@  top_builddir      = .
 top_srcdir = @top_srcdir@  srcdir            = @srcdir@
 VPATH = @srcdir@  top_srcdir        = @top_srcdir@
 prefix = @prefix@  VPATH             = @srcdir@
 exec_prefix = @exec_prefix@  prefix            = @prefix@
   exec_prefix       = @exec_prefix@
 bindir = @bindir@  
 sbindir = @sbindir@  bindir            = @bindir@
 libexecdir = @libexecdir@  sbindir           = @sbindir@
 sysconfdir = @sysconfdir@  libexecdir        = @libexecdir@
 sharedstatedir = @sharedstatedir@  datadir           = @datadir@
 localstatedir = @localstatedir@  sysconfdir        = @sysconfdir@
 libdir = @libdir@  sharedstatedir    = @sharedstatedir@
 infodir = @infodir@  localstatedir     = @localstatedir@
 mandir = @mandir@  libdir            = @libdir@
 includedir = @includedir@  infodir           = @infodir@
 oldincludedir = /usr/include  mandir            = @mandir@
   man3dir           = $(mandir)/man3
 DESTDIR =  includedir        = @includedir@
   includedir_platon = $(includedir)/platon
 pkgdatadir = $(datadir)/@PACKAGE@  oldincludedir     = /usr/include
 pkglibdir = $(libdir)/@PACKAGE@  
 pkgincludedir = $(includedir)/@PACKAGE@  DESTDIR           =
   
   pkgdatadir        = $(datadir)/@PACKAGE@
   pkglibdir         = $(libdir)/@PACKAGE@
   pkgincludedir     = $(includedir)/@PACKAGE@
   
 top_builddir = .  distdir           = $(PACKAGE)-$(VERSION)
 # }}} Directories  top_distdir       = $(distdir)
   
 NORMAL_INSTALL = :  # }}} Directories
 PRE_INSTALL = :  
 POST_INSTALL = :  
 NORMAL_UNINSTALL = :  
 PRE_UNINSTALL = :  
 POST_UNINSTALL = :  
   
 # Programs {{{  # Programs {{{
 SHELL = @SHELL@  #ACLOCAL    = @ACLOCAL@
 CC = @CC@  #AUTOCONF   = @AUTOCONF@
 LN_S = @LN_S@  #AUTOMAKE   = @AUTOMAKE@
 STRIP = @STRIP@  #AUTOHEADER = @AUTOHEADER@
 TAR = gtar  ACLOCAL    = aclocal
 NROFF = nroff  AUTOCONF   = autoconf
 INSTALL = @INSTALL@  AUTOMAKE   = automake
 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)  AUTOHEADER = autoheader
 INSTALL_DATA = @INSTALL_DATA@  
 INSTALL_SCRIPT = @INSTALL_SCRIPT@  
 transform = @program_transform_name@  
   
 #AR             = ar clq  
 AR             = ar cr  
 RANLIB         = ranlib  
 # }}} Programs  
   
 PACKAGE = libplaton  
 VERSION = 1.0  
   
 bin_PROGRAMS = libplaton  INSTALL         = @INSTALL@
 libplaton_SOURCES = $(srcdir)/libplaton.c $(srcdir)/http.c $(srcdir)/strings.c  INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
 man_MANS = libplaton.1  INSTALL_DATA    = @INSTALL_DATA@
   INSTALL_SCRIPT  = @INSTALL_SCRIPT@
 EXTRA_DIST = $(man_MANS) AUTHORS BUGS COPYING CREDITS ChangeLog INSTALL NEWS README SITES TODO *.h  transform       = @program_transform_name@
   mkinstalldirs   = $(SHELL) $(top_srcdir)/mkinstalldirs
 datadir = $(prefix)/@DATADIRNAME@  LN_S            = @LN_S@
 LIBS = @LIBS@  MAKEINFO        = @MAKEINFO@
 DEFS = @DEFS@  RANLIB          = @RANLIB@
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs  STRIP           = @STRIP@
 PROGRAMS =  $(bin_PROGRAMS)  AWK             = @AWK@
   JADEWRAP        = @JADEWRAP@
   DOXYGEN         = @DOXYGEN@
   TAR             = tar
   GZIP_ENV        = --best
   NROFF           = nroff
   DEPEND          = makedepend
   
   NORMAL_INSTALL   = :
   PRE_INSTALL      = :
   POST_INSTALL     = :
   NORMAL_UNINSTALL = :
   PRE_UNINSTALL    = :
   POST_UNINSTALL   = :
   
   CC       = @CC@
   CPP      = @CPP@
   CXX      = @CXX@
   CFLAGS   = -O2 -Wall -pedantic
 CPPFLAGS = @CPPFLAGS@  CPPFLAGS = @CPPFLAGS@
 LDFLAGS = @LDFLAGS@  LDFLAGS  = @LDFLAGS@
 libplaton_OBJECTS =  DEFS     = @DEFS@
 libplaton_LDADD = $(LDADD)  INCLUDES = -I$(srcdir) -I$(top_builddir)
 libplaton_DEPENDENCIES =  
 libplaton_LDFLAGS =  COMPILE  = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
 LIBPLATON = libplaton.a  CCLD     = $(CC)
 CFLAGS = @CFLAGS@ @DEBUG@  LINK     = $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@
 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)  
 CCLD = $(CC)  
 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@  
 man1dir = $(mandir)/man1  
 MANS = $(man_MANS)  
   
 DIST_COMMON =  README AUTHORS COPYING ChangeLog INSTALL \  
 Makefile.in NEWS TODO configure install-sh missing mkinstalldirs  
   
   
 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)  
   
 GZIP_ENV = --best  
 SOURCES = $(libplaton_SOURCES)  
 OBJECTS = $(libplaton_OBJECTS)  
   
 all: $(LIBPLATON) all-redirect  
 .SUFFIXES:  
 .SUFFIXES: .S .c .o .s  
   
 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)  
         cd $(top_builddir) \  
           && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status  
   
 config.status: $(srcdir)/configure  
         $(SHELL) ./config.status --recheck  
   
 mostlyclean-hdr:  # }}} Programs
   
 clean-hdr:  # Targets {{{
   
 maintainer-clean-hdr:  CONFIG_HEADER   = $(top_builddir)/config.h
   include_HEADERS =
   noinst_HEADERS  = platon/cfgfile.h \
                                     platon/cmdline.h \
                                     platon/shared.h \
                                     platon/str/dynfgets.h \
                                     platon/str/strctype.h \
                                     platon/str/strdyn.h \
                                     platon/str/strplus.h
   
   noinst_SCRIPTS =
   
   man_MANS  =
   man3_MANS =
   MANS      = $(man_MANS) $(man3_MANS)
   
   CONFIG_CLEAN_FILES = $(top_builddir)/Makefile \
                                            $(top_builddir)/doc/Makefile \
                                            $(top_builddir)/platon/html/Makefile \
                                            $(top_builddir)/platon/misc/Makefile \
                                            $(top_builddir)/platon/net/atlantis/Makefile \
                                            $(top_builddir)/platon/net/smtp/Makefile \
                                            $(top_builddir)/platon/net/Makefile \
                                            $(top_builddir)/platon/str/Makefile \
                                            $(top_builddir)/platon/Makefile \
                                            $(top_builddir)/utils/Makefile
   
   SCRIPTS            =  $(noinst_SCRIPTS)
   
   HEADERS =  $(include_HEADERS) $(noinst_HEADERS) $(CONFIG_HEADER)
   
   DISTFILES = AUTHORS COPYING README INSTALL TODO \
                           Makefile.in configure.in \
                           config.h.in \
                           config.guess config.sub configure \
                           install-sh mkinstalldirs rebuild \
                           platon/ \
                           $(include_HEADERS) $(noinst_HEADERS) \
                           doc/
   
   # }}} Targets
   
   all: configure-scripts makefiles $(MANS) all-subdirs
   
   makefiles: $(top_builddir)/Makefile \
           $(top_builddir)/doc/Makefile \
           $(top_builddir)/platon/html/Makefile \
           $(top_builddir)/platon/misc/Makefile \
           $(top_builddir)/platon/net/atlantis/Makefile \
           $(top_builddir)/platon/net/smtp/Makefile \
           $(top_builddir)/platon/net/Makefile \
           $(top_builddir)/platon/str/Makefile \
           $(top_builddir)/platon/Makefile \
           $(top_builddir)/utils/Makefile
   configure-scripts: $(top_builddir)/config.status \
           $(top_srcdir)/configure \
           $(top_builddir)/config.h  \
           $(top_srcdir)/config.h.in
   
   all-subdirs: all-src all-utils
   
   all-src:
           cd $(top_builddir)/platon && $(MAKE)
   
   all-utils:
           cd $(top_builddir)/utils && $(MAKE)
   
   #all-doc target doesn't exists, because documentation
   # is already builded in distribution package
   documentation:
           cd $(top_builddir)/doc && $(MAKE)
   
   # don't change dependency files, because this causes make
   # to rebuild them. Use trick with '-c' (stdout).
   %.gz: %
           $(GZIP) -f -c $< > $@
   
 mostlyclean-binPROGRAMS:  
   
 clean-binPROGRAMS:  static:
         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)          cd $(top_builddir)/platon && $(MAKE) $@
   
 distclean-binPROGRAMS:  dynamic:
           cd $(top_builddir)/platon && $(MAKE) $@
   
 maintainer-clean-binPROGRAMS:  lib:
           cd $(top_builddir)/platon && $(MAKE) $@
   
 install-binPROGRAMS: $(bin_PROGRAMS)  
         @$(NORMAL_INSTALL)  
         $(mkinstalldirs) $(DESTDIR)$(bindir)  
         @list='$(bin_PROGRAMS)'; for p in $$list; do \  
           if test -f $$p; then \  
             echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \  
              $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \  
           else :; fi; \  
         done  
   
 uninstall-binPROGRAMS:  .SUFFIXES:
         @$(NORMAL_UNINSTALL)  
         list='$(bin_PROGRAMS)'; for p in $$list; do \  
           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \  
         done  
   
 .s.o:  # Makefiles, configure scripts dependencies {{{
         $(COMPILE) -c $<  # Main Makefile
   $(top_builddir)/Makefile: $(top_srcdir)/Makefile.in  $(top_builddir)/config.status
           @cd $(top_builddir) \
             && CONFIG_FILES=$@ CONFIG_HEADERS= \
               $(SHELL) ./config.status
   
   # Makefile in platon/ subdirectory
   $(top_builddir)/%/Makefile: $(top_srcdir)/%/Makefile.in  $(top_builddir)/config.status
           @cd $(top_builddir) \
             && CONFIG_FILES=$@ CONFIG_HEADERS= \
               $(SHELL) ./config.status
   
   $(top_builddir)/config.status: $(top_srcdir)/configure.in
           @cd $(top_builddir) \
             && $(SHELL) ./config.status --recheck
   
   $(top_srcdir)/configure: $(top_srcdir)/configure.in
           @cd $(top_builddir) \
             $(SHELL) ./config.status --recheck \
               && cd $(top_srcdir) \
               && $(AUTOCONF)
   
   $(top_builddir)/config.h: $(top_srcdir)/config.h.in \
           $(top_builddir)/config.status
           @cd $(top_builddir) \
             && CONFIG_FILES= CONFIG_HEADERS=config.h \
               $(SHELL) ./config.status \
                     && touch config.h
   
   $(top_srcdir)/config.h.in: $(top_srcdir)/configure.in
           @cd $(top_srcdir) \
             && $(AUTOHEADER) \
               && touch config.h.in
   # Makefiles, configure scripts dependencies }}}
   
   test:
           @$(MAKE) dist \
                   && tar xzf $(distdir).tar.gz \
                   && here=`pwd` \
                   && cd $(distdir) \
                           && ./configure --prefix=install_dir \
                           && $(MAKE) --warn-undefined-variables \
                           && $(MAKE) --warn-undefined-variables install \
                           && $(MAKE) --warn-undefined-variables uninstall \
                           && $(MAKE) --warn-undefined-variables dist \
                           && $(MAKE) --warn-undefined-variables distcheck \
           && banner="Test of compilation ended without errors, super! :-)"; echo; \
              dashes=`echo "$$banner" | sed s/./=/g`; \
              echo "$$dashes"; \
              echo "$$banner"; \
              echo "$$dashes"; \
           cd $$here; \
           rm -rf $(distdir)
   
   
   # Section: Install {{{
   install: all
           cd $(top_builddir)/platon && $(MAKE) $@
           cd $(top_builddir)/doc && $(MAKE) $@
   uninstall:
           cd $(top_builddir)/platon && $(MAKE) $@
           cd $(top_builddir)/doc && $(MAKE) $@
   
   installcheck:
           cd $(top_builddir)/platon && $(MAKE) $@
           cd $(top_builddir)/doc && $(MAKE) $@
   
   install-exec:
           cd $(top_builddir)/platon && $(MAKE) $@
   uninstall-exec:
           cd $(top_builddir)/platon && $(MAKE) $@
   
   install-lib:
           cd $(top_builddir)/platon && $(MAKE) $@
   uninstall-lib:
           cd $(top_builddir)/platon && $(MAKE) $@
   
 .S.o:  install-data:
         $(COMPILE) -c $<          cd $(top_builddir)/doc && $(MAKE) $@
   
 mostlyclean-compile:  install-strip:
         -rm -f *.o core *.core          cd $(top_builddir)/platon && $(MAKE) $@
   
 clean-compile:  installdirs:
         -rm -rf objects/          cd $(top_builddir)/platon && $(MAKE) $@
           cd $(top_builddir)/doc && $(MAKE) $@
 distclean-compile:  
         -rm -f *.tab.c  
   
 maintainer-clean-compile:  
   
 libplaton: $(libplaton_OBJECTS) $(libplaton_DEPENDENCIES)  
         @rm -f libplaton  
         $(LINK) $(libplaton_LDFLAGS) $(libplaton_OBJECTS) $(libplaton_LDADD) $(LIBS)  
   
 # Install manuals {{{  
 install-man1:  
         $(mkinstalldirs) $(DESTDIR)$(man1dir)  
         @list='$(man1_MANS)'; \  
         l2='$(man_MANS)'; for i in $$l2; do \  
           case "$$i" in \  
             *.1*) 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)$(man1dir)/$$inst"; \  
           $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \  
         done  
   
 uninstall-man1:  
         @list='$(man1_MANS)'; \  
         l2='$(man_MANS)'; for i in $$l2; do \  
           case "$$i" in \  
             *.1*) 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)$(man1dir)/$$inst"; \  
           rm -f $(DESTDIR)$(man1dir)/$$inst; \  
         done  
 install-man: $(MANS)  install-man: $(MANS)
         @$(NORMAL_INSTALL)          cd $(top_builddir)/doc && $(MAKE) $@
         $(MAKE) $(AM_MAKEFLAGS) install-man1  
 uninstall-man:  uninstall-man:
         @$(NORMAL_UNINSTALL)          cd $(top_builddir)/doc && $(MAKE) $@
         $(MAKE) $(AM_MAKEFLAGS) uninstall-man1  
 # }}} Manuals  
   
 # ID & 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:  
         ctags -o TAGS $(HEADERS) $(SOURCES)  
 #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)  
   
 mostlyclean-tags:  install-includeHEADERS: $(include_HEADERS)
         -rm -f TAGS ID          cd $(top_builddir)/platon && $(MAKE) $@
   uninstall-includeHEADERS:
           cd $(top_builddir)/platon && $(MAKE) $@
   
 clean-tags:  
         -rm -f TAGS ID  
   
 distclean-tags:  # }}} Section: Install
         -rm -f TAGS ID  
   # Section: TAGS {{{
   tags: TAGS
   
 maintainer-clean-tags:  ID:
 # }}} ID & tags          cd $(top_builddir)/platon && $(MAKE) $@
   TAGS:
           cd $(top_builddir)/platon && $(MAKE) $@
   
 # Distribution {{{  # }}}  Section: TAGS
 distdir = $(PACKAGE)-$(VERSION)  
 top_distdir = $(distdir)  
   
   # Section: distribution {{{
 # This target untars the dist file and tries a VPATH configuration.  Then  # This target untars the dist file and tries a VPATH configuration.  Then
 # it guarantees that the distribution is self-contained by making another  # it guarantees that the distribution is self-contained by making another
 # tarfile.  # tarfile.
Line 253  distcheck: dist
Line 318  distcheck: dist
         dc_install_base=`cd $(distdir)/=inst && pwd`; \          dc_install_base=`cd $(distdir)/=inst && pwd`; \
         cd $(distdir)/=build \          cd $(distdir)/=build \
           && ../configure --srcdir=.. --prefix=$$dc_install_base \            && ../configure --srcdir=.. --prefix=$$dc_install_base \
           && $(MAKE) $(AM_MAKEFLAGS) \            && $(MAKE) --warn-undefined-variables \
           && $(MAKE) $(AM_MAKEFLAGS) dvi \            && $(MAKE) --warn-undefined-variables dvi \
           && $(MAKE) $(AM_MAKEFLAGS) check \            && $(MAKE) --warn-undefined-variables documentation \
           && $(MAKE) $(AM_MAKEFLAGS) install \            && $(MAKE) --warn-undefined-variables check \
           && $(MAKE) $(AM_MAKEFLAGS) installcheck \            && $(MAKE) --warn-undefined-variables install \
           && $(MAKE) $(AM_MAKEFLAGS) dist            && $(MAKE) --warn-undefined-variables installcheck \
             && $(MAKE) --warn-undefined-variables dist
         -rm -rf $(distdir)          -rm -rf $(distdir)
         @banner="$(distdir).tar.gz is ready for distribution"; \          @banner="$(distdir).tar.gz is ready for distribution"; \
         dashes=`echo "$$banner" | sed s/./=/g`; \          dashes=`echo "$$banner" | sed s/./=/g`; \
         echo "$$dashes"; \          echo "$$dashes"; \
         echo "$$banner"; \          echo "$$banner"; \
         echo "$$dashes"          echo "$$dashes"
 dist: distdir  
         -chmod -R a+r $(distdir)  dist-all: dist
         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)  dist: distdir distdir-permisions
         -rm -rf $(distdir)          GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz  $(distdir)
 dist-all: distdir          @#BZIP=$(GZIP_ENV) $(TAR) chojf $(distdir).tar.bz2 $(distdir)
         -chmod -R a+r $(distdir)  
         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)  
         -rm -rf $(distdir)          -rm -rf $(distdir)
           -@banner="md5sum is: `md5sum $(distdir).tar.gz |tee md5sum.$(distdir)`"; \
           dashes=`echo "$$banner" | sed s/./=/g`; \
           echo "$$dashes"; \
           echo "$$banner"; \
           echo "$$dashes"
   
   # These target are needed for 'distdir' -- it creates documentation
   # included in tarball before creating distribution dir.
   doc/html:      documentation
   doc/html/*:    documentation
   doc/doxygen/*: documentation
 distdir: $(DISTFILES)  distdir: $(DISTFILES)
         -rm -rf $(distdir)          -rm -rf $(distdir)
         mkdir $(distdir)          mkdir $(distdir)
         -chmod 777 $(distdir)          -chmod a+rx $(distdir)
         here=`cd $(top_builddir) && pwd`; \          @here=`cd $(top_builddir) && pwd`; \
         top_distdir=`cd $(distdir) && pwd`; \          top_distdir=`cd $(distdir) && pwd`; \
         distdir=`cd $(distdir) && pwd`;          distdir=`cd $(distdir) && pwd`; \
         @for file in $(DISTFILES); do \          umask 022; \
           for file in $(DISTFILES); do \
           d=$(srcdir); \            d=$(srcdir); \
           if test -d $$d/$$file; then \            if test -d $$d/$$file; then \
             cp -pr $$d/$$file $(distdir)/$$file; \              mkdir $(distdir)/$$file; \
           else \            else \
             test -f $(distdir)/$$file \              test -f $(distdir)/$$file \
             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \              || cp $$d/$$file $(distdir)/$$file || :; \
             || cp -p $$d/$$file $(distdir)/$$file || :; \  
           fi; \            fi; \
         done          done
 # }}} Distribution  
   # || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
   
 mostlyclean-depend:  distdir-permisions:
           @for file in $(DISTFILES); do \
             if test -d $(distdir)/$$file; then \
               chmod a+rx $(distdir)/$$file; \
             else \
               test -f $(distdir)/$$file \
               && chmod a+r $(distdir)/$$file; \
             fi; \
             if test -x $(srcdir)/$$file; then \
                   chmod a+x $(distdir)/$$file; \
             fi; \
           done
   
 clean-depend:  # }}} Section: distribution
   
 distclean-depend:  info:
         -rm -f Makefile.dep  dvi:
   check: all
   
 maintainer-clean-depend:  # Section clean {{{
   
 install-exec-am: install-binPROGRAMS  clean: clean-src clean-hdr
 install-exec: install-exec-am          -rm -rf  *.o core *.core .deps/ debian-build/
           -rm -f md5sum* *.deb
   
 install-data-am: install-man  clean-src:
 install-data: install-data-am          cd $(top_builddir)/platon && $(MAKE) clean
   
 install-am: all-am  clean-doc:
         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am          cd $(top_builddir)/doc && $(MAKE) clean
 install: install-am  
 uninstall-am: uninstall-binPROGRAMS uninstall-man  
 uninstall: uninstall-am  
 all-am: Makefile $(PROGRAMS) $(MANS)  
 all-redirect: all-am  
 install-strip:  
         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install  
 installdirs:  
         $(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1  
   
 # Clean {{{  clean-tags:
 mostlyclean-generic:          cd $(top_builddir)/platon && $(MAKE) $@
   
 clean-generic:  clean-hdr:
           -rm -f config.h
   
 distclean-generic:  
         -rm -f Makefile $(CONFIG_CLEAN_FILES)  
         -rm -f config.cache config.log  
   
 maintainer-clean-generic:  mostlyclean: mostlyclean-src mostlyclean-hdr clean-tags
 mostlyclean-am:  mostlyclean-hdr mostlyclean-binPROGRAMS \          -rm -rf  *.o core *.core .deps/
                 mostlyclean-compile mostlyclean-tags mostlyclean-depend \          -rm -f md5sum* *.deb
                 mostlyclean-generic  
   
 mostlyclean: mostlyclean-am  mostlyclean-src:
           cd $(top_builddir)/platon && $(MAKE) mostlyclean
   mostlyclean-hdr:
           cd $(top_builddir)/platon && $(MAKE) mostlyclean
   
 clean-am:  clean-hdr clean-binPROGRAMS clean-compile clean-tags \  maintainer-clean: distclean maintainer-clean-generic
                 clean-depend clean-generic mostlyclean-am          @echo
           @echo "-----------------------------------------------------------"
           @echo "This command is intended for maintainers to use;"
           @echo "it deletes files that may require special tools to rebuild."
           @echo "-----------------------------------------------------------"
           @echo
   
 clean: clean-am  maintainer-clean-generic:
           -rm -f $(top_builddir)/config.status $(top_srcdir)/configure
           -rm -f $(top_srcdir)/config.h.in
           -rm -f $(top_builddir)/$(PACKAGE)-*.tar.gz
           -rm -f $(top_builddir)/*.deb
   
 distclean-am:  distclean-hdr distclean-binPROGRAMS distclean-compile \  
                 distclean-tags distclean-depend distclean-generic \  
                 clean-am  
   
 distclean: distclean-am  distclean: distclean-src distclean-doc distclean-hdr \
           distclean-tags distclean-generic
         -rm -f config.status          -rm -f config.status
           -rm -rf  *.o core *.core .deps/ debian-build
           -rm -f md5sum* *.deb
           -rm -rf $(distdir) $(distdir).tar.gz
   
 maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-binPROGRAMS \  distclean-src:
                 maintainer-clean-compile maintainer-clean-tags \          cd $(top_builddir)/platon && $(MAKE) distclean
                 maintainer-clean-depend maintainer-clean-generic \  
                 distclean-am  
         @echo "This command is intended for maintainers to use;"  
         @echo "it deletes files that may require special tools to rebuild."  
   
 maintainer-clean: maintainer-clean-am  distclean-doc:
         -rm -f config.status          cd $(top_builddir)/doc && $(MAKE) distclean
 # }}} Clean  
   
 # Libs: {{{  distclean-hdr:
 HTML_LIB   = libplaton_html          -rm -f config.h
 STR_LIB    = libplaton_str  
 TELNET_LIB = libplaton_telnet  distclean-tags:
 UTILS_LIB  = libplaton_utils          -rm -f TAGS ID
   
 BUILD_LIBS = @BUILD_LIBS@  distclean-generic:
           -rm -f Makefile $(CONFIG_CLEAN_FILES)
 $(LIBPLATON):          -rm -f config.cache config.log stamp-h stamp-h[0-9]*
         LIBOBJS=`find $(BUILD_LIBS) -name \*.o -print`; \  
                 $(AR) $@  $$LIBOBJS  # }}} Section clean
         $(RANLIB) $@  
   
 # }}} Libs:  
   
 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \  # PHONY {{{
 mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \  .PHONY: distclean-hdr clean-hdr \
 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \  install uninstall installdirs \
 mostlyclean-compile distclean-compile clean-compile \  install-exec install-data \
 maintainer-clean-compile install-man1 uninstall-man1 install-man \  install-man3 uninstall-man3 \
 uninstall-man tags mostlyclean-tags distclean-tags clean-tags \  install-man  uninstall-man \
 maintainer-clean-tags distdir mostlyclean-depend distclean-depend \  install-lib  uninstall-lib \
 clean-depend maintainer-clean-depend info-am info dvi-am dvi check \  install-includeHEADERS uninstall-includeHEADERS \
 check-am installcheck-am installcheck all-recursive-am install-exec-am \  tags \
 install-exec install-data-am install-data install-am install \  distclean-tags clean-tags distdir info \
 uninstall-am uninstall all-redirect all-am all installdirs \  dvi check installcheck \
 mostlyclean-generic distclean-generic clean-generic \  distclean-generic clean-generic \
 maintainer-clean-generic clean mostlyclean distclean maintainer-clean  maintainer-clean-generic clean mostlyclean distclean maintainer-clean
   # }}} PHONY
   
   .PHONY: sources
   sources:
           cd $(top_builddir)/platon && $(MAKE) $@
   
   .PHONY: lclint
   lclint:
           cd $(top_builddir)/platon && $(MAKE) $@
   
   .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."
   
   # Create RPM
   # This target is for maintainers only!
   rpm:    rpm-clean spec dist
           mkdir rpm
           rpmbuild -ba contrib/libcfg+.spec ;
   
   spec: $(PACKAGE).spec
   
   rpm-clean:
           rm -rf rpm
   
   # Create Debian distribution package
   # This target is for maintainers only!
   deb:
           rm -rf debian-build
           mkdir debian-build && cd debian-build \
                   && here=`pwd`/$(PACKAGE)_$(VERSION)_all \
                   && ../$(top_srcdir)/configure \
                                   --prefix=$$here/usr \
                                   --exec-prefix=$$here/usr \
                                   --mandir=$$here/usr/share/man \
                   && $(MAKE) install deb-copy \
                   && mv DEBIAN/ $(PACKAGE)_$(VERSION)_all \
                   && chmod 0755 $(PACKAGE)_$(VERSION)_all/DEBIAN \
                   && dpkg-deb --build $(PACKAGE)_$(VERSION)_all \
                   && mv $(PACKAGE)_$(VERSION)_all.deb ../ \
                   && cd .. \
                   && rm -rf debian-build
           -@banner="md5sum is: `md5sum $(PACKAGE)_$(VERSION)_all.deb |tee md5sum.$(PACKAGE)_$(VERSION)_all.deb`"; \
           dashes=`echo "$$banner" | sed s/./=/g`; \
           echo "$$dashes"; \
           echo "$$banner"; \
           echo "$$dashes"
   
   .PHONY: deb deb-copy
   
   deb-copy:
           mkdir -p ./DEBIAN
           cp $(top_srcdir)/contrib/debian/changelog ./DEBIAN
           cp $(top_srcdir)/contrib/debian/conffiles ./DEBIAN
           cp $(top_srcdir)/contrib/debian/copyright ./DEBIAN
           sed 's/@''PACKAGE''@/$(PACKAGE)/g; s/@''VERSION''@/$(VERSION)/g;' \
                   $(top_srcdir)/contrib/debian/control.in > ./DEBIAN/control
   
   
 # Tell versions [3.59,3.63) of GNU make to not export all variables.  # 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.  # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:  .NOEXPORT:
   
 #    vim:set ts=4:  # Help {{{
 # vim600:fdm=marker fdl=0 fdc=3:  .PHONY: help
   help:
           @echo
           @echo "Common targets:"
           @echo "---------------"
           @echo "make [all]          - builds sources, don't builds documentation"
           @echo "make help           - print this help"
           @echo "make install        - install all files to destination"
           @echo "make uninstall      - remove installed files"
           @echo "make clean          - remove builded files, don't remove documentation"
           @echo
           @echo "Targets for maintainers only:"
           @echo "-----------------------------"
           @echo "make dist           - create distribution package"
           @echo "make distcheck      - test package"
           @echo "make documentation  - build documentation"
           @echo "make distclean      - remove builded files (also documentation)"
           @echo
   # }}}
   
   # vim600: fdm=marker fdc=3
   

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.9

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top