Ticket #487: Makefile.config.darwin

File Makefile.config.darwin, 609 bytes (added by fenner@…, 18 years ago)

Auxilliary config file, goes in files/

Line 
1#
2# Mac OS X (Darwin) configuration
3#
4DEFAULT_TARGET  = nonmerge
5NETPBMLIBTYPE   = dylib
6NETPBMLIBSUFFIX = dylib
7STATICLIB_TOO   = n
8NETPBM_RUNTIME_PATH = @PREFIX@/lib
9CC              = cc -no-cpp-precomp
10CFLAGS          = -O3 -I@PREFIX@/include
11CFLAGS_SHLIB    = -fno-common
12LDFLAGS         = -L@PREFIX@/lib
13LDSHLIB         = -dynamiclib \
14                  -install_name $(NETPBM_RUNTIME_PATH)/libnetpbm.dylib \
15                  -compatibility_version $(MAJ) \
16                  -current_version $(MAJ).$(MIN)
17TIFFLIB         = -ltiff
18JPEGLIB         = -ljpeg
19PNGLIB          = -lpng
20ZLIB            = -lz