XCOMM $XConsortium: Imakefile,v 1.28 93/07/29 14:01:59 rws Exp $
        DEPLIBS = XawClientDepLibs
LOCAL_LIBRARIES = XawClientLibs
#if defined(SunArchitecture) && defined(i386Architecture)
  SYS_LIBRARIES = -lkvm
#endif
#if SystemV4
#ifdef SonyArchitecture
  SYS_LIBRARIES = -lmld
#else
  SYS_LIBRARIES = -lelf
#endif
#endif
#ifdef SGIArchitecture
  SYS_LIBRARIES = -lmld
#endif
#ifdef BSD386Architecture
  SYS_LIBRARIES = -lutil -lkvm
#endif
           SRCS = xload.c get_load.c
           OBJS = xload.o get_load.o
 OSMAJORVERSION = OSMajorVersion
 OSMINORVERSION = OSMinorVersion
      DEFINES = -DOSMAJORVERSION=$(OSMAJORVERSION) -DOSMINORVERSION=$(OSMINORVERSION) 

AllTarget(xload)
NormalProgramTarget(xload,$(OBJS),$(DEPLIBS),$(LOCAL_LIBRARIES),NullParameter)
#ifndef OSF1Architecture
InstallProgramWithFlags(xload,$(BINDIR),$(INSTKMEMFLAGS))
#else
InstallProgram(xload,$(BINDIR))
#endif

InstallAppDefaults(XLoad)

InstallManPage(xload,$(MANDIR))

DependTarget()
