# -*- 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_StaticLibrary_StaticLibrary,updatehelper)) $(eval $(call gb_StaticLibrary_use_unpacked,updatehelper,onlineupdate)) $(eval $(call gb_StaticLibrary_set_include,updatehelper,\ -I$(call gb_UnpackedTarball_get_dir,onlineupdate)/onlineupdate/inc/ \ -I$(call gb_UnpackedTarball_get_dir,onlineupdate)/onlineupdate/source/service \ -I$(call gb_UnpackedTarball_get_dir,onlineupdate)/onlineupdate/source/update/common \ -I$(call gb_UnpackedTarball_get_dir,onlineupdate)/include/onlineupdate \ -I$(call gb_UnpackedTarball_get_dir,onlineupdate)/include \ -I$(call gb_UnpackedTarball_get_dir,onlineupdate)/mfbt/double-conversion \ -I$(call gb_UnpackedTarball_get_dir,onlineupdate)/toolkit/mozapps/update/common \ -I$(call gb_UnpackedTarball_get_dir,onlineupdate)/xpcom/base \ $$(INCLUDE) \ )) $(eval $(call gb_StaticLibrary_add_defs,updatehelper,\ -DMOZ_MAINTENANCE_SERVICE \ -DNSS3 \ -DMOZ_VERIFY_MAR_SIGNATURE \ -DXP_$(if $(filter WNT,$(OS)),WIN,UNIX) \ $(if $(filter WNT,$(OS)),-U_WIN32_WINNT) \ )) $(eval $(call gb_StaticLibrary_set_generated_cxx_suffix,updatehelper,cpp)) $(eval $(call gb_StaticLibrary_add_generated_exception_objects,updatehelper,\ UnpackedTarball/onlineupdate/mozglue/misc/Printf \ UnpackedTarball/onlineupdate/onlineupdate/source/update/common/readstrings \ UnpackedTarball/onlineupdate/toolkit/mozapps/update/common/updatecommon \ )) ifeq ($(OS),WNT) $(eval $(call gb_StaticLibrary_add_generated_exception_objects,updatehelper,\ UnpackedTarball/onlineupdate/onlineupdate/source/update/common/pathhash \ UnpackedTarball/onlineupdate/onlineupdate/source/update/common/uachelper \ UnpackedTarball/onlineupdate/onlineupdate/source/update/common/updatehelper \ UnpackedTarball/onlineupdate/onlineupdate/source/service/certificatecheck \ UnpackedTarball/onlineupdate/onlineupdate/source/service/registrycertificates \ UnpackedTarball/onlineupdate/toolkit/mozapps/update/common/updateutils_win \ )) endif $(eval $(call gb_StaticLibrary_set_generated_cxx_suffix,updatehelper,cc)) $(eval $(call gb_StaticLibrary_add_generated_exception_objects,updatehelper, \ UnpackedTarball/onlineupdate/mfbt/double-conversion/double-conversion/bignum \ UnpackedTarball/onlineupdate/mfbt/double-conversion/double-conversion/bignum-dtoa \ UnpackedTarball/onlineupdate/mfbt/double-conversion/double-conversion/cached-powers \ UnpackedTarball/onlineupdate/mfbt/double-conversion/double-conversion/double-to-string \ UnpackedTarball/onlineupdate/mfbt/double-conversion/double-conversion/fast-dtoa \ UnpackedTarball/onlineupdate/mfbt/double-conversion/double-conversion/fixed-dtoa \ )) $(eval $(call gb_StaticLibrary_set_warnings_disabled,updatehelper)) ifeq ($(OS),WNT) $(eval $(call gb_StaticLibrary_add_cxxflags,updatehelper,-Zc:strictStrings-)) endif # vim:set shiftwidth=4 tabstop=4 noexpandtab: */