qse/cmd/awk/Makefile.am

35 lines
902 B
Makefile
Raw Normal View History

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 \
$(LTDLINCL)
2012-11-02 14:08:46 +00:00
if WIN32
# you must adjust the value of DEFAULT_MODPOSTFIX according to
# -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
qseawk_CFLAGS = $(CFLAGS)
2016-04-28 15:57:20 +00:00
qseawk_LDFLAGS = -L../../lib/awk -L../../lib/si -L../../lib/cmn
qseawk_LDADD = -lqseawk -lqsesi -lqsecmn $(LIBM)
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
if WIN32
qseawk_LDADD += $(UNICOWS_LIBS)
endif