1 --- scripts/makefile.cygwin 2004-12-03 00:14:31.000000000 +0000
2 +++ scripts/makefile.cygwin 2006-04-09 17:56:32.203125000 +0100
4 # $CFLAGS, and include pnggccrd.o in $OBJS, below, and in the dependency
5 # list at the bottom of this makefile.
9 MINGW_CCFLAGS=-mno-cygwin -I/usr/include/mingw
10 MINGW_LDFLAGS=-mno-cygwin -L/usr/lib/mingw
13 # Where "make install" puts libpng*.a, *png*.dll, png.h, and pngconf.h
16 -$(warning You haven't specified a 'prefix=' location. Defaulting to "/usr")
20 # Where the zlib library and include files are located
23 +ZLIBLIB= ??PREFIX??/lib
24 +ZLIBINC= ??PREFIX??/include
29 LDEXTRA=-Wl,--out-implib=$(IMPLIB) $(addprefix -L,$(ZLIBLIB)) -lz
37 INCPATH=$(prefix)/include
39 $(CC) -c $(CFLAGS) -DPNG_BUILD_DLL -o $@ $<
46 -$(SHAREDDEF): scripts/png32ms.def
47 +$(SHAREDDEF): scripts/pngw32.def
48 cat $< | sed -e '1{G;s/^\(.*\)\(\n\)/EXPORTS/;};2,/^EXPORTS/d' | \
49 sed -e 's/\([^;]*\);/;/' > $@