2019-06-21 14:19:39 +00:00
|
|
|
AUTOMAKE_OPTIONS = nostdinc
|
|
|
|
|
2020-11-15 05:05:59 +00:00
|
|
|
CPPFLAGS_COMMON = \
|
2019-06-21 14:19:39 +00:00
|
|
|
-I$(abs_builddir) \
|
|
|
|
-I$(abs_builddir)/../lib \
|
|
|
|
-I$(abs_srcdir) \
|
|
|
|
-I$(abs_srcdir)/../lib \
|
|
|
|
-I$(includedir)
|
2020-11-15 05:05:59 +00:00
|
|
|
CFLAGS_COMMON =
|
|
|
|
LDFLAGS_COMMON = -L$(abs_builddir)/../lib -L$(libdir)
|
2021-07-22 07:30:20 +00:00
|
|
|
LIBADD_COMMON = ../lib/libhio.la
|
|
|
|
|
|
|
|
bin_PROGRAMS = hio-execd
|
|
|
|
hio_execd_SOURCES = execd.c
|
|
|
|
hio_execd_CPPFLAGS = $(CPPFLAGS_COMMON)
|
|
|
|
hio_execd_CFLAGS = $(CFLAGS_COMMON)
|
|
|
|
hio_execd_LDFLAGS = $(LDFLAGS_COMMON)
|
2022-02-15 11:37:50 +00:00
|
|
|
hio_execd_LDADD = $(LIBADD_COMMON)
|
|
|
|
|
|
|
|
if HAVE_X11_LIB
|
|
|
|
bin_PROGRAMS += hio-te
|
|
|
|
hio_te_SOURCES = te.c
|
|
|
|
hio_te_CPPFLAGS = $(CPPFLAGS_COMMON)
|
|
|
|
hio_te_CFLAGS = $(CFLAGS_COMMON)
|
|
|
|
hio_te_LDFLAGS = $(LDFLAGS_COMMON)
|
|
|
|
hio_te_LDADD = $(LIBADD_COMMON) -lX11
|
|
|
|
endif
|
2021-07-22 07:30:20 +00:00
|
|
|
|
|
|
|
bin_PROGRAMS += hio-t01
|
|
|
|
hio_t01_SOURCES = t01.c
|
|
|
|
hio_t01_CPPFLAGS = $(CPPFLAGS_COMMON)
|
|
|
|
hio_t01_CFLAGS = $(CFLAGS_COMMON)
|
|
|
|
hio_t01_LDFLAGS = $(LDFLAGS_COMMON)
|
|
|
|
hio_t01_LDADD = $(LIBADD_COMMON)
|
|
|
|
|
|
|
|
bin_PROGRAMS += hio-t02
|
|
|
|
hio_t02_SOURCES = t02.c
|
|
|
|
hio_t02_CPPFLAGS = $(CPPFLAGS_COMMON)
|
|
|
|
hio_t02_CFLAGS = $(CFLAGS_COMMON)
|
|
|
|
hio_t02_LDFLAGS = $(LDFLAGS_COMMON)
|
|
|
|
hio_t02_LDADD = $(LIBADD_COMMON)
|
|
|
|
|
|
|
|
bin_PROGRAMS += hio-t03
|
|
|
|
hio_t03_SOURCES = t03.c
|
|
|
|
hio_t03_CPPFLAGS = $(CPPFLAGS_COMMON)
|
|
|
|
hio_t03_CFLAGS = $(CFLAGS_COMMON)
|
|
|
|
hio_t03_LDFLAGS = $(LDFLAGS_COMMON)
|
|
|
|
hio_t03_LDADD = $(LIBADD_COMMON)
|
|
|
|
|
|
|
|
bin_PROGRAMS += hio-t04
|
|
|
|
hio_t04_SOURCES = t04.c
|
|
|
|
hio_t04_CPPFLAGS = $(CPPFLAGS_COMMON)
|
|
|
|
hio_t04_CFLAGS = $(CFLAGS_COMMON)
|
|
|
|
hio_t04_LDFLAGS = $(LDFLAGS_COMMON)
|
|
|
|
hio_t04_LDADD = $(LIBADD_COMMON)
|
2021-07-25 18:17:20 +00:00
|
|
|
if ENABLE_MARIADB
|
|
|
|
hio_t04_CFLAGS += $(MARIADB_CFLAGS)
|
|
|
|
hio_t04_LDFLAGS += $(MARIADB_LDFLAGS)
|
|
|
|
hio_t04_LDADD += $(MARIADB_LIBS)
|
|
|
|
endif
|
2021-07-22 07:30:20 +00:00
|
|
|
|
2022-02-14 15:08:28 +00:00
|
|
|
bin_PROGRAMS += hio-t05
|
|
|
|
hio_t05_SOURCES = t05.c
|
|
|
|
hio_t05_CPPFLAGS = $(CPPFLAGS_COMMON)
|
|
|
|
hio_t05_CFLAGS = $(CFLAGS_COMMON)
|
|
|
|
hio_t05_LDFLAGS = $(LDFLAGS_COMMON)
|
|
|
|
hio_t05_LDADD = $(LIBADD_COMMON)
|
|
|
|
|
2021-07-22 07:30:20 +00:00
|
|
|
bin_PROGRAMS += hio-t06
|
|
|
|
hio_t06_SOURCES = t06.c
|
|
|
|
hio_t06_CPPFLAGS = $(CPPFLAGS_COMMON)
|
|
|
|
hio_t06_CFLAGS = $(CFLAGS_COMMON)
|
|
|
|
hio_t06_LDFLAGS = $(LDFLAGS_COMMON)
|
|
|
|
hio_t06_LDADD = $(LIBADD_COMMON)
|