#ifndef WcTopDir
#define WcTopDir ..
#endif

#include "../../moxftp.tmpl"
#include "../Wc.tmpl"

XCOMM ##########################################################################
XCOMM # SCCS_data: @(#) Imakefile	1.2 92/06/10 06:14:41
XCOMM #
XCOMM # Athena Public Library - Xp/Imakefile
XCOMM #
XCOMM #
#define DoNormalLib NormalLibXp
#define DoSharedLib SharedLibXp
#define DoDebugLib DebugLibXp
#define DoProfileLib ProfileLibXp

#if XRelease >= 50
#include <Library.tmpl>
#endif

#if defined(USE_XAW3D)
DEFINES  = -DXAW3D 
#endif

   INSTALLFLAGS = $(INSTINCFLAGS)
       LINTLIBS = $(LINTXLIB)

#define LibraryName Xp
#define LibraryOptions XpLibraryOptions

/* If we do not have the Athena widget set, we just need to do
 * things so Xop and/or Xcp can use Xp/Table
 */
#if !HaveAthenaWidgetSet
HEADERS = Table.h TableP.h COPY
   SRCS = Table.c TableLoc.c TableVec.c
   OBJS = Table.o TableLoc.o TableVec.o
#else
HEADERS = Table.h TableP.h Xp.h XpAthena.h XpAthenaP.h COPY
   SRCS = Table.c TableLoc.c TableVec.c Xp.c
   OBJS = Table.o TableLoc.o TableVec.o Xp.o
#endif

#include "../WcLib.tmpl"

#if HaveAthenaWidgetSet
InstallManPage(Xp,$(MANDIR))
#endif
InstallManPage(XpTable,$(MANDIR))
