View | Details | Raw Unified
Collapse All | Expand All

(-) Makefile.config.orig (-6 / +14 lines)
 Lines 180-186    Link Here 
# Here, $(SONAME) resolves to the soname for the shared library being created.
# Here, $(SONAME) resolves to the soname for the shared library being created.
# The following are gcc options.  This works on GNU libc systems.
# The following are gcc options.  This works on GNU libc systems.
LDSHLIB = -shared -Wl,-soname,$(SONAME)
#LDSHLIB = -shared -Wl,-soname,$(SONAME)
# You need -nostart instead of -shared on BeOS.  Though the BeOS compiler is
# You need -nostart instead of -shared on BeOS.  Though the BeOS compiler is
# ostensibly gcc, it has the -nostart option, which is not mentioned in gcc
# ostensibly gcc, it has the -nostart option, which is not mentioned in gcc
# documentation and doesn't exist in at least one non-BeOS installation.
# documentation and doesn't exist in at least one non-BeOS installation.
 Lines 201-206    Link Here 
#AIX Visual Age C:
#AIX Visual Age C:
#LDSHLIB = -qmkshrobj
#LDSHLIB = -qmkshrobj
LDSHLIB = -dynamiclib -install_name $(NETPBM_RUNTIME_PATH)/libnetpbm.$(MAJ).dynlib
# LDRELOC is the command to combine two .o files (relocateable object files)
# LDRELOC is the command to combine two .o files (relocateable object files)
# into a single .o file that can later be linked into something else.  NONE
# into a single .o file that can later be linked into something else.  NONE
# means no such command is available.
# means no such command is available.
 Lines 225-231    Link Here 
# copy of Pbmtext used 16K less real memory when built with -fpic than
# copy of Pbmtext used 16K less real memory when built with -fpic than
# when built without.  2001.06.02.
# when built without.  2001.06.02.
CFLAGS_SHLIB = 
#CFLAGS_SHLIB = 
# Solaris or SunOS with gcc, and NetBSD:
# Solaris or SunOS with gcc, and NetBSD:
#CFLAGS_SHLIB = -fpic
#CFLAGS_SHLIB = -fpic
#CFLAGS_SHLIB = -fPIC
#CFLAGS_SHLIB = -fPIC
 Lines 233-238    Link Here 
#CFLAGS_SHLIB = -Kpic
#CFLAGS_SHLIB = -Kpic
#CFLAGS_SHLIB = -KPIC
#CFLAGS_SHLIB = -KPIC
CFLAGS_SHLIB = -fno-common
# SHLIB_CLIB is the link option to include the C library in a shared library,
# SHLIB_CLIB is the link option to include the C library in a shared library,
# normally "-lc".  On typical systems, this serves no purpose.  On some,
# normally "-lc".  On typical systems, this serves no purpose.  On some,
# though, it causes information about which C library to use to be recorded
# though, it causes information about which C library to use to be recorded
 Lines 453-459    Link Here 
#Netpbm library functions.  The value is used only in make file tests.
#Netpbm library functions.  The value is used only in make file tests.
# "unixshared" means a unix-style shared library, typically named like 
# "unixshared" means a unix-style shared library, typically named like 
# libxyz.so.2.3
# libxyz.so.2.3
NETPBMLIBTYPE = unixshared
#NETPBMLIBTYPE = unixshared
# "unixstatic" means a unix-style static library, (like libxyz.a)
# "unixstatic" means a unix-style static library, (like libxyz.a)
#NETPBMLIBTYPE = unixstatic
#NETPBMLIBTYPE = unixstatic
# "dll" means a Windows DLL shared library
# "dll" means a Windows DLL shared library
 Lines 461-470    Link Here 
# "dylib" means a Darwin/Mac OS shared library
# "dylib" means a Darwin/Mac OS shared library
#NETPBMLIBTYPE = dylib
#NETPBMLIBTYPE = dylib
NETPBMLIBTYPE = dylib
#NETPBMLIBSUFFIX is the suffix used on whatever kind of library is 
#NETPBMLIBSUFFIX is the suffix used on whatever kind of library is 
#selected above.  All this is used for is to construct library names.
#selected above.  All this is used for is to construct library names.
#The make files never examine the actual value.
#The make files never examine the actual value.
NETPBMLIBSUFFIX = so
#NETPBMLIBSUFFIX = so
NETPBMLIBSUFFIX = dylib
# "a" is the suffix for unix-style static libraries.  It is also
# "a" is the suffix for unix-style static libraries.  It is also
# traditionally used for shared libraries on AIX.  The Visual Age C
# traditionally used for shared libraries on AIX.  The Visual Age C
 Lines 487-494    Link Here 
#and installed in addition to whatever library type you specified by
#and installed in addition to whatever library type you specified by
#NETPBMLIBTYPE.  If NETPBMLIBTYPE specified a static library,
#NETPBMLIBTYPE.  If NETPBMLIBTYPE specified a static library,
#STATICLIB_TOO simply has no effect.
#STATICLIB_TOO simply has no effect.
STATICLIB_TOO = y
#STATICLIB_TOO = y
#STATICLIB_TOO = n
STATICLIB_TOO = n
#STATICLIBSUFFIX is the suffix that static libraries have.  It's
#STATICLIBSUFFIX is the suffix that static libraries have.  It's
#meaningless if you aren't building static libraries.
#meaningless if you aren't building static libraries.