aboutsummaryrefslogtreecommitdiffstats
path: root/distrib/libpng-1.2.19/sources.make
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/libpng-1.2.19/sources.make')
-rw-r--r--distrib/libpng-1.2.19/sources.make14
1 files changed, 14 insertions, 0 deletions
diff --git a/distrib/libpng-1.2.19/sources.make b/distrib/libpng-1.2.19/sources.make
new file mode 100644
index 0000000..d8088c7
--- /dev/null
+++ b/distrib/libpng-1.2.19/sources.make
@@ -0,0 +1,14 @@
+# 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
+ LIBPNG_SOURCES += pnggccrd.c
+endif
+
+LIBPNG_SOURCES := $(LIBPNG_SOURCES:%=$(LIBPNG_DIR)/%)
+