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