AM_CPPFLAGS = 				\
	 -I$(top_builddir)		\
	 -I$(top_srcdir)

AM_CFLAGS = 				\
	-DLOCALEDIR=\""$(localedir)"\"	\
	-DMILTER_LOG_DOMAIN=\""milter-server"\"	\
	$(GLIB_CFLAGS)			\
	$(COVERAGE_CFLAGS)

EXTRA_DIST =					\
	meson.build
CLEANFILES =
BUILT_SOURCES =

milter_server_public_headers =		\
	milter-server-context.h

enum_source_prefix = milter-server-enum-types
enum_sources_h =		\
	$(milter_server_public_headers)

milter_server_includedir=$(pkgincludedir)/milter/server
milter_server_include_HEADERS =		\
	milter-server-enum-types.h	\
	$(milter_server_public_headers)

lib_LTLIBRARIES =		\
	libmilter-server.la

libmilter_server_la_SOURCES =		\
	milter-server-enum-types.c	\
	milter-server-context.c		\
	milter-server.c

libmilter_server_la_LIBADD =					\
	$(top_builddir)/milter/core/libmilter-core.la		\
	$(MILTER_SERVER_LIBS)

libmilter_server_la_LDFLAGS =			\
	-version-info $(LT_VERSION_INFO)

include $(top_srcdir)/build/enum-types.mk
