2
# The contents of this file are subject to the Mozilla Public
3
# License Version 1.1 (the "License"); you may not use this file
4
# except in compliance with the License. You may obtain a copy of
5
# the License at http://www.mozilla.org/MPL/
7
# Software distributed under the License is distributed on an "AS
8
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
# implied. See the License for the specific language governing
10
# rights and limitations under the License.
12
# The Original Code is the Netscape security libraries.
14
# The Initial Developer of the Original Code is Netscape
15
# Communications Corporation. Portions created by Netscape are
16
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
21
# Alternatively, the contents of this file may be used under the
22
# terms of the GNU General Public License Version 2 or later (the
23
# "GPL"), in which case the provisions of the GPL are applicable
24
# instead of those above. If you wish to allow use of your
25
# version of this file only under the terms of the GPL and not to
26
# allow others to use your version of this file under the MPL,
27
# indicate your decision by deleting the provisions above and
28
# replace them with the notice and other provisions required by
29
# the GPL. If you do not delete the provisions above, a recipient
30
# may use your version of this file under either the MPL or the
36
include $(CORE_DEPTH)/coreconf/config.mk
42
-I$(DIST)/../public/security \
43
-I$(DIST)/../private/security \
44
-I$(DEPTH)/security/lib/cert \
45
-I$(DEPTH)/security/lib/key \
46
-I$(DEPTH)/security/lib/util \
51
# For the time being, sec stuff is export only
52
# US_FLAGS = -DEXPORT_VERSION -DUS_VERSION
54
US_FLAGS = -DEXPORT_VERSION
55
EXPORT_FLAGS = -DEXPORT_VERSION
58
$(DIST)/lib/libdbm.$(LIB_SUFFIX) \
59
$(DIST)/lib/libxp.$(LIB_SUFFIX) \
60
$(DIST)/lib/libnspr.$(LIB_SUFFIX) \
63
# $(DIST)/lib/libpurenspr.$(LIB_SUFFIX) \
65
#There are a circular dependancies in security/lib, and we deal with it by
66
# double linking some libraries
68
$(DIST)/lib/libsecnav.$(LIB_SUFFIX) \
69
$(DIST)/lib/libssl.$(LIB_SUFFIX) \
70
$(DIST)/lib/libpkcs7.$(LIB_SUFFIX) \
71
$(DIST)/lib/libcert.$(LIB_SUFFIX) \
72
$(DIST)/lib/libkey.$(LIB_SUFFIX) \
73
$(DIST)/lib/libsecmod.$(LIB_SUFFIX) \
74
$(DIST)/lib/libcrypto.$(LIB_SUFFIX) \
75
$(DIST)/lib/libsecutil.$(LIB_SUFFIX) \
76
$(DIST)/lib/libssl.$(LIB_SUFFIX) \
77
$(DIST)/lib/libpkcs7.$(LIB_SUFFIX) \
78
$(DIST)/lib/libcert.$(LIB_SUFFIX) \
79
$(DIST)/lib/libkey.$(LIB_SUFFIX) \
80
$(DIST)/lib/libsecmod.$(LIB_SUFFIX) \
81
$(DIST)/lib/libcrypto.$(LIB_SUFFIX) \
82
$(DIST)/lib/libsecutil.$(LIB_SUFFIX) \
83
$(DIST)/lib/libhash.$(LIB_SUFFIX) \
86
MYLIB = lib/$(OBJDIR)/libsectool.$(LIB_SUFFIX)
88
US_LIBS = $(MYLIB) $(SEC_LIBS) $(BASE_LIBS) $(MYLIB) $(BASE_LIBS)
89
EX_LIBS = $(MYLIB) $(SEC_LIBS) $(BASE_LIBS) $(MYLIB) $(BASE_LIBS)
91
REQUIRES = libxp nspr security
93
CSRCS = $(EXEC_SRCS) $(BI_SRCS)
95
OBJS = $(CSRCS:.c=.o) $(BI_SRCS:.c=-us.o) $(BI_SRCS:.c=-ex.o)
97
PROGS = $(addprefix $(OBJDIR)/, $(EXEC_SRCS:.c=$(BIN_SUFFIX)))
98
US_PROGS = $(addprefix $(OBJDIR)/, $(BI_SRCS:.c=-us$(BIN_SUFFIX)))
99
EX_PROGS = $(addprefix $(OBJDIR)/, $(BI_SRCS:.c=-ex$(BIN_SUFFIX)))
102
NON_DIRS = $(PROGS) $(US_PROGS) $(EX_PROGS)
103
TARGETS = $(NON_DIRS)
105
include $(CORE_DEPTH)/coreconf/rules.mk
108
@echo "TARGETS = $(TARGETS)"