author | mike_s |
Wed, 25 Jan 2006 15:13:08 -0800 | |
changeset 1325 | 6cca126e26d1 |
parent 183 | 762e36232f25 |
child 2139 | 6243c3338933 |
permissions | -rw-r--r-- |
0 | 1 |
# |
2 |
# CDDL HEADER START |
|
3 |
# |
|
4 |
# The contents of this file are subject to the terms of the |
|
5 |
# Common Development and Distribution License, Version 1.0 only |
|
6 |
# (the "License"). You may not use this file except in compliance |
|
7 |
# with the License. |
|
8 |
# |
|
9 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
10 |
# or http://www.opensolaris.org/os/licensing. |
|
11 |
# See the License for the specific language governing permissions |
|
12 |
# and limitations under the License. |
|
13 |
# |
|
14 |
# When distributing Covered Code, include this CDDL HEADER in each |
|
15 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
16 |
# If applicable, add the following below this CDDL HEADER, with the |
|
17 |
# fields enclosed by brackets "[]" replaced with your own identifying |
|
18 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
|
19 |
# |
|
20 |
# CDDL HEADER END |
|
21 |
# |
|
22 |
# |
|
1325
6cca126e26d1
6373346 clean up some of the __GNUC references in the Makefiles
mike_s
parents:
183
diff
changeset
|
23 |
# Copyright 2006 Sun Microsystems, Inc. All rights reserved. |
0 | 24 |
# Use is subject to license terms. |
25 |
# |
|
26 |
# ident "%Z%%M% %I% %E% SMI" |
|
27 |
# |
|
28 |
# OpenSSL source is common between lib and stand (for wanboot) |
|
29 |
# For userland consumers it is in /usr/sfw so we define some macros incase |
|
30 |
# it moves else where later (it has moved twice already!). |
|
31 |
# |
|
32 |
# OPENSSL_CPPFLAGS and OPENSSL_LDLIBS OPENSSL_DYNFLAGS should be used |
|
33 |
# by all the consumers of the OpenSSL libraries. |
|
34 |
# |
|
35 |
# OPENSSL_SRC, OPENSSL_ETCDIR, OPENSSL_NO_XX, OPENSSL_BUILD_CPPFLAGS are |
|
36 |
# for use only for building OpenSSL, they are here because we built it in |
|
37 |
# two different places. |
|
38 |
# |
|
39 |
OPENSSL_SRC = $(SRC)/common/openssl |
|
40 |
||
41 |
OPENSSL_ETCDIR = /etc/sfw/openssl |
|
42 |
||
43 |
||
44 |
# The OPENSSL_NO_XXX variable is use to list the algorithms which Solaris |
|
45 |
# can not include due to patent, trademark or other legal issues. |
|
46 |
# We also exlude all engines, including dynamic support, except for |
|
47 |
# the PKCS#11 one. |
|
48 |
OPENSSL_NO_XXX = \ |
|
49 |
-DOPENSSL_NO_MDC2 \ |
|
50 |
-DOPENSSL_NO_RC3 \ |
|
51 |
-DOPENSSL_NO_RC5 \ |
|
52 |
-DOPENSSL_NO_IDEA \ |
|
53 |
-DOPENSSL_NO_EC \ |
|
54 |
-DOPENSSL_NO_HW_CSWIFT \ |
|
55 |
-DOPENSSL_NO_HW_NCIPHER \ |
|
56 |
-DOPENSSL_NO_HW_ATALLA \ |
|
57 |
-DOPENSSL_NO_HW_NURON \ |
|
58 |
-DOPENSSL_NO_HW_UBSEC \ |
|
59 |
-DOPENSSL_NO_HW_AEP \ |
|
60 |
-DOPENSSL_NO_HW_SUREWARE \ |
|
61 |
-DOPENSSL_NO_HW_4758_CCA |
|
62 |
||
63 |
OPENSSL_BUILD_CPPFLAGS_sparc = -DB_ENDIAN |
|
64 |
||
65 |
OPENSSL_BUILD_CPPFLAGS = \ |
|
66 |
-I$(ROOTSFWINCLUDE) \ |
|
67 |
-I$(OPENSSL_SRC)\ |
|
68 |
-I$(OPENSSL_SRC)/crypto \ |
|
69 |
-DSOLARIS_OPENSSL \ |
|
70 |
-DDEVRANDOM=\"/dev/urandom\" \ |
|
71 |
-DOPENSSLDIR=\"$(OPENSSL_ETCDIR)\" \ |
|
72 |
-DDSO_DLFCN -DHAVE_DLFCN_H \ |
|
73 |
-D_REENTRANT \ |
|
74 |
-DOPENSSL_THREADS \ |
|
75 |
$(OPENSSL_BUILD_CPPFLAGS_$(MACH)) \ |
|
76 |
$(OPENSSL_NO_XXX) |
|
77 |
||
78 |
OPENSSL_CPPFLAGS = -I$(ROOTSFWINCLUDE) |
|
39
dc9b7493e881
6287497 openssl cpp flags needs to be adjusted for export builds
dinak
parents:
0
diff
changeset
|
79 |
OPENSSL_CPPFLAGS += -I$(PARENT_ROOT)$(SFWINCDIR) |
0 | 80 |
|
81 |
OPENSSL_LDFLAGS = -L$(ROOT)$(SFWLIBDIR) |
|
82 |
OPENSSL_LDFLAGS += -L$(PARENT_ROOT)$(SFWLIBDIR) |
|
83 |
OPENSSL_LDFLAGS += -L$(SFWLIBDIR) |
|
84 |
||
85 |
OPENSSL_DYNFLAGS = -R $(SFWLIBDIR) |
|
1325
6cca126e26d1
6373346 clean up some of the __GNUC references in the Makefiles
mike_s
parents:
183
diff
changeset
|
86 |
CFLAGS += -_gcc=-fasm |