1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
|
# Makefile
#
# Top-level Makefile
#
# $Id: Makefile,v 1.20 2002/03/19 11:59:31 arensb Exp $
# In each Makefile, ${TOP} is the top of the source tree. ${SUBDIR} is the
# path to the current directory, relative to ${TOP}. These two variables
# are automatically set by the ${RECURSIVE_TARGETS}:: rule in "Make.rules".
# However, for the benefit of people who like running `make' from inside
# the source tree, they should also be set at the top of each Makefile.
TOP = .
SUBDIR = .
# List of subdirectories underneath this one.
# Note that $(PERLDIR) is expanded in Make.rules.
SUBDIRS = include libpconn libpdb src coldnamed $(PERLDIR) conduits \
doc i18n
# Files to include in snapshots and distributions
DISTFILES = README \
README.daemon \
INSTALL \
Artistic \
AUTHORS \
NEWS \
OLDNEWS.1 \
ChangeLog \
ChangeLog.0 \
ChangeLog.1 \
ChangeLog.2 \
HACKING \
Makefile \
Make.rules.in \
configure.in \
aclocal.m4 \
config.h.in \
TODO \
FAQ \
install-sh \
mkinstalldirs \
find-leaks \
configure
# Files to include in distributions, but not in snapshots
EXTRA_DISTFILES =
# Files to delete when making `clean', `distclean' and `spotless',
# respectively. Each one deletes the ones before.
CLEAN = core *.core *.bak *~ errs errs.*
DISTCLEAN = config.cache Make.rules config.h config.log config.status \
ID TAGS .depend
SPOTLESS = configure
all:: Make.rules
# Rebuild the `configure' stuff, if necessary.
Make.rules config.h: configure
./config.status
configure: configure.in
autoconf
distfiles-core::
${MKDIR} "${TOPDISTDIR}";
# Emacs TAGS file
tags: TAGS
TAGS::
rm -f TAGS
include Make.rules
# This creates the ID file that lists where various identifiers are
# found. Used by 'lid', 'gid', etc., part of the id-utils package.
id: ID
# The double-colon here is to force the file to be rebuilt every time.
ID::
${MKID}
dist: distfiles
GZIP="--best" ${TAR} chozf ${TARBALL} ${TOPDISTDIR}
rm -rf ${TOPDISTDIR}
snapshot: distfiles-core
date=`${DATE} "+%Y%m%d"`; \
GZIP="--best" ${TAR} chozf "${PACKAGE}-${VERSION}-$${date}.tar.gz" \
${TOPDISTDIR}
rm -rf ${TOPDISTDIR}
spotless::
rm -rf ${TOPDISTDIR}
# This is for Emacs's benefit:
# Local Variables: ***
# fill-column: 75 ***
# End: ***
|