XCOMM	BSDI Imakefile,v 1.3 1995/10/02 13:42:39 torek Exp
XCOMM $XConsortium: Imakefile,v 1.28 93/07/29 14:01:59 rws Exp $
XCOMM $XFree86: contrib/programs/xload/Imakefile,v 3.2 1994/08/20 06:54:10 dawes Exp $
        DEPLIBS = XawClientDepLibs
LOCAL_LIBRARIES = XawClientLibs
#ifdef i386MachArchitecture
  SYS_LIBRARIES = -lsys
#endif
#if SystemV4
#ifdef SonyArchitecture
  SYS_LIBRARIES = -lmld
#else
  SYS_LIBRARIES = -lelf
#endif
#endif
#if defined(SunArchitecture) && defined(i386Architecture) && defined(SystemV4)
  SYS_LIBRARIES = -lkvm -lelf
#endif
#ifdef SGIArchitecture
  SYS_LIBRARIES = -lmld
#endif
#ifdef OsfArchitecture
  SYS_LIBRARIES = -lld
#endif
#if defined(BSD386Architecture) && !defined(__bsdi__)
  SYS_LIBRARIES = -lutil -lkvm
#endif
#ifdef FreeBSDArchitecture
  SYS_LIBRARIES = -lutil
#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)
#if !defined(OSF1Architecture) && !defined(NetBSDArchitecture) && !defined(__bsdi__)
InstallProgramWithFlags(xload,$(BINDIR),$(INSTKMEMFLAGS))
#else
InstallProgram(xload,$(BINDIR))
#endif

InstallAppDefaults(XLoad)

InstallManPage(xload,$(MANDIR))

DependTarget()
