Rev 1897 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1897 | Rev 1898 | ||
---|---|---|---|
Line 5... | Line 5... | ||
5 | AR= ar rc |
5 | AR= ar rc |
6 | 6 | ||
Line 7... | Line 7... | ||
7 | CFLAGS = -c -O2 -fomit-frame-pointer |
7 | CFLAGS = -c -O2 -fomit-frame-pointer |
Line -... | Line 8... | ||
- | 8 | ||
- | 9 | LDIMPORT:= -nostdlib --out-implib libpngimp.a --exclude-libs libamz.a |
|
- | 10 | ||
- | 11 | LDFLAGS:= -shared -s -T../newlib/dll.lds -Map map --image-base 0 |
|
8 | 12 | ||
Line 9... | Line 13... | ||
9 | DEFS = -DHAVE_CONFIG_H |
13 | DEFS = -DHAVE_CONFIG_H -D__DYNAMIC_REENT__ |
Line 10... | Line 14... | ||
10 | 14 | ||
Line 11... | Line 15... | ||
11 | LIBPNG_DEFINES = -DPNG_CONFIGURE_LIBPNG |
15 | LIBPNG_DEFINES = -DPNG_CONFIGURE_LIBPNG |
Line -... | Line 16... | ||
- | 16 | ||
- | 17 | DEFINES= $(DEFS) $(LIBPNG_DEFINES) |
|
- | 18 | ||
Line 12... | Line 19... | ||
12 | 19 | INCLUDES= -I../newlib/include -I../zlib |
|
13 | DEFINES= $(DEFS) $(LIBPNG_DEFINES) |
20 | |
14 | 21 | LIBPATH:= -L../newlib -L../zlib |
|
15 | INCLUDES= -I../newlib/include -I../zlib |
22 | |
16 | - | ||
Line 17... | Line 23... | ||
17 | 23 | LIBS:= -lamz -lgcc -lzimp -lcimp |
|
Line 18... | Line 24... | ||
18 | SOURCES = png.c pngerror.c pngget.c pngmem.c pngpread.c \ |
24 | |
Line 19... | Line 25... | ||
19 | pngread.c pngrio.c pngrtran.c pngrutil.c \ |
25 | SOURCES = png.c pngerror.c pngget.c pngmem.c pngpread.c \ |
Line 20... | Line 26... | ||
20 | pngset.c pngtrans.c pngwio.c pngwrite.c \ |
26 | pngread.c pngrio.c pngrtran.c pngrutil.c \ |
21 | pngwtran.c pngwutil.c png.h pngconf.h \ |
27 | pngset.c pngtrans.c pngwio.c pngwrite.c \ |
Line -... | Line 28... | ||
- | 28 | pngwtran.c pngwutil.c |
|
- | 29 | ||
Line 22... | Line 30... | ||
22 | pngdebug.h pnginfo.h pngpriv.h pngstruct.h |
30 | |
23 | 31 |