xref: /titanic_50/usr/src/cmd/lp/lib/users/Makefile (revision 726fad2a65f16c200a03969c29cb5c86c2d427db)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#
23# Copyright 1990-2003 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# ident	"%Z%%M%	%I%	%E% SMI"
27#
28# cmd/lp/lib/users/Makefile
29#
30
31LIBRARY	=	liblpusr.a
32
33OBJECTS =	usermgmt.o	\
34		loadpri.o	\
35		storepri.o
36
37
38include		../../../../lib/Makefile.lib
39include         ../../Makefile.lp
40
41# Specifically request the construction of a static library.
42# This library is not installed in the proto area.
43LIBS = $(LIBRARY)
44
45CPPFLAGS =	-I../../include $(CPPFLAGS.master)
46
47POFILE =	lp_lib_users.po
48
49.KEEP_STATE:
50
51all install :	$(LIBS)
52
53include		../../../../lib/Makefile.targ
54
55CLEANFILES	+= llib-llpusr.ln
56LINTFLAGS = -nvx
57SRCS= $(OBJECTS:%.o=%.c)
58
59lint:	lintlib
60	$(LINT.c) $(LINTFLAGS) $(SRCS)
61
62lintlib:
63	$(LINT.c) $(LINTFLAGS) -o lpusr llib-llpusr
64
65include		../Makefile.msg
66