author | ohair |
Tue, 25 May 2010 15:58:33 -0700 | |
changeset 5506 | 202f599c92aa |
parent 4665 | d14dc3d9e1fa |
child 5996 | 68e11696dd2c |
permissions | -rw-r--r-- |
2 | 1 |
# |
5506 | 2 |
# Copyright (c) 1996, 2005, Oracle and/or its affiliates. All rights reserved. |
2 | 3 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
# |
|
5 |
# This code is free software; you can redistribute it and/or modify it |
|
6 |
# under the terms of the GNU General Public License version 2 only, as |
|
5506 | 7 |
# published by the Free Software Foundation. Oracle designates this |
2 | 8 |
# particular file as subject to the "Classpath" exception as provided |
5506 | 9 |
# by Oracle in the LICENSE file that accompanied this code. |
2 | 10 |
# |
11 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
|
12 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 |
# version 2 for more details (a copy is included in the LICENSE file that |
|
15 |
# accompanied this code). |
|
16 |
# |
|
17 |
# You should have received a copy of the GNU General Public License version |
|
18 |
# 2 along with this work; if not, write to the Free Software Foundation, |
|
19 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
20 |
# |
|
5506 | 21 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
22 |
# or visit www.oracle.com if you need additional information or have any |
|
23 |
# questions. |
|
2 | 24 |
# |
25 |
||
26 |
BUILDDIR = ../.. |
|
4665
d14dc3d9e1fa
6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents:
2
diff
changeset
|
27 |
MODULE = base |
2 | 28 |
PACKAGE = java.security |
29 |
PRODUCT = sun |
|
30 |
include $(BUILDDIR)/common/Defs.gmk |
|
31 |
||
32 |
# |
|
33 |
# Rules |
|
34 |
# |
|
35 |
AUTO_FILES_JAVA_DIRS = java/security |
|
36 |
||
37 |
# |
|
38 |
# Directories |
|
39 |
# |
|
40 |
||
41 |
PROPS_SRC = $(TOPDIR)/src/share/lib/security/java.security |
|
42 |
||
43 |
ifeq ($(PLATFORM), solaris) |
|
44 |
PROPS_SRC = $(TOPDIR)/src/share/lib/security/java.security-solaris |
|
45 |
||
46 |
else # PLATFORM |
|
47 |
||
48 |
# Register Microsoft CryptoAPI provider only on (non-64-bit) Windows platform. |
|
49 |
ifeq ($(PLATFORM), windows) |
|
50 |
ifneq ($(ARCH_DATA_MODEL), 64) |
|
51 |
PROPS_SRC = $(TOPDIR)/src/share/lib/security/java.security-windows |
|
52 |
endif |
|
53 |
endif |
|
54 |
endif # PLATFORM |
|
55 |
||
56 |
||
57 |
PROPS_BUILD = $(LIBDIR)/security/java.security |
|
58 |
||
59 |
POLICY_SRC = $(TOPDIR)/src/share/lib/security/java.policy |
|
60 |
POLICY_BUILD = $(LIBDIR)/security/java.policy |
|
61 |
||
62 |
CACERTS_SRC = $(CACERTS_FILE) |
|
63 |
CACERTS_BUILD = $(LIBDIR)/security/cacerts |
|
64 |
||
65 |
FILES_class = $(FILES_java:%.java=$(CLASSBINDIR)/%.class) |
|
66 |
||
67 |
# |
|
68 |
# Rules |
|
69 |
# |
|
70 |
include $(BUILDDIR)/common/Rules.gmk |
|
71 |
||
4665
d14dc3d9e1fa
6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents:
2
diff
changeset
|
72 |
build: properties policy cacerts |
2 | 73 |
|
74 |
install: all |
|
75 |
||
76 |
properties: classes $(PROPS_BUILD) |
|
77 |
||
78 |
policy: classes $(POLICY_BUILD) |
|
79 |
||
80 |
cacerts: classes $(CACERTS_BUILD) |
|
81 |
||
82 |
$(PROPS_BUILD): $(PROPS_SRC) |
|
83 |
$(install-file) |
|
84 |
||
85 |
$(POLICY_BUILD): $(POLICY_SRC) |
|
86 |
$(install-file) |
|
87 |
||
88 |
$(CACERTS_BUILD): $(CACERTS_SRC) |
|
89 |
$(install-file) |
|
90 |
||
91 |
clean clobber:: .delete.classlist |
|
92 |
$(RM) -r $(CLASSBINDIR)/java/security |
|
4665
d14dc3d9e1fa
6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents:
2
diff
changeset
|
93 |
$(RM) $(PROPS_BUILD) $(POLICY_BUILD) $(CACERTS_BUILD) |
2 | 94 |
|
95 |
# Additional Rule for building sun.security.util |
|
96 |
$(CLASSBINDIR)/%.class: $(SHARE_SRC)/sun/%.java |
|
97 |
@$(ECHO) $? >> $(TEMPDIR)/.classes.list |
|
98 |