author | Keith M Wesolowski <wesolows@foobazco.org> |
Wed, 17 Jul 2013 17:05:07 -0700 | |
changeset 14225 | 20c0ad5cefdf |
parent 13898 | 58bc6f85b799 |
permissions | -rw-r--r-- |
3089 | 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 |
|
9 |
# or http://www.opensolaris.org/os/licensing. |
|
10 |
# See the License for the specific language governing permissions |
|
11 |
# and limitations under the License. |
|
12 |
# |
|
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 |
# |
|
12611
d9f75b73c5fd
PSARC/2010/177 KMF Certificate Name mapping extensions
Jan Pechanec <Jan.Pechanec@Sun.COM>
parents:
11973
diff
changeset
|
21 |
# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. |
3089 | 22 |
# |
23 |
||
24 |
LIBRARY= libkmf.a |
|
25 |
VERS= .1 |
|
26 |
||
27 |
OBJECTS= \ |
|
28 |
algoid.o \ |
|
29 |
certgetsetop.o \ |
|
30 |
certop.o \ |
|
31 |
client.o \ |
|
32 |
csrcrlop.o \ |
|
33 |
generalop.o \ |
|
34 |
keyop.o \ |
|
35 |
kmfoids.o \ |
|
12611
d9f75b73c5fd
PSARC/2010/177 KMF Certificate Name mapping extensions
Jan Pechanec <Jan.Pechanec@Sun.COM>
parents:
11973
diff
changeset
|
36 |
mapping.o \ |
3089 | 37 |
pem_encode.o \ |
38 |
pk11tokens.o \ |
|
39 |
policy.o \ |
|
40 |
pk11keys.o \ |
|
41 |
rdn_parser.o |
|
42 |
||
43 |
BERDERLIB= -lkmfberder |
|
44 |
BERDERLIB64= -lkmfberder |
|
45 |
||
46 |
CRYPTOUTILLIB= -lcryptoutil |
|
47 |
CRYPTOUTILLIB64= -lcryptoutil |
|
48 |
||
49 |
include $(SRC)/lib/Makefile.lib |
|
8192
1e71c4032126
6449514 move OpenSSL from /usr/sfw to /usr, /lib
John.Zolnowsky@Sun.COM
parents:
7291
diff
changeset
|
50 |
include $(SRC)/lib/Makefile.rootfs |
3089 | 51 |
|
52 |
SRCDIR= ../common |
|
53 |
INCDIR= ../../include |
|
54 |
||
55 |
LIBS= $(DYNLIB) $(LINTLIB) |
|
56 |
||
57 |
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC) |
|
58 |
||
6543
465433824d87
6683064 check_rtime could do with some spring cleaning
rie
parents:
5301
diff
changeset
|
59 |
LDLIBS += $(BERDERLIB) $(CRYPTOUTILLIB) -lmd -lpkcs11 -lnsl -lsocket -lc |
465433824d87
6683064 check_rtime could do with some spring cleaning
rie
parents:
5301
diff
changeset
|
60 |
LDLIBS6 += $(BERDERLIB64) $(CRYPTOUTILLIB64) -lmd -lpkcs11 -lnsl -lsocket -lc |
3089 | 61 |
|
62 |
# DYNLIB libraries do not have lint libs and are not linted |
|
6543
465433824d87
6683064 check_rtime could do with some spring cleaning
rie
parents:
5301
diff
changeset
|
63 |
$(DYNLIB) := LDLIBS += -lxml2 |
465433824d87
6683064 check_rtime could do with some spring cleaning
rie
parents:
5301
diff
changeset
|
64 |
$(DYNLIB64) := LDLIBS64 += -lxml2 |
3089 | 65 |
|
14225
20c0ad5cefdf
3915 Add adjuncts support to the build
Keith M Wesolowski <wesolows@foobazco.org>
parents:
13898
diff
changeset
|
66 |
CPPFLAGS += -I$(INCDIR) -I$(ADJUNCT_PROTO)/usr/include/libxml2 \ |
20c0ad5cefdf
3915 Add adjuncts support to the build
Keith M Wesolowski <wesolows@foobazco.org>
parents:
13898
diff
changeset
|
67 |
-I../../ber_der/inc -I$(SRCDIR) |
3089 | 68 |
|
13898
58bc6f85b799
2933 compiler warning gags need better granularity
Richard Lowe <richlowe@richlowe.net>
parents:
12611
diff
changeset
|
69 |
CERRWARN += -_gcc=-Wno-parentheses |
58bc6f85b799
2933 compiler warning gags need better granularity
Richard Lowe <richlowe@richlowe.net>
parents:
12611
diff
changeset
|
70 |
CERRWARN += -_gcc=-Wno-switch |
58bc6f85b799
2933 compiler warning gags need better granularity
Richard Lowe <richlowe@richlowe.net>
parents:
12611
diff
changeset
|
71 |
CERRWARN += -_gcc=-Wno-type-limits |
58bc6f85b799
2933 compiler warning gags need better granularity
Richard Lowe <richlowe@richlowe.net>
parents:
12611
diff
changeset
|
72 |
CERRWARN += -_gcc=-Wno-uninitialized |
58bc6f85b799
2933 compiler warning gags need better granularity
Richard Lowe <richlowe@richlowe.net>
parents:
12611
diff
changeset
|
73 |
|
3089 | 74 |
.KEEP_STATE: |
75 |
||
76 |
all: $(LIBS) |
|
77 |
||
78 |
lint: lintcheck |
|
79 |
||
80 |
include $(SRC)/lib/Makefile.targ |