## Process this file with automake to produce Makefile.in
SUBDIRS = \
	  include \
	  lib \
	  gtp \
	  ggsn \
	  sgsnemu \
	  doc \
	  contrib \
	  utils \
	  tests \
	  $(NULL)

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libgtp.pc

BUILT_SOURCES = $(top_srcdir)/.version
$(top_srcdir)/.version:
	echo $(VERSION) > $@-t && mv $@-t $@
dist-hook:
	echo $(VERSION) > $(distdir)/.tarball-version

EXTRA_DIST = \
	     .version \
	     README.FreeBSD \
	     README.MacOSX \
	     README.md \
	     debian \
	     git-version-gen \
	     $(NULL)

AM_DISTCHECK_CONFIGURE_FLAGS = \
	--with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)

@RELMAKE@