2011-01-23 04:32:11 +00:00
|
|
|
AUTOMAKE_OPTIONS = nostdinc
|
2008-06-20 04:28:31 +00:00
|
|
|
|
2011-01-22 02:04:22 +00:00
|
|
|
AM_CPPFLAGS = \
|
2011-01-23 04:32:11 +00:00
|
|
|
-I$(top_builddir)/include \
|
2011-01-22 02:04:22 +00:00
|
|
|
-I$(top_srcdir)/include \
|
2013-02-26 18:31:38 +00:00
|
|
|
$(LTDLINCL)
|
2012-11-02 14:08:46 +00:00
|
|
|
|
|
|
|
if WIN32
|
|
|
|
# you must adjust the value of DEFAULT_MODPOSTFIX according to
|
2013-02-01 14:30:25 +00:00
|
|
|
# -version-info in ../../lib/awk/Makefile.am
|
2012-11-02 14:08:46 +00:00
|
|
|
AM_CPPFLAGS += -DDEFAULT_MODPREFIX=\"libqseawk-\" -DDEFAULT_MODPOSTFIX=\"-1\"
|
|
|
|
else
|
|
|
|
AM_CPPFLAGS += -DDEFAULT_MODPREFIX=\"$(libdir)/libqseawk-\" -DDEFAULT_MODPOSTFIX=\"\"
|
|
|
|
endif
|
2008-06-20 04:28:31 +00:00
|
|
|
|
2012-08-10 16:05:55 +00:00
|
|
|
#####################################################################3
|
|
|
|
|
2008-12-21 22:14:09 +00:00
|
|
|
bin_PROGRAMS = qseawk
|
2008-06-20 04:28:31 +00:00
|
|
|
|
2008-12-21 22:14:09 +00:00
|
|
|
qseawk_SOURCES = awk.c
|
2020-08-15 14:54:01 +00:00
|
|
|
qseawk_CFLAGS = $(CFLAGS)
|
2016-04-28 15:57:20 +00:00
|
|
|
qseawk_LDFLAGS = -L../../lib/awk -L../../lib/si -L../../lib/cmn
|
2020-08-15 14:54:01 +00:00
|
|
|
qseawk_LDADD = -lqseawk -lqsesi -lqsecmn $(LIBM)
|
2019-06-30 04:26:44 +00:00
|
|
|
qseawk_DEPENDENCIES = ../../lib/awk/libqseawk.la ../../lib/si/libqsesi.la ../../lib/cmn/libqsecmn.la
|
2018-06-26 08:30:02 +00:00
|
|
|
|
|
|
|
if ENABLE_LIBLTDL
|
|
|
|
qseawk_LDADD += $(LTDL_LIBS)
|
|
|
|
else
|
|
|
|
qseawk_LDADD += $(DL_LIBS)
|
|
|
|
endif
|
2008-06-23 00:56:35 +00:00
|
|
|
|
2012-08-20 15:08:06 +00:00
|
|
|
if WIN32
|
2012-02-19 14:38:22 +00:00
|
|
|
qseawk_LDADD += $(UNICOWS_LIBS)
|
|
|
|
endif
|