/***************************************************************************
* ======================================================================
* Computer Vision/Image Processing Tool Project - Dr. Scott Umbaugh SIUE
* ======================================================================
*
*             File Name: Imakefile
*           Description: Imakefile specifying rules for building lib@suffix@.a.
*         Related Files: CVIPtools.tmpl
*   Initial Coding Date: @date@
*           Portability: UNIX/X imake config. file
*             Author(s): Gregory Hance
*                        Southern Illinois University @ Edwardsville
*
** Copyright (C) 1993 SIUE - by Gregory Hance.
**
** Permission to use, copy, modify, and distribute this software and its
** documentation for any purpose and without fee is hereby granted, provided
** that the above copyright notice appear in all copies and that both that
** copyright notice and this permission notice appear in supporting
** documentation.  This software is provided "as is" without express or
** implied warranty.
**
* RCS (Revision Control System) Information
* ...Added automatically by RCS 
*
** $Log: Imakefile,v $
** Revision 1.2  1997/05/18 02:59:27  yawei
** removed  TAB which causes problems on UNIX
**
** Revision 1.1  1997/05/16 17:45:17  yawei
** Initial revision
**
*
****************************************************************************/
#ifndef Win32Architecture
#define Lib@name@ lib@suffix@.a
#else
#define Lib@name@ @suffix@.lib
#endif
#define DepLib@name@ Lib@name@
#define Inc@name@
#include <../CVIPtools.tmpl>

#if Debug
   CURRENTLIBS = Lib@name@ $(LIBSCVIPNORM)
CURRENTDEPLIBS = DepLib@name@ $(DEPLIBSCVIPNORM)
     INCLUDES  = -I.. Inc@name@ $(INCSCVIPNORM)
#else
     INCLUDES  = -I.. Inc@name@ $(INCSTOOLKIT)
#endif


SRCS = t@suffix@.c
OBJS =  
INCS =  CVIP@suffix@.h
#if Debug
BINS =  t@suffix@
#else
BINS =
#endif
MAN3 =  lib@suffix@.3

AllTarget(Lib@name@ $(BINS))

DependTarget()

RCSAutoCheckOut()
RCSClean($(SRCS))

#if Debug
NormalCVIPtoolsProgramTarget(t@suffix@)
#endif

NormalLibraryObjectRule()
NormalLibraryTarget(@suffix@, $(OBJS))

#if InstallManuals
InstallMultipleMan($(MAN3),$(CVIPTOOLSDIR)$(CVIPTOOLSMANDIR)/man3)
#endif

#if InstallLibraries
InstallLibrary(@suffix@,$(CVIPTOOLSDIR)$(CVIPTOOLSLIBDIR))
#endif

#if InstallIncludes
InstallMultipleFlags($(INCS),$(CVIPTOOLSDIR)$(CVIPTOOLSINCDIR),$(INSTINCFLAGS))
#endif
