1 ####This file was automatically created by 'configure.'
2 ####Many variables are set twice -- a generic setting, then
3 ####a system-specific override at the bottom of the file.
4 ####
5 # This is a make file inclusion, to be included in all the Netpbm make
6 # files.
7
8 # This file is meant to contain variable settings that customize the
9 # build for a particular target system configuration.
10
11 # The distribution contains the file Makefile.config.in. You edit
12 # Makefile.config.in in ways relevant to your particular environment
13 # to create Makefile.config. The "configure" program will do this
14 # for you in simple cases.
15
16 # Some of the variables that the including make file must set for this
17 # file to work:
18 #
19 # SRCDIR: The directory at the top of the Netpbm source tree. Note that
20 # this is typically a relative directory, and it must be relative to the
21 # make file that includes this file.
22
23 DEFAULT_TARGET = nonmerge
24 #DEFAULT_TARGET = merge
25
26 # Fiasco has some special requirements that make it fail to compile on
27 # some systems, and since it isn't very important, just set this to "N"
28 # and skip it on those systems unless you want to debug it and fix it.
29 # OpenBSD:
30 #BUILD_FIASCO = N
31 BUILD_FIASCO = Y
32
33 # The following are commands for the build process to use. These values
34 # do not get built into anything.
35
36 # The C compiler (including macro preprocessor)
37 #CC = gcc
38 # Note that 'cc' is usually an alias for whatever is the main compiler
39 # on a system, e.g. the GNU Compiler on Linux.
40 CC = cc
41
42 # The linker.
43 LD = $(CC)
44 #LD = ld
45 #Tru64:
46 #LD = cc
47 #LD = gcc
48
49 #If the linker identified above is a compiler that invokes a linker
50 #(as in 'cc foo.o -o foo'), set LINKERISCOMPILER. The main difference is
51 #that we expect a compiler to take linker options in the '-Wl,-opt1,val1'
52 #syntax whereas the actual linker would take '-opt1 val1'.
53 LINKERISCOMPILER=Y
54 #If $(LD) is 'ld':
55 #LINKERISCOMPILER=N
56
57 #LINKER_CAN_DO_EXPLICIT_LIBRARY means the linker specified above can
58 #take a library as just another link object argument, as in 'ld
59 #pnmtojpeg.o /usr/local/lib/libjpeg.so ...' as opposed to requiring a
60 #-l option as in 'ld pnmtojpeg.o -L/usr/local/lib -l jpeg'.
61 #This variable controls how 'libopt' gets built. Note that with some
62 #linkers, you can specify a shared library explicitly, but then it has
63 #to live in that exact place at run time. That's not good enough for us.
64
65 LINKER_CAN_DO_EXPLICIT_LIBRARY=N
66 #GNU:
67 #LINKER_CAN_DO_EXPLICIT_LIBRARY=Y
68
69 # This is the name of the header file that declares the types
70 # uint32_t, etc. This name is used as #include $(INTTYPES_H) .
71 # Set to null if the types come automatically without including anything.
72
73 # We have a report (2005.09.17) that on IRIX 5.3 with the native IDO
74 # cc, inttypes.h and sys/types.h conflict (and Netpbm programs include
75 # sys/types for other things), so for that environment, <inttypes.h>
76 # won't work, but "inttypes_netpbm.h" might.
77
78 INTTYPES_H = <inttypes.h>
79 # Linux libc5:
80 #INTTYPES_H = <types.h>
81 # Solaris:
82 # Solaris has <sys/inttypes.h>, but it doesn't define int_fast2_t, etc.
83 #INTTYPES_H = "inttypes_netpbm.h"
84 # Others:
85 #INTTYPES_H = <sys/stdint.h>
86 #INTTYPES_H = <sys/types.h>
87 # The automatically generated Netpbm version:
88 #INTTYPES_H = "inttypes_netpbm.h"
89
90 # HAVE_INT64 tells whether, assuming you include the header indicated by
91 # INTTYPES_H, you have the int64_t type and related stuff. (If you don't
92 # the build will omit certain code that does 64 bit computations).
93 HAVE_INT64 = Y
94 #HAVE_INT64 = N
95
96 # CC and LD are for building the Netpbm programs, which are not necessarily
97 # intended to run on the same system on which Make is running. But when we
98 # build a build tool such as Libopt, it is meant to run only on the same
99 # system on which the Make is running. The variables below define programs
100 # to use to compile and link build tools.
101 CC_FOR_BUILD = $(CC)
102 LD_FOR_BUILD = $(LD)
103 CFLAGS_FOR_BUILD = $(CFLAGS)
104
105 # MAKE is set automatically by Make to what was used to invoke Make.
106
107 INSTALL = $(SRCDIR)/buildtools/install.sh
108 #Solaris:
109 #INSTALL = /usr/ucb/install
110 #Tru64:
111 #INSTALL = installbsd
112 #OSF1:
113 #INSTALL = $(SRCDIR)/buildtools/installosf
114 #Red Hat Linux:
115 #INSTALL = install
116
117 # STRIPFLAG is the option you pass to the above install program to make it
118 # strip unnecessary information out of binaries.
119 STRIPFLAG = -s
120 # If you don't want to strip the binaries, just leave it null:
121 #STRIPFLAG =
122
123 SYMLINK = ln -s
124 # At least some Windows environments don't have any concept of symbolic
125 # links, but direct copies are usually a passable alternative.
126 #SYMLINK = cp
127
128 #MANPAGE_FORMAT is "nroff" or "cat". It determines in what format the
129 #pointer man pages are installed (ready to nroff, or ready to cat).
130 #A pointer man pages is just a single-paragraph pages that tells you there is
131 #no man page for the program, to look at the HTML documentation instead.
132 MANPAGE_FORMAT = nroff
133 #MANPAGE_FORMAT = cat
134
135 AR = ar
136 RANLIB = ranlib
137 # IRIX, SCO don't have Ranlib:
138 #RANLIB = true
139
140 # LEX is the beginning of a shell command that runs a Lex-like
141 # pattern matcher generator. Null string means there isn't any such
142 # command. That means the build will skip parts that need one.
143
144 LEX = flex
145 # Solaris:
146 # LEX = flex -e
147 # Windows Mingw:
148 # LEX =
149 #
150 # LEX = lex
151
152 # C compiler options
153
154 # gcc:
155 # -ansi and -Werror should work too, but are not included
156 # by default because there's no point in daring the build to fail.
157 # -pedantic isn't a problem because it causes at worst a warning.
158 #CFLAGS = -O3 -ffast-math -pedantic -fno-common \
159 # -Wall -Wno-uninitialized -Wmissing-declarations -Wimplicit \
160 # -Wwrite-string -Wmissing-prototypes -Wundef
161 # The merged programs have a main_XXX subroutine instead of main(),
162 # which would cause a warning with -Wmissing-declarations or
163 # -Wmissing-prototypes.
164 #CFLAGS_MERGE = -Wno-missing-declarations -Wno-missing-prototypes
165 # A user of DEC Tru64 4.0F in May 2000 needed -DLONG_32 for ppmtompeg,
166 # but word size-sensitive code was removed from parallel.c in September 2004.
167 # A user of Tru64 5.1A in July 2003 needed NOT to have -DLONG_32. In
168 # theory, you need this if on your system, long is 32 bits and int is not.
169 # But it may be completely irrelevant today.
170 #Tru64:
171 #CFLAGS = -O2 -std1 -DLONG_32
172 #CFLAGS = -O2 -std1
173 #AIX:
174 #CFLAGS= -O3
175 #HP-UX:
176 #CFLAGS= -O3 -fPIC
177 #IRIX:
178 #CFLAGS= -n32 -O3
179 #Amiga with GNU compiler:
180 #CFLAGS= -m68020-60 -ffast-math -mstackextend
181 # You can add -noixemul for Amiga and successfully compile most of the
182 # programs. (Of the remaining ones, if you can supply your own strtod()
183 # function, most of them will build with -noixemul). So try building
184 # with 'make --keep-going CADD=-noixemul' first, then just 'make' to build
185 # everything that failed for lack of the ixemul library in the first step.
186 # That way, the parts that don't required the ixemul library won't indicate
187 # a dependency on it.
188 #OpenBSD:
189 #CFLAGS = -I/usr/local/include
190
191 # EXE is a suffix that the linker puts on any executable it generates.
192 # In cygwin, this is .exe and most programs deal with its existence without
193 # us having to know about it. Some don't though, so set this:
194
195 EXE =
196 #Cygwin, DJGPP/Windows:
197 #EXE = .exe
198
199 # linker options.
200
201 # LDFLAGS is often set as an environment variable; A setting here overrides
202 # it. So either make sure you want to override it, or do a "LDFLAGS +=" here.
203
204 # LDFLAGS is usually not the right place for a -L option, because we put
205 # LDFLAGS _before_ our own -L options, so it would cancel out our
206 # specific selection of libraries. For example, if you say
207 # LDFLAGS=/usr/local/lib and an old copy of the libnetpbm is in
208 # /usr/local/lib, then you'd be linking against that old copy instead of
209 # the copy you just built, which is located by a -L option later on the
210 # link command. LIBS is the right variable for adding -L options. LIBS
211 # goes after any of our make files' own -L options.
212
213 # Eunice users may want to use -noshare so that the executables can
214 # run standalone:
215 #LDFLAGS += -noshare
216 #Tru64:
217 # Russ Allberry says on 2001.06.09 that -oldstyle_liblookup may be necessary
218 # to keep from finding an ancient system libjpeg.so that isn't compatible with
219 # NetPBM. Michael Long found that /usr/local/lib is not in the default
220 # search path, or not soon enough, and he was getting an old libjpeg that
221 # caused all the jpeg symbol references to be unresolved. He had installed
222 # a new libjpeg in /usr/local/lib.
223 #LDFLAGS += -call_shared -oldstyle_liblookup -L/usr/local/lib
224 #AIX:
225 #LDFLAGS += -L /usr/pubsw/lib
226 #HP-UX:
227 #LDFLAGS += -Wl,+b,/usr/pubsw/lib
228 #IRIX:
229 #LDFLAGS += -n32
230
231 # Linker options for created Netpbm shared libraries.
232
233 # Here, $(SONAME) resolves to the soname for the shared library being created.
234 # The following are gcc options. This works on GNU libc systems.
235 LDSHLIB = -shared -Wl,-soname,$(SONAME)
236 # You need -nostart instead of -shared on BeOS. Though the BeOS compiler is
237 # ostensibly gcc, it has the -nostart option, which is not mentioned in gcc
238 # documentation and doesn't exist in at least one non-BeOS installation.
239 # BeOS doesn't have sonames built in.
240 #LDSHLIB = -nostart
241 #LDSHLIB = -G
242 # Solaris, SunOS with GNU Ld, SCO:
243 # These systems have no soname option.
244 #LDSHLIB = -shared
245 # Solaris with Sun Ld:
246 #LDSHLIB = -Wl,-Bdynamic,-G,-h,$(SONAME)
247 #Tru64:
248 #LDSHLIB = -shared -expect_unresolved "*"
249 #IRIX:
250 #LDSHLIB = -shared -n32
251 #AIX GNU compiler/linker:
252 #LDSHLIB = -shared
253 #AIX Visual Age C:
254 #LDSHLIB = -qmkshrobj
255
256 # LDRELOC is the command to combine two .o files (relocateable object files)
257 # into a single .o file that can later be linked into something else. NONE
258 # means no such command is available.
259
260 LDRELOC = NONE
261 # GNU Ld:
262 # Older GNU Ld misspells the option as --relocateable. Newer GNU Ld
263 # correctly spells it --relocatable. The abbreviation --reloc works on
264 # both.
265 #LDRELOC = ld --reloc
266 #LDRELOC = ld -r
267
268
269 # On older systems, you have to make shared libraries out of position
270 # independent code, so you need -fpic or fPIC here. (The rule is: if
271 # -fpic works, use it. If it bombs, go to fPIC). On newer systems,
272 # it isn't necessary, but can save real memory at the expense of
273 # execution speed. Without position independent code, the library
274 # loader may have to patch addresses into the executable text. On an
275 # older system, this would cause a program crash because the loader
276 # would be writing into read-only shared memory. But on newer
277 # systems, the system silently creates a private mapping of the page
278 # or segment being modified (the "copy on write" phenomenon). So it
279 # needs its own private real page frame. In one experiment, A second
280 # copy of Pbmtext used 16K less real memory when built with -fpic than
281 # when built without. 2001.06.02.
282
283 # We have seen -fPIC required on IA64 and AMD64 machines (GNU
284 # compiler/linker). Build-time linking fails without it. I don't
285 # know why -- history seems to be repeating itself. 2005.02.23.
286
287 CFLAGS_SHLIB =
288 # Solaris or SunOS with gcc, and NetBSD:
289 #CFLAGS_SHLIB = -fpic
290 #CFLAGS_SHLIB = -fPIC
291 # Sun compiler:
292 #CFLAGS_SHLIB = -Kpic
293 #CFLAGS_SHLIB = -KPIC
294
295 # SHLIB_CLIB is the link option to include the C library in a shared library,
296 # normally "-lc". On typical systems, this serves no purpose. On some,
297 # though, it causes information about which C library to use to be recorded
298 # in the shared library and thus choose the correct library among several or
299 # avoid using an incompatible one. But on some systems, the link fails.
300 # On 2002.09.30, "John H. DuBois III" <spcecdt@armory.com> reports that on
301 # SCO OpenServer, he gets the following error message with -lc:
302 #
303 # -lc; relocations referenced ; from file(s) /usr/ccs/lib/libc.so(random.o);
304 # fatal error: relocations remain against allocatable but non-writable
305 # section: ; .text
306
307 SHLIB_CLIB = -lc
308 # SCO:
309 SHLIB_CLIB =
310
311 # On some systems you have to build into an executable the list of
312 # directories where its dynamically linked libraries can be found at
313 # run time. This is typically done with a -R or -rpath linker
314 # option. Even on systems that don't require it, you might prefer to do
315 # that rather than set up environment variables or configuration files
316 # to tell the system where the libraries are. A "Y" here means to put
317 # the directory information in the executable at link time.
318
319 NEED_RUNTIME_PATH = N
320 # Solaris, SunOS, NetBSD, AIX:
321 #NEED_RUNTIME_PATH = Y
322
323 # RPATHOPTNAME is the option you use on the link command to specify
324 # a runtime search path for a shared library. It is meaningless unless
325 # NEED_RUNTIME_PATH is Y.
326 RPATHOPTNAME = -rpath
327
328 # The following variables tell where your various libraries on which
329 # Netpbm depends live. The LIBxxx variable is a full file
330 # specification of the link library (not necessarily the library used
331 # at run time). e.g. "/usr/local/lib/graphics/libjpeg.so". It usually
332 # doesn't matter if the library prefix and suffix are right -- you can
333 # use "lib" and ".so" or ".a" regardless of what your system actually
334 # uses because these just turn into "-L" and "-l" linker options
335 # anyway. ".a" implies a static library for some purposes, though.
336 # If you don't have the library in question, use a value of NONE for
337 # LIBxxx and the build will simply skip the programs that require that
338 # library. If the library is in your linker's (or the Netpbm build's)
339 # default search path, leave off the directory part, e.g. "libjpeg.so".
340
341 # The xxxHDR_DIR variable is the directory in which the interface
342 # headers for the library live (e.g. /usr/include). If they are in your
343 # compiler's default search path, set this variable to null.
344
345 # This is where the Netpbm shared libraries will reside when Netpbm is
346 # fully installed. In some configurations, the Netpbm builder builds
347 # this information into the Netpbm executables. This does NOT affect
348 # where the Netpbm installer installs the libraries. A null value
349 # means the libraries are in a default search path used by the runtime
350 # library loader.
351 NETPBMLIB_RUNTIME_PATH =
352 #NETPBMLIB_RUNTIME_PATH = /usr/lib/netpbm
353
354 # The TIFF library. See above. If you want to build the tiff
355 # converters, you must have the tiff library already installed.
356
357 TIFFLIB = NONE
358 TIFFHDR_DIR =
359
360 #TIFFLIB = libtiff.so
361 #TIFFHDR_DIR = /usr/include/libtiff
362 #NetBSD:
363 #TIFFLIB = $(LOCALBASE)/lib/libtiff.so
364 #TIFFHDR_DIR = $(LOCALBASE)/include
365 # OSF, Tru64:
366 #TIFFLIB = /usr/local1/DEC/lib/libtiff.so
367 #TIFFHDR_DIR = /usr/local1/DEC/include
368
369 # Some TIFF libraries do Jpeg and/or Z (flate) compression and thus any
370 # program linked with the TIFF library needs a Jpeg and/or Z library.
371 # Some TIFF libraries have such library statically linked in, but others
372 # need it to be dynamically linked at program load time.
373 # Make this 'N' if youf TIFF library doesn't need such dynamic linking.
374 # As of 2005.01, the most usual build of the TIFF library appears to require
375 # both.
376 TIFFLIB_NEEDS_JPEG = Y
377 TIFFLIB_NEEDS_Z = Y
378
379 # The JPEG library. See above. If you want to build the jpeg
380 # converters you must have the jpeg library already installed.
381
382 # Tiff files can use JPEG compression, so the Tiff library can reference
383 # the JPEG library. If your Tiff library references a dynamic JPEG
384 # library, you must specify at least JPEGLIB here, or the Tiff
385 # converters will not build. Note that your Tiff library may have the
386 # JPEG stuff statically linked in, in which case you won't need
387 # JPEGLIB in order to build the Tiff converters.
388
389 JPEGLIB = NONE
390 JPEGHDR_DIR =
391 #JPEGLIB = libjpeg.so
392 #JPEGHDR_DIR = /usr/include/jpeg
393 # Netbsd:
394 #JPEGLIB = ${LOCALBASE}/lib/libjpeg.so
395 #JPEGHDR_DIR = ${LOCALBASE}/include
396 # OSF, Tru64:
397 #JPEGLIB = /usr/local1/DEC/libjpeg.so
398 #JPEGHDR_DIR = /usr/local1/DEC/include
399 # Typical:
400 #JPEGLIB = /usr/local/lib/libjpeg.so
401 #JPEGHDR_DIR = /usr/local/include
402 # Don't build JPEG stuff:
403 #JPEGLIB = NONE
404
405
406 # The PNG library. See above. If you want to build the PNG
407 # converters you must have the PNG library already installed.
408
409 # The PNG library, by convention starting around April 2002, gets installed
410 # with names that include a version number, such as libpng10.a and header
411 # files in /usr/include/libpng10. But there is conventionally an unnumbered
412 # alias (e.g. libpng.a, /usr/include/libpng) for the preferred version.
413 #
414 # Recent versions of the library (since some time in the 2002-2006 period)
415 # have an associated 'libpng-config' that tells how to link it. The make
416 # files will use that program if it exists (must be in the PATH). In that
417 # case, PNGLIB and PNGHDR_DIR are irrelevant, but PNGVER is still meaningful,
418 # because the make file runs 'libpng$(PNGVER)-config'.
419
420 PNGLIB = NONE
421 PNGHDR_DIR =
422 PNGVER =
423 #PNGLIB = libpng$(PNGVER).so
424 #PNGHDR_DIR = /usr/include/libpng$(PNGVER)
425 # NetBSD:
426 #PNGLIB = $(LOCALBASE)/lib/libpng$(PNGVER).so
427 #PNGHDR_DIR = $(LOCALBASE)/include
428 # OSF/Tru64:
429 #PNGLIB = /usr/local1/DEC/lib/libpng$(PNGVER).so
430 #PNGHDR_DIR = /usr/local1/DEC/include
431
432 # The zlib compression library. See above. You need it to build
433 # anything that needs the PNG library (see above). If you selected
434 # NONE for the PNG library, it doesn't matter what you specify here --
435 # it won't get used.
436 #
437 # If you have 'libpng-config' (see above), these are irrelevant.
438
439 ZLIB = NONE
440 ZHDR_DIR =
441 #ZLIB = libz.so
442
443 # The JBIG lossless image compression library (aka JBIG-KIT):
444
445 JBIGLIB = $(BUILDDIR)/converter/other/jbig/libjbig.a
446 JBIGHDR_DIR = $(SRCDIR)/converter/other/jbig
447
448 # The Jasper JPEG-2000 image compression library (aka JasPer):
449 JASPERLIB = $(INTERNAL_JASPERLIB)
450 JASPERHDR_DIR = $(INTERNAL_JASPERHDR_DIR)
451 # JASPERDEPLIBS is the libraries (-l options or file names) on which
452 # The Jasper library depends -- i.e. what you have to link into any
453 # executable that links in the Jasper library.
454 JASPERDEPLIBS =
455 #JASPERDEPLIBS = -ljpeg
456
457 # And the Utah Raster Toolkit (aka URT aka RLE) library:
458
459 URTLIB = $(BUILDDIR)/urt/librle.a
460 URTHDR_DIR = $(SRCDIR)/urt
461
462 # The X11 library has facilities for talking to an X Window System
463 # server. It is required by Pamx.
464
465 X11LIB = NONE
466 X11HDR_DIR =
467
468 #X11LIB = /usr/lib/libX11.so
469 #X11HDR_DIR =
470
471 # The Linux SVGA library (Svgalib) is a facility for displaying graphics
472 # on the Linux console. It is required by Ppmsvgalib.
473
474 LINUXSVGALIB = NONE
475 LINUXSVGAHDR_DIR =
476
477 #LINUXSVGALIB = /usr/lib/libvga.so
478 #LINUXSVGAHDR_DIR = /usr/include/vgalib
479
480 # If you don't want any network functions, set OMIT_NETWORK to "y".
481 # The only thing that requires network functions is the option in
482 # ppmtompeg to run it on multiple computers simultaneously. On some
483 # systems network functions don't work or we haven't figured out how to
484 # make them work, or they just aren't worth the effort.
485 OMIT_NETWORK =
486 #DJGPP/Windows, Tru64:
487 # (there's some minor header problem that prevents network functions from
488 # building on Tru64 2000.10.06)
489 #OMIT_NETWORK = y
490
491 # These are -l options to link in the network libraries. Often, these are
492 # built into the standard C library, so this can be null. This is irrelevant
493 # if OMIT_NETWORK is "y".
494
495 NETWORKLD =
496 # Solaris, SunOS:
497 #NETWORKLD = -lsocket -lnsl
498 # SCO:
499 #NETWORKLD = -lsocket, -lresolv
500
501 VMS =
502 #VMS:
503 #VMS = yes
504
505 # DONT_HAVE_PROCESS_MGMT is Y if this system doesn't have the usual
506 # Unix process management stuff - fork, wait, etc. N for a regular Unix
507 # system.
508 DONT_HAVE_PROCESS_MGMT = N
509
510 # The following variables are used only by 'make install' (and the
511 # variants of it). Paths here don't, for example, get built into any
512 # programs.
513
514 # This is where everything goes when you do 'make package', unless you
515 # override it by setting 'pkgdir' on the Make command line.
516 PKGDIR_DEFAULT = /tmp/netpbm
517
518 # Subdirectory of the package directory ($(pkgdir)) in which man pages
519 # go.
520 PKGMANDIR = man
521
522 # File permissions for installed files.
523 # Note that on some systems (e.g. Solaris), 'install' can't use the
524 # mnemonic permissions - you have to use octal.
525
526 # binaries (pbmmake, etc)
527 INSTALL_PERM_BIN = 755 # u=rwx,go=rx
528 # shared libraries (libpbm.so, etc)
529 INSTALL_PERM_LIBD = 755 # u=rwx,go=rx
530 # static libraries (libpbm.a, etc)
531 INSTALL_PERM_LIBS = 644 # u=rw,go=r
532 # header files (pbm.h, etc)
533 INSTALL_PERM_HDR = 644 # u=rw,go=r
534 # man pages (pbmmake.1, etc)
535 INSTALL_PERM_MAN = 644 # u=rw,go=r
536 # data files (pnmtopalm color maps, etc)
537 INSTALL_PERM_DATA = 644 # u=rw,go=r
538
539 # Specify the suffix that want the man pages to have.
540
541 SUFFIXMANUALS1 = 1
542 SUFFIXMANUALS3 = 3
543 SUFFIXMANUALS5 = 5
544
545 #NETPBMLIBTYPE tells the kind of libraries that will get built to hold the
546 #Netpbm library functions. The value is used only in make file tests.
547 # "unixshared" means a unix-style shared library, typically named like
548 # libxyz.so.2.3
549 NETPBMLIBTYPE = unixshared
550 # "unixstatic" means a unix-style static library, (like libxyz.a)
551 #NETPBMLIBTYPE = unixstatic
552 # "dll" means a Windows DLL shared library
553 #NETPBMLIBTYPE = dll
554 # "dylib" means a Darwin/Mac OS shared library
555 #NETPBMLIBTYPE = dylib
556
557 #NETPBMLIBSUFFIX is the suffix used on whatever kind of library is
558 #selected above. All this is used for is to construct library names.
559 #The make files never examine the actual value.
560 NETPBMLIBSUFFIX = so
561
562 # "a" is the suffix for unix-style static libraries. It is also
563 # traditionally used for shared libraries on AIX. The Visual Age C
564 # manual says sometimes .so works on AIX, and GNU software for AIX
565 # 5.1.0 does indeed use it. In our experiments, it works fine if you
566 # name the library file explicitly on the link, but isn't in the -l
567 # search order. If you name the library explicitly on the link, the
568 # library must live in exactly the same position at run time, so we
569 # can't use that. Therefore, you cannot build both static and shared
570 # libraries with AIX. You have to choose.
571 #NETPBMLIBSUFFIX = a
572 # For HP-UX shared libraries:
573 #NETPBMLIBSUFFIX = sl
574 # Darwin/Mac OS shared library:
575 #NETPBMLIBSUFFIX = dylib
576 # Windows shared library:
577 #NETPBMLIBSUFFIX = dll
578
579 #STATICLIB_TOO is "y" to signify that you want a static library built
580 #and installed in addition to whatever library type you specified by
581 #NETPBMLIBTYPE. If NETPBMLIBTYPE specified a static library,
582 #STATICLIB_TOO simply has no effect.
583 STATICLIB_TOO = y
584 #STATICLIB_TOO = n
585
586 #STATICLIBSUFFIX is the suffix that static libraries have. It's
587 #meaningless if you aren't building static libraries.
588 STATICLIBSUFFIX = a
589
590 #SHLIBPREFIXLIST is a blank-delimited list of prefixes that a filename
591 #of a shared library may have on this system. Traditionally, it's
592 #just "lib", as in libc or libnetpbm. On Windows, though, varying
593 #prefixes are used when multiple alternative forms of a library are
594 #available. The first prefix in this list is what we use to name the
595 #Netpbm shared libraries.
596 #
597 # This variable controls how 'libopt' gets built.
598 #
599 SHLIBPREFIXLIST = lib
600 #Cygwin:
601 #SHLIBPREFIXLIST = cyg lib
602
603 NETPBMSHLIBPREFIX = $(firstword $(SHLIBPREFIXLIST))
604
605 #DLLVER is used to version the DLLs built on cygwin or other
606 #windowsish platforms. We can't add this to LIBROOT, or we'd
607 #version the static libs (which is bad). We can't add this
608 #at the end of the name (like unix does with so numbers) because
609 #windows will only load dlls whose name ends in "dll". So,
610 #we have this variable, which becomes the end of the library "root" name
611 #for DLLs only.
612 #
613 # This variable controls how 'libopt' gets built.
614 #
615 DLLVER =
616 #Cygwin
617 #DLLVER = $(NETPBM_MAJOR_RELEASE)
618
619 #NETPBM_DOCURL is the URL of the main documentation page for Netpbm.
620 #This is a directory which contains a file for each Netpbm program,
621 #library, and file type. E.g. The documentation for jpegtopnm might be in
622 #http://netpbm.sourceforge.net/doc/jpegtopnm.html . This value gets
623 #installed in the man pages (which say no more than to read the webpage)
624 #and in the Webman netpbm.url file.
625 NETPBM_DOCURL = http://netpbm.sourceforge.net/doc/
626 #For a system with no web access, but a local copy of the doc:
627 #NETPBM_DOCURL = file:/usr/doc/netpbm/
628
629
630
631
632
633 ####Lines above were copied from Makefile.config.in by 'configure'.
634 ####Lines below were added by 'configure' based on the GNU platform.
635 DEFAULT_TARGET = nonmerge
636 NETPBMLIBTYPE=unixshared
637 NETPBMLIBSUFFIX=so
638 STATICLIB_TOO=y
639 CFLAGS = #CFLAGS#
640 CFLAGS_MERGE = -Wno-missing-declarations -Wno-missing-prototypes
641 LDRELOC = ld --reloc
642 LINKER_CAN_DO_EXPLICIT_LIBRARY=Y
643 LINKERISCOMPILER = Y
644 TIFFLIB = libtiff.so
645 JPEGLIB = libjpeg.so
646 PNGLIB = libpng.so
647 ZLIB = libz.so
648 X11LIB = /usr/lib/libX11.so
649 NETPBM_DOCURL = http://netpbm.sourceforge.net/doc/
|