2019-12-13 04:29:58 +00:00
|
|
|
AUTOMAKE_OPTIONS = nostdinc
|
|
|
|
|
2020-11-15 04:50:40 +00:00
|
|
|
CPPFLAGS_COMMON = \
|
2019-12-13 04:29:58 +00:00
|
|
|
-I$(abs_builddir) \
|
|
|
|
-I$(abs_builddir)/../lib \
|
|
|
|
-I$(abs_srcdir) \
|
|
|
|
-I$(abs_srcdir)/../lib \
|
|
|
|
-I$(includedir)
|
2020-11-15 04:50:40 +00:00
|
|
|
CFLAGS_COMMON =
|
|
|
|
LDFLAGS_COMMON=-L$(abs_builddir)/../lib -L$(libdir)
|
2020-11-15 08:46:30 +00:00
|
|
|
## place $(LIBM) here as all programs below are C only programs linked
|
|
|
|
## against the C/C++ hybrid library. Read comments in ../bin/Makefile.am
|
|
|
|
## for more information.
|
2020-11-16 12:54:50 +00:00
|
|
|
LIBADD_COMMON = ../lib/libhawk.la $(LIBM)
|
2019-12-13 04:29:58 +00:00
|
|
|
|
2022-04-05 14:26:21 +00:00
|
|
|
check_SCRIPTS = h-001.hawk h-002.hawk h-003.hawk h-009.hawk
|
2020-04-14 14:02:04 +00:00
|
|
|
##noinst_SCRIPTS = $(check_SCRIPTS)
|
2020-12-01 10:22:17 +00:00
|
|
|
EXTRA_DIST = $(check_SCRIPTS) ensure.inc \
|
|
|
|
journal-toc.hawk journal-toc.in journal-toc.out journal-toc-html.out \
|
|
|
|
bibtex-to-html.hawk bibtex-to-html.out
|
2020-04-14 07:40:30 +00:00
|
|
|
|
2020-09-02 20:02:51 +00:00
|
|
|
check_PROGRAMS = t-001 t-002 t-003 t-004 t-005 t-006
|
2019-12-13 04:29:58 +00:00
|
|
|
|
2022-09-24 17:08:01 +00:00
|
|
|
t_001_SOURCES = t-001.c tap.h
|
2020-11-15 04:50:40 +00:00
|
|
|
t_001_CPPFLAGS = $(CPPFLAGS_COMMON)
|
2019-12-13 04:29:58 +00:00
|
|
|
|
2022-09-24 17:08:01 +00:00
|
|
|
t_002_SOURCES = t-002.c tap.h
|
2020-11-15 04:50:40 +00:00
|
|
|
t_002_CPPFLAGS = $(CPPFLAGS_COMMON)
|
|
|
|
t_002_CFLAGS = $(CFLAGS_COMMON)
|
|
|
|
t_002_LDFLAGS = $(LDFLAGS_COMMON)
|
|
|
|
t_002_LDADD = $(LIBADD_COMMON)
|
2019-12-13 04:29:58 +00:00
|
|
|
|
2022-09-24 17:08:01 +00:00
|
|
|
t_003_SOURCES = t-003.c tap.h
|
2020-11-15 04:50:40 +00:00
|
|
|
t_003_CPPFLAGS = $(CPPFLAGS_COMMON)
|
|
|
|
t_003_CFLAGS = $(CFLAGS_COMMON)
|
|
|
|
t_003_LDFLAGS = $(LDFLAGS_COMMON)
|
|
|
|
t_003_LDADD = $(LIBADD_COMMON)
|
2020-04-17 11:10:47 +00:00
|
|
|
|
2022-09-24 17:08:01 +00:00
|
|
|
t_004_SOURCES = t-004.c tap.h
|
2020-11-15 04:50:40 +00:00
|
|
|
t_004_CPPFLAGS = $(CPPFLAGS_COMMON)
|
|
|
|
t_004_CFLAGS = $(CFLAGS_COMMON)
|
|
|
|
t_004_LDFLAGS = $(LDFLAGS_COMMON)
|
|
|
|
t_004_LDADD = $(LIBADD_COMMON)
|
2019-12-13 04:29:58 +00:00
|
|
|
|
2022-09-24 17:08:01 +00:00
|
|
|
t_005_SOURCES = t-005.c tap.h
|
2020-11-15 04:50:40 +00:00
|
|
|
t_005_CPPFLAGS = $(CPPFLAGS_COMMON)
|
|
|
|
t_005_CFLAGS = $(CFLAGS_COMMON)
|
|
|
|
t_005_LDFLAGS = $(LDFLAGS_COMMON)
|
|
|
|
t_005_LDADD = $(LIBADD_COMMON)
|
2020-04-14 14:02:04 +00:00
|
|
|
|
2022-09-24 17:08:01 +00:00
|
|
|
t_006_SOURCES = t-006.c tap.h
|
2020-11-15 04:50:40 +00:00
|
|
|
t_006_CPPFLAGS = $(CPPFLAGS_COMMON)
|
|
|
|
t_006_CFLAGS = $(CFLAGS_COMMON)
|
|
|
|
t_006_LDFLAGS = $(LDFLAGS_COMMON)
|
|
|
|
t_006_LDADD = $(LIBADD_COMMON)
|
2020-09-02 20:02:51 +00:00
|
|
|
|
2022-04-06 02:21:46 +00:00
|
|
|
LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/ac/tap-driver.sh
|
2020-04-14 14:02:04 +00:00
|
|
|
TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
|
|
|
|
|
|
|
|
TEST_EXTENSIONS = .hawk
|
2022-04-08 03:42:20 +00:00
|
|
|
HAWK_LOG_DRIVER = $(LOG_DRIVER)
|
2020-04-14 14:02:04 +00:00
|
|
|
HAWK_LOG_COMPILER = ../bin/hawk
|
2020-12-01 10:22:17 +00:00
|
|
|
AM_HAWK_LOG_FLAGS = -vTDIR=${abs_srcdir} --modlibdirs=../lib/.libs:../mod/.libs -f
|