From ea280a39b41af3118f23c2fb7d55eb71826af397 Mon Sep 17 00:00:00 2001 From: Florian Stinglmayr Date: Mon, 19 Aug 2019 21:32:00 +0200 Subject: [PATCH] remove the gnu autotools stuff --- ChangeLog | 3 +++ Makefile.am | 20 -------------------- NEWS | 0 autogen.sh | 19 ------------------- build.sh | 10 ---------- configure.ac | 27 --------------------------- tests/Makefile.am | 10 ---------- 7 files changed, 3 insertions(+), 86 deletions(-) delete mode 100644 Makefile.am delete mode 100644 NEWS delete mode 100755 autogen.sh delete mode 100755 build.sh delete mode 100644 configure.ac delete mode 100644 tests/Makefile.am diff --git a/ChangeLog b/ChangeLog index e69de29..f6ad8d2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -0,0 +1,3 @@ +2019-08-19 Florian Stinglmayr + * build switch to cmake + * release version 0.4 diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index c93ec7c..0000000 --- a/Makefile.am +++ /dev/null @@ -1,20 +0,0 @@ -AM_YFLAGS = -d -AM_LFLAGS = -P dp -BUILT_SOURCES = lib/dice_parse.h - -lib_LTLIBRARIES = libdice.la -libdice_la_SOURCES = lib/dice_lexer.l \ - lib/dice_parse.y \ - lib/dice.h \ - lib/dice.c \ - lib/diceexpr.c - -include_HEADERS = lib/dice.h - -AM_CFLAGS = -Ilib - -libdice_la_LIBADD = ${BSD_LIBS} -lm - -pkgconfig_DATA = libdice.pc - -SUBDIRS = . tests diff --git a/NEWS b/NEWS deleted file mode 100644 index e69de29..0000000 diff --git a/autogen.sh b/autogen.sh deleted file mode 100755 index d35fe58..0000000 --- a/autogen.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -set -e -set -x - -if [ $(uname) = "OpenBSD" ]; then - export AUTOMAKE_VERSION=1.15 - export AUTOCONF_VERSION=2.69 -fi - -cd "$(dirname "$0")" - -PATH=$PATH:/usr/local/bin - -aclocal $AC_SEARCH_OPTS -autoconf -autoreconf --install -autoheader -automake --copy --add-missing diff --git a/build.sh b/build.sh deleted file mode 100755 index 26e6bf8..0000000 --- a/build.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -set -e -set -x - -cd "$(dirname "$0")" - -./autogen.sh -./configure "$@" -make diff --git a/configure.ac b/configure.ac deleted file mode 100644 index a61f06b..0000000 --- a/configure.ac +++ /dev/null @@ -1,27 +0,0 @@ -AC_PREREQ([2.69]) -AC_INIT([libdice], [0.2], [florian@n0la.org]) -AM_INIT_AUTOMAKE([subdir-objects]) -LT_INIT() -AC_CONFIG_HEADERS([config.h]) - -AC_PROG_CC - -AC_PROG_LEX -AC_PROG_YACC - -PKG_CHECK_MODULES([CMOCKA], [cmocka >= 1.0.1]) - -AC_CHECK_HEADER_STDBOOL() - -AC_CHECK_FUNCS([arc4random_uniform],, - [PKG_CHECK_MODULES([BSD], [libbsd])]) - -AC_CONFIG_FILES([Makefile tests/Makefile]) - -AC_SEARCH_LIBS([sqrt], [m]) -AC_SEARCH_LIBS([cos], [m]) - -PKG_INSTALLDIR -AC_CONFIG_FILES([libdice.pc]) - -AC_OUTPUT diff --git a/tests/Makefile.am b/tests/Makefile.am deleted file mode 100644 index 8d9184e..0000000 --- a/tests/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -check_PROGRAMS = test_dice_simple_roll \ - test_dice_parse \ - test_dice_evaluate \ - test_dice_fudge \ - test_expr_parse - -AM_CFLAGS = -I../lib ${CMOCKA_CFLAGS} -AM_LDFLAGS = ${CMOCKA_LIBS} ../libdice.la - -TESTS = $(check_PROGRAMS)