makefile.mk (4fd7cfbc) makefile.mk (09e5ff2e)
1#**************************************************************
1#**************************************************************
2#
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance
9# with the License. You may obtain a copy of the License at
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance
9# with the License. You may obtain a copy of the License at
10#
10#
11# http://www.apache.org/licenses/LICENSE-2.0
11# http://www.apache.org/licenses/LICENSE-2.0
12#
12#
13# Unless required by applicable law or agreed to in writing,
14# software distributed under the License is distributed on an
15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16# KIND, either express or implied. See the License for the
17# specific language governing permissions and limitations
18# under the License.
13# Unless required by applicable law or agreed to in writing,
14# software distributed under the License is distributed on an
15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16# KIND, either express or implied. See the License for the
17# specific language governing permissions and limitations
18# under the License.
19#
19#
20#**************************************************************
21
20#**************************************************************
21
22
23
24PRJ=.
25
26PRJNAME=nss
27TARGET=nss
28
29# --- Settings -----------------------------------------------------
30
31.INCLUDE : settings.mk

--- 30 unchanged lines hidden (view full) ---

62USE_64:=1
63.EXPORT : USE_64
64.ENDIF # "$(BUILD64)"=="1"
65
66OUT2LIB=dist$/*.OBJ$/lib$/*$(DLLPOST)
67
68BUILD_DIR=nss
69BUILD_ACTION= $(GNUMAKE) nss_build_all
22PRJ=.
23
24PRJNAME=nss
25TARGET=nss
26
27# --- Settings -----------------------------------------------------
28
29.INCLUDE : settings.mk

--- 30 unchanged lines hidden (view full) ---

60USE_64:=1
61.EXPORT : USE_64
62.ENDIF # "$(BUILD64)"=="1"
63
64OUT2LIB=dist$/*.OBJ$/lib$/*$(DLLPOST)
65
66BUILD_DIR=nss
67BUILD_ACTION= $(GNUMAKE) nss_build_all
70#See #i105566# && moz#513024#
68# See #i105566# && moz#513024#
71.IF "$(OS)"=="LINUX"
72BUILD_ACTION+=FREEBL_NO_DEPEND=1 FREEBL_LOWHASH=1 NSS_DISABLE_GTESTS=1
73PATCH_FILES+=nss_linux.patch
74.ENDIF
75
76.IF "$(OS)"=="FREEBSD"
77BUILD_ACTION+=NSS_DISABLE_GTESTS=1
78.ENDIF

--- 31 unchanged lines hidden (view full) ---

110 dist$/*.OBJ$/lib$/libnssutil3.a \
111 dist$/*.OBJ$/lib$/libplc4.a \
112 dist$/*.OBJ$/lib$/libplds4.a \
113 dist$/*.OBJ$/lib$/libsmime3.a \
114 dist$/*.OBJ$/lib$/libsoftokn3.a \
115 dist$/*.OBJ$/lib$/libsqlite3.a \
116 dist$/*.OBJ$/lib$/libssl3.a
117
69.IF "$(OS)"=="LINUX"
70BUILD_ACTION+=FREEBL_NO_DEPEND=1 FREEBL_LOWHASH=1 NSS_DISABLE_GTESTS=1
71PATCH_FILES+=nss_linux.patch
72.ENDIF
73
74.IF "$(OS)"=="FREEBSD"
75BUILD_ACTION+=NSS_DISABLE_GTESTS=1
76.ENDIF

--- 31 unchanged lines hidden (view full) ---

108 dist$/*.OBJ$/lib$/libnssutil3.a \
109 dist$/*.OBJ$/lib$/libplc4.a \
110 dist$/*.OBJ$/lib$/libplds4.a \
111 dist$/*.OBJ$/lib$/libsmime3.a \
112 dist$/*.OBJ$/lib$/libsoftokn3.a \
113 dist$/*.OBJ$/lib$/libsqlite3.a \
114 dist$/*.OBJ$/lib$/libssl3.a
115
118.ELSE # "$(COM)"=="GCC"
116.ELSE # "$(COM)"=="GCC"
119MOZ_MSVCVERSION= 9
120.EXPORT : MOZ_MSVCVERSION
121PATCH_FILES+=nss_win.patch
122moz_build:=$(shell cygpath -p $(MOZILLABUILD))
123
117MOZ_MSVCVERSION= 9
118.EXPORT : MOZ_MSVCVERSION
119PATCH_FILES+=nss_win.patch
120moz_build:=$(shell cygpath -p $(MOZILLABUILD))
121
124#Using WINNT will cause at least that nspr4.dll, plc4.dll, plds4.dll
125#become libnspr4.dll, libplc4.dll, libplds4.dll
126#WINNT causes the use of Microsoft fibers (specific to Windows NT and Windows 2000).
122# Using WINNT will cause at least that nspr4.dll, plc4.dll, plds4.dll
123# become libnspr4.dll, libplc4.dll, libplds4.dll
124# WINNT causes the use of Microsoft fibers (specific to Windows NT and Windows 2000).
127#OS_TARGET= WINNT
128OS_TARGET=WIN95
129.EXPORT : OS_TARGET
130
131# make use of stlport headerfiles
132EXT_USE_STLPORT=TRUE
133
134# To build nss one has to call "make nss_build_all" in nss
135NSS_BUILD_DIR= $(subst,\,/ $(PWD)/$(MISC)/build/$(TARFILE_ROOTDIR)/nss)
136BUILD_ACTION= PATH="$(PATH):$(moz_build)/msys/bin:$(moz_build)/bin:$(moz_build)/msys/local/bin:$(moz_build)/moztools/bin" && $(subst,/,$/ $(MOZILLABUILD)/msys/bin/bash) -i \
137 -c "cd $(NSS_BUILD_DIR) && make nss_build_all NSS_DISABLE_GTESTS=1"
138
139OUT2LIB= \
125#OS_TARGET= WINNT
126OS_TARGET=WIN95
127.EXPORT : OS_TARGET
128
129# make use of stlport headerfiles
130EXT_USE_STLPORT=TRUE
131
132# To build nss one has to call "make nss_build_all" in nss
133NSS_BUILD_DIR= $(subst,\,/ $(PWD)/$(MISC)/build/$(TARFILE_ROOTDIR)/nss)
134BUILD_ACTION= PATH="$(PATH):$(moz_build)/msys/bin:$(moz_build)/bin:$(moz_build)/msys/local/bin:$(moz_build)/moztools/bin" && $(subst,/,$/ $(MOZILLABUILD)/msys/bin/bash) -i \
135 -c "cd $(NSS_BUILD_DIR) && make nss_build_all NSS_DISABLE_GTESTS=1"
136
137OUT2LIB= \
140 dist$/WIN954.0_OPT.OBJ$/lib$/nspr4.lib \
141 dist$/WIN954.0_OPT.OBJ$/lib$/nss3.lib \
142 dist$/WIN954.0_OPT.OBJ$/lib$/nssdbm3.lib \
143 dist$/WIN954.0_OPT.OBJ$/lib$/nssutil3.lib \
144 dist$/WIN954.0_OPT.OBJ$/lib$/plc4.lib \
145 dist$/WIN954.0_OPT.OBJ$/lib$/plds4.lib \
146 dist$/WIN954.0_OPT.OBJ$/lib$/smime3.lib \
147 dist$/WIN954.0_OPT.OBJ$/lib$/softokn3.lib \
148 dist$/WIN954.0_OPT.OBJ$/lib$/sqlite3.lib \
149 dist$/WIN954.0_OPT.OBJ$/lib$/ssl3.lib
138 dist$/*.OBJ$/lib$/nspr4.lib \
139 dist$/*.OBJ$/lib$/nss3.lib \
140 dist$/*.OBJ$/lib$/nssdbm3.lib \
141 dist$/*.OBJ$/lib$/nssutil3.lib \
142 dist$/*.OBJ$/lib$/plc4.lib \
143 dist$/*.OBJ$/lib$/plds4.lib \
144 dist$/*.OBJ$/lib$/smime3.lib \
145 dist$/*.OBJ$/lib$/softokn3.lib \
146 dist$/*.OBJ$/lib$/sqlite3.lib \
147 dist$/*.OBJ$/lib$/ssl3.lib
150
148
151.ENDIF # "$(COM)"=="GCC"
149.ENDIF # "$(COM)"=="GCC"
152
150
153OUT2BIN=dist$/WIN954.0_OPT.OBJ$/lib$/*$(DLLPOST)
154.ENDIF # "$(GUI)"=="WNT"
151OUT2BIN=dist$/*.OBJ$/lib$/*$(DLLPOST)
152.ENDIF # "$(GUI)"=="WNT"
155
156
157OUTDIR2INC=dist$/public$/nss dist$/*.OBJ$/include
158
159# --- Targets ------------------------------------------------------
160
153
154
155OUTDIR2INC=dist$/public$/nss dist$/*.OBJ$/include
156
157# --- Targets ------------------------------------------------------
158
161.INCLUDE : set_ext.mk
159.INCLUDE : set_ext.mk
162.INCLUDE : target.mk
163.INCLUDE : tg_ext.mk
164
165.ENDIF
160.INCLUDE : target.mk
161.INCLUDE : tg_ext.mk
162
163.ENDIF
164
165# vim: set noet sw=4 ts=4: