~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/security/nss/cmd/swfort/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! gmake
 
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/
 
6
 
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.
 
11
 
12
# The Original Code is the Netscape security libraries.
 
13
 
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
 
17
# Rights Reserved.
 
18
 
19
# Contributor(s):
 
20
 
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
 
31
# GPL.
 
32
 
 
33
CORE_DEPTH = ../../..
 
34
 
 
35
include manifest.mn
 
36
include $(CORE_DEPTH)/coreconf/config.mk
 
37
 
 
38
#       $(NULL)
 
39
 
 
40
 
 
41
INCLUDES += \
 
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  \
 
47
        -I./include \
 
48
        $(NULL)
 
49
 
 
50
 
 
51
# For the time being, sec stuff is export only
 
52
# US_FLAGS = -DEXPORT_VERSION -DUS_VERSION
 
53
 
 
54
US_FLAGS = -DEXPORT_VERSION
 
55
EXPORT_FLAGS = -DEXPORT_VERSION
 
56
 
 
57
BASE_LIBS = \
 
58
        $(DIST)/lib/libdbm.$(LIB_SUFFIX) \
 
59
        $(DIST)/lib/libxp.$(LIB_SUFFIX) \
 
60
        $(DIST)/lib/libnspr.$(LIB_SUFFIX) \
 
61
        $(NULL)
 
62
 
 
63
#       $(DIST)/lib/libpurenspr.$(LIB_SUFFIX) \
 
64
 
 
65
#There are a circular dependancies in security/lib, and we deal with it by 
 
66
# double linking some libraries
 
67
SEC_LIBS = \
 
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) \
 
84
        $(NULL)
 
85
 
 
86
MYLIB   = lib/$(OBJDIR)/libsectool.$(LIB_SUFFIX)
 
87
 
 
88
US_LIBS = $(MYLIB) $(SEC_LIBS) $(BASE_LIBS) $(MYLIB) $(BASE_LIBS)
 
89
EX_LIBS = $(MYLIB) $(SEC_LIBS) $(BASE_LIBS) $(MYLIB) $(BASE_LIBS) 
 
90
 
 
91
REQUIRES = libxp nspr security
 
92
 
 
93
CSRCS   = $(EXEC_SRCS) $(BI_SRCS)
 
94
 
 
95
OBJS    = $(CSRCS:.c=.o) $(BI_SRCS:.c=-us.o) $(BI_SRCS:.c=-ex.o)
 
96
 
 
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)))
 
100
 
 
101
 
 
102
NON_DIRS = $(PROGS) $(US_PROGS) $(EX_PROGS)
 
103
TARGETS = $(NON_DIRS)
 
104
 
 
105
include $(CORE_DEPTH)/coreconf/rules.mk
 
106
 
 
107
symbols::
 
108
        @echo "TARGETS  = $(TARGETS)"