diff options
Diffstat (limited to 'bin/Makefile.am')
-rw-r--r-- | bin/Makefile.am | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/bin/Makefile.am b/bin/Makefile.am new file mode 100644 index 0000000..67c8966 --- /dev/null +++ b/bin/Makefile.am @@ -0,0 +1,69 @@ +## Process this file with automake to produce Makefile.in +## A Makefile.in is supplied, in case you do not have automake. + +## Copyright (C) 1997-2001 by Henry Kilmer, Erik Sherk and Pete Whiting. +## All rights reserved. +## +## This software may be freely copied, modified and redistributed without +## fee for non-commerical purposes provided that this copyright notice is +## preserved intact on all copies and modified copies. +## +## There is no warranty or other guarantee of fitness of this software. +## It is provided solely "as is". The author(s) disclaim(s) all +## responsibility and liability with respect to this software's usage +## or its effect upon hardware, computer systems, other software, or +## anything else. + +#AUTOMAKE_OPTIONS=foreign no-dependencies +AUTOMAKE_OPTIONS=foreign + +PREFIX = @prefix@ + +bin_PROGRAMS = hpfilter +hpfilter_SOURCES = hpfilter.c + +#CPPFLAGS += @PG_CPPFLAGS@ +#INCLUDES += -I$(top_srcdir)/include @PG_CPPFLAGS@ +#INCLUDES += -I$(top_srcdir)/include + +#CFLAGS += -g +CFLAGS = -g -O0 + +YFLAGS = -d +#LFLAGS = -i + +# no idea why automake doesnt clean these targets +#CLEANFILES= y.tab.c y.tab.h lex.yy.c conf.h conf.c conflex.c + +BIN_PROGS=@RD_BIN_PROGS@ +BIN_DATAS=@RD_BIN_DATAS@ + +install: all + for prog in $(BIN_PROGS) ; do \ + $(INSTALL) $$prog $(bindir); \ + done; \ + if test -f $(bindir)/env ; then \ + echo "WARNING: *** $(bindir)/env exists: installing as env.new."; \ + echo " *** review env.new for new/deprecated switches"; \ + $(INSTALL_DATA) env $(bindir)/env.new; \ + else \ + $(INSTALL_DATA) env $(bindir); \ + fi +# BIN_DATAS are empty at the moment. +# for prog in $(BIN_DATAS) ; do \ +# $(INSTALL_DATA) $$prog $(PREFIX)/bin; \ +# done; \ + +#clean: +# rm -f Makefile env $(BIN_DATAS) $(BIN_PROGS) + +#distclean: clean +# rm -f config.log config.status + +#distdir: +# for file in Makefile.in configure.in env.in $(BIN_DATAS:=.in) ; do \ +# $(INSTALL_DATA) $$file $(distdir); \ +# done +# for file in configure $(BIN_PROGS:=.in) ; do \ +# $(INSTALL) $$file $(distdir); \ +# done |