third_party/Makefile.in
author Rob Lemley <rob@thunderbird.net>
Wed, 08 Apr 2020 18:29:48 -0400
changeset 38749 7781644729688f95e241adb91166884b8c6a068f
parent 38341 e0e05018f705af08c3b98472483c02c69d25d9ec
permissions -rw-r--r--
Bug 1621787 - Additional license notice for Json-C. r=kaie Json-C sources will be added to third_party/json-c. This is the license text from the current version.

# 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/.


include $(moztopsrcdir)/config/config.mk
include $(moztopsrcdir)/config/rules.mk

print-%: ; @echo $* is $($*)
origin-%: ; @echo $* origin $(origin $*)

ifdef TB_LIBOTR_PREBUILT

ifeq (WINNT,$(OS_ARCH))
ifdef HAVE_64BIT_BUILD
OTR_LIBS := libgpg-error6-0.dll
else
OTR_LIBS := libgpg-error-0.dll
endif
OTR_LIBS += libgcrypt-20.dll \
	libotr-5.dll \
	libssp-0.dll
endif

ifeq (Darwin,$(OS_ARCH))
OTR_LIBS := libotr.5.dylib
endif

ifeq (Linux,$(OS_ARCH))
OTR_LIBS := libotr.so.5
endif

OTR_LIB_PATHS := $(foreach otrlib,$(OTR_LIBS),$(TB_LIBOTR_PREBUILT)/$(otrlib))

libs:: $(OTR_LIB_PATHS)
	$(NSINSTALL) -t -m 755 $(OTR_LIB_PATHS) $(DIST)/bin

endif   ## TB_LIBOTR_PREBUILT