Makefile.com revision 257873cfc1dd3337766407f80397db60a56f2f5a
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER START
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# The contents of this file are subject to the terms of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Common Development and Distribution License (the "License").
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You may not use this file except in compliance with the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# or http://www.opensolaris.org/os/licensing.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# See the License for the specific language governing permissions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# and limitations under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# When distributing Covered Code, include this CDDL HEADER in each
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# If applicable, add the following below this CDDL HEADER, with the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# fields enclosed by brackets "[]" replaced with your own identifying
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# information: Portions Copyright [yyyy] [name of copyright owner]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER END
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Use is subject to license terms.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn FortePROG = openssl
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteinclude $(SRC)/cmd/Makefile.cmd
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteinclude $(SRC)/lib/openssl/Makefile.openssl
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteOBJS = \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte app_rand.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte apps.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte asn1pars.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ca.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ciphers.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte crl.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte crl2p7.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte dgst.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte dh.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte dhparam.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte dsa.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte dsaparam.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte enc.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte engine.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte errstr.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte gendh.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte gendsa.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte genrsa.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte nseq.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ocsp.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte openssl.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte passwd.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte pkcs12.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte pkcs7.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte pkcs8.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte prime.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte rand.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte req.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte rsa.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte rsautl.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte s_cb.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte s_client.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte s_server.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte s_socket.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte s_time.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte sess_id.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte smime.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte speed.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte spkac.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte verify.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte version.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte x509.o
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteSRCDIR = $(OPENSSL_SRC)/apps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteROOTCMDDIR = $(ROOTBIN)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCFLAGS += $(CCVERBOSE) \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte -erroff=E_END_OF_LOOP_CODE_NOT_REACHED,E_CONST_PROMOTED_UNSIGNED_LONG
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCFLAGS64 += -erroff=E_END_OF_LOOP_CODE_NOT_REACHED
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCPPFLAGS = \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(OPENSSL_BUILD_CPPFLAGS) -I$(SRCDIR) -DMONOLITH $(CPPFLAGS.master)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteLDLIBS += -lcrypto -lssl -lnsl -lsocket -lc
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte.KEEP_STATE:
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte.PARALLEL: $(OBJS)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteall: $(PROG)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(PROG): $(OBJS)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(LINK.c) $(OBJS) -o $@ $(LDLIBS) $(DYNFLAGS)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(POST_PROCESS)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteclean:
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(RM) $(OBJS)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteinclude $(SRC)/cmd/Makefile.targ
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte%.o: $(SRCDIR)/%.c
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(COMPILE.c) $(OUTPUT_OPTION) $<
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(POST_PROCESS_O)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Rule to install CA.pl
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(ROOTCMDDIR)/%: $(SRCDIR)/% $(ROOTCMDDIR)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(INS.file)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte