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