## Process this file with automake to produce Makefile.in ## # $Id: Makefile.am 2119 2009-12-12 23:11:43Z peter $ # # Copyright (C) 2003 Daniel Dalevi, Jari Häkkinen # Copyright (C) 2005 Peter Johansson # Copyright (C) 2006 Jari Häkkinen # Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson # Copyright (C) 2009 Peter Johansson # # This file is part of the yat library, http://dev.thep.lu.se/yat # # The yat library is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 3 of the # License, or (at your option) any later version. # # The yat library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with yat. If not, see . # -I arg should be the same as arg in AC_CONFIG_MACRO_DIR in configure.ac ACLOCAL_AMFLAGS = -I m4 SUBDIRS = build_support m4 yat test doc .PHONY: doc doxygen_mk maintainer-check news-check svn-check svn-clean release doc: doxygen_mk @(cd doc; $(MAKE) $(AM_MAKEFLAGS) $@) doxygen_mk:; @(cd yat; $(MAKE) $(AM_MAKEFLAGS) $@) # like the normal install target, but does not update header files # (and its time stamps) if the content did not change. install-modified: $(MAKE) install $(AM_MAKEFLAGS) INSTALL_HEADER="$(install_sh_DATA) -C" # This is a workaround to avoid a broken make when .m4 files are # renamed or deleted. Something similar will be provided by Automake 1.11 $(am__aclocal_m4_deps): ############################################################### ## ## Some targets useful for the maintainer ## MAINTAINER_CHECK_LOCAL = maintainer-check-local RELEASE_LOCAL = ltversion-check .PHONY: maintainer-check-local ltversion-check ltversion-check: @case `sed 200q $(srcdir)/m4/version.m4` in \ *yat-$(VERSION)*$(YAT_LT_VERSION)*);; \ *) \ echo "version.m4: YAT_LT_VERSION not updated;" 1>&2;\ echo " expected to find 'yat-$(VERSION) $(YAT_LT_VERSION)'" 1>&2;\ exit 1;; \ esac maintainer-check-local: mkdir _inst @mcl_install=`cd _inst && pwd` \ && $(MAKE) $(AM_MAKEFLAGS) prefix=$$mcl_install \ && $(MAKE) $(AM_MAKEFLAGS) prefix=$$mcl_install install \ && cd test && $(MAKE) $(AM_MAKEFLAGS) prefix=$$mcl_install yat_check_yat_test include $(srcdir)/maintainer.am