Print this page
3882 remove xmod & friends
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
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 47 MAKEFILE_EXPORT = $(CLOSED)/lib/gss_mechs/mech_dh/backend/Makefile.export
48 48 $(EXPORT_RELEASE_BUILD)include $(MAKEFILE_EXPORT)
49 49
50 50
51 51 CPPFLAGS += -I../mech -I../crypto -I$(SRC)/uts/common/gssapi/include
52 52
53 53 CERRWARN += -_gcc=-Wno-parentheses
54 54 CERRWARN += -_gcc=-Wno-unused-variable
55 55 CERRWARN += -_gcc=-Wno-uninitialized
56 56
57 57 $(PICS) := CFLAGS += $(XFFLAG)
↓ open down ↓ |
57 lines elided |
↑ open up ↑ |
58 58 $(PICS) := CCFLAGS += $(XFFLAG)
59 59 $(PICS) := CFLAGS64 += $(XFFLAG)
60 60 $(PICS) := CCFLAGS64 += $(XFFLAG)
61 61
62 62 DYNFLAGS += $(ZIGNORE)
63 63
64 64 LIBS = $(DYNLIB)
65 65 LIBNAME = $(LIBRARY:%.a=%)
66 66
67 67 MAPFILES = ../mapfile-vers
68 -$(EXPORT_RELEASE_BUILD)MAPFILES = \
69 - $(CLOSED)/lib/gss_mechs/mech_dh/backend/mapfile-vers-export
70 68
71 69 LDLIBS += -lgss -lnsl -lc
72 70
73 71 RPCGEN += -C
74 72 SED = sed
75 73
76 74 .KEEP_STATE:
77 75
78 76 CSRCS= $(MECH:%.o=../mech/%.c) $(CRYPTO:%.o=../crypto/%.c)
79 77 SRCS= $(CSRCS)
80 78
81 79 ROOTLIBDIR = $(ROOT)/usr/lib/gss
82 80 ROOTLIBDIR64 = $(ROOT)/usr/lib/$(MACH64)/gss
83 81
84 82 #LINTFLAGS += -dirout=lint -errfmt=simple
85 83 #LINTFLAGS64 += -dirout=lint -errfmt=simple -errchk all
86 84 LINTOUT = lint.out
87 85 LINTSRC = $(LINTLIB:%.ln=%)
88 86 ROOTLINTDIR = $(ROOTLIBDIR)
89 87 #ROOTLINT = $(LINTSRC:%=$(ROOTLINTDIR)/%)
90 88
91 89 CLEANFILES += $(LINTOUT) $(LINTLIB)
92 90
93 91 lint: lintcheck
94 92
95 93 $(ROOTLIBDIR):
96 94 $(INS.dir)
97 95
98 96 $(ROOTLIBDIR64):
99 97 $(INS.dir)
100 98
101 99 $(OBJS): ../mech/dh_gssapi.h ../mech/token.h ../mech/oid.h
102 100
103 101
104 102 objs/%.o pics/%.o: ../crypto/%.c
105 103 $(COMPILE.c) -o $@ $<
106 104 $(POST_PROCESS_O)
107 105
108 106 objs/%.o pics/%.o: ../mech/%.c
109 107 $(COMPILE.c) -o $@ $<
110 108 $(POST_PROCESS_O)
111 109
112 110 objs/%.o pics/%.o: ../profile/%.c
113 111 $(COMPILE.c) -o $@ $<
114 112 $(POST_PROCESS_O)
115 113
116 114 # include library targets
117 115 include ../../../../Makefile.targ
↓ open down ↓ |
38 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX