Makefile revision baf2c95cb7af3bdff76a3e6693e566e0b8b75bc4
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
# we need this for VERS (OpenSSL version)
OPENSSL_VERSION = $(VERS:.%=%)
# official release date of OpenSSL 0.9.8a
DATE = "Oct 11 2005"
# we need to explicitly specify these 3 manual pages since their sections
# pages follow this rule according to the directory they reside in: apps=1,
# crypto=3, ssl=3
$(ROOTSFWAPPSMANPAGES) \
CONFIGSUNPAGES = $(CONFIGMANPAGES:man5%.5=sunman%.5)
SPECSUNPAGES = $(SPECMANPAGES:man7%.7=sunman%.7)
APPSSUNPAGES = $(APPSMANPAGES:man1%.1=sunman%.1)
CRYPTOSUNPAGES = $(CRYPTOMANPAGES:man3%.3=sunman%.3)
SSLSUNPAGES = $(SSLMANPAGES:man3%.3=sunman%.3)
# we don't want to explicitly define what symlinks to existing man pages to
# create. This can be easily extracted from manual pages in POD format.
# However, for each manual page we need information about its section and
# "noise" in the nightly build log.
CONFIGPODPAGES = $(CONFIGMANPAGES:man5/%.5=5,apps,%)
SPECPODPAGES = $(SPECMANPAGES:man7/%.7=7,crypto,%)
APPSPODPAGES = $(APPSMANPAGES:man1/%.1=1,apps,%)
CRYPTOPODPAGES = $(CRYPTOMANPAGES:man3/%.3=3,crypto,%)
SSLPODPAGES = $(SSLMANPAGES:man3/%.3=3,ssl,%)
ALLPODPAGES = $(CONFIGPODPAGES) \
$(SPECPODPAGES) \
$(APPSPODPAGES) \
$(CRYPTOPODPAGES) \
$(SSLPODPAGES)
# (1) convert man pages in POD format into NROFF format and store them in
# ./sunman directory
# (2) install them into their respective manX directories in the proto area
# (3) create symlinks according to NAME section of each manual page
# We do NOT attempt to place 3rd Party code under the ON gate lint rules.
lint:
FRC:
$(ROOTOPENSSL)/%: % $(ROOTOPENSSL)
$(INS.file)
$(ROOTOPENSSL):
$(INS.dir)
$(ROOTSFWMANPAGES): $(ROOTSFWMANDIRS)
$(INS.dir)
$(INS.dir)
$(RM) $@
$(INS.dir)
$(ROOTSFW):
$(INS.dir)
$(INS.file)
$(SPECSUNPAGES):
$(CONFIGSUNPAGES):
$(APPSSUNPAGES):
$(SSLSUNPAGES):
$(CRYPTOSUNPAGES):
@for i in $(ALLPODPAGES); do \
while read j; do \
done; \
done