fixed build files again

This commit is contained in:
hyung-hwan 2018-04-09 06:11:57 +00:00
parent 16ac5fe68d
commit 8f3191011c
4 changed files with 43 additions and 17 deletions

11
configure vendored
View File

@ -21063,7 +21063,10 @@ else
fi fi
test "${enable_shared}" = "no" && enable_dynamic_module_is="no" if test "${enable_shared}" = "no"
then
enable_dynamic_module_is="no"
fi
if test "${enable_dynamic_module_is}" = "yes" if test "${enable_dynamic_module_is}" = "yes"
then then
@ -21088,7 +21091,11 @@ else
fi fi
test "${enable_shared}" = "no" -a "${enable_static}" = "yes" && enable_static_module_is="yes"
if test "${enable_shared}" = "no" -a "${enable_static}" = "yes"
then
enable_static_module_is="yes"
fi
if test "${enable_static_module_is}" = "yes" if test "${enable_static_module_is}" = "yes"
then then

View File

@ -597,7 +597,10 @@ AC_ARG_ENABLE([dynamic-module],
enable_dynamic_module_is=$enableval, enable_dynamic_module_is=$enableval,
enable_dynamic_module_is=yes enable_dynamic_module_is=yes
) )
test "${enable_shared}" = "no" && enable_dynamic_module_is="no" if test "${enable_shared}" = "no"
then
enable_dynamic_module_is="no"
fi
if test "${enable_dynamic_module_is}" = "yes" if test "${enable_dynamic_module_is}" = "yes"
then then
@ -611,7 +614,11 @@ AC_ARG_ENABLE([static-module],
enable_static_module_is=$enableval, enable_static_module_is=$enableval,
enable_static_module_is=no enable_static_module_is=no
) )
test "${enable_shared}" = "no" -a "${enable_static}" = "yes" && enable_static_module_is="yes"
if test "${enable_shared}" = "no" -a "${enable_static}" = "yes"
then
enable_static_module_is="yes"
fi
if test "${enable_static_module_is}" = "yes" if test "${enable_static_module_is}" = "yes"
then then

View File

@ -33,18 +33,22 @@ pkgincludedir = $(includedir)
pkglibdir = $(libdir) pkglibdir = $(libdir)
pkginclude_HEADERS = \ pkginclude_HEADERS = \
hcl-cfg.h \ hcl.h \
hcl-cmn.h \ hcl-cmn.h \
hcl-opt.h \
hcl-rbt.h \ hcl-rbt.h \
hcl-tmr.h \ hcl-tmr.h \
hcl-utl.h \ hcl-utl.h
hcl.h
pkglib_LTLIBRARIES = libhcl.la pkglib_LTLIBRARIES = libhcl.la
libhcl_la_SOURCES = \ libhcl_la_SOURCES = \
hcl.h \
hcl-cmn.h \
hcl-opt.h \
hcl-rbt.h \
hcl-tmr.h \
hcl-utl.h \
hcl-prv.h \ hcl-prv.h \
logfmtv.h \
sa-utl.h \
bigint.c \ bigint.c \
comp.c \ comp.c \
debug.c \ debug.c \
@ -55,6 +59,7 @@ libhcl_la_SOURCES = \
gc.c \ gc.c \
hcl.c \ hcl.c \
heap.c \ heap.c \
logfmtv.h \
logfmt.c \ logfmt.c \
number.c \ number.c \
obj.c \ obj.c \
@ -67,6 +72,7 @@ libhcl_la_SOURCES = \
sym.c \ sym.c \
tmr.c \ tmr.c \
utf8.c \ utf8.c \
sa-utl.h \
utl.c utl.c
libhcl_la_CPPFLAGS = $(CPPFLAGS_LIB_COMMON) libhcl_la_CPPFLAGS = $(CPPFLAGS_LIB_COMMON)
libhcl_la_LDFLAGS = $(LDFLAGS_LIB_COMMON) libhcl_la_LDFLAGS = $(LDFLAGS_LIB_COMMON)
@ -106,7 +112,7 @@ bin_PROGRAMS = hcl
hcl_SOURCES = main.c hcl_SOURCES = main.c
hcl_CPPFLAGS = $(CPPFLAGS_LIB_COMMON) hcl_CPPFLAGS = $(CPPFLAGS_LIB_COMMON)
hcl_LDFLAGS = $(LDFLAGS_LIB_COMMON) hcl_LDFLAGS = $(LDFLAGS_LIB_COMMON)
hcl_LDADD = $(LIBADD_LIB_COMMON) -lhcl #-ldyncall_s hcl_LDADD = $(LIBADD_LIB_COMMON) -lhcl
if ENABLE_STATIC_MODULE if ENABLE_STATIC_MODULE
hcl_DEPENDENCIES = libhcl.la hcl_DEPENDENCIES = libhcl.la
endif endif

View File

@ -253,8 +253,8 @@ am__can_run_installinfo = \
n|no|NO) false;; \ n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \ *) (install-info --version) >/dev/null 2>&1;; \
esac esac
am__pkginclude_HEADERS_DIST = hcl-cfg.h hcl-cmn.h hcl-rbt.h hcl-tmr.h \ am__pkginclude_HEADERS_DIST = hcl.h hcl-cmn.h hcl-opt.h hcl-rbt.h \
hcl-utl.h hcl.h hcl-s.h hcl-c.h hcl-tmr.h hcl-utl.h hcl-s.h hcl-c.h
HEADERS = $(pkginclude_HEADERS) HEADERS = $(pkginclude_HEADERS)
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
$(LISP)hcl-cfg.h.in $(LISP)hcl-cfg.h.in
@ -448,13 +448,17 @@ CPPFLAGS_ALL_COMMON = \
CPPFLAGS_LIB_COMMON = $(CPPFLAGS_ALL_COMMON) CPPFLAGS_LIB_COMMON = $(CPPFLAGS_ALL_COMMON)
LDFLAGS_LIB_COMMON = $(LDFLAGS_ALL_COMMON) -version-info 1:0:0 -no-undefined LDFLAGS_LIB_COMMON = $(LDFLAGS_ALL_COMMON) -version-info 1:0:0 -no-undefined
LIBADD_LIB_COMMON = $(LIBM) $(am__append_1) $(am__append_2) LIBADD_LIB_COMMON = $(LIBM) $(am__append_1) $(am__append_2)
pkginclude_HEADERS = hcl-cfg.h hcl-cmn.h hcl-rbt.h hcl-tmr.h hcl-utl.h \ pkginclude_HEADERS = hcl.h hcl-cmn.h hcl-opt.h hcl-rbt.h hcl-tmr.h \
hcl.h $(am__append_4) $(am__append_6) hcl-utl.h $(am__append_4) $(am__append_6)
pkglib_LTLIBRARIES = libhcl.la $(am__append_3) $(am__append_5) pkglib_LTLIBRARIES = libhcl.la $(am__append_3) $(am__append_5)
libhcl_la_SOURCES = \ libhcl_la_SOURCES = \
hcl.h \
hcl-cmn.h \
hcl-opt.h \
hcl-rbt.h \
hcl-tmr.h \
hcl-utl.h \
hcl-prv.h \ hcl-prv.h \
logfmtv.h \
sa-utl.h \
bigint.c \ bigint.c \
comp.c \ comp.c \
debug.c \ debug.c \
@ -465,6 +469,7 @@ libhcl_la_SOURCES = \
gc.c \ gc.c \
hcl.c \ hcl.c \
heap.c \ heap.c \
logfmtv.h \
logfmt.c \ logfmt.c \
number.c \ number.c \
obj.c \ obj.c \
@ -477,6 +482,7 @@ libhcl_la_SOURCES = \
sym.c \ sym.c \
tmr.c \ tmr.c \
utf8.c \ utf8.c \
sa-utl.h \
utl.c utl.c
libhcl_la_CPPFLAGS = $(CPPFLAGS_LIB_COMMON) libhcl_la_CPPFLAGS = $(CPPFLAGS_LIB_COMMON)
@ -496,7 +502,7 @@ libhcl_la_DEPENDENCIES = $(am__append_8)
hcl_SOURCES = main.c hcl_SOURCES = main.c
hcl_CPPFLAGS = $(CPPFLAGS_LIB_COMMON) hcl_CPPFLAGS = $(CPPFLAGS_LIB_COMMON)
hcl_LDFLAGS = $(LDFLAGS_LIB_COMMON) hcl_LDFLAGS = $(LDFLAGS_LIB_COMMON)
hcl_LDADD = $(LIBADD_LIB_COMMON) -lhcl #-ldyncall_s hcl_LDADD = $(LIBADD_LIB_COMMON) -lhcl
@ENABLE_STATIC_MODULE_TRUE@hcl_DEPENDENCIES = libhcl.la @ENABLE_STATIC_MODULE_TRUE@hcl_DEPENDENCIES = libhcl.la
@ENABLE_HCLS_TRUE@hcls_SOURCES = main-s.c @ENABLE_HCLS_TRUE@hcls_SOURCES = main-s.c
@ENABLE_HCLS_TRUE@hcls_CPPFLAGS = $(CPPFLAGS_LIB_COMMON) @ENABLE_HCLS_TRUE@hcls_CPPFLAGS = $(CPPFLAGS_LIB_COMMON)