# @configure_input@

### Path settings
prefix		= @prefix@
top_srcdir	= @top_srcdir@
exec_prefix	= @exec_prefix@
bindir		= @bindir@
mandir		= @mandir@
libdir		= @libdir@
includedir	= @includedir@

PACKAGE_NAME	= @PACKAGE_NAME@
PACKAGE_VERSION	= @PACKAGE_VERSION@

@ENCAP_DEFS@

### Installation programs and flags
INSTALL		= @INSTALL@
INSTALL_PROGRAM	= @INSTALL_PROGRAM@
INSTALL_DATA	= @INSTALL_DATA@

@SET_MAKE@


### Makefile rules - no user-servicable parts below

SUBDIRS = lib nph doc

all:
	for n in ${SUBDIRS}; do \
		( cd $$n && ${MAKE} $@ ${MAKE_FLAGS} ) || exit 1; \
	done

.PHONY: install install-recurse postinstall-encap postinstall-no-encap clean distclean

install: install-recurse @ENCAP_INSTALL_TARGET@

install-recurse:
	for n in ${SUBDIRS}; do \
		( cd $$n && ${MAKE} install ${MAKE_FLAGS} ) || exit 1; \
	done

postinstall-encap:
	${INSTALL_DATA} ${top_srcdir}/nphrc ${ENCAP_SOURCE}/${ENCAP_PKGSPEC}
	${INSTALL_PROGRAM} postinstall ${ENCAP_SOURCE}/${ENCAP_PKGSPEC}
	@ENCAP_INSTALL_RULES@

postinstall-no-encap:
	prefix="${prefix}" ENCAP_SOURCE="${top_srcdir}" ENCAP_PKGNAME="" sh postinstall

clean:
	for n in ${SUBDIRS}; do \
		( cd $$n && ${MAKE} $@ ${MAKE_FLAGS} ) || exit 1; \
	done

distclean:
	for n in ${SUBDIRS}; do \
		( cd $$n && ${MAKE} $@ ${MAKE_FLAGS} ) || exit 1; \
	done
	rm -f config.cache config.log config.status config.h Makefile
	rm -f postinstall



syntax highlighted by Code2HTML, v. 0.9.1