summaryrefslogtreecommitdiffstats
path: root/bin/Makefile.am
blob: 67c89660867fb255555dc33731d7e1541098d850 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
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