1 ## Makefile.am - template for generating Makefile via Automake
3 ## Copyright (C) 2006-2014, 2016-2017, 2020-2021 Free Software
6 ## This file is part of GNU M4.
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.
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.
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/>.
21 ## This file written by Eric Blake <ebb9@byu.net>
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)
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) \