hcl/bin/Makefile.am

41 lines
827 B
Makefile
Raw Normal View History

AUTOMAKE_OPTIONS = nostdinc
2020-11-15 09:56:06 +00:00
CPPFLAGS_COMMON = \
-I$(abs_builddir) \
-I$(abs_builddir)/../lib \
-I$(abs_srcdir) \
-I$(abs_srcdir)/../lib \
-I$(includedir)
2020-11-15 09:56:06 +00:00
#### $(LTDLINCL)
CFLAGS_COMMON =
LDFLAGS_COMMON = -L$(abs_builddir)/../lib -L$(libdir)
LIBADD_COMMON =
##################################################
# MAIN LIBRARY
##################################################
if ENABLE_LIBLTDL
2020-11-15 09:56:06 +00:00
LIBADD_COMMON += $(LTDL_LIBS)
else
2020-11-15 09:56:06 +00:00
LIBADD_COMMON += $(DL_LIBS)
endif
bin_PROGRAMS = hcl
hcl_SOURCES = hcl.c
2020-11-15 09:56:06 +00:00
hcl_CPPFLAGS = $(CPPFLAGS_COMMON)
hcl_LDFLAGS = $(LDFLAGS_COMMON)
hcl_LDADD = ../lib/libhcl.la $(LIBADD_COMMON) $(ISOCLINE_LIBS)
2019-06-02 05:06:08 +00:00
if ENABLE_HCLX
bin_PROGRAMS += hclx
hclx_SOURCES = hclx.c
hclx_CPPFLAGS = $(CPPFLAGS_COMMON)
hclx_LDFLAGS = $(LDFLAGS_COMMON)
hclx_LDADD = ../lib/libhclx.la $(LIBADD_COMMON)
endif