## 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. PREFIX = @prefix@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ BIN_PROGS=@RD_BIN_PROGS@ BIN_DATAS=@RD_BIN_DATAS@ all: install: all for prog in $(BIN_PROGS) ; do \ $(INSTALL) $$prog $(PREFIX)/bin; \ done; \ if test -f $(PREFIX)/bin/env ; then \ echo "WARNING: *** $(PREFIX)/bin/env exists: installing as env.new."; \ echo " *** review env.new for new/deprecated switches"; \ $(INSTALL_DATA) env $(PREFIX)/bin/env.new; \ else \ $(INSTALL_DATA) env $(PREFIX)/bin; \ 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