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, Version 1.0 only 6# (the "License"). You may not use this file except in compliance 7# with the License. 8# 9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10# or http://www.opensolaris.org/os/licensing. 11# See the License for the specific language governing permissions 12# and limitations under the License. 13# 14# When distributing Covered Code, include this CDDL HEADER in each 15# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16# If applicable, add the following below this CDDL HEADER, with the 17# fields enclosed by brackets "[]" replaced with your own identifying 18# information: Portions Copyright [yyyy] [name of copyright owner] 19# 20# CDDL HEADER END 21# 22# 23# Copyright 2004 Sun Microsystems, Inc. All rights reserved. 24# Use is subject to license terms. 25# 26# ident "%Z%%M% %I% %E% SMI" 27# 28 29LIBRARY = libssl.a 30LOCOBJS = stubs.o 31CMNOBJS = \ 32 s3_both.o \ 33 s3_clnt.o \ 34 s3_enc.o \ 35 s3_lib.o \ 36 s3_pkt.o \ 37 ssl_algs.o \ 38 ssl_cert.o \ 39 ssl_ciph.o \ 40 ssl_err.o \ 41 ssl_err2.o \ 42 ssl_lib.o \ 43 ssl_rsa.o \ 44 ssl_sess.o \ 45 $($(MACH)_OBJECTS) 46 47OBJECTS = $(LOCOBJS) $(CMNOBJS) 48 49include $(SRC)/lib/openssl/Makefile.openssl 50include ../Makefile.com 51 52CMNDIR = $(TOPDIR)/common/openssl/ssl 53SRCS = $(LOCOBJS:%.o=$(SRCDIR)/%.c) $(CMNOBJS:%.o=$(CMNDIR)/%.c) 54CPPFLAGS += $(OPENSSL_BUILD_CPPFLAGS) $(SOCKCPPFLAGS) 55$(LINTLIB) := SRCS = $(CMNDIR)/$(LINTSRC) 56 57include ../Makefile.targ 58