libpsl/src/Makefile.am

27 lines
901 B
Makefile
Raw Normal View History

include libpsl-srcs.mk
2014-03-22 20:35:56 +01:00
# suffixes.c must be created before psl.c is compiled
BUILT_SOURCES = suffixes_dafsa.h
2014-03-22 20:35:56 +01:00
# suffixes.c is a built source that must be cleaned
CLEANFILES = suffixes_dafsa.h
2014-03-20 22:43:04 +01:00
lib_LTLIBRARIES = libpsl.la
2014-03-22 20:35:56 +01:00
libpsl_la_SOURCES = $(LIBPSL_SRCS)
libpsl_la_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -DPSL_DISTFILE=\"$(PSL_DISTFILE)\" \
$(CFLAG_VISIBILITY) -DBUILDING_PSL
libpsl_la_LIBADD = $(LTLIBICONV) $(LTLIBINTL) @INTL_MACOSX_LIBS@
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
# Build rule for suffix_dafsa.c
# PSL_FILE can be set by ./configure --with-psl-file=[PATH]
suffixes_dafsa.h: $(PSL_FILE) $(srcdir)/psl-make-dafsa
$(PYTHON) $(srcdir)/psl-make-dafsa --output-format=cxx+ "$(PSL_FILE)" suffixes_dafsa.h
2019-04-17 12:05:00 +02:00
EXTRA_DIST = psl-make-dafsa LICENSE.chromium meson.build
dist_man_MANS = psl-make-dafsa.1