From 9558e12c3e8fb7ddcfe03df3c3a79f683463b48f Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sun, 25 Jul 2021 18:17:20 +0000 Subject: [PATCH] updated bin/Makefile.am --- hio/bin/Makefile.am | 5 +++++ hio/bin/Makefile.in | 13 +++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/hio/bin/Makefile.am b/hio/bin/Makefile.am index 55a2361..a3d23e1 100644 --- a/hio/bin/Makefile.am +++ b/hio/bin/Makefile.am @@ -44,6 +44,11 @@ hio_t04_CPPFLAGS = $(CPPFLAGS_COMMON) hio_t04_CFLAGS = $(CFLAGS_COMMON) hio_t04_LDFLAGS = $(LDFLAGS_COMMON) hio_t04_LDADD = $(LIBADD_COMMON) +if ENABLE_MARIADB +hio_t04_CFLAGS += $(MARIADB_CFLAGS) +hio_t04_LDFLAGS += $(MARIADB_LDFLAGS) +hio_t04_LDADD += $(MARIADB_LIBS) +endif bin_PROGRAMS += hio-t05 hio_t05_SOURCES = t05.c diff --git a/hio/bin/Makefile.in b/hio/bin/Makefile.in index 3be6598..bf5544b 100644 --- a/hio/bin/Makefile.in +++ b/hio/bin/Makefile.in @@ -91,6 +91,9 @@ host_triplet = @host@ bin_PROGRAMS = hio-execd$(EXEEXT) hio-t01$(EXEEXT) hio-t02$(EXEEXT) \ hio-t03$(EXEEXT) hio-t04$(EXEEXT) hio-t05$(EXEEXT) \ hio-t06$(EXEEXT) +@ENABLE_MARIADB_TRUE@am__append_1 = $(MARIADB_CFLAGS) +@ENABLE_MARIADB_TRUE@am__append_2 = $(MARIADB_LDFLAGS) +@ENABLE_MARIADB_TRUE@am__append_3 = $(MARIADB_LIBS) subdir = bin ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_sign.m4 \ @@ -138,7 +141,9 @@ hio_t03_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(CFLAGS) $(hio_t03_LDFLAGS) $(LDFLAGS) -o $@ am_hio_t04_OBJECTS = hio_t04-t04.$(OBJEXT) hio_t04_OBJECTS = $(am_hio_t04_OBJECTS) -hio_t04_DEPENDENCIES = $(LIBADD_COMMON) +am__DEPENDENCIES_1 = +@ENABLE_MARIADB_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) +hio_t04_DEPENDENCIES = $(LIBADD_COMMON) $(am__DEPENDENCIES_2) hio_t04_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(hio_t04_CFLAGS) \ $(CFLAGS) $(hio_t04_LDFLAGS) $(LDFLAGS) -o $@ @@ -395,9 +400,9 @@ hio_t03_LDFLAGS = $(LDFLAGS_COMMON) hio_t03_LDADD = $(LIBADD_COMMON) 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) +hio_t04_CFLAGS = $(CFLAGS_COMMON) $(am__append_1) +hio_t04_LDFLAGS = $(LDFLAGS_COMMON) $(am__append_2) +hio_t04_LDADD = $(LIBADD_COMMON) $(am__append_3) hio_t05_SOURCES = t05.c hio_t05_CPPFLAGS = $(CPPFLAGS_COMMON) hio_t05_CFLAGS = $(CFLAGS_COMMON)