mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-16 15:53:03 +00:00
* Makefile.am (dist_TESTS): New.
(TESTS, EXTRA_DIST): Run and ship them.
* examples/calc++/local.mk: examples/calc++/calc++.stamp no longer
exists, don't try to ship it.
(.yy.stamp): New recipe.
Use it.
* examples/calc++/local.mk, examples/mfcalc/local.mk,
* examples/rpcalc/local.mk:
Don't ship the sources.
Adjust the CPPFLAGS: there is nothing left in srcdir.
(MAINTAINERCLEANFILES): Remove, now we are in builddir.
(TESTS): Rename as...
(dist_TESTS): this.
37 lines
1.2 KiB
Makefile
37 lines
1.2 KiB
Makefile
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
|
|
|
## Copyright (C) 2005-2006, 2008-2012 Free Software Foundation, Inc.
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# 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
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
## -------------------- ##
|
|
## Building & testing. ##
|
|
## -------------------- ##
|
|
|
|
BUILT_SOURCES += $(rpcalc_sources)
|
|
|
|
rpcalc_extracted = \
|
|
examples/rpcalc/rpcalc.y
|
|
rpcalc_sources = \
|
|
$(rpcalc_extracted)
|
|
extracted += $(rpcalc_extracted)
|
|
|
|
check_PROGRAMS += examples/rpcalc/rpcalc
|
|
examples_rpcalc_rpcalc_LDADD = -lm
|
|
nodist_examples_rpcalc_rpcalc_SOURCES = \
|
|
$(rpcalc_sources)
|
|
|
|
examples_rpcalc_rpcalc_CPPFLAGS = -I$(top_builddir)/examples/rpcalc
|
|
dist_TESTS += examples/rpcalc/rpcalc.test
|