1996-07-09 02:22:35 -04:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
#
|
2000-06-26 20:32:06 -04:00
|
|
|
# Makefile for src/bin/ipcclean
|
1996-07-09 02:22:35 -04:00
|
|
|
#
|
2007-01-05 17:20:05 -05:00
|
|
|
# Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
|
2001-02-18 13:34:02 -05:00
|
|
|
# Portions Copyright (c) 1994, Regents of the University of California
|
1996-07-09 02:22:35 -04:00
|
|
|
#
|
2007-01-05 17:20:05 -05:00
|
|
|
# $PostgreSQL: pgsql/src/bin/ipcclean/Makefile,v 1.21 2007/01/05 22:19:47 momjian Exp $
|
1996-07-09 02:22:35 -04:00
|
|
|
#
|
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
2000-06-26 20:32:06 -04:00
|
|
|
subdir = src/bin/ipcclean
|
|
|
|
|
top_builddir = ../../..
|
2000-08-31 12:12:35 -04:00
|
|
|
include $(top_builddir)/src/Makefile.global
|
1996-07-09 02:22:35 -04:00
|
|
|
|
1996-11-11 08:41:36 -05:00
|
|
|
all: ipcclean
|
1996-07-09 02:22:35 -04:00
|
|
|
|
2000-04-14 19:43:44 -04:00
|
|
|
ipcclean: ipcclean.sh
|
|
|
|
|
cp $< $@
|
2000-09-08 14:29:28 -04:00
|
|
|
chmod a+x $@
|
1996-11-11 08:41:36 -05:00
|
|
|
|
2000-06-26 20:32:06 -04:00
|
|
|
install: all installdirs
|
2005-12-09 16:19:36 -05:00
|
|
|
$(INSTALL_SCRIPT) ipcclean '$(DESTDIR)$(bindir)/ipcclean'
|
1996-11-11 08:41:36 -05:00
|
|
|
|
2000-06-26 20:32:06 -04:00
|
|
|
installdirs:
|
2005-12-09 16:19:36 -05:00
|
|
|
$(mkinstalldirs) '$(DESTDIR)$(bindir)'
|
1996-12-09 22:40:23 -05:00
|
|
|
|
2000-06-26 20:32:06 -04:00
|
|
|
uninstall:
|
2005-12-09 16:19:36 -05:00
|
|
|
rm -f '$(DESTDIR)$(bindir)/ipcclean'
|
2000-06-26 20:32:06 -04:00
|
|
|
|
|
|
|
|
clean distclean maintainer-clean:
|
|
|
|
|
rm -f ipcclean
|