File: Imakefile

package info (click to toggle)
xcontrib 3.3.1-2
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 1,352 kB
  • ctags: 2,167
  • sloc: ansic: 18,606; lex: 161; yacc: 97; makefile: 37; sh: 11
file content (50 lines) | stat: -rw-r--r-- 1,401 bytes parent folder | download
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.1 1997/05/17 09:12:47 dawes 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) && defined(i386Architecture) && defined(SystemV4)
  SYS_LIBRARIES = -lkvm -lelf
#endif
#ifdef SGIArchitecture
  SYS_LIBRARIES = -lmld
#endif
#ifdef OsfArchitecture
  SYS_LIBRARIES = -lld
#endif
#ifdef i386BsdArchitecture
  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)
InstallProgram(xload,$(BINDIR))
#else
InstallProgramWithFlags(xload,$(BINDIR),$(INSTKMEMFLAGS))
#endif

InstallAppDefaults(XLoad)

InstallManPage(xload,$(MANDIR))

DependTarget()