1# Makefile for GNU shar utilities, contribution directory.
2# Copyright (C) 1995 Free Software Foundation, Inc.
3
4# This program is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by
6# the Free Software Foundation; either version 2, or (at your option)
7# any later version.
8
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12# GNU General Public License for more details.
13
14# You should have received a copy of the GNU General Public License
15# along with this program; if not, write to the Free Software Foundation,
16# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
18PACKAGE = @PACKAGE@
19VERSION = @VERSION@
20
21SHELL = /bin/sh
22srcdir = @srcdir@
23VPATH = @srcdir@
24
25subdir = contrib
26
27.SUFFIXES:
28
29DISTFILES = Makefile.in shar.sh shar2.sh bas-README uudecode.bas \
30pas-README pas-R.Marks pas-diffs uudecode.pas uuencode.pas \
31uudecode.pl uuencode.pl
32
33all:
34
35check:
36
37install:
38
39uninstall:
40
41mostlyclean:
42
43clean: mostlyclean
44
45distclean: clean
46	rm -f Makefile
47
48maintainer-clean: distclean
49	@echo "This command is intended only for maintainers to use;"
50	@echo "rebuilding the deleted files may require special tools."
51
52distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
53dist: $(DISTFILES)
54	@for file in $(DISTFILES); do \
55	  ln $(srcdir)/$$file $(distdir) 2> /dev/null \
56	    || cp -p $(srcdir)/$$file $(distdir); \
57	done
58
59Makefile: ../config.status Makefile.in
60	cd .. && CONFIG_FILES=contrib/$@ CONFIG_HEADERS= ./config.status
61
62# Tell versions [3.59,3.63) of GNU make not to export all variables.
63# Otherwise a system limit (for SysV at least) may be exceeded.
64.NOEXPORT:
65