xref: /illumos-gate/usr/src/lib/libmd/Makefile.targ (revision 564d5236)
17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
5f808c858Sraf# Common Development and Distribution License (the "License").
6f808c858Sraf# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
211e49577aSRod Evans
227c478bd9Sstevel@tonic-gate#
231e49577aSRod Evans# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
2445818ee1SMatthew Ahrens# Copyright 2013 Saso Kiselkov. All rights reserved.
25e32fc5b2SPeter Tribble# Copyright 2019 Peter Tribble.
261b349f08Sck#
271b349f08Sck
281e49577aSRod EvansCOMDIR =	$(SRC)/common/crypto
291b349f08Sck
3045818ee1SMatthew Ahrenspics/%.o: $(COMDIR)/edonr/%.c
3145818ee1SMatthew Ahrens		$(COMPILE.c) -I$(COMDIR)/edonr -o $@ $<
3245818ee1SMatthew Ahrens		$(POST_PROCESS_O)
3345818ee1SMatthew Ahrens
341e49577aSRod Evanspics/%.o: $(COMDIR)/md4/%.c
351e49577aSRod Evans		$(COMPILE.c) -I$(COMDIR)/md4 -o $@ $<
361e49577aSRod Evans		$(POST_PROCESS_O)
371b349f08Sck
381e49577aSRod Evanspics/%.o: $(COMDIR)/md5/%.c
39*564d5236SRichard Lowe		$(COMPILE.c) -I$(COMDIR)/md5 -o $@ $<
401e49577aSRod Evans		$(POST_PROCESS_O)
411b349f08Sck
421e49577aSRod Evanspics/%.o: $(COMDIR)/sha1/%.c
431e49577aSRod Evans		$(COMPILE.c) -I$(COMDIR)/sha1 -o $@ $<
441e49577aSRod Evans		$(POST_PROCESS_O)
451b349f08Sck
461e49577aSRod Evanspics/sha1_asm.o: $(COMDIR)/sha1/sparc/$(PLATFORM)/sha1_asm.s
471e49577aSRod Evans		$(COMPILE.s) -o pics/sha1_asm.o \
481e49577aSRod Evans		$(COMDIR)/sha1/sparc/$(PLATFORM)/sha1_asm.s
49e32fc5b2SPeter Tribble		$(POST_PROCESS_S_O)
501b349f08Sck
511e49577aSRod Evanspics/%.o: $(COMDIR)/sha2/%.c
521e49577aSRod Evans		$(COMPILE.c) -I$(COMDIR)/sha2 -o $@ $<
531e49577aSRod Evans		$(POST_PROCESS_O)
541b349f08Sck
5545818ee1SMatthew Ahrenspics/%.o: $(COMDIR)/skein/%.c
5645818ee1SMatthew Ahrens		$(COMPILE.c) -I$(COMDIR)/skein -o $@ $<
5745818ee1SMatthew Ahrens		$(POST_PROCESS_O)
5845818ee1SMatthew Ahrens
591e49577aSRod Evansinclude		$(SRC)/lib/Makefile.targ
60