summaryrefslogtreecommitdiff
path: root/external/nss/ExternalPackage_nss.mk
blob: 2b15fc3eb2a8983f2a5ec53f5bbd57d9d341a34d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# -*- 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_ExternalPackage_ExternalPackage,nss,nss))

$(eval $(call gb_ExternalPackage_use_external_project,nss,nss))

ifeq ($(OS),iOS)
# nothing...
else ifeq ($(OS),MACOSX)
$(eval $(call gb_ExternalPackage_add_files,nss,$(LIBO_LIB_FOLDER),\
		dist/out/lib/libfreebl3.dylib \
		dist/out/lib/libnspr4.dylib \
		dist/out/lib/libnss3.dylib \
		dist/out/lib/libnssckbi.dylib \
		dist/out/lib/libnssdbm3.dylib \
		dist/out/lib/libnssutil3.dylib \
		dist/out/lib/libplc4.dylib \
		dist/out/lib/libplds4.dylib \
		dist/out/lib/libsmime3.dylib \
		dist/out/lib/libsoftokn3.dylib \
		dist/out/lib/libssl3.dylib \
))
else ifeq ($(OS),WNT)
$(eval $(call gb_ExternalPackage_add_files,nss,$(LIBO_LIB_FOLDER),\
		dist/out/lib/freebl3.dll \
		dist/out/lib/nspr4.dll \
		dist/out/lib/nss3.dll \
		dist/out/lib/nssckbi.dll \
		dist/out/lib/nssdbm3.dll \
		dist/out/lib/nssutil3.dll \
		dist/out/lib/plc4.dll \
		dist/out/lib/plds4.dll \
		dist/out/lib/smime3.dll \
		dist/out/lib/softokn3.dll \
		dist/out/lib/sqlite3.dll \
		dist/out/lib/ssl3.dll \
))
else # OS!=WNT/MACOSX
$(eval $(call gb_ExternalPackage_add_files,nss,$(LIBO_LIB_FOLDER),\
		dist/out/lib/libfreebl3.so \
		dist/out/lib/libnspr4.so \
		dist/out/lib/libnss3.so \
		dist/out/lib/libnssckbi.so \
		dist/out/lib/libnssdbm3.so \
		dist/out/lib/libnssutil3.so \
		dist/out/lib/libplc4.so \
		dist/out/lib/libplds4.so \
		dist/out/lib/libsmime3.so \
		dist/out/lib/libsoftokn3.so \
		dist/out/lib/libssl3.so \
		dist/out/lib/libsqlite3.so \
))
endif
ifeq ($(OS),LINUX)
$(eval $(call gb_ExternalPackage_add_files,nss,$(LIBO_LIB_FOLDER),\
		dist/out/lib/libfreeblpriv3.so \
))
endif

# vim: set noet sw=4 ts=4: