/*
** INGRES makefile for sig!errhelp!errhelp
** 
** History:
**	02-aug-1990 (boba)
**		Created by combining text of old errhelp.readme_make
**		(name too long for System V so just copied below) with
**		output of mkming.  Further rules were added to copy
**		the deliverable files to $ING_BUILD/sig/errhelp.
**	13-feb-1991 (sandyd)
**		Removed redundant copy of faccode.txt that was being put into
**		$(FRONTFILES)/english.  That one was not in the dlist, and is
**		apparently not needed for anything.
**	12-jun-1991 (sandyd)
**		Source for errhelp.readme is now "read.me_unix", since we now
**		have both the VMS and UNIX versions of errhelp in piccolo.
**	17-jun-1991 (sandyd)
**		Renamed source files to conform to name length restrictions.
**	05-may-93 (swm)
**		Make ming rules cater for the BAROQUE environment.
**	29-jul-93 (rcs) 
**		Corrected ming rules for the BAROQUE environment.
**	22-sep-93 (dianeh) 
**		Updated to use .FILE and .SHELL rules.
*/

/*
------------------------- BEGIN errhelp.readme_make ---------------------------

To remake errhelp, do the following:
cc -o errhelp errhelp.c $II_SYSTEM/ingres/lib/libingres.a -lm -lc

That's it.
------------------------- END errhelp.readme_make -----------------------------
*/

$(BAROQUE:T=V)NOISE = /$(ING_VERS)/src
SIGERRHELP=$(ING_BUILD)/sig/errhelp

files : $(SIGERRHELP)/errhelp $(SIGERRHELP)/cvtnum

$(SIGERRHELP)/errhelp : $(INGBIN)/errhelp
	$(CP) $(CPFLAGS) $(>) $(<)
	$(CHMOD) $(EXEMODE) $(<)

$(INGBIN)/errhelp :: errhelp.c $(COMPATLIB)

$(SIGERRHELP)/cvtnum : $(INGBIN)/cvtnum
	$(CP) $(CPFLAGS) $(>) $(<)
	$(CHMOD) $(SHELLMODE) $(<)

$(INGBIN)/cvtnum :: cvtnum.sh .SHELL

$(SIGERRHELP)/readunix.txt :: readunix.txt .FILE
$(SIGERRHELP)/faccode.txt :: faccode.txt .FILE
