From b98e22acc203ec6a96777897adf434e7e278ab6d Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Tue, 27 Dec 2016 21:18:52 +0200 Subject: Update CMake support after adding support directory. --- support/CMakeLists.txt | 34 ++++++++++++++++++++++++++++++++++ support/ChangeLog | 6 +++++- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 support/CMakeLists.txt (limited to 'support') diff --git a/support/CMakeLists.txt b/support/CMakeLists.txt new file mode 100644 index 00000000..5e7fd3ad --- /dev/null +++ b/support/CMakeLists.txt @@ -0,0 +1,34 @@ +# +# CMakeLists.txt --- CMake input file for gawk's support library +# +# Copyright (C) 2016 +# the Free Software Foundation, Inc. +# +# This file is part of GAWK, the GNU implementation of the +# AWK Programming Language. +# +# GAWK 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. +# +# GAWK 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, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + +add_definitions(-DGAWK) +add_definitions(-DHAVE_CONFIG_H) +add_definitions(-D_GNU_SOURCE) +add_library (support STATIC + dfa.c + getopt1.c + getopt.c + localeinfo.c + random.c + regex.c +) diff --git a/support/ChangeLog b/support/ChangeLog index 80164c39..ec0607f1 100644 --- a/support/ChangeLog +++ b/support/ChangeLog @@ -1,6 +1,10 @@ +2016-12-27 Juergen Kahrs + + * CMakeLists.txt: New file. + 2016-12-22 John E. Malmberg - * dfa.c fixes for OpenVMS + * dfa.c fixes for OpenVMS 2016-12-22 Arnold D. Robbins -- cgit v1.2.3