Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
8e15d5eb3a000f1341e6bea0ddbc28d6dd2a0591Mark Andrews#
8e15d5eb3a000f1341e6bea0ddbc28d6dd2a0591Mark Andrews# CDDL HEADER START
8e15d5eb3a000f1341e6bea0ddbc28d6dd2a0591Mark Andrews#
8e15d5eb3a000f1341e6bea0ddbc28d6dd2a0591Mark Andrews# The contents of this file are subject to the terms of the
8e15d5eb3a000f1341e6bea0ddbc28d6dd2a0591Mark Andrews# Common Development and Distribution License, Version 1.0 only
8e15d5eb3a000f1341e6bea0ddbc28d6dd2a0591Mark Andrews# (the "License"). You may not use this file except in compliance
8e15d5eb3a000f1341e6bea0ddbc28d6dd2a0591Mark Andrews# with the License.
8e15d5eb3a000f1341e6bea0ddbc28d6dd2a0591Mark Andrews#
8e15d5eb3a000f1341e6bea0ddbc28d6dd2a0591Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8e15d5eb3a000f1341e6bea0ddbc28d6dd2a0591Mark Andrews# or http://www.opensolaris.org/os/licensing.
8e15d5eb3a000f1341e6bea0ddbc28d6dd2a0591Mark Andrews# See the License for the specific language governing permissions
8e15d5eb3a000f1341e6bea0ddbc28d6dd2a0591Mark Andrews# and limitations under the License.
8e15d5eb3a000f1341e6bea0ddbc28d6dd2a0591Mark Andrews#
8e15d5eb3a000f1341e6bea0ddbc28d6dd2a0591Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
8e15d5eb3a000f1341e6bea0ddbc28d6dd2a0591Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8e15d5eb3a000f1341e6bea0ddbc28d6dd2a0591Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
8e15d5eb3a000f1341e6bea0ddbc28d6dd2a0591Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
8e15d5eb3a000f1341e6bea0ddbc28d6dd2a0591Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 1990-2003 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
# cmd/lp/lib/access/Makefile
#
LIBRARY = liblpacc.a
OBJECTS = allowed.o \
bang.o \
change.o \
dumpaccess.o \
files.o \
loadaccess.o
include ../../../../lib/Makefile.lib
include ../../Makefile.lp
# Specifically request the construction of a static library.
# This library is not installed in the proto area.
LIBS = $(LIBRARY)
CPPFLAGS = -I../../include $(CPPFLAGS.master)
POFILE = lp_lib_access.po
.KEEP_STATE :
all install : $(LIBS)
include ../../../../lib/Makefile.targ
CLEANFILES += llib-llpacc.ln
LINTFLAGS = -nvx
SRCS= $(OBJECTS:%.o=%.c)
lint: lintlib
$(LINT.c) $(LINTFLAGS) $(SRCS)
lintlib:
$(LINT.c) $(LINTFLAGS) -o lpacc llib-llpacc
include ../Makefile.msg