makefile.vcwin32 revision 671242f350d172e106580348e24bab66b0d7e6a5
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# makefile for libpng
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# Copyright (C) 1998 Tim Wegner
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# For conditions of distribution and use, see copyright notice in png.h
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# Assumes that zlib.lib, zconf.h, and zlib.h have been copied to ..\zlib
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# To use, do "nmake /f scripts\makefile.vcwin32"
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# -------- Microsoft Visual C++ 2.0 and later, no assembler code --------
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# If you want to use assembler (MMX) code, use makefile.vcawin32 instead.
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# Compiler, linker, librarian, and other tools
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncCFLAGS = -nologo -MD -O2 -W3 -I..\zlib
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncLDFLAGS = -nologo
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncARFLAGS = -nologo
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# File extensions
671242f350d172e106580348e24bab66b0d7e6a5vboxsync#uncomment next to put error messages in a file
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncOBJS1 = png$(O) pngerror$(O) pngget$(O) pngmem$(O) pngpread$(O)
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncOBJS2 = pngread$(O) pngrio$(O) pngrtran$(O) pngrutil$(O) pngset$(O)
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncOBJS3 = pngtrans$(O) pngwio$(O) pngwrite$(O) pngwtran$(O) pngwutil$(O)
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncOBJS = $(OBJS1) $(OBJS2) $(OBJS3)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync $(CC) -c $(CFLAGS) $*.c $(ERRFILE)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync $(CC) -c $(CFLAGS) $*.c $(ERRFILE)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync $(CC) -c $(CFLAGS) $*.c $(ERRFILE)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync $(CC) -c $(CFLAGS) $*.c $(ERRFILE)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync $(CC) -c $(CFLAGS) $*.c $(ERRFILE)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync $(CC) -c $(CFLAGS) $*.c $(ERRFILE)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync $(CC) -c $(CFLAGS) $*.c $(ERRFILE)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync $(CC) -c $(CFLAGS) $*.c $(ERRFILE)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync $(CC) -c $(CFLAGS) $*.c $(ERRFILE)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync $(CC) -c $(CFLAGS) $*.c $(ERRFILE)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync $(CC) -c $(CFLAGS) $*.c $(ERRFILE)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync $(CC) -c $(CFLAGS) $*.c $(ERRFILE)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync $(CC) -c $(CFLAGS) $*.c $(ERRFILE)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync $(CC) -c $(CFLAGS) $*.c $(ERRFILE)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync $(CC) -c $(CFLAGS) $*.c $(ERRFILE)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync $(CC) -c $(CFLAGS) $*.c $(ERRFILE)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync $(AR) $(ARFLAGS) -out:$@ $(OBJS) $(ERRFILE)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync $(LD) $(LDFLAGS) -out:$@ pngtest$(O) libpng.lib ..\zlib\zlib.lib $(ERRFILE)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync -$(RM) *$(O)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# End of makefile for libpng