#                               .o88o.                       oooo
#                               888 `"                       `888
#           .oooo.o oo.ooooo.  o888oo  oooo    ooo  .oooo.    888
#          d88(  "8  888' `88b  888     `88.  .8'  `P  )88b   888
#          `"Y88b.   888   888  888      `88..8'    .oP"888   888
#          o.  )88b  888   888  888       `888'    d8(  888   888
#          8""888P'  888bod8P' o888o       `8'     `Y888""8o o888o
#                    888
#                   o888o
#
# ------------------------------------------------------------------------------
#            An ANSI C Sender Policy Framework record validator
# ------------------------------------------------------------------------------#
# File:   Makefile.am 
# Author: James Couzens <jcouzens@codeshare.ca>
# Date:   June 15, 2004  
# Info:   Makefile base for Autotools for the SPF Validator
# ------------------------------------------------------------------------------

AUTOMAKE_OPTIONS = foreign

# ------------------------------------------------------------------------------
# Compiler Flags 
# ------------------------------------------------------------------------------

if  GCC
AM_CFLAGS   = -D_BSD_SOURCE
endif

# ------------------------------------------------------------------------------
# Build subdirectoriee
# ------------------------------------------------------------------------------

SUBDIRS    = src
EXTRA_DIST = \
	AUTHORS \
	README \
	FAQ \
	VERSION \
	LICENSE \
	INSTALL \
	ChangeLog \
	build_tools

# ------------------------------------------------------------------------------
# LIBTOOL dependancies
# ------------------------------------------------------------------------------

#LIBTOOL_DEPS = @LIBTOOL_DEPS@
#libtool: $(LIBTOOL_DEPS)
#	$(SHELL) ./config.status --recheck

# ------------------------------------------------------------------------------
# distclean (clean distribution (cleans house!))
# ------------------------------------------------------------------------------

distclean-generic:
	rm -rf ./bin
#	rm -rf ./lib
	rm -f Makefile
	rm -f stamp*

# ------------------------------------------------------------------------------
# clean-local (removes bins, libraries and objects) 
# ------------------------------------------------------------------------------

clean-local:
	@[ -d ./bin ] || rm -rf ./bin
#	@[ -d ./lib ] || rm -rf ./lib
	rm -f stamp*


# ------------------------------------------------------------------------------
# test
# ------------------------------------------------------------------------------

#test :
#	if test -x "/usr/bin/perl"; then \
#		cd src/spfqtool; \
#		perl test.pl; \
#	fi;


syntax highlighted by Code2HTML, v. 0.9.1