File: Imakefile

package info (click to toggle)
vnc4 4.1.1%2BX4.3.0-31
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 171,548 kB
  • ctags: 288,231
  • sloc: ansic: 2,205,256; cpp: 56,016; sh: 38,092; pascal: 13,773; asm: 12,656; tcl: 9,182; lisp: 7,831; perl: 3,338; makefile: 2,957; yacc: 2,902; objc: 2,698; xml: 2,614; python: 2,383; lex: 1,477; awk: 901; csh: 58; sed: 50
file content (67 lines) | stat: -rw-r--r-- 2,255 bytes parent folder | download | duplicates (6)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
XCOMM $XConsortium: Imakefile,v 1.22 91/09/09 16:02:18 rws Exp $
XCOMM $XFree86: xc/programs/xman/Imakefile,v 1.8 2002/09/21 02:38:25 dawes Exp $

#ifdef XmanSearchPath
XMANSYSPATH = XmanSearchPath
SYSMANPATH = -DSYSMANPATH=\"$(XMANSYSPATH)\"
#endif
#ifdef XmanLocalSearchPath
XMANLOCALPATH = XmanLocalSearchPath
LOCALMANPATH = -DLOCALMANPATH=\"$(XMANLOCALPATH)\"
#endif
MANPATHS = $(SYSMANPATH) $(LOCALMANPATH)
HELPFILE = -DHELPFILE=\"$(LIBDIR)$(PATHSEP)xman.help\"
#if HasMkstemp
MKSTEMP = -DHAS_MKSTEMP
#endif

XCOMM select internal format of manpath configuration file
#if defined(FreeBSDArchitecture) || \
    (defined(LinuxDistribution) && (LinuxDistribution == LinuxDebian)) || \
    (defined(DarwinArchitecture) && (OSMajorVersion >= 6))
    MANCONFIGSTYLE = -DMANCONFIGSTYLE_FreeBSD
    MANCONF = -DMANCONF=\"/etc/manpath.config\"
#elif defined(LinuxArchitecture)
    MANCONFIGSTYLE = -DMANCONFIGSTYLE_Linux
# if defined(LinuxDistribution) && (LinuxDistribution == LinuxRedHat)
    MANCONF = -DMANCONF=\"/etc/man.config\"
# else
    MANCONF = -DMANCONF=\"/etc/man.conf\"
# endif
#elif defined(OpenBSDArchitecture) || defined(NetBSDArchitecture) || \
    defined(DarwinArchitecture)
    MANCONFIGSTYLE = -DMANCONFIGSTYLE_OpenBSD
    MANCONF = -DMANCONF=\"/etc/man.conf\"
#elif defined(BSDArchitecture)
    MANCONFIGSTYLE = -DMANCONFIGSTYLE_BSD
    MANCONF = -DMANCONF=\"/etc/man.conf\"
#endif

#if HasGroff
GROFF = -DHAS_GROFF
#endif

#if HasSnprintf
SNPDEFINES = -DHAS_SNPRINTF
#else
SNPINCLUDES = $(LIBSRC)/misc
#endif

 OSMAJORVERSION = OSMajorVersion
 OSMINORVERSION = OSMinorVersion
        DEFINES = -DOSMAJORVERSION=$(OSMAJORVERSION) \
		  -DOSMINORVERSION=$(OSMINORVERSION) \
		  $(SNPDEFINES) $(HELPFILE) $(MANPATHS) $(MKSTEMP) $(GROFF) \
		  $(MANCONFIGSTYLE) $(MANCONF)
       INCLUDES = -I$(SNPINCLUDES)
        DEPLIBS = XawClientDepLibs
LOCAL_LIBRARIES = XawClientLibs
           SRCS = ScrollByL.c handler.c man.c buttons.c help.c \
                  search.c globals.c main.c misc.c tkfuncs.c vendor.c
           OBJS = ScrollByL.o handler.o man.o buttons.o help.o \
                  search.o globals.o main.o misc.o tkfuncs.o vendor.o

ComplexProgramTarget(xman)

InstallNonExecFile(xman.help,$(LIBDIR))
InstallAppDefaults(Xman)