Makefile.com (f808c858fa61e7769218966759510a8b1190dfcf) Makefile.com (257873cfc1dd3337766407f80397db60a56f2f5a)
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 (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 4 unchanged lines hidden (view full) ---

13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
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 (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 4 unchanged lines hidden (view full) ---

13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
21# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23# Use is subject to license terms.
24#
22# Use is subject to license terms.
23#
25# ident "%Z%%M% %I% %E% SMI"
26#
27
28#
29# Common macro definitions and pattern rules for stand libraries.
30# Basically just a trivial wrapper around $(SRC)/lib/Makefile.lib.
31#
32
33include $(SRC)/lib/Makefile.lib
34include $(SRC)/stand/lib/Makefile.$(MACH)

--- 36 unchanged lines hidden (view full) ---

71
72#
73# Configure the appropriate #defines and #include path for building
74# standalone bits. Note that we turn off access to /usr/include and
75# the proto area since those headers match libc's implementation, and
76# libc is of course not available to standalone binaries.
77#
78CPPDEFS = -D$(KARCH) -D_BOOT -D_KERNEL -D_MACHDEP
24
25#
26# Common macro definitions and pattern rules for stand libraries.
27# Basically just a trivial wrapper around $(SRC)/lib/Makefile.lib.
28#
29
30include $(SRC)/lib/Makefile.lib
31include $(SRC)/stand/lib/Makefile.$(MACH)

--- 36 unchanged lines hidden (view full) ---

68
69#
70# Configure the appropriate #defines and #include path for building
71# standalone bits. Note that we turn off access to /usr/include and
72# the proto area since those headers match libc's implementation, and
73# libc is of course not available to standalone binaries.
74#
75CPPDEFS = -D$(KARCH) -D_BOOT -D_KERNEL -D_MACHDEP
79CPPINCS = -YI,$(STANDDIR)/lib/sa -I$(STANDDIR) -I$(SRCDIR) -I$(CMNDIR) \
76CPPINCS = -YI,$(STANDDIR)/lib/sa -I$(STANDDIR)/lib/sa \
77 -I$(STANDDIR) -I$(SRCDIR) -I$(CMNDIR) \
80 -I$(STANDDIR)/$(MACH) -I$(SYSDIR)/common $(ARCHDIRS) \
81 -I$(SYSDIR)/sun4 -I$(SYSDIR)/$(KARCH)
82
83CPPFLAGS = $(CPPDEFS) $(CPPINCS)
84AS_CPPFLAGS = $(CPPDEFS) $(CPPINCS:-YI,%=-I%)
85ASFLAGS = -P -D__STDC__ -D_ASM
86
87#

--- 21 unchanged lines hidden (view full) ---

109OPENSSL_BUILD_CPPFLAGS_sparc = -DB_ENDIAN
110OPENSSL_BUILD_CPPFLAGS = $(OPENSSL_NO_XXX) -DOPENSSL_NO_HW \
111 -DOPENSSL_NO_MD2 -DOPENSSL_NO_MD4 -DOPENSSL_NO_MDC2 \
112 -DOPENSSL_NO_RIPEMD -DOPENSSL_NO_RC3 -DOPENSSL_NO_RC4 \
113 -DOPENSSL_NO_EC -DOPENSSL_NO_RC5 -DOPENSSL_NO_IDEA \
114 -DOPENSSL_NO_CAST -DOPENSSL_NO_AES \
115 -DDEVRANDOM=\"/dev/urandom\" \
116 $(OPENSSL_BUILD_CPPFLAGS_$(MACH)) \
78 -I$(STANDDIR)/$(MACH) -I$(SYSDIR)/common $(ARCHDIRS) \
79 -I$(SYSDIR)/sun4 -I$(SYSDIR)/$(KARCH)
80
81CPPFLAGS = $(CPPDEFS) $(CPPINCS)
82AS_CPPFLAGS = $(CPPDEFS) $(CPPINCS:-YI,%=-I%)
83ASFLAGS = -P -D__STDC__ -D_ASM
84
85#

--- 21 unchanged lines hidden (view full) ---

107OPENSSL_BUILD_CPPFLAGS_sparc = -DB_ENDIAN
108OPENSSL_BUILD_CPPFLAGS = $(OPENSSL_NO_XXX) -DOPENSSL_NO_HW \
109 -DOPENSSL_NO_MD2 -DOPENSSL_NO_MD4 -DOPENSSL_NO_MDC2 \
110 -DOPENSSL_NO_RIPEMD -DOPENSSL_NO_RC3 -DOPENSSL_NO_RC4 \
111 -DOPENSSL_NO_EC -DOPENSSL_NO_RC5 -DOPENSSL_NO_IDEA \
112 -DOPENSSL_NO_CAST -DOPENSSL_NO_AES \
113 -DDEVRANDOM=\"/dev/urandom\" \
114 $(OPENSSL_BUILD_CPPFLAGS_$(MACH)) \
117 -I$(ROOTSFWINCLUDE) \
115 -I$(ROOT)/usr/include \
118 -I$(OPENSSL_SRC) -I$(OPENSSL_SRC)/crypto
119
120#
121# CPPFLAGS values that *must* be included whenever linking the DHCP
122# routines in $SRC/common/net/dhcp.
123#
124DHCPCPPFLAGS = -I$(CMNNETDIR)/dhcp
125

--- 12 unchanged lines hidden ---
116 -I$(OPENSSL_SRC) -I$(OPENSSL_SRC)/crypto
117
118#
119# CPPFLAGS values that *must* be included whenever linking the DHCP
120# routines in $SRC/common/net/dhcp.
121#
122DHCPCPPFLAGS = -I$(CMNNETDIR)/dhcp
123

--- 12 unchanged lines hidden ---