Changeset 561 for trunk/src/3rdparty/libpng/scripts
- Timestamp:
- Feb 11, 2010, 11:19:06 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 55 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/vendor/nokia/qt/4.6.1 merged eligible /branches/vendor/nokia/qt/current merged eligible /branches/vendor/trolltech/qt/current 3-149
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/src/3rdparty/libpng/scripts/CMakeLists.txt
r2 r561 1 2 project(PNG)1 project(PNG C) 2 cmake_minimum_required(VERSION 2.4.3) 3 3 4 4 # Copyright (C) 2007 Glenn Randers-Pehrson 5 # For conditions of distribution and use, see copyright notice in png.h 5 6 # This code is released under the libpng license. 7 # For conditions of distribution and use, see the disclaimer 8 # and license in png.h 6 9 7 10 set(PNGLIB_MAJOR 1) 8 11 set(PNGLIB_MINOR 2) 9 set(PNGLIB_RELEASE 29)12 set(PNGLIB_RELEASE 40) 10 13 set(PNGLIB_NAME libpng${PNGLIB_MAJOR}${PNGLIB_MINOR}) 11 14 set(PNGLIB_VERSION ${PNGLIB_MAJOR}.${PNGLIB_MINOR}.${PNGLIB_RELEASE}) 12 15 16 set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true) 17 13 18 # needed packages 14 19 find_package(ZLIB REQUIRED) 20 include_directories(${ZLIB_INCLUDE_DIR}) 21 15 22 if(NOT WIN32) 16 23 find_library(M_LIBRARY … … 21 28 message(STATUS 22 29 "math library 'libm' not found - floating point support disabled") 23 endif( NOT M_LIBRARY)24 else( NOT WIN32)30 endif() 31 else() 25 32 # not needed on windows 26 33 set(M_LIBRARY "") 27 endif(NOT WIN32) 28 34 endif() 29 35 30 36 # COMMAND LINE OPTIONS 31 option(PNG_SHARED "Build shared lib" YES) 32 option(PNG_STATIC "Build static lib" YES) 37 if(DEFINED PNG_SHARED) 38 option(PNG_SHARED "Build shared lib" ${PNG_SHARED}) 39 else() 40 option(PNG_SHARED "Build shared lib" ON) 41 endif() 42 if(DEFINED PNG_STATIC) 43 option(PNG_STATIC "Build static lib" ${PNG_STATIC}) 44 else() 45 option(PNG_STATIC "Build static lib" ON) 46 endif() 47 33 48 if(MINGW) 34 49 option(PNG_TESTS "Build pngtest" NO) … … 36 51 option(PNG_TESTS "Build pngtest" YES) 37 52 endif(MINGW) 53 38 54 option(PNG_NO_CONSOLE_IO "FIXME" YES) 39 55 option(PNG_NO_STDIO "FIXME" YES) 40 option(PNG_DEBUG "Build with debug output" YES)56 option(PNG_DEBUG "Build with debug output" NO) 41 57 option(PNGARG "FIXME" YES) 42 58 #TODO: … … 55 71 endif("uname_output" MATCHES "^.*i[1-9]86.*$") 56 72 endif(uname_executable) 57 else( NOT WIN32)73 else() 58 74 # this env var is normally only set on win64 59 75 SET(TEXT "ProgramFiles(x86)") … … 61 77 set(png_asm_tmp "ON") 62 78 endif("$ENV{${TEXT}}" STREQUAL "") 63 endif( NOT WIN32)79 endif() 64 80 65 81 # SET LIBNAME 66 # msvc does not append 'lib' - do it here to have consistent name 67 if(MSVC) 68 set(PNG_LIB_NAME lib) 69 endif(MSVC) 70 set(PNG_LIB_NAME ${PNG_LIB_NAME}png${PNGLIB_MAJOR}${PNGLIB_MINOR}) 82 set(PNG_LIB_NAME png${PNGLIB_MAJOR}${PNGLIB_MINOR}) 71 83 72 84 # to distinguish between debug and release lib … … 102 114 endif(MSVC) 103 115 104 add_definitions(-DZLIB_DLL) 116 if(PNG_SHARED OR NOT MSVC) 117 #if building msvc static this has NOT do be defined 118 add_definitions(-DZLIB_DLL) 119 endif() 105 120 106 121 add_definitions(-DLIBPNG_NO_MMX) … … 109 124 if(PNG_CONSOLE_IO_SUPPORTED) 110 125 add_definitions(-DPNG_CONSOLE_IO_SUPPORTED) 111 endif( PNG_CONSOLE_IO_SUPPORTED)126 endif() 112 127 113 128 if(PNG_NO_CONSOLE_IO) 114 129 add_definitions(-DPNG_NO_CONSOLE_IO) 115 endif( PNG_NO_CONSOLE_IO)130 endif() 116 131 117 132 if(PNG_NO_STDIO) 118 133 add_definitions(-DPNG_NO_STDIO) 119 endif( PNG_NO_STDIO)134 endif() 120 135 121 136 if(PNG_DEBUG) 122 137 add_definitions(-DPNG_DEBUG) 123 endif( PNG_DEBUG)138 endif() 124 139 125 140 if(NOT M_LIBRARY AND NOT WIN32) 126 141 add_definitions(-DPNG_NO_FLOATING_POINT_SUPPORTED) 127 endif( NOT M_LIBRARY AND NOT WIN32)142 endif() 128 143 129 144 # NOW BUILD OUR TARGET … … 132 147 if(PNG_SHARED) 133 148 add_library(${PNG_LIB_NAME} SHARED ${libpng_sources}) 149 if(MSVC) 150 # msvc does not append 'lib' - do it here to have consistent name 151 set_target_properties(${PNG_LIB_NAME} PROPERTIES PREFIX "lib") 152 endif() 134 153 target_link_libraries(${PNG_LIB_NAME} ${ZLIB_LIBRARY} ${M_LIBRARY}) 135 endif(PNG_SHARED) 154 endif() 155 136 156 if(PNG_STATIC) 137 157 # does not work without changing name 138 158 set(PNG_LIB_NAME_STATIC ${PNG_LIB_NAME}_static) 139 159 add_library(${PNG_LIB_NAME_STATIC} STATIC ${libpng_sources}) 140 endif(PNG_STATIC) 160 if(MSVC) 161 # msvc does not append 'lib' - do it here to have consistent name 162 set_target_properties(${PNG_LIB_NAME_STATIC} PROPERTIES PREFIX "lib") 163 endif() 164 endif() 165 141 166 142 167 if(PNG_SHARED AND WIN32) 143 168 set_target_properties(${PNG_LIB_NAME} PROPERTIES DEFINE_SYMBOL PNG_BUILD_DLL) 144 endif( PNG_SHARED AND WIN32)145 146 if(PNG_TESTS )169 endif() 170 171 if(PNG_TESTS AND PNG_SHARED) 147 172 # does not work with msvc due to png_lib_ver issue 148 173 add_executable(pngtest ${pngtest_sources}) 149 174 target_link_libraries(pngtest ${PNG_LIB_NAME}) 150 175 # add_test(pngtest ${PNG_SOURCE_DIR}/pngtest.png) 151 endif( PNG_TESTS)176 endif() 152 177 153 178 … … 169 194 170 195 # SET UP LINKS 171 set_target_properties(${PNG_LIB_NAME} PROPERTIES 172 # VERSION 0.${PNGLIB_RELEASE}.1.2.29 196 if(PNG_SHARED) 197 set_target_properties(${PNG_LIB_NAME} PROPERTIES 198 # VERSION 0.${PNGLIB_RELEASE}.1.2.40 173 199 VERSION 0.${PNGLIB_RELEASE}.0 174 200 SOVERSION 0 175 201 CLEAN_DIRECT_OUTPUT 1) 176 if(NOT WIN32) 177 # that's uncool on win32 - it overwrites our static import lib... 178 set_target_properties(${PNG_LIB_NAME_STATIC} PROPERTIES 179 OUTPUT_NAME ${PNG_LIB_NAME} 180 CLEAN_DIRECT_OUTPUT 1) 181 endif(NOT WIN32) 202 endif() 203 if(PNG_STATIC) 204 if(NOT WIN32) 205 # that's uncool on win32 - it overwrites our static import lib... 206 set_target_properties(${PNG_LIB_NAME_STATIC} PROPERTIES 207 OUTPUT_NAME ${PNG_LIB_NAME} 208 CLEAN_DIRECT_OUTPUT 1) 209 endif() 210 endif() 211 182 212 # INSTALL 183 install_targets(/lib ${PNG_LIB_NAME}) 184 if(PNG_STATIC) 185 install_targets(/lib ${PNG_LIB_NAME_STATIC}) 186 endif(PNG_STATIC) 187 213 if(NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL ) 214 if(PNG_SHARED) 215 install(TARGETS ${PNG_LIB_NAME} 216 RUNTIME DESTINATION bin 217 LIBRARY DESTINATION lib 218 ARCHIVE DESTINATION lib) 219 endif() 220 if(PNG_STATIC) 221 install(TARGETS ${PNG_LIB_NAME_STATIC} 222 LIBRARY DESTINATION lib 223 ARCHIVE DESTINATION lib) 224 endif() 225 endif() 226 227 if(NOT SKIP_INSTALL_HEADERS AND NOT SKIP_INSTALL_ALL ) 188 228 install(FILES png.h pngconf.h DESTINATION include) 189 229 install(FILES png.h pngconf.h DESTINATION include/${PNGLIB_NAME}) 190 install(FILES libpng.3 libpngpf.3 DESTINATION man/man3) 191 install(FILES png.5 DESTINATION man/man5) 192 install(FILES ${PNG_BINARY_DIR}/libpng.pc DESTINATION lib/pkgconfig) 193 install(FILES ${PNG_BINARY_DIR}/libpng-config DESTINATION bin) 194 install(FILES ${PNG_BINARY_DIR}/${PNGLIB_NAME}.pc DESTINATION lib/pkgconfig) 195 install(FILES ${PNG_BINARY_DIR}/${PNGLIB_NAME}-config DESTINATION bin) 230 endif() 231 if(NOT SKIP_INSTALL_FILES AND NOT SKIP_INSTALL_ALL ) 232 install(FILES libpng.3 libpngpf.3 DESTINATION man/man3) 233 install(FILES png.5 DESTINATION man/man5) 234 install(FILES ${PNG_BINARY_DIR}/libpng.pc DESTINATION lib/pkgconfig) 235 install(FILES ${PNG_BINARY_DIR}/libpng-config DESTINATION bin) 236 install(FILES ${PNG_BINARY_DIR}/${PNGLIB_NAME}.pc DESTINATION lib/pkgconfig) 237 install(FILES ${PNG_BINARY_DIR}/${PNGLIB_NAME}-config DESTINATION bin) 238 endif() 196 239 197 240 # what's with libpng.txt and all the extra files? -
trunk/src/3rdparty/libpng/scripts/descrip.mms
r2 r561 1 1 2 2 cc_defs = /inc=$(ZLIBSRC) 3 c_deb = 3 c_deb = 4 4 5 5 .ifdef __DECC__ … … 30 30 31 31 clean : 32 delete *.obj;*,*.exe; *32 delete *.obj;*,*.exe; 33 33 34 34 … … 45 45 pngrio.obj : png.h, pngconf.h 46 46 pngwio.obj : png.h, pngconf.h 47 pngtest.obj : png.h, pngconf.h48 47 pngtrans.obj : png.h, pngconf.h 49 48 pngwrite.obj : png.h, pngconf.h … … 51 50 pngwutil.obj : png.h, pngconf.h 52 51 52 pngtest.obj : png.h, pngconf.h -
trunk/src/3rdparty/libpng/scripts/libpng-config-head.in
r2 r561 5 5 6 6 # Copyright (C) 2002 Glenn Randers-Pehrson 7 # For conditions of distribution and use, see copyright notice in png.h 7 8 # This code is released under the libpng license. 9 # For conditions of distribution and use, see the disclaimer 10 # and license in png.h 8 11 9 12 # Modeled after libxml-config. 10 13 11 version=1.2. 2914 version=1.2.40 12 15 prefix="" 13 16 libdir="" -
trunk/src/3rdparty/libpng/scripts/libpng-config.in
r2 r561 5 5 6 6 # Copyright (C) 2002, 2004, 2006, 2007 Glenn Randers-Pehrson 7 # For conditions of distribution and use, see copyright notice in png.h 7 8 # This code is released under the libpng license. 9 # For conditions of distribution and use, see the disclaimer 10 # and license in png.h 8 11 9 12 # Modeled after libxml-config. … … 15 18 includedir="@includedir@/libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@" 16 19 libs="-lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@" 17 all_libs="-lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@ -lz -lm"20 all_libs="-lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@ @LIBS@" 18 21 I_opts="-I${includedir}" 19 22 L_opts="-L${libdir}" -
trunk/src/3rdparty/libpng/scripts/libpng.icc
r2 r561 2 2 // IBM VisualAge/C++ version 4.0 or later 3 3 // Copyright (C) 2000 Cosmin Truta 4 // For conditions of distribution and use, see copyright notice in png.h 4 // 5 // This code is released under the libpng license. 6 // For conditions of distribution and use, see the disclaimer 7 // and license in png.h 8 // 5 9 // Notes: 6 10 // All modules are compiled in C mode … … 8 12 // Expected to work with IBM VAC++ 4.0 or later under OS/2 and Win32 9 13 // Can be easily adapted for IBM VAC++ 4.0 or later under AIX 10 // For conditions of distribution and use, see copyright notice in png.h11 14 12 15 option incl(searchpath, "../zlib"), opt(level, "2"), -
trunk/src/3rdparty/libpng/scripts/libpng.pc-configure.in
r2 r561 2 2 exec_prefix=@exec_prefix@ 3 3 libdir=@libdir@ 4 includedir=@includedir@/libpng 124 includedir=@includedir@/libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@ 5 5 6 6 Name: libpng 7 7 Description: Loads and saves PNG files 8 Version: 1.2.29 9 Libs: -L${libdir} -lpng12 8 Version: @PNGLIB_VERSION@ 9 Libs: -L${libdir} -lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@ 10 Libs.private: @LIBS@ 10 11 Cflags: -I${includedir} @LIBPNG_NO_MMX@ -
trunk/src/3rdparty/libpng/scripts/libpng.pc.in
r2 r561 6 6 Name: libpng 7 7 Description: Loads and saves PNG files 8 Version: 1.2. 298 Version: 1.2.40 9 9 Libs: -L${libdir} -lpng12 10 10 Cflags: -I${includedir} -
trunk/src/3rdparty/libpng/scripts/makefile.32sunu
r2 r561 4 4 # Copyright (C) 1998 Greg Roelofs 5 5 # Copyright (C) 1996, 1997 Andreas Dilger 6 # For conditions of distribution and use, see copyright notice in png.h 6 7 # This code is released under the libpng license. 8 # For conditions of distribution and use, see the disclaimer 9 # and license in png.h 7 10 8 11 # Library name: 9 12 LIBNAME=libpng12 10 13 PNGMAJ = 0 11 PNGMIN = 1.2. 2914 PNGMIN = 1.2.40 12 15 PNGVER = $(PNGMAJ).$(PNGMIN) 13 16 -
trunk/src/3rdparty/libpng/scripts/makefile.64sunu
r2 r561 4 4 # Copyright (C) 1998 Greg Roelofs 5 5 # Copyright (C) 1996, 1997 Andreas Dilger 6 # For conditions of distribution and use, see copyright notice in png.h 6 7 # This code is released under the libpng license. 8 # For conditions of distribution and use, see the disclaimer 9 # and license in png.h 7 10 8 11 # Library name: 9 12 LIBNAME=libpng12 10 13 PNGMAJ = 0 11 PNGMIN = 1.2. 2914 PNGMIN = 1.2.40 12 15 PNGVER = $(PNGMAJ).$(PNGMIN) 13 16 -
trunk/src/3rdparty/libpng/scripts/makefile.acorn
r2 r561 7 7 Linkflags = -aif -c++ -o $@ 8 8 ObjAsmflags = -throwback -NoCache -depend !Depend 9 CMHGflags = 9 CMHGflags = 10 10 LibFileflags = -c -l -o $@ 11 11 Squeezeflags = -o $@ 12 13 12 14 13 # Final targets: -
trunk/src/3rdparty/libpng/scripts/makefile.aix
r2 r561 1 1 # makefile for libpng using gcc (generic, static library) 2 # Copyright (C) 2002, 2006 Glenn Randers-Pehrson2 # Copyright (C) 2002, 2006-2009 Glenn Randers-Pehrson 3 3 # Copyright (C) 2000 Cosmin Truta 4 4 # Copyright (C) 2000 Marc O. Gloor (AIX support added, from makefile.gcc) 5 5 # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. 6 # For conditions of distribution and use, see copyright notice in png.h 6 7 # This code is released under the libpng license. 8 # For conditions of distribution and use, see the disclaimer 9 # and license in png.h 7 10 8 11 # Location of the zlib library and include files … … 21 24 LIBNAME=libpng12 22 25 PNGMAJ = 0 23 PNGMIN = 1.2. 2926 PNGMIN = 1.2.40 24 27 PNGVER = $(PNGMAJ).$(PNGMIN) 25 28 … … 45 48 CRELEASE = -O2 46 49 LDRELEASE = -s 47 WARNMORE=-W all50 WARNMORE=-W -Wall 48 51 CFLAGS = -I$(ZLIBINC) $(WARNMORE) $(CRELEASE) 49 52 LDFLAGS = -L. -L$(ZLIBLIB) -lpng12 -lz -lm $(LDRELEASE) … … 55 58 56 59 # Variables 57 OBJS = png$(O) pngerror$(O) pngget$(O) pngmem$(O) pngpread$(O) \60 OBJS = png$(O) pngerror$(O) pngget$(O) pngmem$(O) pngpread$(O) \ 58 61 pngread$(O) pngrio$(O) pngrtran$(O) pngrutil$(O) pngset$(O) \ 59 62 pngtrans$(O) pngwio$(O) pngwrite$(O) pngwtran$(O) pngwutil$(O) … … 95 98 $(RM_F) *.o $(LIBNAME)$(A) pngtest pngout.png 96 99 97 png$(O): png.h pngconf.h100 png$(O): png.h pngconf.h 98 101 pngerror$(O): png.h pngconf.h 99 pngget$(O): png.h pngconf.h100 pngmem$(O): png.h pngconf.h102 pngget$(O): png.h pngconf.h 103 pngmem$(O): png.h pngconf.h 101 104 pngpread$(O): png.h pngconf.h 102 pngread$(O): png.h pngconf.h103 pngrio$(O): png.h pngconf.h105 pngread$(O): png.h pngconf.h 106 pngrio$(O): png.h pngconf.h 104 107 pngrtran$(O): png.h pngconf.h 105 108 pngrutil$(O): png.h pngconf.h 106 pngset$(O): png.h pngconf.h 107 pngtest$(O): png.h pngconf.h 109 pngset$(O): png.h pngconf.h 108 110 pngtrans$(O): png.h pngconf.h 109 pngwio$(O): png.h pngconf.h111 pngwio$(O): png.h pngconf.h 110 112 pngwrite$(O): png.h pngconf.h 111 113 pngwtran$(O): png.h pngconf.h 112 114 pngwutil$(O): png.h pngconf.h 113 115 116 pngtest$(O): png.h pngconf.h -
trunk/src/3rdparty/libpng/scripts/makefile.amiga
r2 r561 2 2 # makefile for libpng and SAS C V6.5x compiler 3 3 # Copyright (C) 1995-2000 Wolf Faust 4 # For conditions of distribution and use, see copyright notice in png.h 4 5 # This code is released under the libpng license. 6 # For conditions of distribution and use, see the disclaimer 7 # and license in png.h 5 8 # 6 9 # Note: Use #define PNG_READ_BIG_ENDIAN_SUPPORTED in pngconf.h -
trunk/src/3rdparty/libpng/scripts/makefile.atari
r2 r561 2 2 # Copyright (C) 2002 Glenn Randers-Pehrson 3 3 # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. 4 # For conditions of distribution and use, see copyright notice in png.h 5 # modified for LC56/ATARI assumes libz.lib is in same dir and uses default 4 5 # This code is released under the libpng license. 6 # For conditions of distribution and use, see the disclaimer 7 # and license in png.h 8 9 # Modified for LC56/ATARI assumes libz.lib is in same dir and uses default 6 10 # rules for library management 7 11 # -
trunk/src/3rdparty/libpng/scripts/makefile.bc32
r2 r561 11 11 ## Where zlib.h, zconf.h and zlib.lib are 12 12 ZLIB_DIR=..\zlib 13 14 13 15 14 ## Compiler, linker and lib stuff … … 50 49 LDFLAGS=-L$(ZLIB_DIR) -M $(LDEBUG) 51 50 52 53 51 ## Variables 54 52 OBJS = \ … … 88 86 LIBNAME=libpng.lib 89 87 90 91 88 ## Implicit rules 92 89 # Braces let make "batch" calls to the compiler, … … 101 98 $(LD) $(LDFLAGS) $*.obj $(LIBNAME) zlib.lib $(NOEHLIB) 102 99 103 104 100 ## Major targets 105 101 all: libpng pngtest … … 112 108 pngtest 113 109 114 115 110 ## Minor Targets 116 111 117 png.obj: png.c 118 pngerror.obj: pngerror.c 119 pngget.obj: pngget.c 120 pngmem.obj: pngmem.c 121 pngpread.obj: pngpread.c 122 pngread.obj: pngread.c 123 pngrio.obj: pngrio.c 124 pngrtran.obj: pngrtran.c 125 pngrutil.obj: pngrutil.c 126 pngset.obj: pngset.c 127 pngtrans.obj: pngtrans.c 128 pngwio.obj: pngwio.c 129 pngwrite.obj: pngwrite.c 130 pngwtran.obj: pngwtran.c 131 pngwutil.obj: pngwutil.c 132 112 png.obj: png.c png.h pngconf.h 113 pngerror.obj: pngerror.c png.h pngconf.h 114 pngget.obj: pngget.c png.h pngconf.h 115 pngmem.obj: pngmem.c png.h pngconf.h 116 pngpread.obj: pngpread.c png.h pngconf.h 117 pngread.obj: pngread.c png.h pngconf.h 118 pngrio.obj: pngrio.c png.h pngconf.h 119 pngrtran.obj: pngrtran.c png.h pngconf.h 120 pngrutil.obj: pngrutil.c png.h pngconf.h 121 pngset.obj: pngset.c png.h pngconf.h 122 pngtrans.obj: pngtrans.c png.h pngconf.h 123 pngwio.obj: pngwio.c png.h pngconf.h 124 pngwrite.obj: pngwrite.c png.h pngconf.h 125 pngwtran.obj: pngwtran.c png.h pngconf.h 126 pngwutil.obj: pngwutil.c png.h pngconf.h 127 pngtest.obj: pngtest.c png.h pngconf.h 133 128 134 129 $(LIBNAME): $(OBJS) … … 137 132 $(LIBOBJS), libpng 138 133 | 139 140 134 141 135 # Cleanup … … 149 143 -del pngout.png 150 144 151 152 145 # End of makefile for libpng -
trunk/src/3rdparty/libpng/scripts/makefile.beos
r2 r561 1 1 # makefile for libpng on BeOS x86 ELF with gcc 2 2 # modified from makefile.linux by Sander Stoks 3 # Copyright (C) 2002, 2006 Glenn Randers-Pehrson3 # Copyright (C) 2002, 2006, 2008 Glenn Randers-Pehrson 4 4 # Copyright (C) 1999 Greg Roelofs 5 5 # Copyright (C) 1996, 1997 Andreas Dilger 6 # For conditions of distribution and use, see copyright notice in png.h 6 7 # This code is released under the libpng license. 8 # For conditions of distribution and use, see the disclaimer 9 # and license in png.h 7 10 8 11 # Library name: 9 12 LIBNAME=libpng12 10 13 PNGMAJ = 0 11 PNGMIN = 1.2. 2914 PNGMIN = 1.2.40 12 15 PNGVER = $(PNGMAJ).$(PNGMIN) 13 16 … … 42 45 # On BeOS, -O1 is actually better than -O3. This is a known bug but it's 43 46 # still here in R4.5 44 CFLAGS=-I$(ZLIBINC) -W all -O1 -funroll-loops \47 CFLAGS=-I$(ZLIBINC) -W -Wall -O1 -funroll-loops \ 45 48 $(ALIGN) # $(WARNMORE) -g -DPNG_DEBUG=5 46 49 # LDFLAGS=-L. -Wl,-rpath,. -L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) -lpng -lz … … 224 227 pngwutil.o pngwutil.pic.o: png.h pngconf.h 225 228 pngpread.o pngpread.pic.o: png.h pngconf.h 229 226 230 pngtest.o: png.h pngconf.h -
trunk/src/3rdparty/libpng/scripts/makefile.bor
r2 r561 12 12 ## Where zlib.h, zconf.h and zlib_MODEL.lib are 13 13 ZLIB_DIR=..\zlib 14 15 14 16 15 ## Compiler, linker and lib stuff … … 58 57 LDFLAGS=-M -L$(ZLIB_DIR) $(MODEL_ARG) $(LDEBUG) 59 58 59 ## Variables 60 60 61 ## Variables62 61 OBJS = \ 63 62 png.obj \ … … 96 95 LIBNAME=libpng$(MODEL).lib 97 96 97 ## Implicit rules 98 98 99 ## Implicit rules100 99 # Braces let make "batch" calls to the compiler, 101 100 # 2 calls instead of 12; space is important. … … 106 105 $(CC) $(CFLAGS) $(LDFLAGS) $*.c $(LIBNAME) zlib_$(MODEL).lib $(NOEHLIB) 107 106 107 ## Major targets 108 108 109 ## Major targets110 109 all: libpng pngtest 111 110 … … 117 116 pngtest$(MODEL) 118 117 119 120 118 ## Minor Targets 121 119 122 png.obj: png.c 123 pngerror.obj: pngerror.c 124 pngget.obj: pngget.c 125 pngmem.obj: pngmem.c 126 pngpread.obj: pngpread.c 127 pngread.obj: pngread.c 128 pngrio.obj: pngrio.c 129 pngrtran.obj: pngrtran.c 130 pngrutil.obj: pngrutil.c 131 pngset.obj: pngset.c 132 pngtrans.obj: pngtrans.c 133 pngwio.obj: pngwio.c 134 pngwrite.obj: pngwrite.c 135 pngwtran.obj: pngwtran.c 136 pngwutil.obj: pngwutil.c 137 120 png.obj: png.c png.h pngconf.h 121 pngerror.obj: pngerror.c png.h pngconf.h 122 pngget.obj: pngget.c png.h pngconf.h 123 pngmem.obj: pngmem.c png.h pngconf.h 124 pngpread.obj: pngpread.c png.h pngconf.h 125 pngread.obj: pngread.c png.h pngconf.h 126 pngrio.obj: pngrio.c png.h pngconf.h 127 pngrtran.obj: pngrtran.c png.h pngconf.h 128 pngrutil.obj: pngrutil.c png.h pngconf.h 129 pngset.obj: pngset.c png.h pngconf.h 130 pngtrans.obj: pngtrans.c png.h pngconf.h 131 pngwio.obj: pngwio.c png.h pngconf.h 132 pngwrite.obj: pngwrite.c png.h pngconf.h 133 pngwtran.obj: pngwtran.c png.h pngconf.h 134 pngwutil.obj: pngwutil.c png.h pngconf.h 138 135 139 136 $(LIBNAME): $(OBJS) … … 143 140 | 144 141 145 146 142 pngtest$(MODEL).obj: pngtest.c 147 143 $(CC) $(CFLAGS) -opngtest$(MODEL) -c pngtest.c … … 149 145 pngtest$(MODEL).exe: pngtest$(MODEL).obj 150 146 $(LD) $(LDFLAGS) pngtest$(MODEL).obj $(LIBNAME) zlib_$(MODEL).lib $(NOEHLIB) 151 152 147 153 148 # Clean up anything else you want … … 159 154 -del *.map 160 155 161 162 156 # End of makefile for libpng -
trunk/src/3rdparty/libpng/scripts/makefile.cygwin
r2 r561 4 4 # statically linked and one dynamically linked. 5 5 # 6 # Copyright (C) 2002, 2006 , 2007Soren Anderson, Charles Wilson,6 # Copyright (C) 2002, 2006-2008 Soren Anderson, Charles Wilson, 7 7 # and Glenn Randers-Pehrson, based on makefile for linux-elf w/mmx by: 8 8 # Copyright (C) 1998-2000 Greg Roelofs 9 9 # Copyright (C) 1996, 1997 Andreas Dilger 10 # For conditions of distribution and use, see copyright notice in png.h 10 11 # This code is released under the libpng license. 12 # For conditions of distribution and use, see the disclaimer 13 # and license in png.h 11 14 12 15 # This makefile intends to support building outside the src directory … … 61 64 ### if you don't need thread safety, but want the asm accel 62 65 #CFLAGS= $(strip $(MINGW_CCFLAGS) -DPNG_THREAD_UNSAFE_OK \ 63 # $(addprefix -I,$(ZLIBINC)) -W all -O $(ALIGN) -funroll-loops \66 # $(addprefix -I,$(ZLIBINC)) -W -Wall -O $(ALIGN) -funroll-loops \ 64 67 # -fomit-frame-pointer) # $(WARNMORE) -g -DPNG_DEBUG=5 65 68 ### if you need thread safety and want (minimal) asm accel 66 69 #CFLAGS= $(strip $(MINGW_CCFLAGS) $(addprefix -I,$(ZLIBINC)) \ 67 # -W all -O $(ALIGN) -funroll-loops \70 # -W -Wall -O $(ALIGN) -funroll-loops \ 68 71 # -fomit-frame-pointer) # $(WARNMORE) -g -DPNG_DEBUG=5 69 72 ### Normal (non-asm) compilation 70 73 CFLAGS= $(strip $(MINGW_CCFLAGS) $(addprefix -I,$(ZLIBINC)) \ 71 -W all -O3 $(ALIGN) -funroll-loops -DPNG_NO_MMX_CODE \74 -W -Wall -O3 $(ALIGN) -funroll-loops -DPNG_NO_MMX_CODE \ 72 75 -fomit-frame-pointer) # $(WARNMORE) -g -DPNG_DEBUG=5 73 76 … … 75 78 PNGMAJ = 0 76 79 CYGDLL = 12 77 PNGMIN = 1.2. 2980 PNGMIN = 1.2.40 78 81 PNGVER = $(PNGMAJ).$(PNGMIN) 79 82 … … 177 180 $(CC) $(CFLAGS) -c $< -o $@ 178 181 179 pngtest.o: pngtest.c 182 pngtest.o: pngtest.c png.h pngconf.h 180 183 $(CC) $(CFLAGS) -c $< -o $@ 181 184 -
trunk/src/3rdparty/libpng/scripts/makefile.darwin
r2 r561 1 1 # makefile for libpng on Darwin / Mac OS X 2 # Copyright (C) 2002, 2004, 2006 Glenn Randers-Pehrson2 # Copyright (C) 2002, 2004, 2006, 2008 Glenn Randers-Pehrson 3 3 # Copyright (C) 2001 Christoph Pfisterer 4 4 # derived from makefile.linux: 5 5 # Copyright (C) 1998, 1999 Greg Roelofs 6 6 # Copyright (C) 1996, 1997 Andreas Dilger 7 # For conditions of distribution and use, see copyright notice in png.h 7 8 # This code is released under the libpng license. 9 # For conditions of distribution and use, see the disclaimer 10 # and license in png.h 8 11 9 12 # where "make install" puts libpng.a, libpng12.dylib, png.h and pngconf.h … … 19 22 # Library name: 20 23 LIBNAME = libpng12 21 PNGMAJ = 022 PNGMIN = 1.2. 2924 PNGMAJ = 12 25 PNGMIN = 1.2.40 23 26 PNGVER = $(PNGMAJ).$(PNGMIN) 24 27 … … 39 42 RM_F=/bin/rm -f 40 43 41 # CFLAGS=-I$(ZLIBINC) -W all -O3 -funroll-loops -DPNG_NO_MMX_CODE42 CFLAGS=-I$(ZLIBINC) -W all -O -funroll-loops44 # CFLAGS=-I$(ZLIBINC) -W -Wall -O3 -funroll-loops -DPNG_NO_MMX_CODE 45 CFLAGS=-I$(ZLIBINC) -W -Wall -O -funroll-loops 43 46 LDFLAGS=-L. -L$(ZLIBLIB) -lpng12 -lz 44 47 … … 105 108 $(CC) -dynamiclib \ 106 109 -install_name $(LIBPATH)/$(LIBSOMAJ) \ 107 -current_version $(PNGVER) -compatibility_version $(PNGVER)\110 -current_version 0 -compatibility_version 0 \ 108 111 -o $(LIBSOVER) \ 109 112 $(OBJSDLL) -L$(ZLIBLIB) -lz -
trunk/src/3rdparty/libpng/scripts/makefile.dec
r2 r561 2 2 # Copyright (C) 2000-2002, 2006 Glenn Randers-Pehrson 3 3 # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. 4 # For conditions of distribution and use, see copyright notice in png.h 4 5 # This code is released under the libpng license. 6 # For conditions of distribution and use, see the disclaimer 7 # and license in png.h 5 8 6 9 # Library name: 7 10 PNGMAJ = 0 8 PNGMIN = 1.2. 2911 PNGMIN = 1.2.40 9 12 PNGVER = $(PNGMAJ).$(PNGMIN) 10 13 LIBNAME = libpng12 … … 206 209 pngrtran.o: png.h pngconf.h 207 210 pngrutil.o: png.h pngconf.h 208 pngtest.o: png.h pngconf.h209 211 pngtrans.o: png.h pngconf.h 210 212 pngwrite.o: png.h pngconf.h … … 213 215 pngpread.o: png.h pngconf.h 214 216 217 pngtest.o: png.h pngconf.h -
trunk/src/3rdparty/libpng/scripts/makefile.dj2
r2 r561 1 1 # DJGPP (DOS gcc) makefile for libpng 2 # Copyright (C) 2002 Glenn Randers-Pehrson2 # Copyright (C) 2002, 2006, 2009 Glenn Randers-Pehrson 3 3 # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. 4 # For conditions of distribution and use, see copyright notice in png.h 4 5 # This code is released under the libpng license. 6 # For conditions of distribution and use, see the disclaimer 7 # and license in png.h 5 8 6 9 # where make install will put libpng.a and png.h … … 48 51 pngrtran.o: png.h pngconf.h 49 52 pngrutil.o: png.h pngconf.h 50 pngtest.o: png.h pngconf.h51 53 pngtrans.o: png.h pngconf.h 52 54 pngwrite.o: png.h pngconf.h … … 54 56 pngwutil.o: png.h pngconf.h 55 57 58 pngtest.o: png.h pngconf.h -
trunk/src/3rdparty/libpng/scripts/makefile.elf
r2 r561 1 1 # makefile for libpng.a and libpng12.so on Linux ELF with gcc 2 # Copyright (C) 1998, 1999, 2002, 2006 Greg Roelofs and Glenn Randers-Pehrson 2 # Copyright (C) 1998, 1999, 2002, 2006, 2008 Greg Roelofs 3 # and Glenn Randers-Pehrson 3 4 # Copyright (C) 1996, 1997 Andreas Dilger 4 # For conditions of distribution and use, see copyright notice in png.h 5 6 # This code is released under the libpng license. 7 # For conditions of distribution and use, see the disclaimer 8 # and license in png.h 5 9 6 10 # Modified for Debian by Junichi Uekawa and Josselin Mouette … … 13 17 LIBNAME = libpng12 14 18 PNGMAJ = 0 15 PNGMIN = 1.2. 2919 PNGMIN = 1.2.40 16 20 PNGVER = $(PNGMAJ).$(PNGMIN) 17 21 … … 54 58 # for pgcc version 2.95.1, -O3 is buggy; don't use it. 55 59 56 CFLAGS=-W all -D_REENTRANT -O2 \60 CFLAGS=-W -Wall -D_REENTRANT -O2 \ 57 61 $(ALIGN) # $(WARNMORE) -g -DPNG_DEBUG=5 58 62 -
trunk/src/3rdparty/libpng/scripts/makefile.freebsd
r2 r561 1 1 # makefile for libpng under FreeBSD 2 # Copyright (C) 2002, 2007 Glenn Randers-Pehrson and Andrey A. Chernov 3 # For conditions of distribution and use, see copyright notice in png.h 2 # Copyright (C) 2002, 2007, 2009 Glenn Randers-Pehrson and Andrey A. Chernov 3 4 # This code is released under the libpng license. 5 # For conditions of distribution and use, see the disclaimer 6 # and license in png.h 4 7 5 8 PREFIX?= /usr/local -
trunk/src/3rdparty/libpng/scripts/makefile.gcc
r2 r561 1 1 # makefile for libpng using gcc (generic, static library) 2 # Copyright (C) 2008 Glenn Randers-Pehrson 2 3 # Copyright (C) 2000 Cosmin Truta 3 4 # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. 4 # For conditions of distribution and use, see copyright notice in png.h 5 6 # This code is released under the libpng license. 7 # For conditions of distribution and use, see the disclaimer 8 # and license in png.h 5 9 6 10 # Location of the zlib library and include files … … 19 23 CRELEASE = -O2 20 24 LDRELEASE = -s 21 #CFLAGS = -W all $(CDEBUG)22 CFLAGS = -W all $(CRELEASE)25 #CFLAGS = -W -Wall $(CDEBUG) 26 CFLAGS = -W -Wall $(CRELEASE) 23 27 #LDFLAGS = $(LDDEBUG) 24 28 LDFLAGS = $(LDRELEASE) … … 31 35 32 36 # Variables 33 OBJS = png$(O) pngerror$(O) pngget$(O) pngmem$(O) pngpread$(O) \34 35 37 OBJS = png$(O) pngerror$(O) pngget$(O) pngmem$(O) pngpread$(O) \ 38 pngread$(O) pngrio$(O) pngrtran$(O) pngrutil$(O) pngset$(O) \ 39 pngtrans$(O) pngwio$(O) pngwrite$(O) pngwtran$(O) pngwutil$(O) 36 40 37 41 # Targets … … 61 65 $(RM_F) *$(O) libpng$(A) pngtest$(EXE) pngout.png 62 66 63 png$(O): png.h pngconf.h67 png$(O): png.h pngconf.h 64 68 pngerror$(O): png.h pngconf.h 65 pngget$(O): png.h pngconf.h66 pngmem$(O): png.h pngconf.h69 pngget$(O): png.h pngconf.h 70 pngmem$(O): png.h pngconf.h 67 71 pngpread$(O): png.h pngconf.h 68 pngread$(O): png.h pngconf.h69 pngrio$(O): png.h pngconf.h72 pngread$(O): png.h pngconf.h 73 pngrio$(O): png.h pngconf.h 70 74 pngrtran$(O): png.h pngconf.h 71 75 pngrutil$(O): png.h pngconf.h 72 pngset$(O): png.h pngconf.h 73 pngtest$(O): png.h pngconf.h 76 pngset$(O): png.h pngconf.h 74 77 pngtrans$(O): png.h pngconf.h 75 pngwio$(O): png.h pngconf.h78 pngwio$(O): png.h pngconf.h 76 79 pngwrite$(O): png.h pngconf.h 77 80 pngwtran$(O): png.h pngconf.h 78 81 pngwutil$(O): png.h pngconf.h 79 82 83 pngtest$(O): png.h pngconf.h -
trunk/src/3rdparty/libpng/scripts/makefile.gcmmx
r2 r561 1 1 # makefile for libpng.a and libpng12.so on Linux ELF with gcc using MMX 2 2 # assembler code 3 # Copyright 2002, 2006 Greg Roelofs and Glenn Randers-Pehrson3 # Copyright 2002, 2006, 2008 Greg Roelofs and Glenn Randers-Pehrson 4 4 # Copyright 1998-2001 Greg Roelofs 5 5 # Copyright 1996-1997 Andreas Dilger 6 # For conditions of distribution and use, see copyright notice in png.h 6 7 # This code is released under the libpng license. 8 # For conditions of distribution and use, see the disclaimer 9 # and license in png.h 7 10 8 11 # CAUTION: Do not use this makefile with gcc versions 2.7.2.2 and earlier. … … 15 18 LIBNAME = libpng12 16 19 PNGMAJ = 0 17 PNGMIN = 1.2. 2920 PNGMIN = 1.2.40 18 21 PNGVER = $(PNGMAJ).$(PNGMIN) 19 22 … … 59 62 # Remove -DPNG_THREAD_UNSAFE_OK if you need thread safety 60 63 ### for generic gcc: 61 CFLAGS=-DPNG_THREAD_UNSAFE_OK -I$(ZLIBINC) -W all -O \64 CFLAGS=-DPNG_THREAD_UNSAFE_OK -I$(ZLIBINC) -W -Wall -O \ 62 65 $(ALIGN) -funroll-loops \ 63 66 -fomit-frame-pointer # $(WARNMORE) -g -DPNG_DEBUG=5 64 67 ### for gcc 2.95.2 on 686: 65 #CFLAGS=-DPNG_THREAD_UNSAFE_OK -I$(ZLIBINC) -W all -O \68 #CFLAGS=-DPNG_THREAD_UNSAFE_OK -I$(ZLIBINC) -W -Wall -O \ 66 69 # -mcpu=i686 -malign-double -ffast-math -fstrict-aliasing \ 67 # $(ALIGN) -funroll-loops -funroll-all-loops -fomit-frame-pointer 70 # $(ALIGN) -funroll-loops -funroll-all-loops -fomit-frame-pointer 68 71 ### for gcc 2.7.2.3 on 486 and up: 69 #CFLAGS=-DPNG_THREAD_UNSAFE_OK -I$(ZLIBINC) -W all -O \72 #CFLAGS=-DPNG_THREAD_UNSAFE_OK -I$(ZLIBINC) -W -Wall -O \ 70 73 # -m486 -malign-double -ffast-math \ 71 # $(ALIGN) -funroll-loops -funroll-all-loops -fomit-frame-pointer 74 # $(ALIGN) -funroll-loops -funroll-all-loops -fomit-frame-pointer 72 75 73 76 LDFLAGS=-L. -Wl,-rpath,. -L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) -lpng12 -lz -lm -
trunk/src/3rdparty/libpng/scripts/makefile.hp64
r2 r561 1 1 # makefile for libpng, HPUX (10.20 and 11.00) using the ANSI/C product. 2 # Copyright (C) 1999-2002 Glenn Randers-Pehrson2 # Copyright (C) 1999-2002, 2006, 2009 Glenn Randers-Pehrson 3 3 # Copyright (C) 1995 Guy Eric Schalnat, Group 42 4 4 # contributed by Jim Rice and updated by Chris Schleicher, Hewlett Packard 5 # For conditions of distribution and use, see copyright notice in png.h 5 6 # This code is released under the libpng license. 7 # For conditions of distribution and use, see the disclaimer 8 # and license in png.h 6 9 7 10 # Where the zlib library and include files are located … … 19 22 LIBNAME = libpng12 20 23 PNGMAJ = 0 21 PNGMIN = 1.2. 2924 PNGMIN = 1.2.40 22 25 PNGVER = $(PNGMAJ).$(PNGMIN) 23 26 … … 228 231 pngrtran.o: png.h pngconf.h 229 232 pngrutil.o: png.h pngconf.h 230 pngtest.o: png.h pngconf.h231 233 pngtrans.o: png.h pngconf.h 232 234 pngwrite.o: png.h pngconf.h … … 234 236 pngwutil.o: png.h pngconf.h 235 237 pngpread.o: png.h pngconf.h 238 239 pngtest.o: png.h pngconf.h -
trunk/src/3rdparty/libpng/scripts/makefile.hpgcc
r2 r561 1 1 # makefile for libpng on HP-UX using GCC with the HP ANSI/C linker. 2 # Copyright (C) 2002, 2006 , 2007Glenn Randers-Pehrson2 # Copyright (C) 2002, 2006-2008 Glenn Randers-Pehrson 3 3 # Copyright (C) 2001, Laurent faillie 4 4 # Copyright (C) 1998, 1999 Greg Roelofs 5 5 # Copyright (C) 1996, 1997 Andreas Dilger 6 # For conditions of distribution and use, see copyright notice in png.h 6 7 # This code is released under the libpng license. 8 # For conditions of distribution and use, see the disclaimer 9 # and license in png.h 7 10 8 11 # Library name: 9 12 LIBNAME = libpng12 10 13 PNGMAJ = 0 11 PNGMIN = 1.2. 2914 PNGMIN = 1.2.40 12 15 PNGVER = $(PNGMAJ).$(PNGMIN) 13 16 … … 54 57 # for pgcc version 2.95.1, -O3 is buggy; don't use it. 55 58 56 CFLAGS=-I$(ZLIBINC) -W all -O3 -funroll-loops -DPNG_NO_MMX_CODE \59 CFLAGS=-I$(ZLIBINC) -W -Wall -O3 -funroll-loops -DPNG_NO_MMX_CODE \ 57 60 $(ALIGN) # $(WARNMORE) -g -DPNG_DEBUG=5 58 61 #LDFLAGS=-L. -Wl,-rpath,. -L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) -lpng12 -lz -lm -
trunk/src/3rdparty/libpng/scripts/makefile.hpux
r2 r561 3 3 # Copyright (C) 1995 Guy Eric Schalnat, Group 42 4 4 # contributed by Jim Rice and updated by Chris Schleicher, Hewlett Packard 5 # For conditions of distribution and use, see copyright notice in png.h 5 6 # This code is released under the libpng license. 7 # For conditions of distribution and use, see the disclaimer 8 # and license in png.h 6 9 7 10 # Where the zlib library and include files are located … … 19 22 LIBNAME = libpng12 20 23 PNGMAJ = 0 21 PNGMIN = 1.2. 2924 PNGMIN = 1.2.40 22 25 PNGVER = $(PNGMAJ).$(PNGMIN) 23 26 … … 225 228 pngrtran.o: png.h pngconf.h 226 229 pngrutil.o: png.h pngconf.h 227 pngtest.o: png.h pngconf.h228 230 pngtrans.o: png.h pngconf.h 229 231 pngwrite.o: png.h pngconf.h … … 231 233 pngwutil.o: png.h pngconf.h 232 234 pngpread.o: png.h pngconf.h 235 236 pngtest.o: png.h pngconf.h -
trunk/src/3rdparty/libpng/scripts/makefile.ibmc
r2 r561 1 1 # Makefile for libpng (static) 2 2 # IBM C version 3.x for Win32 and OS/2 3 # Copyright (C) 2006 Glenn Randers-Pehrson 3 4 # Copyright (C) 2000 Cosmin Truta 4 # For conditions of distribution and use, see copyright notice in png.h 5 6 # This code is released under the libpng license. 7 # For conditions of distribution and use, see the disclaimer 8 # and license in png.h 9 5 10 # Notes: 6 11 # Derived from makefile.std … … 54 59 $(RM) pngout.png 55 60 56 png$(O): png.h pngconf.h61 png$(O): png.h pngconf.h 57 62 pngerror$(O): png.h pngconf.h 58 pngget$(O): png.h pngconf.h59 pngmem$(O): png.h pngconf.h63 pngget$(O): png.h pngconf.h 64 pngmem$(O): png.h pngconf.h 60 65 pngpread$(O): png.h pngconf.h 61 pngread$(O): png.h pngconf.h62 pngrio$(O): png.h pngconf.h66 pngread$(O): png.h pngconf.h 67 pngrio$(O): png.h pngconf.h 63 68 pngrtran$(O): png.h pngconf.h 64 69 pngrutil$(O): png.h pngconf.h 65 pngset$(O): png.h pngconf.h 66 pngtest$(O): png.h pngconf.h 70 pngset$(O): png.h pngconf.h 67 71 pngtrans$(O): png.h pngconf.h 68 pngwio$(O): png.h pngconf.h72 pngwio$(O): png.h pngconf.h 69 73 pngwrite$(O): png.h pngconf.h 70 74 pngwtran$(O): png.h pngconf.h 71 75 pngwutil$(O): png.h pngconf.h 76 77 pngtest$(O): png.h pngconf.h -
trunk/src/3rdparty/libpng/scripts/makefile.intel
r2 r561 2 2 # Microsoft Visual C++ with Intel C/C++ Compiler 4.0 and later 3 3 4 # Copyright (C) 2006 Glenn Randers-Pehrson 4 5 # Copyright (C) 2000, Pawel Mrochen, based on makefile.msc which is 5 6 # copyright 1995 Guy Eric Schalnat, Group 42, Inc. 6 # For conditions of distribution and use, see copyright notice in png.h 7 8 # This code is released under the libpng license. 9 # For conditions of distribution and use, see the disclaimer 10 # and license in png.h 7 11 8 12 # To use, do "nmake /f scripts\makefile.intel" 9 13 14 # ------------------- Intel C/C++ Compiler 4.0 and later ------------------- 10 15 11 16 # Where the zlib library and include files are located … … 26 31 27 32 # -------------------------------------------------------------------------- 28 29 33 30 34 CC=icl -c … … 74 78 $(CC) $(CFLAGS) $*.c $(ERRFILE) 75 79 76 pngtest$(O): png.h pngconf.h77 $(CC) $(CFLAGS) $*.c $(ERRFILE)78 79 80 pngtrans$(O): png.h pngconf.h 80 81 $(CC) $(CFLAGS) $*.c $(ERRFILE) … … 96 97 $(LD) $(LDFLAGS) /OUT:pngtest.exe pngtest.obj libpng.lib $(ZLIBLIB)\zlib.lib 97 98 99 pngtest$(O): png.h pngconf.h 100 $(CC) $(CFLAGS) $*.c $(ERRFILE) 101 98 102 test: pngtest.exe 99 103 pngtest.exe -
trunk/src/3rdparty/libpng/scripts/makefile.knr
r2 r561 1 1 # makefile for libpng 2 # Copyright (C) 2002 Glenn Randers-Pehrson2 # Copyright (C) 2002, 2006, 2009 Glenn Randers-Pehrson 3 3 # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. 4 # For conditions of distribution and use, see copyright notice in png.h 4 5 # This code is released under the libpng license. 6 # For conditions of distribution and use, see the disclaimer 7 # and license in png.h 5 8 6 9 # This makefile requires the file ansi2knr.c, which you can get … … 59 62 ./pngtest 60 63 61 install: libpng.a 64 install: libpng.a png.h pngconf.h 62 65 -@mkdir $(DESTDIR)$(INCPATH) 63 66 -@mkdir $(DESTDIR)$(INCPATH)/libpng … … 93 96 pngrtran.o: png.h pngconf.h 94 97 pngrutil.o: png.h pngconf.h 95 pngtest.o: png.h pngconf.h96 98 pngtrans.o: png.h pngconf.h 97 99 pngwrite.o: png.h pngconf.h 98 100 pngwtran.o: png.h pngconf.h 99 101 pngwutil.o: png.h pngconf.h 102 103 pngtest.o: png.h pngconf.h -
trunk/src/3rdparty/libpng/scripts/makefile.linux
r2 r561 1 1 # makefile for libpng.a and libpng12.so on Linux ELF with gcc 2 # Copyright (C) 1998, 1999, 2002, 2006 Greg Roelofs and Glenn Randers-Pehrson 2 # Copyright (C) 1998, 1999, 2002, 2006, 2008 Greg Roelofs and 3 # Glenn Randers-Pehrson 3 4 # Copyright (C) 1996, 1997 Andreas Dilger 4 # For conditions of distribution and use, see copyright notice in png.h 5 6 # This code is released under the libpng license. 7 # For conditions of distribution and use, see the disclaimer 8 # and license in png.h 5 9 6 10 # Library name: 7 11 LIBNAME = libpng12 8 12 PNGMAJ = 0 9 PNGMIN = 1.2. 2913 PNGMIN = 1.2.40 10 14 PNGVER = $(PNGMAJ).$(PNGMIN) 11 15 … … 48 52 # for pgcc version 2.95.1, -O3 is buggy; don't use it. 49 53 50 CFLAGS=-I$(ZLIBINC) -W all -O3 -funroll-loops -DPNG_NO_MMX_CODE \54 CFLAGS=-I$(ZLIBINC) -W -Wall -O3 -funroll-loops -DPNG_NO_MMX_CODE \ 51 55 $(ALIGN) # $(WARNMORE) -g -DPNG_DEBUG=5 52 56 … … 74 78 DM=$(DESTDIR)$(MANPATH) 75 79 76 OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \80 OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \ 77 81 pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \ 78 82 pngwtran.o pngmem.o pngerror.o pngpread.o -
trunk/src/3rdparty/libpng/scripts/makefile.mingw
r2 r561 4 4 # statically linked and one dynamically linked. 5 5 # 6 # Built from makefile.cygwin 7 # Copyright (C) 2002, 2006 Soren Anderson, Charles Wilson, 6 # Copyright (C) 2002, 2006, 2008 Soren Anderson, Charles Wilson, 8 7 # and Glenn Randers-Pehrson, based on makefile for linux-elf w/mmx by: 9 8 # Copyright (C) 1998-2000, 2007 Greg Roelofs 10 9 # Copyright (C) 1996, 1997 Andreas Dilger 11 # For conditions of distribution and use, see copyright notice in png.h 12 10 11 # This code is released under the libpng license. 12 # For conditions of distribution and use, see the disclaimer 13 # and license in png.h 14 15 # Built from makefile.cygwin 13 16 14 17 # This makefile intends to support building outside the src directory … … 61 64 ### if you don't need thread safety, but want the asm accel 62 65 #CFLAGS= $(strip $(MINGW_CCFLAGS) -DPNG_THREAD_UNSAFE_OK \ 63 # $(addprefix -I,$(ZLIBINC)) -W all -O $(ALIGN) -funroll-loops \66 # $(addprefix -I,$(ZLIBINC)) -W -Wall -O $(ALIGN) -funroll-loops \ 64 67 # -fomit-frame-pointer) # $(WARNMORE) -g -DPNG_DEBUG=5 65 68 ### if you need thread safety and want (minimal) asm accel 66 69 #CFLAGS= $(strip $(MINGW_CCFLAGS) $(addprefix -I,$(ZLIBINC)) \ 67 # -W all -O $(ALIGN) -funroll-loops \70 # -W -Wall -O $(ALIGN) -funroll-loops \ 68 71 # -fomit-frame-pointer) # $(WARNMORE) -g -DPNG_DEBUG=5 69 72 ### Normal (non-asm) compilation 70 73 CFLAGS= $(strip $(MINGW_CCFLAGS) $(addprefix -I,$(ZLIBINC)) \ 71 -W all -O3 $(ALIGN) -funroll-loops -DPNG_NO_MMX_CODE \74 -W -Wall -O3 $(ALIGN) -funroll-loops -DPNG_NO_MMX_CODE \ 72 75 -fomit-frame-pointer) # $(WARNMORE) -g -DPNG_DEBUG=5 73 76 … … 75 78 PNGMAJ = 0 76 79 MINGDLL = 12 77 PNGMIN = 1.2. 2980 PNGMIN = 1.2.40 78 81 PNGVER = $(PNGMAJ).$(PNGMIN) 79 82 … … 285 288 286 289 pngtest.o pngtest.pic.o: png.h pngconf.h pngtest.c 287 288 289 -
trunk/src/3rdparty/libpng/scripts/makefile.mips
r2 r561 2 2 # Copyright (C) Glenn Randers-Pehrson 3 3 # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. 4 # For conditions of distribution and use, see copyright notice in png.h 4 5 # This code is released under the libpng license. 6 # For conditions of distribution and use, see the disclaimer 7 # and license in png.h 5 8 6 9 # where make install puts libpng.a and png.h … … 77 80 pngrtran.o: png.h pngconf.h 78 81 pngrutil.o: png.h pngconf.h 79 pngtest.o: png.h pngconf.h80 82 pngtrans.o: png.h pngconf.h 81 83 pngwrite.o: png.h pngconf.h 82 84 pngwtran.o: png.h pngconf.h 83 85 pngwutil.o: png.h pngconf.h 86 87 pngtest.o: png.h pngconf.h -
trunk/src/3rdparty/libpng/scripts/makefile.msc
r2 r561 1 1 # makefile for libpng 2 2 # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. 3 # For conditions of distribution and use, see copyright notice in png.h 3 # Copyright (C) 2006, 2009 Glenn Randers-Pehrson 4 5 # This code is released under the libpng license. 6 # For conditions of distribution and use, see the disclaimer 7 # and license in png.h 8 4 9 # Assumes that zlib.lib, zconf.h, and zlib.h have been copied to ..\zlib 5 10 … … 56 61 $(CC) -c $(CFLAGS) $*.c $(ERRFILE) 57 62 58 pngtest$(O): png.h pngconf.h59 $(CC) -c $(CFLAGS) $*.c $(ERRFILE)60 61 63 pngtrans$(O): png.h pngconf.h 62 64 $(CC) -c $(CFLAGS) $*.c $(ERRFILE) … … 77 79 lib libpng $(OBJS3); 78 80 81 pngtest$(O): png.h pngconf.h 82 $(CC) -c $(CFLAGS) $*.c $(ERRFILE) 83 79 84 pngtest.exe: pngtest.obj libpng.lib 80 85 $(LD) $(LDFLAGS) pngtest.obj,,,libpng.lib ..\zlib\zlib.lib ; -
trunk/src/3rdparty/libpng/scripts/makefile.ne12bsd
r2 r561 3 3 # make includes && make install 4 4 # Copyright (C) 2002 Patrick R.L. Welche 5 # Copyright (C) 2007 Glenn Randers-Pehrson 6 # For conditions of distribution and use, see copyright notice in png.h 5 # Copyright (C) 2007, 2009 Glenn Randers-Pehrson 6 7 # This code is released under the libpng license. 8 # For conditions of distribution and use, see the disclaimer 9 # and license in png.h 7 10 8 11 # You should also run makefile.netbsd … … 15 18 LIB= png12 16 19 SHLIB_MAJOR= 0 17 SHLIB_MINOR= 1.2. 2920 SHLIB_MINOR= 1.2.40 18 21 SRCS= png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c \ 19 22 pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c \ … … 24 27 CPPFLAGS+=-I${.CURDIR} 25 28 26 # something like this for mmx assembler, but it core dumps for me at the moment 29 # We should be able to do something like this instead of the manual 30 # uncommenting, but it core dumps for me at the moment: 27 31 # .if ${MACHINE_ARCH} == "i386" 28 32 # CPPFLAGS+=-DPNG_THREAD_UNSAFE_OK -
trunk/src/3rdparty/libpng/scripts/makefile.netbsd
r2 r561 3 3 # make includes && make install 4 4 # Copyright (C) 2002 Patrick R.L. Welche 5 # Copyright (C) 2007 Glenn Randers-Pehrson 6 # For conditions of distribution and use, see copyright notice in png.h 5 # Copyright (C) 2007, 2009 Glenn Randers-Pehrson 6 7 # This code is released under the libpng license. 8 # For conditions of distribution and use, see the disclaimer 9 # and license in png.h 7 10 8 11 # You should also run makefile.ne0bsd … … 15 18 LIB= png 16 19 SHLIB_MAJOR= 3 17 SHLIB_MINOR= 1.2. 2920 SHLIB_MINOR= 1.2.40 18 21 SRCS= png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c \ 19 22 pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c \ … … 24 27 CPPFLAGS+=-I${.CURDIR} 25 28 26 # something like this for mmx assembler, but it core dumps for me at the moment 29 # We should be able to do something like this instead of the manual 30 # uncommenting, but it core dumps for me at the moment: 27 31 # .if ${MACHINE_ARCH} == "i386" 28 32 # CPPFLAGS+=-DPNG_THREAD_UNSAFE_OK -
trunk/src/3rdparty/libpng/scripts/makefile.nommx
r2 r561 1 1 # makefile for libpng.a and libpng12.so on Linux ELF with gcc 2 # Copyright (C) 1998, 1999, 2002, 2006 , 2007Greg Roelofs and2 # Copyright (C) 1998, 1999, 2002, 2006-2008 Greg Roelofs and 3 3 # Glenn Randers-Pehrson 4 4 # Copyright (C) 1996, 1997 Andreas Dilger 5 # For conditions of distribution and use, see copyright notice in png.h 5 6 # This code is released under the libpng license. 7 # For conditions of distribution and use, see the disclaimer 8 # and license in png.h 6 9 7 10 # Library name: 8 11 LIBNAME = libpng12 9 12 PNGMAJ = 0 10 PNGMIN = 1.2. 2913 PNGMIN = 1.2.40 11 14 PNGVER = $(PNGMAJ).$(PNGMIN) 12 15 … … 49 52 # for pgcc version 2.95.1, -O3 is buggy; don't use it. 50 53 51 CFLAGS=-I$(ZLIBINC) -W all -O3 -funroll-loops -DPNG_NO_MMX_CODE \54 CFLAGS=-I$(ZLIBINC) -W -Wall -O3 -funroll-loops -DPNG_NO_MMX_CODE \ 52 55 $(ALIGN) # $(WARNMORE) -g -DPNG_DEBUG=5 53 56 … … 234 237 # DO NOT DELETE THIS LINE -- make depend depends on it. 235 238 236 png.o png.pic.o: png.h pngconf.h237 pngerror.o pngerror.pic.o: png.h pngconf.h238 pngrio.o pngrio.pic.o: png.h pngconf.h239 pngwio.o pngwio.pic.o: png.h pngconf.h240 pngmem.o pngmem.pic.o: png.h pngconf.h241 pngset.o pngset.pic.o: png.h pngconf.h242 pngget.o pngget.pic.o: png.h pngconf.h243 pngread.o pngread.pic.o: png.h pngconf.h244 pngrtran.o pngrtran.pic.o: png.h pngconf.h245 pngrutil.o pngrutil.pic.o: png.h pngconf.h246 pngtrans.o pngtrans.pic.o: png.h pngconf.h247 pngwrite.o pngwrite.pic.o: png.h pngconf.h248 pngwtran.o pngwtran.pic.o: png.h pngconf.h249 pngwutil.o pngwutil.pic.o: png.h pngconf.h250 pngpread.o pngpread.pic.o: png.h pngconf.h251 252 pngtest.o: png.h pngconf.h239 png.o png.pic.o: png.h pngconf.h png.c 240 pngerror.o pngerror.pic.o: png.h pngconf.h pngerror.c 241 pngrio.o pngrio.pic.o: png.h pngconf.h pngrio.c 242 pngwio.o pngwio.pic.o: png.h pngconf.h pngwio.c 243 pngmem.o pngmem.pic.o: png.h pngconf.h pngmem.c 244 pngset.o pngset.pic.o: png.h pngconf.h pngset.c 245 pngget.o pngget.pic.o: png.h pngconf.h pngget.c 246 pngread.o pngread.pic.o: png.h pngconf.h pngread.c 247 pngrtran.o pngrtran.pic.o: png.h pngconf.h pngrtran.c 248 pngrutil.o pngrutil.pic.o: png.h pngconf.h pngrutil.c 249 pngtrans.o pngtrans.pic.o: png.h pngconf.h pngtrans.c 250 pngwrite.o pngwrite.pic.o: png.h pngconf.h pngwrite.c 251 pngwtran.o pngwtran.pic.o: png.h pngconf.h pngwtran.c 252 pngwutil.o pngwutil.pic.o: png.h pngconf.h pngwutil.c 253 pngpread.o pngpread.pic.o: png.h pngconf.h pngpread.c 254 255 pngtest.o: png.h pngconf.h pngtest.c -
trunk/src/3rdparty/libpng/scripts/makefile.openbsd
r2 r561 1 1 # makefile for libpng 2 2 # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. 3 # Copyright (C) 2007 Glenn Randers-Pehrson 4 # For conditions of distribution and use, see copyright notice in png.h 3 # Copyright (C) 2007-2008 Glenn Randers-Pehrson 4 5 # This code is released under the libpng license. 6 # For conditions of distribution and use, see the disclaimer 7 # and license in png.h 5 8 6 9 PREFIX?= /usr/local … … 9 12 10 13 SHLIB_MAJOR= 0 11 SHLIB_MINOR= 1.2. 2914 SHLIB_MINOR= 1.2.40 12 15 13 16 LIB= png … … 18 21 HDRS= png.h pngconf.h 19 22 20 CFLAGS+= -W all21 CPPFLAGS+= -I${.CURDIR} -DPNG_NO_MMX_CODE 23 CFLAGS+= -W -Wall 24 CPPFLAGS+= -I${.CURDIR} -DPNG_NO_MMX_CODE 22 25 23 26 NOPROFILE= Yes -
trunk/src/3rdparty/libpng/scripts/makefile.os2
r2 r561 1 1 # makefile for libpng on OS/2 with gcc 2 # For conditions of distribution and use, see copyright notice in png.h 2 3 # This code is released under the libpng license. 4 # For conditions of distribution and use, see the disclaimer 5 # and license in png.h 3 6 4 7 # Related files: pngos2.def … … 13 16 -Wmissing-declarations -Wtraditional -Wcast-align \ 14 17 -Wstrict-prototypes -Wmissing-prototypes #-Wconversion 15 CFLAGS=-I$(ZLIBINC) -W all -O6 -funroll-loops -malign-loops=2 \18 CFLAGS=-I$(ZLIBINC) -W -Wall -O6 -funroll-loops -malign-loops=2 \ 16 19 -malign-functions=2 #$(WARNMORE) -g -DPNG_DEBUG=5 17 20 LDFLAGS=-L. -L$(ZLIBLIB) -lpng -lzdll -Zcrtdll -
trunk/src/3rdparty/libpng/scripts/makefile.sco
r2 r561 5 5 # Copyright (C) 1998 Greg Roelofs 6 6 # Copyright (C) 1996, 1997 Andreas Dilger 7 # For conditions of distribution and use, see copyright notice in png.h 7 8 # This code is released under the libpng license. 9 # For conditions of distribution and use, see the disclaimer 10 # and license in png.h 8 11 9 12 # Library name: 10 13 LIBNAME = libpng12 11 14 PNGMAJ = 0 12 PNGMIN = 1.2. 2915 PNGMIN = 1.2.40 13 16 PNGVER = $(PNGMAJ).$(PNGMIN) 14 17 -
trunk/src/3rdparty/libpng/scripts/makefile.sggcc
r2 r561 2 2 # Copyright (C) 2001-2002, 2006 Glenn Randers-Pehrson 3 3 # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. 4 # For conditions of distribution and use, see copyright notice in png.h 4 5 # This code is released under the libpng license. 6 # For conditions of distribution and use, see the disclaimer 7 # and license in png.h 5 8 6 9 # Library name: 7 10 LIBNAME=libpng12 8 11 PNGMAJ = 0 9 PNGMIN = 1.2. 2912 PNGMIN = 1.2.40 10 13 PNGVER = $(PNGMAJ).$(PNGMIN) 11 14 … … 213 216 214 217 clean: 215 $(RM_F) libpng.a pngtest pngtesti pngout.png libpng.pc libpng-config \ 216 $(LIBSO) $(LIBSOMAJ)* \ 217 $(OLDSOVER) \ 218 so_locations 218 $(RM_F) libpng.a pngtest pngtesti pngout.png libpng.pc \ 219 so_locations libpng-config $(LIBSO) $(LIBSOMAJ)* $(OLDSOVER) 219 220 220 221 DOCS = ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO … … 234 235 pngrtran.o: png.h pngconf.h 235 236 pngrutil.o: png.h pngconf.h 236 pngtest.o: png.h pngconf.h237 237 pngtrans.o: png.h pngconf.h 238 238 pngwrite.o: png.h pngconf.h … … 241 241 pngpread.o: png.h pngconf.h 242 242 243 pngtest.o: png.h pngconf.h -
trunk/src/3rdparty/libpng/scripts/makefile.sgi
r2 r561 2 2 # Copyright (C) 2001-2002, 2006, 2007 Glenn Randers-Pehrson 3 3 # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. 4 # For conditions of distribution and use, see copyright notice in png.h 4 5 # This code is released under the libpng license. 6 # For conditions of distribution and use, see the disclaimer 7 # and license in png.h 5 8 6 9 # Library name: 7 10 LIBNAME=libpng12 8 11 PNGMAJ = 0 9 PNGMIN = 1.2. 2912 PNGMIN = 1.2.40 10 13 PNGVER = $(PNGMAJ).$(PNGMIN) 11 14 … … 237 240 pngrtran.o: png.h pngconf.h 238 241 pngrutil.o: png.h pngconf.h 239 pngtest.o: png.h pngconf.h240 242 pngtrans.o: png.h pngconf.h 241 243 pngwrite.o: png.h pngconf.h … … 244 246 pngpread.o: png.h pngconf.h 245 247 248 pngtest.o: png.h pngconf.h -
trunk/src/3rdparty/libpng/scripts/makefile.so9
r2 r561 2 2 # Updated by Chad Schrock for Solaris 9 3 3 # Contributed by William L. Sebok, based on makefile.linux 4 # Copyright (C) 2002, 2006 Glenn Randers-Pehrson4 # Copyright (C) 2002, 2006, 2008 Glenn Randers-Pehrson 5 5 # Copyright (C) 1998-2001 Greg Roelofs 6 6 # Copyright (C) 1996-1997 Andreas Dilger 7 # For conditions of distribution and use, see copyright notice in png.h 7 8 # This code is released under the libpng license. 9 # For conditions of distribution and use, see the disclaimer 10 # and license in png.h 8 11 9 12 # Library name: 10 13 PNGMAJ = 0 11 PNGMIN = 1.2. 2914 PNGMIN = 1.2.40 12 15 PNGVER = $(PNGMAJ).$(PNGMIN) 13 16 LIBNAME = libpng12 … … 48 51 -Wmissing-declarations -Wtraditional -Wcast-align \ 49 52 -Wstrict-prototypes -Wmissing-prototypes #-Wconversion 50 #CFLAGS=-I$(ZLIBINC) -W all -O3 $(WARNMORE) -g -DPNG_DEBUG=5 -DPNG_NO_MMX_CODE53 #CFLAGS=-I$(ZLIBINC) -W -Wall -O3 $(WARNMORE) -g -DPNG_DEBUG=5 -DPNG_NO_MMX_CODE 51 54 CFLAGS=-I$(ZLIBINC) -O3 -DPNG_NO_MMX_CODE 52 55 LDFLAGS=-L. -R. -L$(ZLIBLIB) -R$(ZLIBLIB) -lpng12 -lz -lm -
trunk/src/3rdparty/libpng/scripts/makefile.solaris
r2 r561 1 1 # makefile for libpng on Solaris 2.x with gcc 2 # Copyright (C) 2004, 2006 , 2007Glenn Randers-Pehrson2 # Copyright (C) 2004, 2006-2008 Glenn Randers-Pehrson 3 3 # Contributed by William L. Sebok, based on makefile.linux 4 4 # Copyright (C) 1998 Greg Roelofs 5 5 # Copyright (C) 1996, 1997 Andreas Dilger 6 # For conditions of distribution and use, see copyright notice in png.h 6 7 # This code is released under the libpng license. 8 # For conditions of distribution and use, see the disclaimer 9 # and license in png.h 7 10 8 11 # Library name: 9 12 LIBNAME = libpng12 10 13 PNGMAJ = 0 11 PNGMIN = 1.2. 2914 PNGMIN = 1.2.40 12 15 PNGVER = $(PNGMAJ).$(PNGMIN) 13 16 … … 44 47 -Wmissing-declarations -Wtraditional -Wcast-align \ 45 48 -Wstrict-prototypes -Wmissing-prototypes #-Wconversion 46 CFLAGS=-I$(ZLIBINC) -Wall -O \ 47 -DPNG_NO_MMX_CODE; \ 49 CFLAGS=-I$(ZLIBINC) -W -Wall -O -DPNG_NO_MMX_CODE; \ 48 50 # $(WARNMORE) -g -DPNG_DEBUG=5 49 51 LDFLAGS=-L. -R. -L$(ZLIBLIB) -R$(ZLIBLIB) -lpng12 -lz -lm -
trunk/src/3rdparty/libpng/scripts/makefile.solaris-x86
r2 r561 1 1 # makefile for libpng on Solaris 2.x with gcc 2 # Copyright (C) 2004, 2006 , 2007Glenn Randers-Pehrson2 # Copyright (C) 2004, 2006-2008 Glenn Randers-Pehrson 3 3 # Contributed by William L. Sebok, based on makefile.linux 4 4 # Copyright (C) 1998 Greg Roelofs 5 5 # Copyright (C) 1996, 1997 Andreas Dilger 6 # For conditions of distribution and use, see copyright notice in png.h 6 7 # This code is released under the libpng license. 8 # For conditions of distribution and use, see the disclaimer 9 # and license in png.h 7 10 8 11 # Library name: 9 12 LIBNAME = libpng12 10 13 PNGMAJ = 0 11 PNGMIN = 1.2. 2914 PNGMIN = 1.2.40 12 15 PNGVER = $(PNGMAJ).$(PNGMIN) 13 16 … … 44 47 -Wmissing-declarations -Wtraditional -Wcast-align \ 45 48 -Wstrict-prototypes -Wmissing-prototypes #-Wconversion 46 CFLAGS=-I$(ZLIBINC) -W all -O \49 CFLAGS=-I$(ZLIBINC) -W -Wall -O \ 47 50 # $(WARNMORE) -g -DPNG_DEBUG=5 48 51 LDFLAGS=-L. -R. -L$(ZLIBLIB) -R$(ZLIBLIB) -lpng12 -lz -lm -
trunk/src/3rdparty/libpng/scripts/makefile.std
r2 r561 2 2 # Copyright (C) 2002, 2006 Glenn Randers-Pehrson 3 3 # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. 4 # For conditions of distribution and use, see copyright notice in png.h 4 5 # This code is released under the libpng license. 6 # For conditions of distribution and use, see the disclaimer 7 # and license in png.h 5 8 6 9 # where make install puts libpng.a and png.h … … 84 87 pngrtran.o: png.h pngconf.h 85 88 pngrutil.o: png.h pngconf.h 86 pngtest.o: png.h pngconf.h87 89 pngtrans.o: png.h pngconf.h 88 90 pngwrite.o: png.h pngconf.h … … 91 93 pngpread.o: png.h pngconf.h 92 94 95 pngtest.o: png.h pngconf.h -
trunk/src/3rdparty/libpng/scripts/makefile.sunos
r2 r561 2 2 # Copyright (C) 2002, 2006 Glenn Randers-Pehrson 3 3 # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. 4 # For conditions of distribution and use, see copyright notice in png.h 4 5 # This code is released under the libpng license. 6 # For conditions of distribution and use, see the disclaimer 7 # and license in png.h 5 8 6 9 # where make install puts libpng.a and png.h … … 89 92 pngrtran.o: png.h pngconf.h 90 93 pngrutil.o: png.h pngconf.h 91 pngtest.o: png.h pngconf.h92 94 pngtrans.o: png.h pngconf.h 93 95 pngwrite.o: png.h pngconf.h … … 96 98 pngpread.o: png.h pngconf.h 97 99 100 pngtest.o: png.h pngconf.h -
trunk/src/3rdparty/libpng/scripts/makefile.vcawin32
r2 r561 1 1 # makefile for libpng 2 # Copyright (C) 2006,2009 Glenn Randers-Pehrson 2 3 # Copyright (C) 1998 Tim Wegner 3 # For conditions of distribution and use, see copyright notice in png.h 4 5 # This code is released under the libpng license. 6 # For conditions of distribution and use, see the disclaimer 7 # and license in png.h 8 4 9 # Assumes that zlib.lib, zconf.h, and zlib.h have been copied to ..\zlib 5 10 # To use, do "nmake /f scripts\makefile.vcawin32" 6 11 7 # -------- Microsoft Visual C++ 5.0 and later, usesassembler code --------12 # -------- Microsoft Visual C++ 2.0 and later, no assembler code -------- 8 13 # If you don't want to use assembler (MMX) code, use makefile.vcwin32 instead. 9 14 … … 12 17 LD = link 13 18 AR = lib 14 CFLAGS = - DPNG_USE_PNGVCRD -nologo-MD -O2 -W3 -I..\zlib19 CFLAGS = -nologo -DPNG_USE_PNGVCRD -MD -O2 -W3 -I..\zlib 15 20 LDFLAGS = -nologo 16 21 ARFLAGS = -nologo … … 65 70 $(CC) -c $(CFLAGS) $*.c $(ERRFILE) 66 71 67 pngtest$(O): png.h pngconf.h68 $(CC) -c $(CFLAGS) $*.c $(ERRFILE)69 70 72 pngtrans$(O): png.h pngconf.h 71 73 $(CC) -c $(CFLAGS) $*.c $(ERRFILE) … … 84 86 $(AR) $(ARFLAGS) -out:$@ $(OBJS) $(ERRFILE) 85 87 88 pngtest$(O): png.h pngconf.h 89 $(CC) -c $(CFLAGS) $*.c $(ERRFILE) 90 86 91 pngtest.exe: pngtest$(O) libpng.lib 87 92 $(LD) $(LDFLAGS) -out:$@ pngtest$(O) libpng.lib ..\zlib\zlib.lib $(ERRFILE) -
trunk/src/3rdparty/libpng/scripts/makefile.vcwin32
r2 r561 1 1 # makefile for libpng 2 2 # Copyright (C) 1998 Tim Wegner 3 # For conditions of distribution and use, see copyright notice in png.h 3 # Copyright (C) 2006,2009 Glenn Randers-Pehrson 4 5 # This code is released under the libpng license. 6 # For conditions of distribution and use, see the disclaimer 7 # and license in png.h 8 4 9 # Assumes that zlib.lib, zconf.h, and zlib.h have been copied to ..\zlib 5 10 # To use, do "nmake /f scripts\makefile.vcwin32" … … 65 70 $(CC) -c $(CFLAGS) $*.c $(ERRFILE) 66 71 67 pngtest$(O): png.h pngconf.h68 $(CC) -c $(CFLAGS) $*.c $(ERRFILE)69 70 72 pngtrans$(O): png.h pngconf.h 71 73 $(CC) -c $(CFLAGS) $*.c $(ERRFILE) … … 84 86 $(AR) $(ARFLAGS) -out:$@ $(OBJS) $(ERRFILE) 85 87 88 pngtest$(O): png.h pngconf.h 89 $(CC) -c $(CFLAGS) $*.c $(ERRFILE) 90 86 91 pngtest.exe: pngtest$(O) libpng.lib 87 92 $(LD) $(LDFLAGS) -out:$@ pngtest$(O) libpng.lib ..\zlib\zlib.lib $(ERRFILE) -
trunk/src/3rdparty/libpng/scripts/makefile.watcom
r2 r561 4 4 # Copyright (C) 2000, Pawel Mrochen, based on makefile.msc which is 5 5 # copyright 1995 Guy Eric Schalnat, Group 42, Inc. 6 # For conditions of distribution and use, see copyright notice in png.h 6 7 # This code is released under the libpng license. 8 # For conditions of distribution and use, see the disclaimer 9 # and license in png.h 7 10 8 11 # To use, do "wmake /f scripts\makefile.watcom" -
trunk/src/3rdparty/libpng/scripts/makevms.com
r2 r561 56 56 $ CALL MAKE png.OBJ "cc ''CCOPT' png" - 57 57 png.c png.h pngconf.h 58 $ CALL MAKE pngpread.OBJ "cc ''CCOPT' pngpread" -59 pngpread.c png.h pngconf.h60 58 $ CALL MAKE pngset.OBJ "cc ''CCOPT' pngset" - 61 59 pngset.c png.h pngconf.h … … 65 63 pngread.c png.h pngconf.h 66 64 $ CALL MAKE pngpread.OBJ "cc ''CCOPT' pngpread" - 67 65 pngpread.c png.h pngconf.h 68 66 $ CALL MAKE pngrtran.OBJ "cc ''CCOPT' pngrtran" - 69 67 pngrtran.c png.h pngconf.h -
trunk/src/3rdparty/libpng/scripts/pngos2.def
r2 r561 3 3 ;---------------------------------------- 4 4 5 ; Version 1.2. 295 ; Version 1.2.40 6 6 7 7 LIBRARY PNG -
trunk/src/3rdparty/libpng/scripts/pngw32.def
r2 r561 6 6 7 7 EXPORTS 8 ;Version 1.2. 298 ;Version 1.2.40 9 9 png_build_grayscale_palette @1 10 10 png_check_sig @2 … … 190 190 ; For compatibility with 1.0.7-1.0.11 191 191 ; png_info_init @174 192 ; png_read_init_3, png_info_init_3, and png_write_init_3 are deprecated. 192 193 png_read_init_3 @175 193 194 png_write_init_3 @176 -
trunk/src/3rdparty/libpng/scripts/smakefile.ppc
r2 r561 2 2 # makefile for libpng and SAS C V6.58/7.00 PPC compiler 3 3 # Copyright (C) 1998 by Andreas R. Kleinert 4 # For conditions of distribution and use, see copyright notice in png.h 4 5 # This code is released under the libpng license. 6 # For conditions of distribution and use, see the disclaimer 7 # and license in png.h 5 8 6 9 CC = scppc
Note:
See TracChangeset
for help on using the changeset viewer.