blob: a9b37baed33603a3215e886dae07978ed6d9eb8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# this file is included by various Makefiles and defines the set of sources used by our version of LibPng
#
LIBPNG_SOURCES := png.c pngerror.c pngget.c pngmem.c pngpread.c pngread.c \
pngrio.c pngrtran.c pngrutil.c pngset.c pngtrans.c pngvcrd.c pngwio.c \
pngwrite.c pngwtran.c pngwutil.c
ifeq ($(HOST_OS),darwin)
LIBPNG_CFLAGS += -DPNG_NO_MMX_CODE
else
ifeq ($(HOST_ARCH),ppc)
LIBPNG_CFLAGS += -DPNG_NO_MMX_CODE
else
LIBPNG_SOURCES += pnggccrd.c
endif
endif
LIBPNG_SOURCES := $(LIBPNG_SOURCES:%=$(LIBPNG_DIR)/%)
|