xref: /titanic_51/usr/src/lib/pkcs11/libsoftcrypto/Makefile.targ (revision 1e49577a7fcde812700ded04431b49d67cc57d6d)
1*1e49577aSRod Evans#
2*1e49577aSRod Evans# CDDL HEADER START
3*1e49577aSRod Evans#
4*1e49577aSRod Evans# The contents of this file are subject to the terms of the
5*1e49577aSRod Evans# Common Development and Distribution License (the "License").
6*1e49577aSRod Evans# You may not use this file except in compliance with the License.
7*1e49577aSRod Evans#
8*1e49577aSRod Evans# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*1e49577aSRod Evans# or http://www.opensolaris.org/os/licensing.
10*1e49577aSRod Evans# See the License for the specific language governing permissions
11*1e49577aSRod Evans# and limitations under the License.
12*1e49577aSRod Evans#
13*1e49577aSRod Evans# When distributing Covered Code, include this CDDL HEADER in each
14*1e49577aSRod Evans# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*1e49577aSRod Evans# If applicable, add the following below this CDDL HEADER, with the
16*1e49577aSRod Evans# fields enclosed by brackets "[]" replaced with your own identifying
17*1e49577aSRod Evans# information: Portions Copyright [yyyy] [name of copyright owner]
18*1e49577aSRod Evans#
19*1e49577aSRod Evans# CDDL HEADER END
20*1e49577aSRod Evans#
21*1e49577aSRod Evans
22*1e49577aSRod Evans#
23*1e49577aSRod Evans# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24*1e49577aSRod Evans#
25*1e49577aSRod Evans
26*1e49577aSRod EvansAES_DIR =	$(SRC)/common/crypto/aes
27*1e49577aSRod EvansARCFOUR_DIR =	$(SRC)/common/crypto/arcfour
28*1e49577aSRod EvansBIGNUM_DIR =	$(SRC)/common/bignum
29*1e49577aSRod EvansBLOWFISH_DIR =	$(SRC)/common/crypto/blowfish
30*1e49577aSRod EvansDES_DIR =	$(SRC)/common/crypto/des
31*1e49577aSRod EvansMODES_DIR =	$(SRC)/common/crypto/modes
32*1e49577aSRod Evans
33*1e49577aSRod Evanspics/%.o: $(AES_DIR)/%.c
34*1e49577aSRod Evans		$(COMPILE.c) $(AES_FLAGS) -o $@ $<
35*1e49577aSRod Evans		$(POST_PROCESS_O)
36*1e49577aSRod Evans
37*1e49577aSRod Evanspics/%.o: $(ARCFOUR_DIR)/%.c
38*1e49577aSRod Evans		$(COMPILE.c) $(ARCFOUR_FLAGS) -o $@ $<
39*1e49577aSRod Evans		$(POST_PROCESS_O)
40*1e49577aSRod Evans
41*1e49577aSRod Evanspics/%.o: $(BIGNUM_DIR)/%.c
42*1e49577aSRod Evans		$(COMPILE.c) $(BIGNUM_FLAGS) -o $@ $<
43*1e49577aSRod Evans		$(POST_PROCESS_O)
44*1e49577aSRod Evans
45*1e49577aSRod Evanspics/%.o: $(BLOWFISH_DIR)/%.c
46*1e49577aSRod Evans		$(COMPILE.c) $(BLOWFISH_FLAGS) -o $@ $<
47*1e49577aSRod Evans		$(POST_PROCESS_O)
48*1e49577aSRod Evans
49*1e49577aSRod Evanspics/%.o: $(DES_DIR)/%.c
50*1e49577aSRod Evans		$(COMPILE.c) $(DES_FLAGS) -o $@ $<
51*1e49577aSRod Evans		$(POST_PROCESS_O)
52*1e49577aSRod Evans
53*1e49577aSRod Evanspics/%.o: $(MODES_DIR)/%.c
54*1e49577aSRod Evans		$(COMPILE.c) -o $@ $<
55*1e49577aSRod Evans		$(POST_PROCESS_O)
56*1e49577aSRod Evans
57*1e49577aSRod Evanspics/%.o: $(DH_DIR)/%.c
58*1e49577aSRod Evans		$(COMPILE.c) $(DH_FLAGS) -o $@ $<
59*1e49577aSRod Evans		$(POST_PROCESS_O)
60*1e49577aSRod Evans
61*1e49577aSRod Evanspics/%.o: $(DSA_DIR)/%.c
62*1e49577aSRod Evans		$(COMPILE.c) $(DSA_FLAGS) -o $@ $<
63*1e49577aSRod Evans		$(POST_PROCESS_O)
64*1e49577aSRod Evans
65*1e49577aSRod Evanspics/%.o: $(RSA_DIR)/%.c
66*1e49577aSRod Evans		$(COMPILE.c) $(RSA_FLAGS) -o $@ $<
67*1e49577aSRod Evans		$(POST_PROCESS_O)
68*1e49577aSRod Evans
69*1e49577aSRod Evanspics/%.o: $(PAD_DIR)/%.c
70*1e49577aSRod Evans		$(COMPILE.c) $(PAD_FLAGS) -o $@ $<
71*1e49577aSRod Evans		$(POST_PROCESS_O)
72*1e49577aSRod Evans
73*1e49577aSRod Evansinclude		$(SRC)/lib/Makefile.targ
74