# Makefile prototype

AUTOMAKE_OPTIONS = foreign

INCLUDES		= -I$(top_builddir)/lib -I$(top_srcdir)/lib

lib_LTLIBRARIES	= libspf_alt.la

includedir = ${prefix}/include/spf_alt
include_HEADERS	= spf.h spf_lib_version.h \
		  spf_dns.h spf_dns_cache.h spf_dns_null.h spf_dns_resolv.h \
		  spf_dns_test.h spf_dns_zone.h

noinst_HEADERS	= spf_internal.h spf_dns_internal.h spf_sys_config.h

libspf_alt_la_SOURCES	= spf.c spf_error_stdio.c spf_compile.c spf_id2str.c \
	spf_strerror.c spf_print.c spf_config.c spf_dns.c spf_dns_test.c \
	spf_expand.c spf_find_mod.c spf_dns_null.c spf_optimize.c \
	spf_verify.c spf_result.c spf_get_spf.c spf_dns_cache.c \
	spf_dns_resolv.c spf_get_exp.c spf_eval_id.c spf_dns_zone.c \
	spf_error.c spf_error_default.c spf_error_syslog.c

libspf_alt_la_LIBADD	= $(top_builddir)/replace/libreplace.la



libspf_alt_la_LDFLAGS	= -version-info 1:0:0

# Copied from the libtool info file:
#
#    This flag accepts an argument of the form
# `CURRENT[:REVISION[:AGE]]'.  So, passing `-version-info 3:12:1' sets
# CURRENT to 3, REVISION to 12, and AGE to 1.
# 
#    If either REVISION or AGE are omitted, they default to 0.  Also note
# that AGE must be less than or equal to the CURRENT interface number.
# 
#    Here are a set of rules to help you update your library version
# information:
# 
#   1. Start with version information of `0:0:0' for each libtool library.
# 
#   2. Update the version information only immediately before a public
#      release of your software.  More frequent updates are unnecessary,
#      and only guarantee that the current interface number gets larger
#      faster.
# 
#   3. If the library source code has changed at all since the last
#      update, then increment REVISION (`C:R:A' becomes `C:r+1:A').
# 
#   4. If any interfaces have been added, removed, or changed since the
#      last update, increment CURRENT, and set REVISION to 0.
# 
#   5. If any interfaces have been added since the last public release,
#      then increment AGE.
# 
#   6. If any interfaces have been removed since the last public release,
#      then set AGE to 0.
# 
#    *_Never_* try to set the interface numbers so that they correspond
# to the release number of your package.  This is an abuse that only
# fosters misunderstanding of the purpose of library versions.  Instead,
# use the `-release' flag (*note Release numbers::), but be warned that
# every release of your package will not be binary compatible with any
# other release.
# 


syntax highlighted by Code2HTML, v. 0.9.1