2018-04-24 12:51:04 +02:00
|
|
|
include libpsl-srcs.mk
|
|
|
|
|
2014-03-22 20:35:56 +01:00
|
|
|
# suffixes.c must be created before psl.c is compiled
|
2018-12-06 15:08:00 +01:00
|
|
|
BUILT_SOURCES = suffixes_dafsa.h
|
2014-03-22 20:35:56 +01:00
|
|
|
|
|
|
|
# suffixes.c is a built source that must be cleaned
|
2018-12-06 15:08:00 +01:00
|
|
|
CLEANFILES = suffixes_dafsa.h
|
2014-03-20 22:43:04 +01:00
|
|
|
|
2014-05-31 18:56:07 +02:00
|
|
|
lib_LTLIBRARIES = libpsl.la
|
2014-03-22 20:35:56 +01:00
|
|
|
|
2018-04-24 12:51:04 +02:00
|
|
|
libpsl_la_SOURCES = $(LIBPSL_SRCS)
|
2018-04-19 10:06:47 +02:00
|
|
|
libpsl_la_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -DPSL_DISTFILE=\"$(PSL_DISTFILE)\" \
|
|
|
|
$(CFLAG_VISIBILITY) -DBUILDING_PSL
|
2018-04-25 16:00:12 +02:00
|
|
|
libpsl_la_LIBADD = $(LTLIBICONV) $(LTLIBINTL) @INTL_MACOSX_LIBS@
|
2018-04-19 10:06:47 +02:00
|
|
|
|
2014-03-20 22:43:04 +01:00
|
|
|
# include ABI version information
|
2018-04-25 15:56:00 +02:00
|
|
|
libpsl_la_LDFLAGS = -no-undefined -version-info $(LIBPSL_SO_VERSION)
|
2014-03-20 22:43:04 +01:00
|
|
|
|
2015-12-09 09:35:04 +01:00
|
|
|
# Build rule for suffix_dafsa.c
|
2014-04-13 16:35:28 +02:00
|
|
|
# PSL_FILE can be set by ./configure --with-psl-file=[PATH]
|
2018-12-06 15:08:00 +01:00
|
|
|
suffixes_dafsa.h: $(PSL_FILE) $(srcdir)/psl-make-dafsa
|
|
|
|
$(srcdir)/psl-make-dafsa --output-format=cxx+ "$(PSL_FILE)" suffixes_dafsa.h
|
2015-12-09 09:35:04 +01:00
|
|
|
|
2016-07-14 11:52:56 +02:00
|
|
|
EXTRA_DIST = psl-make-dafsa LICENSE.chromium
|
2016-08-16 14:06:33 +02:00
|
|
|
|
|
|
|
dist_man_MANS = psl-make-dafsa.1
|