-# Copyright © 2011-2013, 2019-2021 Nick Bowler
+# Copyright © 2011-2013, 2019-2022 Nick Bowler
#
# License WTFPL2: Do What The Fuck You Want To Public License, version 2.
# This is free software: you are free to do what the fuck you want to.
-DBISON_LOCALEDIR=\"$(BISON_LOCALEDIR)\" \
-DLOCALEDIR=\"$(localedir)\"
-AM_CFLAGS = $(GSL_CFLAGS)
-
MAINTAINERCLEANFILES = src/scan.c src/scan.h src/scan.stamp \
src/parse.c src/parse.h src/parse.stamp
$(libmain_a_OBJECTS): $(gnulib_headers)
$(libmain_a_OBJECTS): src/options.h
-check_PROGRAMS = test/crossparse test/normalize
+check_PROGRAMS = test/crossparse test/normalize test/randomdecl
check_LIBRARIES = libtest.a
-libtest_a_SOURCES = test/testlib.c common/src/help.c
+libtest_a_SOURCES = test/testlib.c test/rng.c common/src/help.c
$(libtest_a_OBJECTS): $(gnulib_headers)
-if HAVE_GSL
-check_PROGRAMS += test/randomdecl
test_randomdecl_SOURCES = test/randomdecl.c test/declgen.c
-test_randomdecl_LDADD = libtest.a libcdecl.la libgnu.la $(GSL_LIBS)
+test_randomdecl_LDADD = libtest.a libcdecl.la libgnu.la
$(test_randomdecl_OBJECTS): $(gnulib_headers)
-endif
test_crossparse_LDADD = libtest.a libcdecl.la libgnu.la
$(test_crossparse_OBJECTS): $(gnulib_headers)