File: Imakefile

package info (click to toggle)
xcontrib 3.3.2-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 1,328 kB
  • ctags: 2,167
  • sloc: ansic: 18,613; lex: 161; yacc: 97; makefile: 37; sh: 11
file content (50 lines) | stat: -rw-r--r-- 1,464 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
XCOMM $XConsortium: Imakefile /main/30 1996/03/09 09:37:57 kaleb $
XCOMM $XFree86: contrib/programs/xload/Imakefile,v 3.4.2.3 1998/02/20 15:14:00 robin Exp $
        DEPLIBS = XawClientDepLibs
LOCAL_LIBRARIES = XawClientLibs
#ifdef i386MachArchitecture
  SYS_LIBRARIES = -lsys
#endif
#ifdef SVR4Architecture
#ifdef SGIArchitecture
  SYS_LIBRARIES = -lmld
#else
#ifdef SonyArchitecture
  SYS_LIBRARIES = -lmld
#else
  SYS_LIBRARIES = -lelf
#endif
#endif
#endif
#if defined(SunArchitecture) && SystemV4
  SYS_LIBRARIES = -lkvm -lelf
#endif
#ifdef SGIArchitecture
  SYS_LIBRARIES = -lmld
#endif
#ifdef OsfArchitecture
  SYS_LIBRARIES = -lld
#endif
#if defined(i386BsdArchitecture) && !defined(NetBSDArchitecture) && !defined(OpenBSDArchitecture)
  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)

#if defined(OSF1Architecture) || defined(NetBSDArchitecture) || (defined(FreeBSDArchitecture) && OSMajorVersion > 1) || defined(OpenBSDArchitecture) || defined(LinuxArchitecture)
InstallProgram(xload,$(BINDIR))
#else
InstallProgramWithFlags(xload,$(BINDIR),$(INSTKMEMFLAGS))
#endif

InstallAppDefaults(XLoad)

InstallManPage(xload,$(MANDIR))

DependTarget()