Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Štvrtok, 12. december 2024

Súbor: [Platon] / ep / Makefile.in (stiahnutie)

Revízia 1.23, Sat Sep 9 06:59:47 2006 UTC (18 years, 3 months ago) by nepto


Zmeny od 1.22: +4 -2 [lines]

Added stuff generating VERSION file

# 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.

# Main Makefile for 'ep'.
# $Platon: ep/Makefile.in,v 1.22 2004-01-06 17:05:05 nepto Exp $ 

PACKAGE = @PACKAGE@
VERSION = @VERSION@

CVSTAG = $(PACKAGE)-$(subst .,_,$(VERSION))

SHELL = @SHELL@

# Directories {{{
top_builddir   = .
srcdir         = @srcdir@
top_srcdir     = @top_srcdir@
VPATH          = @srcdir@
prefix         = @prefix@
exec_prefix    = @exec_prefix@

bindir         = @bindir@
sbindir        = @sbindir@
libexecdir     = @libexecdir@
datadir        = @datadir@
sysconfdir     = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir  = @localstatedir@
libdir         = @libdir@
infodir        = @infodir@
mandir         = @mandir@
man1dir        = $(mandir)/man1

DESTDIR        =

pkgdatadir     = $(datadir)/@PACKAGE@
pkglibdir      = $(libdir)/@PACKAGE@
pkgincludedir  = $(includedir)/@PACKAGE@

distdir        = $(PACKAGE)-$(VERSION)
top_distdir    = $(distdir)

# }}} Directories

# Targets {{{
CONFIG_HEADER   = $(top_builddir)/config.h
include_HEADERS =
noinst_HEADERS  =

noinst_SCRIPTS =

man_MANS  =
man1_MANS =
MANS      = $(man_MANS) $(man1_MANS)

#CONFIG_CLEAN_FILES =  Doxyfile doc/sgml/defs.sgml
CONFIG_CLEAN_FILES =
SCRIPTS            =  $(noinst_SCRIPTS)

HEADERS =  $(include_HEADERS) $(noinst_HEADERS) $(CONFIG_HEADER)

DISTFILES = AUTHORS COPYING INSTALL README TODO VERSION \
            configure configure.in Makefile.in Rules.make.in config.h.in \
            install-sh mkinstalldirs rebuild \
            src \
                src/Makefile.in \
                 src/conf.c        src/conf.h \
                 src/fd.c          src/fd.h \
                 src/m_memory.c    src/m_memory.h \
                 src/m_proctable.c src/m_proctable.h \
                 src/main.c        src/main.h \
                 src/menu.c        src/menu.h \
                 src/message.c     src/message.h \
                 src/process.c     src/process.h \
                 src/proctable.c   src/proctable.h \
                src/sigserv.c     src/sigserv.h \
                                  src/proclink.h \
                                  src/platon-str.h \
            doc \
                doc/Makefile.in \
                doc/man \
                    doc/man/ep.1.gz \
                    doc/man/ep.1.in \
                doc/examples \
                    doc/examples/01.simple-cat.conf \
                    doc/examples/02.simple-grep.conf \
                    doc/examples/03.advanced-grep.conf \
                    doc/examples/04.continuous-cat.conf \
                    doc/examples/05.paraller-cat.conf \
                    doc/examples/06.write-log.conf \
                    doc/examples/07.read-log.conf \
                    doc/examples/08.session-log.conf

# }}} Targets

# Programs {{{
#ACLOCAL    = @ACLOCAL@
#AUTOCONF   = @AUTOCONF@
#AUTOMAKE   = @AUTOMAKE@
#AUTOHEADER = @AUTOHEADER@
ACLOCAL    = aclocal
AUTOCONF   = autoconf
AUTOMAKE   = automake
AUTOHEADER = autoheader


INSTALL         = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA    = @INSTALL_DATA@
INSTALL_SCRIPT  = @INSTALL_SCRIPT@
transform       = @program_transform_name@
mkinstalldirs   = $(SHELL) $(top_srcdir)/mkinstalldirs
LN_S            = @LN_S@
MAKEINFO        = @MAKEINFO@
RANLIB          = @RANLIB@
STRIP           = @STRIP@
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   = @CFLAGS@
CPPFLAGS =
LDFLAGS  = 
DEFS     =
INCLUDES = -I$(srcdir) -I$(top_builddir)

COMPILE  = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
CCLD     = $(CC)
LINK     = $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@

# }}} Programs

all: configure-scripts makefiles $(MANS) all-subdirs

include $(top_builddir)/Rules.make

makefiles: $(top_builddir)/Makefile \
    $(top_builddir)/src/Makefile \
    $(top_builddir)/doc/Makefile
configure-scripts: $(top_builddir)/config.status \
    $(top_srcdir)/configure \
    $(top_builddir)/config.h  \
    $(top_srcdir)/config.h.in

all-subdirs: all-src

all-src:
    cd $(top_builddir)/src && $(MAKE)

all-doc:
    cd $(top_builddir)/doc && $(MAKE)

VERSION: Makefile
    echo $(VERSION) > $@

.SUFFIXES:


clean-hdr:

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)/src && $(MAKE) $@
    cd $(top_builddir)/doc && $(MAKE) $@
uninstall:
    cd $(top_builddir)/src && $(MAKE) $@
    cd $(top_builddir)/doc && $(MAKE) $@

install-strip:
    cd $(top_builddir)/src && $(MAKE) $@
    cd $(top_builddir)/doc && $(MAKE) install

install-nostrip:
    cd $(top_builddir)/src && $(MAKE) $@
    cd $(top_builddir)/doc && $(MAKE) install

installcheck:
    cd $(top_builddir)/src && $(MAKE) $@
    cd $(top_builddir)/doc && $(MAKE) $@

install-exec:
    cd $(top_builddir)/src && $(MAKE) $@
uninstall-exec:
    cd $(top_builddir)/src && $(MAKE) $@

install-bin:
    cd $(top_builddir)/src && $(MAKE) $@
uninstall-bin:
    cd $(top_builddir)/src && $(MAKE) $@

install-data:
    cd $(top_builddir)/doc && $(MAKE) $@

installdirs:
    cd $(top_builddir)/src && $(MAKE) $@
    cd $(top_builddir)/doc && $(MAKE) $@

install-man1:
#    cd $(top_builddir)/doc && $(MAKE) $@
uninstall-man1:
#    cd $(top_builddir)/doc && $(MAKE) $@

install-man: $(MANS)
#    cd $(top_builddir)/doc && $(MAKE) $@
uninstall-man:
#    cd $(top_builddir)/doc && $(MAKE) $@


# }}} Section: Install

info:
dvi:
check: all

clean: clean-src clean-doc clean-hdr clean-tags mostlyclean
    -rm -rf  *.o core *.core .deps/
    -rm -f md5sum*


clean-src:
    cd $(top_builddir)/src && $(MAKE) clean

clean-doc:
    cd $(top_builddir)/doc && $(MAKE) clean


mostlyclean:

maintainer-clean: 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
    -rm -f $(PACKAGE)-*.tar.gz


# PHONY {{{
.PHONY: distclean-hdr clean-hdr \
install uninstall installdirs \
install-exec install-data \
install-man1 uninstall-man1 \
install-man  uninstall-man \
install-lib  uninstall-lib \
install-includeHEADERS uninstall-includeHEADERS \
tags \
distclean-tags clean-tags distdir info \
dvi check installcheck \
distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
# }}} PHONY


# 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


Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok