# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # $(eval $(call gb_UnpackedTarball_UnpackedTarball,libpng)) $(eval $(call gb_UnpackedTarball_set_tarball,libpng,$(LIBPNG_TARBALL))) $(eval $(call gb_UnpackedTarball_add_files,libpng,.,\ external/libpng/configs/pnglibconf.h \ )) # cannot use post_action since $(file ..) would be run when the recipe is parsed, i.e. would always # happen before the tarball is unpacked $(gb_UnpackedTarball_workdir)/libpng/libpng-uninstalled.pc: $(call gb_UnpackedTarball_get_target,libpng) $(file >$@,$(call gb_pkgconfig_file,libpng,1.6.50,$(LIBPNG_CFLAGS),$(LIBPNG_LIBS))) # vim: set noet sw=4 ts=4: