Lines 1-253
Link Here
|
1 |
--- config/hp700-hpux10.orig Fri Dec 27 23:02:36 2002 |
|
|
2 |
+++ config/hp700-hpux10 Fri Dec 27 23:02:36 2002 |
3 |
@@ -0,0 +1,250 @@ |
4 |
+# Configuration file for HP 9000/700 series running HP-UX 10.01 with gcc |
5 |
+# Note that you will probably need to change the INCX11 directive at the |
6 |
+# end of this file |
7 |
+ |
8 |
+#quiet on |
9 |
+ |
10 |
+# Configuration file for the URT raster toolkit package. Modify all |
11 |
+# entries in this file. |
12 |
+ |
13 |
+# This file should be the only thing you have to edit to configure the |
14 |
+# toolkit for a new system. If you are adding capabilities, please |
15 |
+# keep this in mind and be sure to make those capabilities configurable |
16 |
+# from this file. |
17 |
+ |
18 |
+# The file "makefile.hdr" contains code common to all makefiles. It |
19 |
+# should not be necessary to edit that file. |
20 |
+ |
21 |
+# The following define the available "hardware" display configuration. |
22 |
+# Remove one # sign to define a symbol (i.e., leaving #define at the |
23 |
+# beginning of the line.) |
24 |
+ |
25 |
+# Displays |
26 |
+##define AMIGA Amiga computer display. |
27 |
+##define APOLLO Apollo computer display. |
28 |
+##define BOBCAT HP "bobcat" 9000 series (with Starbase). |
29 |
+##define CX3D Chromatics CX3D system. |
30 |
+##define FB BRL extended frame buffer library. |
31 |
+##define GETICR Display for NCSA telnet. Requires PBMPLUS tools. |
32 |
+##define GRINNELL Grinnell GMR27 frame buffer. |
33 |
+##define HPQCR Matrix QCR-Z attached to HP series 300. |
34 |
+##define IRIS Silicon Graphics Iris 2000/3000. |
35 |
+##define IRIS4D Silicon Graphics Iris/4D. |
36 |
+##define NEXT NeXT computer display. |
37 |
+##define ORION High-Level Hardware Orion display. |
38 |
+##define SUNTOOLS For Suns running SunTools. |
39 |
+##define TAAC1 Suns with TAAC-1 board. |
40 |
+##define X10 X10 Window system. |
41 |
+#define X11 X11 Window system. |
42 |
+ |
43 |
+# Conversion programs |
44 |
+#define ABEKASA60 Abekas A60 conversions. |
45 |
+#define ABEKASA62 Abekas A62 conversions. |
46 |
+#define ALIAS Alias conversions. |
47 |
+##define CGM RLE to CGM conversion. |
48 |
+#define CUBICOMP Cubicomp conversions. |
49 |
+#define GIF GIF image conversions. |
50 |
+#define GRAYFILES Grayscale conversions. |
51 |
+##define SGICONV SGI Image conversions. |
52 |
+#define MACPAINT Macpaint conversions. |
53 |
+##define PBMPLUS PBMPLUS conversions. |
54 |
+#define POSTSCRIPT Postscript conversions. |
55 |
+##define SUNRASTER For Sun raster conversions. |
56 |
+#define TARGA Targa format conversions. |
57 |
+##define TIFF TIFF image conversions. |
58 |
+#define TIFF2p4 Define if libtiff is version 2.4 or greater |
59 |
+#define VICAR VICAR image conversions. |
60 |
+#define WASATCH Wasatch Paintbox conversions. |
61 |
+#define WAVEFRONT Wavefront RLA file conversions. |
62 |
+ |
63 |
+# The dvirle program requires the Maryland MC-TeX library. See the |
64 |
+# README file in the cnv/tex subdirectory. |
65 |
+##define DVIRLE Compile dvirle program |
66 |
+ |
67 |
+# Control C compilation flags. Define according to your compiler. |
68 |
+ |
69 |
+##define APOLLOCC Apollo computer. |
70 |
+##define CONVEXCC Convex C 4.0 or greater |
71 |
+##define CRAY2CC Cray-2 running UNICOS. |
72 |
+#define GCC Gcc compiler. |
73 |
+##define HPUX300CC HP 9000/300 running HP-UX. |
74 |
+#define HPUX800CC HP 9000/800 running HP-UX. |
75 |
+##define IBMR6000CC IBM RS6000. |
76 |
+##define IRIS4DCC Silicon Graphics Iris 4D. |
77 |
+##define IRISCC Silicon Graphics Iris 2400/3000. |
78 |
+##define SUNCC Sun 3 computers. |
79 |
+##define 386IXCC SVr3 386/ix 2.2 |
80 |
+ |
81 |
+# You can put any system dependent flags here. |
82 |
+ExtraCFLAGS = |
83 |
+ |
84 |
+# System specific or configuration parameters. Define according to your |
85 |
+# environment and desires. |
86 |
+ |
87 |
+##define ABEKAS_PAL Convert to PAL format in Abekas A60 tool. |
88 |
+##define ALL_MAN Print/install all man pages. |
89 |
+##define CONST_DECL If your compiler understands 'const' (ANSI) |
90 |
+##define FILE_NAME_14_CHARS If filenames are limited to 14 characters. |
91 |
+##define HAVE_CPROTO If you have the cproto command. Not normally required. |
92 |
+##define NEED_BSTRING Your libc does not have bcopy or bzero (Sys V probably) |
93 |
+##define NEED_GETOPT Your libc does not have the getopt function (BSD) |
94 |
+##define NEED_RENAME Your libc does not have the rename function (Sys V) |
95 |
+#define NEED_SETLINEBUF Your stdio does not have setlinebuf (Sys V) |
96 |
+##define NO_MAKE_MAKEFILE If you don't want a "makefile" action. |
97 |
+##define NO_OPEN_PIPES If file "names" "|..." and "*.Z" are not special. |
98 |
+#define NO_RANLIB You don't have the ranlib program (Sys V) |
99 |
+##define NO_ITIMER You don't have setitimer (e.g., Cray 2). |
100 |
+##define NO_TOOLS Don't build tool directory. |
101 |
+##define STDIO_NEEDS_BINARY Your fopen() needs "b" specified for binary io |
102 |
+##define USE_TIME_H You need to include time.h for time_t (Sys V) |
103 |
+#define SYS_V_SETPGRP Your system has the SysV setpgrp() call. |
104 |
+##define USE_L_FLAG Use -Llibdir -lrle instead of libdir/liblre.a. |
105 |
+#define USE_PROTOTYPES Declare library functions with ANSI-C prototypes. |
106 |
+##define USE_RANDOM Your libc has the BSD random() function. |
107 |
+#define USE_SHARED_LIB You want to link to shared libraries as possible. |
108 |
+##define USE_STDARG Use 'stdarg' instead of 'varargs' (ANSI). |
109 |
+##define USE_STDLIB_H You have "stdlib.h". |
110 |
+##define USE_UNISTD_H You have "unistd.h". |
111 |
+#define USE_STRING_H You have "string.h", not "strings.h" |
112 |
+#define VOID_STAR Your C compiler understands the 'void *' declaration. |
113 |
+##define USE_XLIBINT_H You have the include file <X11/Xlibint.h>. |
114 |
+##define X_SHARED_MEMORY You have the XShm extension. |
115 |
+ |
116 |
+# DEST is where all programs will be put. Can be overridden for specific |
117 |
+# directories below. |
118 |
+# RI is where the include files live. You probably shouldn't change this. |
119 |
+# RL is where the tool directories find the RLE library. You can change |
120 |
+# this, but see the README instructions about making the toolkit in this |
121 |
+# case. |
122 |
+ |
123 |
+# Path names not starting with a / are relative to this directory. |
124 |
+# Path names starting with a / are absolute. |
125 |
+ |
126 |
+#defpath DEST bin |
127 |
+#defpath RI include |
128 |
+#defpath RL lib |
129 |
+ |
130 |
+# Note! LIB_DEST, INC_DEST, and MAN_DEST must be defined for the |
131 |
+# library, include files, or manual pages, respectively, to be |
132 |
+# installed anywhere. |
133 |
+ |
134 |
+##defpath MAN_DEST /usr/site/man |
135 |
+##defpath LIB_DEST |
136 |
+##defpath GET_DEST |
137 |
+##defpath CNV_DEST |
138 |
+##defpath TOOLS_DEST |
139 |
+##defpath INC_DEST |
140 |
+ |
141 |
+# Control of formatting. If your "roff" program needs to be piped to |
142 |
+# something to print, set ROFFPIPE to (e.g.) "| lpr" |
143 |
+ROFF = nroff |
144 |
+ROFFOPT = -man |
145 |
+ROFFPIPE = | lpr |
146 |
+ |
147 |
+# Stuff you like to have removed from directories to "make clean" |
148 |
+OTHERJUNK = core *~ #*# |
149 |
+ |
150 |
+# Files needed for the various options above. |
151 |
+#ifdef BOBCAT |
152 |
+#ifdef USE_SHARED_LIB |
153 |
+LDOPTS = -a shared |
154 |
+LIBBOBCAT = -L /usr/lib/X11R4 -lXwindow -lsb -ldld -lXhp11 -lX11 |
155 |
+# #endif /* shared library */ |
156 |
+# #ifndef USE_SHARED_LIB |
157 |
+#else |
158 |
+LDOPTS = -a archive |
159 |
+LIBBOBCAT = -L /usr/lib/X11R4 -lXwindow -ldd98705 -ldd98721 -ldd98731 -ldd98736 |
160 |
+-lddgcrx -lddbyte -lddsox11 -lsb1 -lsb2 -lXhp11 -lX11 |
161 |
+#endif /* archive library */ |
162 |
+#endif /* BOBCAT */ |
163 |
+ |
164 |
+#ifdef CGM |
165 |
+# Path to directory where CGM library and include files may be found |
166 |
+# Absolute or relative to URT root |
167 |
+#defpath CGMDIR |
168 |
+INCCGM = -I$(CGMDIR) |
169 |
+LIBCGM = $(CGMDIR)/libcgm.a |
170 |
+#endif |
171 |
+ |
172 |
+#ifdef CX3D |
173 |
+# Where are the include files for the CX3D |
174 |
+INCCX3D = /usr/site/include |
175 |
+LIBCX3D = -lcx3d |
176 |
+#endif |
177 |
+ |
178 |
+#ifdef DVIRLE |
179 |
+#define DVIRLE_LIBSUBDIR Defined if LIBMCTEX is under cnv/tex directory |
180 |
+# The MC-TeX library. |
181 |
+LIBMCTEX = lib/lib.a # Note! relative to cnv/tex directory |
182 |
+# Where to find the MC-TeX include files. |
183 |
+INCMCTEX = h # Note! relative to cnv/tex directory |
184 |
+# where to find the font description file |
185 |
+CONFFILE = /usr/local/lib/tex/fontdesc |
186 |
+#endif |
187 |
+ |
188 |
+#ifdef FB |
189 |
+LIBFB = /usr/brl/lib/libfb.a |
190 |
+#endif |
191 |
+ |
192 |
+#ifdef GRINNELL |
193 |
+# Library containing GMR27 functions. |
194 |
+LIBGRINNELL = -lfb |
195 |
+#endif |
196 |
+ |
197 |
+#ifdef HPQCR |
198 |
+# HP device io library. |
199 |
+LIBHPQCR = -ldvio |
200 |
+#endif |
201 |
+ |
202 |
+#ifdef IRIS |
203 |
+LIBIRIS = -Zg |
204 |
+#endif |
205 |
+ |
206 |
+#ifdef IRIS4D |
207 |
+LIBIRIS4D = -lgl_s |
208 |
+#endif |
209 |
+ |
210 |
+#ifdef PBMPLUS |
211 |
+# PBMDIR should refer to the root of your PBM source tree. |
212 |
+# If relative, it's relative to root of URT source tree. |
213 |
+#defpath PBMDIR |
214 |
+ |
215 |
+INCPBMPLUS = -I$(PBMDIR) -I$(PBMDIR)/ppm -I$(PBMDIR)/pgm -I$(PBMDIR)/pbm |
216 |
+LIBPBMPLUS = $(PBMDIR)/ppm/libppm.a $(PBMDIR)/pgm/libpgm.a \ |
217 |
+ $(PBMDIR)/pbm/libpbm.a |
218 |
+#endif |
219 |
+ |
220 |
+#ifdef SUNRASTER|SUNTOOLS|TAAC1 |
221 |
+LIBSUNTOOLS_COM = -lsuntool -lsunwindow -lpixrect |
222 |
+#endif |
223 |
+ |
224 |
+#ifdef SUNRASTER |
225 |
+LIBSUNRASTER = $(LIBSUNTOOLS_COM) |
226 |
+#endif |
227 |
+ |
228 |
+#ifdef SUNTOOLS |
229 |
+LIBSUNTOOLS = $(LIBSUNTOOLS_COM) |
230 |
+#endif |
231 |
+ |
232 |
+#ifdef TAAC1 |
233 |
+LIBTAAC1 = -ltaac1 $(LIBSUNTOOLS_COM) |
234 |
+#endif |
235 |
+ |
236 |
+#ifdef TIFF |
237 |
+# Location of tiff library and include files. Relative to URT root directory. |
238 |
+#defpath TIFFDIR |
239 |
+INCTIFF = -I$(TIFFDIR) |
240 |
+LIBTIFF = $(TIFFDIR)/libtiff.a |
241 |
+#endif |
242 |
+ |
243 |
+#ifdef X10 |
244 |
+LIBX10 = -lX |
245 |
+INCX10 = |
246 |
+#endif |
247 |
+ |
248 |
+#ifdef X11 |
249 |
+# Fetch the X11 library from /usr/lib/X11R4/libX11.sl |
250 |
+LIBX11 = /usr/lib/X11R4/libX11.sl |
251 |
+# You will probably need to change this |
252 |
+INCX11 = -I/usr/sww/X11/include |
253 |
+#endif |