Makefile revision 24da5b34f49324ed742a340010ed5bd3d4e06625
03831d35f7499c87d51205817c93e9a8d42c4baestevel# CDDL HEADER START
03831d35f7499c87d51205817c93e9a8d42c4baestevel# The contents of this file are subject to the terms of the
03831d35f7499c87d51205817c93e9a8d42c4baestevel# Common Development and Distribution License (the "License").
03831d35f7499c87d51205817c93e9a8d42c4baestevel# You may not use this file except in compliance with the License.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
03831d35f7499c87d51205817c93e9a8d42c4baestevel# See the License for the specific language governing permissions
03831d35f7499c87d51205817c93e9a8d42c4baestevel# and limitations under the License.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# When distributing Covered Code, include this CDDL HEADER in each
03831d35f7499c87d51205817c93e9a8d42c4baestevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# If applicable, add the following below this CDDL HEADER, with the
03831d35f7499c87d51205817c93e9a8d42c4baestevel# fields enclosed by brackets "[]" replaced with your own identifying
03831d35f7499c87d51205817c93e9a8d42c4baestevel# information: Portions Copyright [yyyy] [name of copyright owner]
03831d35f7499c87d51205817c93e9a8d42c4baestevel# CDDL HEADER END
24fe0b3bf671e123467ce1df0b67cadd3614c8e4jmcp# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# Use is subject to license terms.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# ident "%Z%%M% %I% %E% SMI"
03831d35f7499c87d51205817c93e9a8d42c4baestevelCPPFLAGS += $(ACCESS) $(PARANOID) $(NETGROUP) $(TLI) \
03831d35f7499c87d51205817c93e9a8d42c4baestevel LDLIBS += -R$(SFW_ROOT)/lib -L$(ROOTSFWLIB) -lwrap -lnsl
03831d35f7499c87d51205817c93e9a8d42c4baestevel# Various components must export interfaces, but also contain name-space
03831d35f7499c87d51205817c93e9a8d42c4baestevel# clashes with system libraries.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# SRCONLY files are not used for building but are included in the source code
03831d35f7499c87d51205817c93e9a8d42c4baestevel# package SUNWtcpdS for consistency and completeness with respect to the
03831d35f7499c87d51205817c93e9a8d42c4baestevel# public tcp_wrappers distribution.
03831d35f7499c87d51205817c93e9a8d42c4baestevelSRCONLY = BLURB Banners.Makefile CHANGES DISCLAIMER Makefile \
03831d35f7499c87d51205817c93e9a8d42c4baestevel Makefile.dist Makefile.org README README.IRIX README.NIS \
03831d35f7499c87d51205817c93e9a8d42c4baestevel README.ipv6 hosts_access.c.org misc.c.org miscd.c myvsyslog.c \
03831d35f7499c87d51205817c93e9a8d42c4baestevel socket.c.diff socket.c.org strcasecmp.c tags tcpd.h.org \
03831d35f7499c87d51205817c93e9a8d42c4baestevel tcpdchk.c.org tcpdmatch.c.org tli-sequent.c tli-sequent.h \
03831d35f7499c87d51205817c93e9a8d42c4baestevelMANPAGES = man3/hosts_access.3 man3/libwrap.3 man4/hosts_access.4 \
03831d35f7499c87d51205817c93e9a8d42c4baestevel man4/hosts_options.4 man4/hosts.allow.4 man4/hosts.deny.4 \
03831d35f7499c87d51205817c93e9a8d42c4baestevelDISTFILES = environ.c fakelog.c hosts_access.3 hosts_access.4 \
03831d35f7499c87d51205817c93e9a8d42c4baestevel hosts_options.4 inetcf.c inetcf.h safe_finger.c scaffold.c \
03831d35f7499c87d51205817c93e9a8d42c4baestevel scaffold.h tcpd.1m tcpd.c tcpdchk.1m tcpdchk.c tcpdmatch.1m \
03831d35f7499c87d51205817c93e9a8d42c4baestevelinstall: all $(ROOTSFWSBINPROG) $(ROOTSFWMANPAGES) $(ROOTSFWSRCFILES)
03831d35f7499c87d51205817c93e9a8d42c4baestevel# These Solaris-specific man page aliases are installed verbatim.
24fe0b3bf671e123467ce1df0b67cadd3614c8e4jmcp# The rest of the man pages are in the form provided in the original
03831d35f7499c87d51205817c93e9a8d42c4baestevel# distribution, but get edited and renamed to follow Solaris man page
03831d35f7499c87d51205817c93e9a8d42c4baestevel# conventions. E.g. tcpd.8 gets installed as /usr/sfw/man/man1m/tcpd.1m.
24fe0b3bf671e123467ce1df0b67cadd3614c8e4jmcp# Create temporary copies in the sunman directory with modified names
03831d35f7499c87d51205817c93e9a8d42c4baestevel# and contents. The sed program man.sed contains the content edits.
$(INS.dir)
$(INS.dir)
$(RM) $@
$(INS.file)
$(INS.dir)
$(INS.dir)
$(INS.rename)
$(INS.file)
$(ROOTSFWSRC)/%: %
$(INS.file)
$(INS.dir)
$(ROOTSFW):
$(INS.dir)
$(POST_PROCESS)
$(POST_PROCESS)
$(POST_PROCESS)
# document. This language is implemented by the "options.c" source
# sendmail transaction logs. See your /etc/syslog.conf file for actual
# disposition. Some syslog versions (including Ultrix 4.x) do not provide
# no syslog daemons. When changing the syslog.conf file, remember that
# This feature cannot be used with SunOS 4.x because of a kernel bug in
# Reportedly, Sun patch 100804-03 or 101790 fixes this for SunOS 4.1.x.
# Solaris 2.x, and Linux. See your system documentation for details.