/*****************************************************************************
//
// Copyright (C) 1991 Texas Instruments Incorporated.
//
// Permission is granted to any individual or institution to use, copy, modify,
// and distribute this software, provided that this complete copyright and
// permission notice is maintained, intact, in all copies and supporting
// documentation.
//
// Texas Instruments Incorporated provides this software "as is" without
// express or implied warranty.
//
 *****************************************************************************
 *
 *	Author: Martin Neath
 *	Filename: Imakefile
 *	Module: pisces/diff
 *	Purpose: Imakefile for GNU diff
 *	Creation Date: 05/16/90
 *
 *****************************************************************************/

/* Add -DHAVE_NDIR to STD_C_DEFS if your system used ndir.h instead of direnth
 * Add -DHAVE_DIRECT to STD_C_DEFS if your system uses 'struct direct' instead
 * of 'struct dirent' (this is the case at least with one add-on ndir library).
 */

ALLCPLUSDEFS = 

HDRS1 = diff.h getopt.h limits.h regex.h
HDRS2 =

SRCS1 = analyze.$(C) diff.$(C) dir.$(C) getopt.$(C) ifdef.$(C) \
	normal.$(C) util.$(C) context.$(C) \
	ed.$(C) getopt1.$(C) io.$(C) regex.$(C) version.$(C)

SRCS2 = diff3.$(C)

OBJS1 = analyze.$(OBJ) diff.$(OBJ) dir.$(OBJ) getopt.$(OBJ) ifdef.$(OBJ) \
	normal.$(OBJ) util.$(OBJ) context.$(OBJ) \
	ed.$(OBJ) getopt1.$(OBJ) io.$(OBJ) regex.$(OBJ) version.$(OBJ)

OBJS2 = diff3.$(OBJ)

LINKDEP =

LOCAL_C_DEFS = $(DFLAG)DIFF_PROGRAM=$(QUOTE)diff$(QUOTE)

#if OS2Platform
STD_C_DEFS = $(DFLAG)USG
#endif

All2(diff,diff3)
OptimizeCObject()
CProgram1(diff)
CProgram2(diff3)


