diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2019-06-28 23:07:55 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2019-06-28 23:07:55 +0000 |
commit | 11fd0bc3fdbe7b5eb9266a728a81d0bcac91fe32 (patch) | |
tree | 7c40f096dd973943ef563ec87b2a68d8205db4fb /config.mk.in | |
parent | 89c6ec14eb7514630aea5abc4b90b51d1473d33a (diff) | |
download | netpbm-mirror-11fd0bc3fdbe7b5eb9266a728a81d0bcac91fe32.tar.gz netpbm-mirror-11fd0bc3fdbe7b5eb9266a728a81d0bcac91fe32.tar.xz netpbm-mirror-11fd0bc3fdbe7b5eb9266a728a81d0bcac91fe32.zip |
Promote Stable to Super_stable
git-svn-id: http://svn.code.sf.net/p/netpbm/code/super_stable@3640 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'config.mk.in')
-rw-r--r-- | config.mk.in | 72 |
1 files changed, 51 insertions, 21 deletions
diff --git a/config.mk.in b/config.mk.in index 0e061701..0f2ccb6c 100644 --- a/config.mk.in +++ b/config.mk.in @@ -89,6 +89,17 @@ INTTYPES_H = <inttypes.h> HAVE_INT64 = Y #HAVE_INT64 = N +# WANT_SSE tells whether the build should use SSE instructions, via the the +# standard SSE intrinsics (operators such as '_mm_movemask_epi8'). SSE +# instructions are faster than traditional instructions, but aren't available +# on all CPUs. Also, the standard intrinsics are not available in all +# compilers. Even if you say N here, Netpbm may still be built with some +# SSE exploitation (e.g. SSE floating point) because the compiler will +# do it automatically. You can add a -nomsse or -nomsse2 option to +# CFLAGS or CFLAGS_PERSONAL to stop that. +WANT_SSE = N +#WANT_SSE = Y + # CC and LD are for building the Netpbm programs, which are not necessarily # intended to run on the same system on which Make is running. But when we # build a build tool such as Libopt, it is meant to run only on the same @@ -96,9 +107,13 @@ HAVE_INT64 = Y # to use to compile and link build tools. CC_FOR_BUILD = $(CC) LD_FOR_BUILD = $(LD) -CFLAGS_FOR_BUILD = $(CFLAGS) +CFLAGS_FOR_BUILD = $(CFLAGS_CONFIG) LDFLAGS_FOR_BUILD = $(LDFLAGS) +# WINDRES is the program that creates a linkable object file from +# a Windows Icon (.ico) file. +WINDRES = windres + # MAKE is set automatically by Make to what was used to invoke Make. INSTALL = $(SRCDIR)/buildtools/install.sh @@ -154,7 +169,7 @@ LEX = flex # -pedantic isn't a problem because it causes at worst a warning. #CFLAGS = -O3 -ffast-math -pedantic -fno-common \ # -Wall -Wno-uninitialized -Wmissing-declarations -Wimplicit \ -# -Wwrite-strings -Wmissing-prototypes -Wundef +# -Wwrite-strings -Wmissing-prototypes -Wundef -Wno-unknown-pragmas # The merged programs have a main_XXX subroutine instead of main(), # which would cause a warning with -Wmissing-declarations or # -Wmissing-prototypes. @@ -375,12 +390,11 @@ TIFFHDR_DIR = #TIFFHDR_DIR = /usr/local1/DEC/include # Some TIFF libraries do Jpeg and/or Z (flate) compression and thus any -# program linked with the TIFF library needs a Jpeg and/or Z library. -# Some TIFF libraries have such library statically linked in, but others -# need it to be dynamically linked at program load time. -# Make this 'N' if youf TIFF library doesn't need such dynamic linking. -# As of 2005.01, the most usual build of the TIFF library appears to require -# both. +# program linked with the TIFF library needs a Jpeg and/or Z library. Some +# TIFF libraries have such library statically linked in, but others need it to +# be linked with the program at link-edit time or dynamically at program load +# time. Make this 'N' if your TIFF library doesn't need such linking. As of +# 2005.01, the most usual build of the TIFF library appears to require both. TIFFLIB_NEEDS_JPEG = Y TIFFLIB_NEEDS_Z = Y @@ -424,6 +438,14 @@ JPEGHDR_DIR = # files will use that program if it exists (must be in the PATH). In that # case, PNGLIB and PNGHDR_DIR are irrelevant, but PNGVER is still meaningful, # because the make file runs 'libpng$(PNGVER)-config'. +# +# Even more recent versions have the more modern Pkgconfig database entry +# to tell how to link it. The make files will try to use that first. +# +# The normal way to choose the libpng the Netpbm build uses from among multiple +# versions on your system is not to mess with the variables below, but rather +# to mess with PKG_CONFIG_PATH or PATH environment variable so that the version +# you want to use appears first in the search path. PNGLIB = NONE PNGHDR_DIR = @@ -450,8 +472,8 @@ ZHDR_DIR = # The JBIG lossless image compression library (aka JBIG-KIT): -JBIGLIB = $(BUILDDIR)/converter/other/jbig/libjbig.a -JBIGHDR_DIR = $(SRCDIR)/converter/other/jbig +JBIGLIB = $(INTERNAL_JBIGLIB) +JBIGHDR_DIR = $(INTERNAL_JBIGHDR_DIR) # The Jasper JPEG-2000 image compression library (aka JasPer): JASPERLIB = $(INTERNAL_JASPERLIB) @@ -485,7 +507,12 @@ LINUXSVGAHDR_DIR = #LINUXSVGALIB = /usr/lib/libvga.so #LINUXSVGAHDR_DIR = /usr/include/vgalib -# If you don't want any network functions, set OMIT_NETWORK to "y". +# WINICON_OBJECT is the object file to bind into all Netpbm executables +# to provide the icon for Windows to use for it. Null for none. +WINICON_OBJECT = +#WINICON_OBJECT = $(BUILDDIR)/icon/netpbm.o + +# If you don't want any network functions, set OMIT_NETWORK to "Y". # The only thing that requires network functions is the option in # ppmtompeg to run it on multiple computers simultaneously. On some # systems network functions don't work or we haven't figured out how to @@ -494,11 +521,11 @@ OMIT_NETWORK = #DJGPP/Windows, Tru64: # (there's some minor header problem that prevents network functions from # building on Tru64 2000.10.06) -#OMIT_NETWORK = y +#OMIT_NETWORK = Y # These are -l options to link in the network libraries. Often, these are # built into the standard C library, so this can be null. This is irrelevant -# if OMIT_NETWORK is "y". +# if OMIT_NETWORK is "Y". NETWORKLD = # Solaris, SunOS: @@ -506,10 +533,6 @@ NETWORKLD = # SCO: #NETWORKLD = -lsocket, -lresolv -VMS = -#VMS: -#VMS = yes - # DONT_HAVE_PROCESS_MGMT is Y if this system doesn't have the usual # Unix process management stuff - fork, wait, etc. N for a regular Unix # system. @@ -523,6 +546,10 @@ DONT_HAVE_PROCESS_MGMT = N # override it by setting 'pkgdir' on the Make command line. PKGDIR_DEFAULT = /tmp/netpbm +# This is where test results are written when you do 'make check', unless +# you override it by setting 'resultdir' on the Make command line. +RESULTDIR_DEFAULT = /tmp/netpbm-test + # Subdirectory of the package directory ($(pkgdir)) in which man pages # go. PKGMANDIR = man @@ -584,12 +611,12 @@ NETPBMLIBSUFFIX = so # Windows shared library: #NETPBMLIBSUFFIX = dll -#STATICLIB_TOO is "y" to signify that you want a static library built +#STATICLIB_TOO is "Y" to signify that you want a static library built #and installed in addition to whatever library type you specified by #NETPBMLIBTYPE. If NETPBMLIBTYPE specified a static library, #STATICLIB_TOO simply has no effect. -STATICLIB_TOO = y -#STATICLIB_TOO = n +STATICLIB_TOO = Y +#STATICLIB_TOO = N #STATICLIBSUFFIX is the suffix that static libraries have. It's #meaningless if you aren't building static libraries. @@ -629,8 +656,11 @@ DLLVER = #library, and file type. E.g. The documentation for jpegtopnm might be in #http://netpbm.sourceforge.net/doc/jpegtopnm.html . This value gets #installed in the man pages (which say no more than to read the webpage) -#and in the Webman netpbm.url file. +#and in the Manweb netpbm.url file. NETPBM_DOCURL = http://netpbm.sourceforge.net/doc/ #For a system with no web access, but a local copy of the doc: #NETPBM_DOCURL = file:/usr/doc/netpbm/ +# RGB_DB_PATH is where Netpbm looks for the color database when the RGBDEF +# environment variable is not set. See pm_config_in.h for details. +RGB_DB_PATH = /usr/share/netpbm/rgb.txt:/usr/lib/X11/rgb.txt:/usr/share/X11/rgb.txt:/usr/X11R6/lib/X11/rgb.txt |