1## 2## utils/Makefile.am 3## 4## Copyright (C) 2000-2007 by 5## Jeffrey Fulmer - <jeff@joedog.org>, et al. 6## This file is distributed as part of Siege 7## 8## This program is free software; you can redistribute it and/or modify 9## it under the terms of the GNU General Public License as published by 10## the Free Software Foundation; either version 2 of the License, or 11## (at your option) any later version. 12## 13## This program is distributed in the hope that it will be useful, 14## but WITHOUT ANY WARRANTY; without even the implied warranty of 15## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16## GNU General Public License for more details. 17## 18## You should have received a copy of the GNU General Public License 19## along with this program; if not, write to the Free Software 20## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 21## 22 23AUTOMAKE_OPTIONS = foreign no-dependencies 24 25WARN_CFLAGS = @WARN_CFLAGS@ 26AM_CFLAGS = $(WARN_CFLAGS) 27 28SIEGE_UTILITIES = bombardment siege2csv.pl siege.config 29 30DISTCLEANFILES = $(SIEGE_UTILITIES) 31 32EXTRA_DIST = \ 33bootstrap \ 34config.guess \ 35config.sub \ 36install-sh \ 37ltmain.sh \ 38mdate-sh \ 39missing \ 40mkinstalldirs \ 41mkstamp \ 42siege.config.in \ 43bombardment.in \ 44siege2csv.in 45 46install-exec-hook: 47 $(mkinstalldirs) $(DESTDIR)$(bindir) 48 @list='$(SIEGE_UTILITIES)'; for p in $$list; do \ 49 if test -f $$p; then \ 50 echo " $(LIBTOOL) --mode=install $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ 51 $(LIBTOOL) --mode=install $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'| sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ 52 else :; fi; \ 53 done 54 55uninstall: 56 @list='$(SIEGE_UTILITIES)'; for p in $$list; do \ 57 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ 58 done 59 60 61