Imported Upstream version 1.4.16
[platform/upstream/m4.git] / src / Makefile.am
1 ## Makefile.am - template for generating Makefile via Automake
2 ##
3 ## Copyright (C) 2006-2011 Free Software Foundation, Inc.
4 ##
5 ## This file is part of GNU M4.
6 ##
7 ## GNU M4 is free software: you can redistribute it and/or modify
8 ## it under the terms of the GNU General Public License as published by
9 ## the Free Software Foundation, either version 3 of the License, or
10 ## (at your option) any later version.
11 ##
12 ## GNU M4 is distributed in the hope that it will be useful,
13 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 ## GNU General Public License for more details.
16 ##
17 ## You should have received a copy of the GNU General Public License
18 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
19 ##
20 ## This file written by Eric Blake <ebb9@byu.net>
21
22 AUTOMAKE_OPTIONS = nostdinc
23 AM_CPPFLAGS = -I$(top_srcdir)/lib -I../lib
24 AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
25 bin_PROGRAMS = m4
26 m4_SOURCES = m4.h m4.c builtin.c debug.c eval.c format.c freeze.c input.c \
27 macro.c output.c path.c symtab.c
28 m4_LDADD = ../lib/libm4.a $(LIBM4_LIBDEPS) $(LIBCSTACK) $(LIBTHREAD)