XCOMM $XConsortium: Imakefile /main/30 1996/03/09 09:37:57 kaleb $
XCOMM $XFree86: xc/programs/xload/Imakefile,v 1.7 2001/08/13 19:35:01 dawes Exp $
        DEPLIBS = XawClientDepLibs
LOCAL_LIBRARIES = XawClientLibs

#if defined(i386MachArchitecture) && !defined(GNUMachArchitecture)
  SYS_LIBRARIES = -lsys
#elif defined(SGIArchitecture) && !defined(MipsN32Architecture)
  SYS_LIBRARIES = -lmld
#elif defined(SonyArchitecture)
  SYS_LIBRARIES = -lmld
#elif defined(SunArchitecture) && SystemV4
  SYS_LIBRARIES = -lkvm -lelf
#elif defined(SVR4Architecture)
  SYS_LIBRARIES = -lelf
#elif defined(OsfArchitecture)
  SYS_LIBRARIES = -lld
#elif defined(BSDOSArchitecture) && !defined(NetBSDArchitecture) && !defined(OpenBSDArchitecture)
  SYS_LIBRARIES = -lutil -lkvm
#endif
           SRCS = xload.c get_load.c get_rload.c
           OBJS = xload.o get_load.o get_rload.o
 OSMAJORVERSION = OSMajorVersion
 OSMINORVERSION = OSMinorVersion
      DEFINES = -DOSMAJORVERSION=$(OSMAJORVERSION) -DOSMINORVERSION=$(OSMINORVERSION) 

AllTarget(ProgramTargetName(xload))
NormalProgramTarget(xload,$(OBJS),$(DEPLIBS),$(LOCAL_LIBRARIES),NullParameter)

#if !InstallXloadSetGID
InstallProgram(xload,$(BINDIR))
#else
InstallProgramWithFlags(xload,$(BINDIR),$(INSTKMEMFLAGS))
#endif

InstallAppDefaults(XLoad)

InstallManPage(xload,$(MANDIR))

DependTarget()
