OSDN Git Service

Add copyright mentions, per Tom Lane.
[pg-rex/syncrep.git] / src / bin / ipcclean / Makefile
1 #-------------------------------------------------------------------------
2 #
3 # Makefile for src/bin/ipcclean
4 #
5 # Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
6 # Portions Copyright (c) 1994, Regents of the University of California
7 #
8 # $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/Makefile,v 1.15 2001/02/18 18:33:59 momjian Exp $
9 #
10 #-------------------------------------------------------------------------
11
12 subdir = src/bin/ipcclean
13 top_builddir = ../../..
14 include $(top_builddir)/src/Makefile.global
15
16 all: ipcclean
17
18 ipcclean: ipcclean.sh
19         cp $< $@
20         chmod a+x $@
21
22 install: all installdirs
23         $(INSTALL_SCRIPT) ipcclean $(DESTDIR)$(bindir)/ipcclean
24
25 installdirs:
26         $(mkinstalldirs) $(DESTDIR)$(bindir)
27
28 uninstall:
29         rm -f $(DESTDIR)$(bindir)/ipcclean
30
31 clean distclean maintainer-clean:
32         rm -f ipcclean