| 1 |
# |
| 2 |
# Makefile.am --- automake input file for gawk |
| 3 |
# |
| 4 |
# Copyright (C) 2000-2016, 2018, 2019, 2021, 2022, 2023, 2024 |
| 5 |
# the Free Software Foundation, Inc. |
| 6 |
# |
| 7 |
# This file is part of GAWK, the GNU implementation of the |
| 8 |
# AWK Programming Language. |
| 9 |
# |
| 10 |
# GAWK is free software; you can redistribute it and/or modify |
| 11 |
# it under the terms of the GNU General Public License as published by |
| 12 |
# the Free Software Foundation; either version 3 of the License, or |
| 13 |
# (at your option) any later version. |
| 14 |
# |
| 15 |
# GAWK is distributed in the hope that it will be useful, |
| 16 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 |
# GNU General Public License for more details. |
| 19 |
# |
| 20 |
# You should have received a copy of the GNU General Public License |
| 21 |
# along with this program; if not, write to the Free Software |
| 22 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA |
| 23 |
# |
| 24 |
|
| 25 |
## process this file with automake to produce Makefile.in |
| 26 |
|
| 27 |
AM_CFLAGS = @CFLAGS@ |
| 28 |
AM_LDFLAGS = @LDFLAGS@ |
| 29 |
|
| 30 |
AR = @AR@ |
| 31 |
|
| 32 |
# Stuff to include in the dist that doesn't need it's own |
| 33 |
# Makefile.am files |
| 34 |
EXTRA_DIST = \ |
| 35 |
ChangeLog.0 \ |
| 36 |
Makefile.am \ |
| 37 |
Makefile.in \ |
| 38 |
pma.h \ |
| 39 |
pma.c \ |
| 40 |
regcomp.c \ |
| 41 |
regex_internal.c \ |
| 42 |
regex_internal.h \ |
| 43 |
regexec.c \ |
| 44 |
malloc/dynarray-skeleton.c |
| 45 |
|
| 46 |
# what to make and install |
| 47 |
noinst_LIBRARIES = libsupport.a |
| 48 |
libsupport_a_SOURCES = \ |
| 49 |
attribute.h \ |
| 50 |
cdefs.h \ |
| 51 |
dfa.c \ |
| 52 |
dfa.h \ |
| 53 |
dynarray.h \ |
| 54 |
flexmember.h \ |
| 55 |
getopt.c \ |
| 56 |
getopt.h \ |
| 57 |
getopt1.c \ |
| 58 |
getopt_int.h \ |
| 59 |
idx.h \ |
| 60 |
intprops.h \ |
| 61 |
intprops-internal.h \ |
| 62 |
libc-config.h \ |
| 63 |
localeinfo.c \ |
| 64 |
localeinfo.h \ |
| 65 |
random.c \ |
| 66 |
random.h \ |
| 67 |
regex.c \ |
| 68 |
regex.h \ |
| 69 |
verify.h \ |
| 70 |
xalloc.h \ |
| 71 |
malloc/dynarray.h \ |
| 72 |
malloc/dynarray_at_failure.c \ |
| 73 |
malloc/dynarray_emplace_enlarge.c \ |
| 74 |
malloc/dynarray_finalize.c \ |
| 75 |
malloc/dynarray_resize.c \ |
| 76 |
malloc/dynarray_resize_clear.c |
| 77 |
|
| 78 |
if USE_PERSISTENT_MALLOC |
| 79 |
libsupport_a_SOURCES += pma.c pma.h |
| 80 |
AM_CFLAGS += -DNDEBUG |
| 81 |
endif |
| 82 |
|
| 83 |
# For some make's, e.g. OpenBSD, that don't define this |
| 84 |
RM = rm -f |
| 85 |
|
| 86 |
# For debugging |
| 87 |
DEBUG = -gdwarf-4 -g3 |
| 88 |
|
| 89 |
DEFS = -DGAWK -DHAVE_CONFIG_H -I"$(srcdir)/.." |
| 90 |
|
| 91 |
distclean-local: |
| 92 |
rm -fr .deps malloc/.deps |