1#
2# unix/tools/Makefile.in  --
3#
4# Makefile for building tools used during build and install process.  Nothing
5# here is actually installed on the system.
6#------------------------------------------------------------------------------
7# Copyright 1992-1999 Karl Lehenbauer and Mark Diekhans.
8#
9# Permission to use, copy, modify, and distribute this software and its
10# documentation for any purpose and without fee is hereby granted, provided
11# that the above copyright notice appear in all copies.  Karl Lehenbauer and
12# Mark Diekhans make no representations about the suitability of this
13# software for any purpose.  It is provided "as is" without express or
14# implied warranty.
15#------------------------------------------------------------------------------
16# $Id: Makefile.in,v 8.4 1999/07/07 02:47:15 wart Exp $
17#------------------------------------------------------------------------------
18#
19
20#------------------------------------------------------------------------------
21# Common and user-editable defines.
22#
23srcdir = @srcdir@
24@MAKEINCLUDE@ @MAKEQUOTE@@bldbasedir@/unix/Common.mk@MAKEQUOTE@
25
26#------------------------------------------------------------------------------
27
28all: instcopy bldmanhelp cpmanpages cphelpdir
29
30instcopy: ${srcdir}/instcopy.tcl ${srcdir}/buildutil.tcl
31	rm -f instcopy
32	cat ${srcdir}/buildutil.tcl ${srcdir}/instcopy.tcl >instcopy
33
34bldmanhelp: ${srcdir}/bldmanhelp.tcl
35	rm -f bldmanhelp
36	cp ${srcdir}/bldmanhelp.tcl bldmanhelp
37
38cpmanpages: ${srcdir}/cpmanpages.tcl ${srcdir}/buildutil.tcl
39	rm -f cpmanpages
40	cat ${srcdir}/buildutil.tcl ${srcdir}/cpmanpages.tcl >cpmanpages
41
42cphelpdir: ${srcdir}/cphelpdir.sh
43	rm -f cphelpdir
44	echo ":"                           >cphelpdir
45	echo "TOOLS=${bldbasedir}/tools"  >>cphelpdir
46	cat ${srcdir}/cphelpdir.sh        >>cphelpdir
47	chmod a+x cphelpdir
48
49#------------------------------------------------------------------------------
50
51clean:
52	-rm -f instcopy bldmanhelp cpmanpages cphelpdir
53
54#------------------------------------------------------------------------------
55# Restore to the distributed state.
56
57distclean: clean
58	rm -f Makefile
59
60# Disable Sun's parallel make, it doesn't get the dependencies right.
61.NO_PARALLEL:
62
63
64