2006-11-28 05:35:37 +08:00
|
|
|
# Make Autotest library.
|
|
|
|
|
2010-01-06 11:59:55 +08:00
|
|
|
# Copyright (C) 2001, 2002, 2009, 2010 Free Software Foundation, Inc.
|
2006-11-28 05:35:37 +08:00
|
|
|
|
2007-07-21 07:11:49 +08:00
|
|
|
# This program is free software: you can redistribute it and/or modify
|
2006-11-28 05:35:37 +08:00
|
|
|
# it under the terms of the GNU General Public License as published by
|
2007-07-21 07:11:49 +08:00
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
2006-11-28 05:35:37 +08:00
|
|
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
2007-07-21 07:11:49 +08:00
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2001-08-01 21:46:22 +08:00
|
|
|
|
2002-02-05 16:24:06 +08:00
|
|
|
autotestlibdir = $(pkgdatadir)/autotest
|
2009-08-01 21:28:56 +08:00
|
|
|
dist_autotestlib_DATA = autotest.m4 general.m4 specific.m4
|
2002-02-05 16:24:06 +08:00
|
|
|
nodist_autotestlib_DATA = autotest.m4f
|
|
|
|
CLEANFILES = $(nodist_autotestlib_DATA)
|
2001-08-17 20:06:44 +08:00
|
|
|
|
|
|
|
## --------------- ##
|
|
|
|
## Building TAGS. ##
|
|
|
|
## --------------- ##
|
|
|
|
|
Automake 1.5.
* Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
(AMTAR): Help automake define it.
(INSTALL, install-data-hook): The INSTALL.txt trick is no longer
needed, 1.5 can have a macro and a target with the same name.
* m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
* m4/strip.m4: New.
* m4/init.m4, m4/sanity.m4: Update.
* doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
* lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
* lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
* lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
2001-08-27 15:12:16 +08:00
|
|
|
TAGS_FILES = $(dist_autotestlib_DATA)
|
2001-08-17 20:06:44 +08:00
|
|
|
|
* lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
(tm_zone): Move their rules to...
* lib/autoconf/types.m4: here, using AN_ macros.
* lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
(RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
(make, mawk, nawk, ranlib, yacc): Similarly, move to...
* lib/autoconf/programs.m4: here.
* lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
(ETAGS_FOR_AUTOCONF): New.
Use it.
2002-09-28 22:07:47 +08:00
|
|
|
ETAGS_ARGS = $(ETAGS_FOR_AUTOCONF)
|
2001-08-20 22:45:22 +08:00
|
|
|
|
|
|
|
|
|
|
|
## -------- ##
|
|
|
|
## Checks. ##
|
|
|
|
## -------- ##
|
|
|
|
|
2002-10-17 18:34:09 +08:00
|
|
|
check-local: check-forbidden-patterns
|
|
|
|
forbidden_patterns = -e '^_*EOF' -e ' cmp '
|
|
|
|
forbidden_patterns_files = $(dist_autotestlib_DATA)
|
2002-02-05 16:24:06 +08:00
|
|
|
|
|
|
|
|
|
|
|
## ------------------ ##
|
|
|
|
## The frozen files. ##
|
|
|
|
## ------------------ ##
|
|
|
|
|
2002-02-07 01:29:44 +08:00
|
|
|
autotest.m4f: $(autotest_m4f_dependencies)
|
2002-02-05 16:24:06 +08:00
|
|
|
include ../freeze.mk
|