## -*- Mode: Makefile -*- ## --------------------------------------------------------------------- ## Makefile.am -- process this file with automake to produce Makefile.in ## ## Time-stamp: "2007-07-04 09:18:42 bkorb" ## Copyright (c): 1992-2007 by Bruce Korb ## ## Author: Bruce Korb ## by: bkorb ## ## This file is part of AutoGen. ## ## AutoGen 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. ## ## AutoGen 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 this program. If not, see . ## ## --------------------------------------------------------------------- ## $Id: Makefile.am,v 4.13 2007/07/04 20:51:17 bkorb Exp $ ## --------------------------------------------------------------------- bin_PROGRAMS = columns csrc = opts.h columns.c opts.c nodist_columns_SOURCES = cols.c LO_LIB = $(top_builddir)/autoopts/libopts.la columns_LDADD = $(LO_LIB) $(LIBGUILE_LIBS) BUILT_SOURCES = columns.menu columns.texi columns.1 EXTRA_DIST = opts.def $(csrc) RUNAG = $(AGexe) -L$(top_srcdir)/autoopts -bcolumns man_MANS = columns.1 INCLUDES = @INCLIST@ CONFIG_CLEAN_FILES = columns.texi columns.menu columns.1 gen-stamp MAINTAINERCLEANFILES = $(CONFIG_CLEAN_FILES) DISTCLEANFILES = cols.c gen : $(BUILT_SOURCES) all : gen ## opts.h cannot be built until columns is built, so no rules for it. columns.1 columns.menu columns.texi : gen-stamp cols.c : Makefile for f in config.h $(csrc) ; do echo "#include \"$$f\"" ; done > $@ gen-stamp : opts.def columns$(EXEEXT) top_builddir=$(top_builddir) \ $(RUNAG) -Taginfo -DLEVEL=section $(srcdir)/opts.def $(RUNAG) -Tagman1 $(srcdir)/opts.def @touch $@ .NOTPARALLEL: # Makefile.am ends here