# $Id: Makefile.kmk 118412 2017-10-17 14:26:02Z bird $ ## @file # Sub-Makefile for libpng. # # # Copyright (C) 2006-2017 Oracle Corporation # # This file is part of VirtualBox Open Source Edition (OSE), as # available from http://www.virtualbox.org. This file is free software; # you can redistribute it and/or modify it under the terms of the GNU # General Public License (GPL) as published by the Free Software # Foundation, in version 2 as it comes in the "COPYING" file of the # VirtualBox OSE distribution. VirtualBox OSE is distributed in the # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. # SUB_DEPTH = ../../.. include $(KBUILD_PATH)/subheader.kmk LIBRARIES += VBox-libpng VBox-libpng_TEMPLATE = VBoxR3DllNonPedantic VBox-libpng_SDKS = VBOX_ZLIB VBox-libpng_CFLAGS.win = -wd4310 # -wd2220 -wd4431 # pngrutil.c(1268) : warning C4310: cast truncates constant value VBox-libpng_SOURCES = \ png.c \ pngset.c \ pngget.c \ pngrutil.c \ pngtrans.c \ pngwutil.c \ pngread.c \ pngrio.c \ pngwio.c \ pngwrite.c \ pngrtran.c \ pngwtran.c \ pngmem.c \ pngerror.c \ pngpread.c VBox-libpng_SOURCES.arm64 = \ arm/arm_init.c \ arm/filter_neon_intrinsics.c \ arm/palette_neon_intrinsics.c include $(FILE_KBUILD_SUB_FOOTER)