Print this page
3971 remove EXPORT_RELEASE_BUILD
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/gss_mechs/mech_dh/backend/Makefile.com
+++ new/usr/src/lib/gss_mechs/mech_dh/backend/Makefile.com
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21 #
22 22 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 23 # Use is subject to license terms.
24 24 #
25 25
26 26 #
27 27 # This make file will build mech_dh.so.1. This shared object
28 28 # contains all the functionality needed to support Diffie-Hellman GSS-API
29 29 # mechanism.
30 30 #
31 31
32 32 LIBRARY= mech_dh.a
33 33 VERS = .1
34 34
35 35 MECH = context.o context_establish.o cred.o crypto.o dhmech.o \
36 36 MICwrap.o name.o oid.o seq.o token.o support.o validate.o
↓ open down ↓ |
36 lines elided |
↑ open up ↑ |
37 37
38 38 DERIVED_OBJS = xdr_token.o
39 39
40 40 CRYPTO = md5.o
41 41
42 42 OBJECTS= $(MECH) $(CRYPTO) $(DERIVED_OBJS)
43 43
44 44 # include library definitions
45 45 include ../../../../Makefile.lib
46 46
47 -MAKEFILE_EXPORT = $(CLOSED)/lib/gss_mechs/mech_dh/backend/Makefile.export
48 -$(EXPORT_RELEASE_BUILD)include $(MAKEFILE_EXPORT)
49 -
50 -
51 47 CPPFLAGS += -I../mech -I../crypto -I$(SRC)/uts/common/gssapi/include
52 48
53 49 CERRWARN += -_gcc=-Wno-parentheses
54 50 CERRWARN += -_gcc=-Wno-unused-variable
55 51 CERRWARN += -_gcc=-Wno-uninitialized
56 52
57 53 $(PICS) := CFLAGS += $(XFFLAG)
58 54 $(PICS) := CCFLAGS += $(XFFLAG)
59 55 $(PICS) := CFLAGS64 += $(XFFLAG)
60 56 $(PICS) := CCFLAGS64 += $(XFFLAG)
61 57
62 58 DYNFLAGS += $(ZIGNORE)
63 59
64 60 LIBS = $(DYNLIB)
65 61 LIBNAME = $(LIBRARY:%.a=%)
66 62
67 63 MAPFILES = ../mapfile-vers
68 64
69 65 LDLIBS += -lgss -lnsl -lc
70 66
71 67 RPCGEN += -C
72 68 SED = sed
73 69
74 70 .KEEP_STATE:
75 71
76 72 CSRCS= $(MECH:%.o=../mech/%.c) $(CRYPTO:%.o=../crypto/%.c)
77 73 SRCS= $(CSRCS)
78 74
79 75 ROOTLIBDIR = $(ROOT)/usr/lib/gss
80 76 ROOTLIBDIR64 = $(ROOT)/usr/lib/$(MACH64)/gss
81 77
82 78 #LINTFLAGS += -dirout=lint -errfmt=simple
83 79 #LINTFLAGS64 += -dirout=lint -errfmt=simple -errchk all
84 80 LINTOUT = lint.out
85 81 LINTSRC = $(LINTLIB:%.ln=%)
86 82 ROOTLINTDIR = $(ROOTLIBDIR)
87 83 #ROOTLINT = $(LINTSRC:%=$(ROOTLINTDIR)/%)
88 84
89 85 CLEANFILES += $(LINTOUT) $(LINTLIB)
90 86
91 87 lint: lintcheck
92 88
93 89 $(ROOTLIBDIR):
94 90 $(INS.dir)
95 91
96 92 $(ROOTLIBDIR64):
97 93 $(INS.dir)
98 94
99 95 $(OBJS): ../mech/dh_gssapi.h ../mech/token.h ../mech/oid.h
100 96
101 97
102 98 objs/%.o pics/%.o: ../crypto/%.c
103 99 $(COMPILE.c) -o $@ $<
104 100 $(POST_PROCESS_O)
105 101
106 102 objs/%.o pics/%.o: ../mech/%.c
107 103 $(COMPILE.c) -o $@ $<
108 104 $(POST_PROCESS_O)
109 105
110 106 objs/%.o pics/%.o: ../profile/%.c
111 107 $(COMPILE.c) -o $@ $<
112 108 $(POST_PROCESS_O)
113 109
114 110 # include library targets
115 111 include ../../../../Makefile.targ
↓ open down ↓ |
55 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX