XCOMM @OSF_COPYRIGHT@
XCOMM COPYRIGHT NOTICE
XCOMM Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
XCOMM ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
XCOMM the full copyright text.
XCOMM 
XCOMM HISTORY
XCOMM $Log: Imakefile,v $
XCOMM Revision 1.1.2.2  1994/06/17  14:30:50  drand
XCOMM 	Replaced wml directory in build
XCOMM 	[1994/06/17  14:30:17  drand]
XCOMM
XCOMM 	Added wml subdirectory
XCOMM
XCOMM Revision 1.1.2.1  1994/06/02  15:32:58  marty
XCOMM 	This file has been moved from demos/widgets/Exm/lib. Refer to that directory for prior history.
XCOMM 	[1994/06/01  20:54:23  marty]
XCOMM 
XCOMM Revision 1.1.2.2  1993/10/13  21:58:01  rosenberg
XCOMM 	Removed references to Container widget
XCOMM 	[1993/10/13  21:57:48  rosenberg]
XCOMM 
XCOMM Revision 1.1.2.1  1993/10/05  21:00:44  yak
XCOMM 	Initial revision based on demos/widget/Exm/Imakefile.
XCOMM 	[1993/10/05  20:59:17  yak]
XCOMM 
XCOMM $EndLog$

#define IHaveSubdirs

#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'

SUBDIRS = wml

MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
MakeLintLibSubdirs($(SUBDIRS))

EXMINCLUDESRC = $(MINCLUDESRC)

#define DoDebugLib DebugLibExm
#define DoProfileLib ProfileLibExm

#ifdef RsArchitecture
REQUIREDLIBS = $(TOOLKITSRC)/libXt.a $(XLIBSRC)/libX11.a
#endif

   INCLUDES	= -I$(EXMINCLUDESRC)
   
   SRCS1	= CommandB.c	Grid.c		Panner.c	MenuB.c \
                  Simple.c	String.c	StringTrans.c	TabB.c 
   SRCS2	= ExmMrm.c
   SRCS		= $(SRCS1) $(SRCS2)

   OBJS1	= CommandB.o	Grid.o		Panner.o	MenuB.o \
                  Simple.o	String.o	StringTrans.o	TabB.o
   OBJS2	= ExmMrm.o

   HEADERS	= CommandB.h	CommandBP.h	ExmMrm.h	Grid.h \
                  GridP.h	MenuB.h		MenuBP.h	Panner.h \
                  PannerP.h	Simple.h	SimpleP.h	String.h \
                  StringP.h	StringTrans.h	StringTransP.h	TabB.h \
                  TabBP.h	

NormalLibraryObjectRule()

NormalLibraryTarget(Exm,$(OBJS1))
NormalLibraryTarget(ExmMrm,$(OBJS2))

#if DoProfileLib
ProfiledLibraryTarget(Exm,$(OBJS1))
#endif
#if DoDebugLib
DebuggedLibraryTarget(Exm,$(OBJS1))
#endif

BuildIncludes($(HEADERS),Exm,..)
DependTarget()

