2019-05-02 07:16:55 +00:00
|
|
|
AUTOMAKE_OPTIONS = nostdinc
|
|
|
|
|
2020-11-15 09:06:57 +00:00
|
|
|
CPPFLAGS_COMMON = \
|
2019-05-02 07:16:55 +00:00
|
|
|
-I$(abs_builddir) \
|
2019-05-03 07:23:48 +00:00
|
|
|
-I$(abs_builddir)/../lib \
|
2019-05-02 07:16:55 +00:00
|
|
|
-I$(abs_srcdir) \
|
2019-05-02 08:01:58 +00:00
|
|
|
-I$(abs_srcdir)/../lib \
|
2019-05-02 07:16:55 +00:00
|
|
|
-I$(includedir)
|
2020-11-15 09:06:57 +00:00
|
|
|
CFLAGS_COMMON =
|
|
|
|
LDFLAGS_COMMON=-L$(abs_builddir)/../lib -L$(libdir)
|
2020-11-16 13:02:52 +00:00
|
|
|
LIBADD_COMMON = ../lib/libmoo.la
|
2019-05-28 08:55:13 +00:00
|
|
|
|
2020-11-01 18:49:19 +00:00
|
|
|
check_PROGRAMS = t-001 t-002 t-003 t-004 t-005
|
2019-05-02 07:16:55 +00:00
|
|
|
|
2020-11-15 09:06:57 +00:00
|
|
|
t_001_SOURCES = t-001.c t.h
|
|
|
|
t_001_CPPFLAGS = $(CPPFLAGS_COMMON)
|
|
|
|
|
|
|
|
t_002_SOURCES = t-002.c t.h
|
|
|
|
t_002_CPPFLAGS = $(CPPFLAGS_COMMON)
|
|
|
|
t_002_CFLAGS = $(CFLAGS_COMMON)
|
|
|
|
t_002_LDFLAGS = $(LDFLAGS_COMMON)
|
|
|
|
t_002_LDADD = $(LIBADD_COMMON)
|
|
|
|
|
|
|
|
t_003_SOURCES = t-003.c t.h
|
|
|
|
t_003_CPPFLAGS = $(CPPFLAGS_COMMON)
|
|
|
|
t_003_CFLAGS = $(CFLAGS_COMMON)
|
|
|
|
t_003_LDFLAGS = $(LDFLAGS_COMMON)
|
|
|
|
t_003_LDADD = $(LIBADD_COMMON)
|
|
|
|
|
|
|
|
t_004_SOURCES = t-004.c t.h
|
|
|
|
t_004_CPPFLAGS = $(CPPFLAGS_COMMON)
|
|
|
|
t_004_CFLAGS = $(CFLAGS_COMMON)
|
|
|
|
t_004_LDFLAGS = $(LDFLAGS_COMMON)
|
|
|
|
t_004_LDADD = $(LIBADD_COMMON)
|
|
|
|
|
|
|
|
t_005_SOURCES = t-005.c t.h
|
|
|
|
t_005_CPPFLAGS = $(CPPFLAGS_COMMON)
|
|
|
|
t_005_CFLAGS = $(CFLAGS_COMMON)
|
|
|
|
t_005_LDFLAGS = $(LDFLAGS_COMMON)
|
|
|
|
t_005_LDADD = $(LIBADD_COMMON)
|
2020-11-01 18:49:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
TESTS = $(check_PROGRAMS)
|