# $Header: Imakefile,v 1.3 90/07/04 21:46:40 todd Exp [Imakefile,v 1.3 91/06/18 11:18:43 kalmin Exp ]$
#include <Library.tmpl>

#define PassCDebugFlags

    STD_DEFINES = LibraryDefines -DSMT -DIHaveSMT
    CDEBUGFLAGS = LibraryCDebugFlags
       INCLUDES = -I. -I$(TOP) -I$(INCLUDESRC) -I$(XLIBSRC) -I../../include \
		  -I../../ip -I../../../lib/X
           SRCS = XSmt.c
           OBJS = XSmt.o
       LINTLIBS = $(LINTXLIB)

CDEBUGFLAGS = -O


#if DebugLibXext && ProfileLibXext
DebuggedAndProfiledLibraryObjectRule()
#else
# if DebugLibXext
DebuggedLibraryObjectRule()
# else
#  if ProfileLibXext
ProfiledLibraryObjectRule()
#  else
NormalLibraryObjectRule()
#  endif
# endif
#endif
NormalLibraryTarget(smt,$(OBJS))
LintLibraryTarget(smt,$(SRCS))
InstallLibrary(smt,$(USRLIBDIR))
InstallLintLibrary(smt,$(LINTLIBDIR))



#if ProfileLibXext
ProfiledLibraryTarget(smt,$(OBJS))
InstallLibrary(smt,$(USRLIBDIR))
#endif

#if DebugLibXext
DebuggedLibraryTarget(smt,$(OBJS))
#endif

DependTarget()


NormalLintTarget($(SRCS))
