File: XmHTML.cf

package info (click to toggle)
xmhtml 1.1.7-5
  • links: PTS
  • area: main
  • in suites: potato
  • size: 6,100 kB
  • ctags: 8,347
  • sloc: ansic: 68,063; makefile: 497; sh: 161; perl: 36
file content (246 lines) | stat: -rw-r--r-- 8,396 bytes parent folder | download | duplicates (10)
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
XCOMM ----------------------------------------------------------------------
XCOMM XmHTML.cf: imake configuration file for the XmHTML Widget Library
XCOMM
XCOMM (C)Copyright 1995-1997 Ripley Software Development
XCOMM All Rights Reserved
XCOMM
XCOMM This file is part of the XmHTML Widget Library.
XCOMM
XCOMM See the file LICENSE for the full copyright statement.

XCOMM ----------------------------------------------------------------------
XCOMM Root of XmHTML Source Tree
XCOMM ----------------------------------------------------------------------
XCOMM If BUILDINCTOP is not or incorrectly set on your system, you can
XCOMM override it here.
XCOMM BUILDINCTOP=<path to root of the XmHTML source tree>
BUILDINCTOP=/home/newt/src/XmHTML/XmHTML

XCOMM ----------------------------------------------------------------------
XCOMM Installation Directories
XCOMM ----------------------------------------------------------------------
XCOMM This specifies where the XmHTML and http library will be installed
#define XmHTMLLibDir $(USRLIBDIR)

XCOMM This specifies where the XmHTML and http header files will be installed
#define XmHTMLIncDir $(INCROOT)/XmHTML

XCOMM ----------------------------------------------------------------------
XCOMM Common Desktop Environment
XCOMM ----------------------------------------------------------------------
XCOMM If you are using CDE and have the development system for it installed,
XCOMM uncommenting the following lines might help. STD_INCLUDES indicates
XCOMM where the CDE/Motif header files are located, XMLIB indicates where
XCOMM libXm is to be found. The last one tells imake not to look for the
XCOMM Motif.tmpl imake configuration file.

XCOMM STD_INCLUDES = -I/usr/dt/include
XCOMM XMLIB = -L/usr/dt/lib -lXm
XCOMM #define MotifDefines

XCOMM ----------------------------------------------------------------------
XCOMM Image support configuration
XCOMM ----------------------------------------------------------------------

XCOMM XPM support.
XCOMM Only required for imakes that don't include libXpm automatically
XCOMM (Probably anything below Motif 2.X). XmHTML references to the xpm.h
XCOMM header file as <X11/xpm.h>. Uncomment and fill in the proper
XCOMM paths to xpm.h and libXpm. The defaults are /usr/X11R6/include (or
XCOMM wherever your X includes live) and /usr/X11R6/lib (or wherever your X
XCOMM libraries live)
XCOMM XPMINCLUDES  = -I$(INCROOT)
XCOMM XPMLIBRARIES = -L$(LIBDIR) -lXpm

XCOMM JPEG Support. Enabled by default.
XCOMM You require libjpeg, version 6 or above. If you don't have this lib
XCOMM or don't want jpeg support, set IHaveJPEG to NO.
XCOMM JPEGINC indicates where the jpeg header files ar to be found while
XCOMM JPEGLIB indicates where libjpeg is to be found.
XCOMM Required include files: jpeglib.h, jconfig.h, jmorecfg.h

#define IHaveJPEG YES
JPEGINC =
JPEGLIB = -ljpeg

XCOMM PNG Support. Enabled by default.
XCOMM You require libpng, version 0.96 or above. If you don't have this lib
XCOMM or don't want png support, set IHavePNG to NO. PNG also requires zlib.
XCOMM Required include files: png.h, pngconf.h

#define IHavePNG YES
PNGINC = 
PNGLIB = -lpng

XCOMM zlib Support. Enabled by default. PNG support implies zlib.
XCOMM You require libz, version 1.0.4 or above. If you don't have this lib
XCOMM or don't want png/gzf support, set IHaveZLIB to NO
XCOMM Required include files: zlib.h, zconf.h

#define IHaveZLIB YES
ZLIBINC = 
ZLIBLIB = -lz -lm

XCOMM ----------------------------------------------------------------------
XCOMM Full Text Searching Using POSIX 1. Regular Expressions
XCOMM ----------------------------------------------------------------------
XCOMM If your system does not provide a POSIX 1. compliant regex, define
XCOMM IHavePosixRegex to NO.
XCOMM (POSIX regex defines the following functions: regcomp, regexec,
XCOMM regerror and regfree, so if you have them, leave it like this.)
#define IHavePosixRegex NO

XCOMM ----------------------------------------------------------------------
XCOMM Runtime Debug support
XCOMM ----------------------------------------------------------------------
XCOMM If you want support for selectable debugging, set IWantDebug to YES
XCOMM This will include debug.o and debug_menu.o when building the library.
XCOMM debug.o contains the low-level debug routines that perform the actual
XCOMM setting of the debugging levels. debug_menu.o contains a convenience
XCOMM routine that will add a ``Debug'' menu item to the menubar of your
XCOMM application. This menu allows you to select debug output at runtime.
XCOMM IWantDebug *must* have a value. Commenting it will lead to
XCOMM to imake/make errors.

#define IWantDebug NO
DEBUG = -DDEBUG

XCOMM If you have dmalloc and want support for it, set IHaveDmalloc to YES
XCOMM and fill in the path to the dmalloc includes & paths.

#define IHaveDmalloc NO
DMALLOCINC =
DMALLOCLIB = -ldmalloc

XCOMM ----------------------------------------------------------------------
XCOMM XmHTML Widget Set Libary targets
XCOMM ----------------------------------------------------------------------
XCOMM If you want a library to be build, set it to YES, and if you don't
XCOMM want it, set to NO.
XCOMM
XCOMM You must set explicit values for these targets. Don't comment them.
XCOMM
XCOMM Shared libraries are not supported for SGI and Linux a.out, as they
XCOMM require some sort of specification files which I don't have.
XCOMM
XCOMM Update 24 july 1997:
XCOMM Richard Offer (offer@sgi.com) says the not yet released Irix 6.5 builds
XCOMM shared libs without problems.
XCOMM
#define SharedLibXmHTML YES
#define NormalLibXmHTML YES
#define DebugLibXmHTML NO

XCOMM Systems requiring additional defines and/or libraries.
XCOMM If you are compiling XmHTML on a system not listed below and
XCOMM you need additional defines or libraries, this is the place to add
XCOMM them.
XCOMM
XCOMM If your system doesn't have str[n]casecmp, define NEED_STRCASECMP
XCOMM If your system doesn't have strerror, define NEED_STRERROR

#if defined (SVR4Architecture)
XCOMM Unixware 1.1.2
XCOMM From: Thanh Ma (tma@encore.com)
DEFINES = -DNEED_STRCASECMP -DNEED_STRERROR -DSVR4 -DHAVE_MEMCPY
#endif

#if defined (i386SVR4Architecture)
XCOMM Unixware 2.1.1
XCOMM From: Valery Kravchuk (valera@itech.kiev.ua)
DEFINES = -DNEED_STRCASECMP -D_POSIX_SOURCE
SYSLIBS = -lsocket -lnsl -z nodefs
#endif

#if defined (LynxOSArchitecture)
XCOMM LynxOS
XCOMM From: Milburn Taylor (mwt@starbase.neosoft.com)
DEFINES = -DNEED_STRCASECMP
#endif

#if defined (SCOArchitecture) && (OSMajorVersion == 3) && (OSMinorVersion == 2)
XCOMM SCO ODT 3.0 (SYSV 3.2)
DEFINES = -DNEED_STRCASECMP -D_POSIX_SOURCE
SYSLIBS = -lXmu -lintl -lsocket -lPW 
#endif

XCOMM ----------------------------------------------------------------------
XCOMM There's really nothing beyond this line you should be messing with.
XCOMM ----------------------------------------------------------------------

XCOMM You can do whatever you want, but *NEVER* change this number!
VERSION = 1106
ARCHIVE = 1.1.5

XCOMM Internal Image Support Configuration

#if (IHavePNG) && !(IHaveZLIB)
XCOMM PNG support disabled due to XmHTML.cf inconsistency.
#undef IHavePNG
#define IHavePNG NO
PNGINC =
PNGLIB =
#endif

XCOMM JPEG
#if (IHaveJPEG)
JPEGDEF = -DHAVE_LIBJPEG
#else
JPEGINC =
JPEGLIB = 
#endif

XCOMM PNG 
#if (IHavePNG)
PNGDEF = -DHAVE_LIBPNG
#else
PNGINC = 
PNGLIB =
#endif

XCOMM zlib 
#if (IHaveZLIB)
ZLIBDEF = -DHAVE_LIBZ
#else
ZLIBINC =
ZLIBLIB =
#endif

XCOMM Debug Support
#if (IWantDebug == NO)
DEBUG = -DNDEBUG
#endif

XCOMM dmalloc support
#if (IHaveDmalloc)
DMALLOC = -DDMALLOC
#else
DMALLOC = 
DMALLOCINC =
DMALLOCLIB = 
#endif

#if (IHavePosixRegex)
REGDEF = -DHAVE_REGEX
#else
REGDEF =
#endif

#ifndef ForTools
XCOMM Internal image configuration defines
IMAGEDEFINES = $(JPEGDEF) $(PNGDEF) $(ZLIBDEF)

XCOMM include path for selected image types
IMAGEINCS = $(XPMINCLUDES) $(JPEGINC) $(PNGINC) $(ZLIBINC)

XCOMM library path & libraries for selected image types
IMAGELIBS = $(XPMLIBRARIES) $(JPEGLIB) $(PNGLIB) $(ZLIBLIB)

EXTRA_DEFINES  = -DVERSION=$(VERSION) $(DEFINES) $(IMAGEDEFINES) $(REGDEF) \
$(DEBUG) $(DMALLOC)
EXTRA_INCLUDES = -I. -I$(BUILDINCTOP)/include $(IMAGEINCS) $(DMALLOCINC)
EXTRA_LIBRARIES= $(IMAGELIBS) $(DMALLOCLIB) $(SYSLIBS)
#endif

XCOMM End of configuration file.
XCOMM ----------------------------------------------------------------------