Bug 752461 - Hide click-to-play overlays when choosing "never activate plugins.....
[gecko.git] / security / coreconf / source.mk
blobc25a0ddba1eed9e0ef38db3087984b0535057041
2 # ***** BEGIN LICENSE BLOCK *****
3 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License. You may obtain a copy of the License at
8 # http://www.mozilla.org/MPL/
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
13 # License.
15 # The Original Code is the Netscape security libraries.
17 # The Initial Developer of the Original Code is
18 # Netscape Communications Corporation.
19 # Portions created by the Initial Developer are Copyright (C) 1994-2000
20 # the Initial Developer. All Rights Reserved.
22 # Contributor(s):
24 # Alternatively, the contents of this file may be used under the terms of
25 # either the GNU General Public License Version 2 or later (the "GPL"), or
26 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 # in which case the provisions of the GPL or the LGPL are applicable instead
28 # of those above. If you wish to allow use of your version of this file only
29 # under the terms of either the GPL or the LGPL, and not to allow others to
30 # use your version of this file under the terms of the MPL, indicate your
31 # decision by deleting the provisions above and replace them with the notice
32 # and other provisions required by the GPL or the LGPL. If you do not delete
33 # the provisions above, a recipient may use your version of this file under
34 # the terms of any one of the MPL, the GPL or the LGPL.
36 # ***** END LICENSE BLOCK *****
38 #######################################################################
39 # Master <component>-specific source import/export directories #
40 #######################################################################
43 # <user_source_tree> master import/export directory prefix
46 ifndef SOURCE_PREFIX
47 ifndef BUILD_TREE
48 SOURCE_PREFIX = $(CORE_DEPTH)/../dist
49 else
50 SOURCE_PREFIX = $(BUILD_TREE)/dist
51 endif
52 endif
55 # <user_source_tree> cross-platform (xp) master import/export directory
58 ifndef SOURCE_XP_DIR
59 SOURCE_XP_DIR = $(SOURCE_PREFIX)
60 endif
63 # <user_source_tree> cross-platform (xp) import/export directories
66 SOURCE_CLASSES_DIR = $(SOURCE_XP_DIR)/classes
67 SOURCE_CLASSES_DBG_DIR = $(SOURCE_XP_DIR)/classes_DBG
68 SOURCE_XPHEADERS_DIR = $(SOURCE_XP_DIR)/public/$(MODULE)
69 SOURCE_XPPRIVATE_DIR = $(SOURCE_XP_DIR)/private/$(MODULE)
71 ifdef BUILD_OPT
72 IMPORT_XPCLASS_DIR = $(SOURCE_CLASSES_DIR)
73 else
74 IMPORT_XPCLASS_DIR = $(SOURCE_CLASSES_DBG_DIR)
75 endif
78 # <user_source_tree> machine-dependent (md) master import/export directory
81 ifndef SOURCE_MD_DIR
82 SOURCE_MD_DIR = $(SOURCE_PREFIX)/$(PLATFORM)
83 endif
86 # <user_source_tree> machine-dependent (md) import/export directories
89 #This is where we install built executables and (for Windows only) DLLs.
90 ifndef SOURCE_BIN_DIR
91 SOURCE_BIN_DIR = $(SOURCE_MD_DIR)/bin
92 endif
94 #This is where we install built libraries (.a, .so, .lib).
95 ifndef SOURCE_LIB_DIR
96 SOURCE_LIB_DIR = $(SOURCE_MD_DIR)/lib
97 endif
99 # This is where NSPR header files are found.
100 ifndef SOURCE_MDHEADERS_DIR
101 SOURCE_MDHEADERS_DIR = $(SOURCE_MD_DIR)/include
102 endif
104 #######################################################################
105 # Master <component>-specific source release directories and files #
106 #######################################################################
109 # <user_source_tree> source-side master release directory prefix
110 # NOTE: export control policy enforced for XP and MD files released to
111 # the staging area
114 ifeq ($(POLICY), domestic)
115 SOURCE_RELEASE_PREFIX = $(SOURCE_PREFIX)/release/domestic
116 else
117 ifeq ($(POLICY), export)
118 SOURCE_RELEASE_PREFIX = $(SOURCE_PREFIX)/release/export
119 else
120 ifeq ($(POLICY), france)
121 SOURCE_RELEASE_PREFIX = $(SOURCE_PREFIX)/release/france
122 else
123 #We shouldn't have to put another directory under here, but without it the perl
124 #script for releasing doesn't find the directory. It thinks it doesn't exist.
125 #So we're adding this no-policy directory so that the script for releasing works
126 #in all casese when policy is not set. This doesn't affect where the final jar
127 #files land, only where they are placed in the local tree when building the jar
128 #files. When there is no policy, the jar files will still land in
129 #<dist>/<module>/<date>/<platform> like they used to.
130 SOURCE_RELEASE_PREFIX = $(SOURCE_PREFIX)/release/no-policy
131 endif
132 endif
133 endif
136 # <user_source_tree> cross-platform (xp) source-side master release directory
139 SOURCE_RELEASE_XP_DIR = $(SOURCE_RELEASE_PREFIX)
142 # <user_source_tree> cross-platform (xp) source-side release directories
145 SOURCE_RELEASE_CLASSES_DIR = classes
146 SOURCE_RELEASE_CLASSES_DBG_DIR = classes_DBG
147 SOURCE_RELEASE_XPHEADERS_DIR = include
150 # <user_source_tree> cross-platform (xp) JAR source-side release files
153 XPCLASS_JAR = xpclass.jar
154 XPCLASS_DBG_JAR = xpclass_dbg.jar
155 XPHEADER_JAR = xpheader.jar
157 ifdef BUILD_OPT
158 SOURCE_RELEASE_XP_CLASSES_DIR = $(SOURCE_RELEASE_CLASSES_DIR)
159 IMPORT_XPCLASS_JAR = $(XPCLASS_JAR)
160 else
161 SOURCE_RELEASE_XP_CLASSES_DIR = $(SOURCE_RELEASE_CLASSES_DBG_DIR)
162 IMPORT_XPCLASS_JAR = $(XPCLASS_DBG_JAR)
163 endif
166 # <user_source_tree> machine-dependent (md) source-side master release directory
169 SOURCE_RELEASE_MD_DIR = $(PLATFORM)
172 # <user_source_tree> machine-dependent (md) source-side release directories
175 SOURCE_RELEASE_BIN_DIR = $(PLATFORM)/bin
176 SOURCE_RELEASE_LIB_DIR = $(PLATFORM)/lib
177 SOURCE_RELEASE_MDHEADERS_DIR = $(PLATFORM)/include
178 SOURCE_RELEASE_SPEC_DIR = $(SOURCE_RELEASE_MD_DIR)
181 # <user_source_tree> machine-dependent (md) JAR/tar source-side release files
184 MDBINARY_JAR = mdbinary.jar
185 MDHEADER_JAR = mdheader.jar
188 # Where to put the results
190 ifneq ($(RESULTS_DIR),)
191 RESULTS_DIR = $(RELEASE_TREE)/sectools/results
192 endif
194 MK_SOURCE = included