3321N/A#
3321N/A# CDDL HEADER START
3321N/A#
3321N/A# The contents of this file are subject to the terms of the
3321N/A# Common Development and Distribution License (the "License").
3321N/A# You may not use this file except in compliance with the License.
3321N/A#
3321N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3321N/A# or http://www.opensolaris.org/os/licensing.
3321N/A# See the License for the specific language governing permissions
3321N/A# and limitations under the License.
3321N/A#
3321N/A# When distributing Covered Code, include this CDDL HEADER in each
3321N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3321N/A# If applicable, add the following below this CDDL HEADER, with the
3321N/A# fields enclosed by brackets "[]" replaced with your own identifying
3321N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3321N/A#
3321N/A# CDDL HEADER END
3321N/A#
3321N/A#
3321N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
3321N/A#
3321N/A
3321N/AEXEC = certgen
3321N/ASRCS = mkcert.c
3321N/AOBJS = $(SRCS:%.c=%.o)
3321N/ACERTS = cust_key.pem cust_cert.pem
3321N/ACLEANFILES = $(OBJS) $(EXEC) $(CERTS)
3321N/A
3321N/ACC = cc
3321N/ACFLAGS = -D CUSTOM_EXT
3321N/ALDLIBS = -lcrypto
3321N/A
3321N/Aall: install
3321N/A
3321N/Ainstall: $(EXEC)
3321N/A
3321N/Aclean:
3321N/A rm -rf $(CLEANFILES)
3321N/A
3321N/Aclobber: clean
3321N/A
3321N/A$(EXEC): $(OBJS)
3321N/A $(CC) $(CFLAGS) -o $@ $(LDLIBS) $^
3321N/A