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#
21# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
22# Use is subject to license terms.
23#
24
25include $(SRC)/lib/Makefile.lib
26
27HDRS= \
28	aes.h \
29	asn1.h \
30	asn1_mac.h \
31	asn1t.h \
32	bio.h \
33	bio_lcl.h \
34	blowfish.h \
35	bn.h \
36	buffer.h \
37	cast.h \
38	comp.h \
39	conf.h \
40	conf_api.h \
41	crypto.h \
42	des.h \
43	des_old.h \
44	dh.h \
45	dsa.h \
46	dso.h \
47	ebcdic.h \
48	ec.h \
49	ecdh.h \
50	ecdsa.h \
51	ech_locl.h \
52	ecs_locl.h \
53	engine.h \
54	err.h \
55	evp.h \
56	hmac.h \
57	idea.h \
58	krb5_asn.h \
59	lhash.h \
60	md2.h \
61	md4.h \
62	md5.h \
63	mdc2.h \
64	o_dir.h \
65	o_str.h \
66	obj_mac.h \
67	objects.h \
68	ocsp.h \
69	opensslconf.h \
70	opensslv.h \
71	ossl_typ.h \
72	pcy_int.h \
73	pem.h \
74	pem2.h \
75	pkcs12.h \
76	pkcs7.h \
77	pq_compat.h \
78	pqueue.h \
79	rand.h \
80	rc2.h \
81	rc4.h \
82	rc5.h \
83	ripemd.h \
84	rsa.h \
85	safestack.h \
86	sha.h \
87	stack.h \
88	store.h \
89	str_locl.h \
90	symhacks.h \
91	tmdiff.h \
92	txt_db.h \
93	ui.h \
94	ui_compat.h \
95	x509.h \
96	x509_vfy.h \
97	x509v3.h \
98	kssl.h \
99	ssl.h \
100	ssl2.h \
101	ssl3.h \
102	ssl23.h \
103	tls1.h \
104	dtls1.h \
105	e_os2.h
106
107
108OPENSSL_SRC =	../../../common/openssl
109HDRCRYPTODIR =	$(OPENSSL_SRC)/crypto
110HDRSSLDIR =	$(OPENSSL_SRC)/ssl
111HDRDIR = $(OPENSSL_SRC)
112
113ROOTHDRDIR = ../openssl
114
115all clobber lint:
116
117CLOBBERFILES += $(HDRS)
118
119install: $(ROOTHDRS)
120
121$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/%
122	 $(INS.file)
123
124$(ROOTHDRDIR)/%: $(HDRSSLDIR)/%
125	 $(INS.file)
126
127$(ROOTHDRDIR)/%: $(HDRDIR)/%
128	 $(INS.file)
129
130$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/aes/%
131	 $(INS.file)
132
133$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/asn1/%
134	 $(INS.file)
135
136$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/bf/%
137	 $(INS.file)
138
139$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/bio/%
140	 $(INS.file)
141
142$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/bn/%
143	 $(INS.file)
144
145$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/buffer/%
146	 $(INS.file)
147
148$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/cast/%
149	 $(INS.file)
150
151$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/comp/%
152	 $(INS.file)
153
154$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/conf/%
155	 $(INS.file)
156
157$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/des/%
158	 $(INS.file)
159
160$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/dh/%
161	 $(INS.file)
162
163$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/dsa/%
164	 $(INS.file)
165
166$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/dso/%
167	 $(INS.file)
168
169$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/ec/%
170	 $(INS.file)
171
172$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/ecdh/%
173	 $(INS.file)
174
175$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/ecdsa/%
176	 $(INS.file)
177
178$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/engine/%
179	 $(INS.file)
180
181$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/err/%
182	 $(INS.file)
183
184$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/evp/%
185	 $(INS.file)
186
187$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/hmac/%
188	 $(INS.file)
189
190$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/idea/%
191	 $(INS.file)
192
193$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/krb5/%
194	 $(INS.file)
195
196$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/lhash/%
197	 $(INS.file)
198
199$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/md2/%
200	 $(INS.file)
201
202$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/md4/%
203	 $(INS.file)
204
205$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/md5/%
206	 $(INS.file)
207
208$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/mdc2/%
209	 $(INS.file)
210
211$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/objects/%
212	 $(INS.file)
213
214$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/ocsp/%
215	 $(INS.file)
216
217$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/pem/%
218	 $(INS.file)
219
220$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/pkcs12/%
221	 $(INS.file)
222
223$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/pkcs7/%
224	 $(INS.file)
225
226$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/pqueue/%
227	 $(INS.file)
228
229$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/rand/%
230	 $(INS.file)
231
232$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/rc2/%
233	 $(INS.file)
234
235$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/rc4/%
236	 $(INS.file)
237
238$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/rc5/%
239	 $(INS.file)
240
241$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/ripemd/%
242	 $(INS.file)
243
244$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/rsa/%
245	 $(INS.file)
246
247$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/sha/%
248	 $(INS.file)
249
250$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/stack/%
251	 $(INS.file)
252
253$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/store/%
254	 $(INS.file)
255
256$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/txt_db/%
257	 $(INS.file)
258
259$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/ui/%
260	 $(INS.file)
261
262$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/x509/%
263	 $(INS.file)
264
265$(ROOTHDRDIR)/%: $(HDRCRYPTODIR)/x509v3/%
266	 $(INS.file)
267
268
269include $(SRC)/lib/Makefile.targ
270