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
|
## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = no-texinfo.tex
SUBDIRS = src doc po man regression
BUILT_SOURCES =
DISTFILES = $(DIST_COMMON:README=README.md) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
EXTRA_DIST = README.md \
config/config.rpath \
ChangeLog-1990 ChangeLog-1998 ChangeLog-2001 \
m4/UTIMBUF.m4 \
miscel/Makefile.mingw32 \
miscel/README.vc++ \
bootstrap \
regression
DISTCLEANFILES=config/config.cache config/config.log config.h
ps:
cd doc && $(MAKE) @PACKAGE@.ps
pdf:
cd doc && $(MAKE) @PACKAGE@.pdf
html:
cd doc && $(MAKE) html
html-split:
cd doc && $(MAKE) html-split
# --------------- Maintainer's Section
MAINTAINERCLEANFILES = intl/* aclocal.m4 Makefile.in \
config.h.in config/* \
po/Makefile.in.in po/Rules-quot po/boldquot.sed po/en@boldquot.header \
po/en@quot.header po/insert-header.sin po/quot.sed po/remove-potcdate.sin \
stamp-h1 stamp-h.in configure \
@PACKAGE@-1.spec \
@PACKAGE@.lsm indent-2.spec .gdbinit \
INSTALL ABOUT-NLS
## Use -g when in maintainer mode
if MAINTAINER_MODE
CFLAGS+= -g -Wall -I. -Wextra
else
CFLAGS+= -I.
endif
if MAINTAINER_MODE
README: README.md
ln -s $< $@
@PACKAGE@.lsm :%: Makefile %.in
sed -e 's%!VERSION!%@VERSION@%g' $@.in > $@
endif
ACLOCAL_AMFLAGS = -I m4
|