Makefile revision f808c858fa61e7769218966759510a8b1190dfcf
1057N/A#
1057N/A# CDDL HEADER START
1057N/A#
1057N/A# The contents of this file are subject to the terms of the
1057N/A# Common Development and Distribution License (the "License").
1057N/A# You may not use this file except in compliance with the License.
1057N/A#
1057N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1057N/A# or http://www.opensolaris.org/os/licensing.
1057N/A# See the License for the specific language governing permissions
1057N/A# and limitations under the License.
1057N/A#
1057N/A# When distributing Covered Code, include this CDDL HEADER in each
1057N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1057N/A# If applicable, add the following below this CDDL HEADER, with the
1057N/A# fields enclosed by brackets "[]" replaced with your own identifying
1057N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1057N/A#
1057N/A# CDDL HEADER END
1057N/A#
1057N/A#
1057N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
1057N/A# Use is subject to license terms.
1057N/A#
5065N/A# ident "%Z%%M% %I% %E% SMI"
5886N/A#
1057N/A
1057N/ALIBRARY= lib.a
1057N/A
1057N/ADATEFILE= ugdates
1057N/ADATEFILESRC= ugdates.dat
4114N/ATXT= $(DATEFILESRC)
1057N/A
4114N/AOBJECTS= putgrent.o \
1057N/A errmsg.o \
2334N/A file.o \
2334N/A vgid.o \
1057N/A vgname.o \
1057N/A vgroup.o \
1057N/A vuid.o \
1057N/A get_ngm.o \
4134N/A vlogin.o \
1057N/A vproj.o \
2086N/A dates.o \
1057N/A vexpire.o \
1057N/A putprojent.o \
1057N/A vprojid.o \
1057N/A vprojname.o
1057N/A
1057N/A# include library definitions
1057N/Ainclude ../../Makefile.cmd
1057N/Ainclude ../../../lib/Makefile.lib
2334N/A
1057N/ASRCDIR = .
1057N/A
1057N/AGREP= grep
1057N/AFILEMODE= $(LIBFILEMODE)
1057N/A
1057N/APRODUCT= $(LIBRARY) $(DATEFILE)
1057N/A
1057N/A# Must retain `lib', since default expands to nothing
1057N/ALLINTLIB= llib-l$(LIBRARY:lib%.a=lib).ln
1057N/A
1057N/ACLEANFILES= $(LLINTLIB)
1057N/ACLOBBERFILES= $(DATEFILE)
1057N/A
1057N/AGENERAL= ../inc
1057N/ACPPFLAGS= -I. -I$(GENERAL) $(CPPFLAGS.master)
1057N/AARFLAGS= cr
1057N/AAROBJS= `$(LORDER) $(OBJS) | $(TSORT)`
1057N/ALINTFLAGS= -u
1057N/A
1057N/AROOTUSRSADM= $(ROOT)/usr/sadm
2334N/AROOTUSRSADMFILE=$(DATEFILE:%=$(ROOTUSRSADM)/%)
1057N/A
1057N/A.KEEP_STATE:
1057N/A
1057N/Aall: $(PRODUCT) $(TXT)
1057N/A
1057N/A$(DATEFILE): $(DATEFILESRC)
1057N/A $(GREP) -v "^#ident" $(DATEFILESRC) > $(DATEFILE)
1057N/A
1057N/Ainstall: all $(DATEFILE) $(ROOTUSRSADMFILE)
1057N/A
1057N/A$(ROOTUSRSADM)/%: %
1057N/A $(INS.file)
1057N/A
1057N/Alint: $(LLINTLIB)
1057N/A
1057N/A$(LLINTLIB): $(SRCS)
1057N/A $(LINT.c) -o $(LIBRARY:lib%.a=lib) $(SRCS) > $(LINTOUT) 2>&1
1057N/A
1057N/Ainclude ../../../lib/Makefile.targ
1057N/A