Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# CDDL HEADER START
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# The contents of this file are subject to the terms of the
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# Common Development and Distribution License, Version 1.0 only
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# (the "License"). You may not use this file except in compliance
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# with the License.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# or http://www.opensolaris.org/os/licensing.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# See the License for the specific language governing permissions
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# and limitations under the License.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# When distributing Covered Code, include this CDDL HEADER in each
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# If applicable, add the following below this CDDL HEADER, with the
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# fields enclosed by brackets "[]" replaced with your own identifying
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# information: Portions Copyright [yyyy] [name of copyright owner]
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# CDDL HEADER END
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
bd0f52d78d701efcad2c460df61b45677d041c35jhaslam#ident "%Z%%M% %I% %E% SMI"
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# Copyright (c) 1999 by Sun Microsystems, Inc.
bd0f52d78d701efcad2c460df61b45677d041c35jhaslam# All rights reserved.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# cmd/last/Makefile
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahlPROG= last
9512fe850e98fdd448c638ca63fdd92a8a510255ahlUTMPS= wtmpx
9512fe850e98fdd448c638ca63fdd92a8a510255ahlROOTADM= $(ROOT)/var/adm
9512fe850e98fdd448c638ca63fdd92a8a510255ahlROOTUTMPS= $(UTMPS:%=$(ROOTADM)/%)
9512fe850e98fdd448c638ca63fdd92a8a510255ahlSYMSETC= $(UTMPS:%=symlinks_%)
9512fe850e98fdd448c638ca63fdd92a8a510255ahlETCTOVARADM= ../var/adm
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahlinclude ../Makefile.cmd
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahl$(ROOTUTMPS):= FILEMODE= 644
9512fe850e98fdd448c638ca63fdd92a8a510255ahl$(ROOTUTMPS):= OWNER= adm
9512fe850e98fdd448c638ca63fdd92a8a510255ahl$(ROOTUTMPS):= GROUP= adm
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahl$(ROOTADM)/%: %
9512fe850e98fdd448c638ca63fdd92a8a510255ahl $(INS.file)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahl$(UTMPS):
9512fe850e98fdd448c638ca63fdd92a8a510255ahl touch $@
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahlsymlinks_% : %
9512fe850e98fdd448c638ca63fdd92a8a510255ahl -$(RM) $(ROOTETC)/$< ; $(SYMLINK) $(ETCTOVARADM)/$< $(ROOTETC)/$<
9512fe850e98fdd448c638ca63fdd92a8a510255ahl $(CH)@-$(CHOWN) adm $(ROOTETC)/$< ; $(CHGRP) adm $(ROOTETC)/$<
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee.KEEP_STATE:
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomeeall: $(PROG) $(UTMPS)
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomeeinstall: all $(ROOTPROG) $(SYMSETC) $(ROOTUTMPS)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahlclean:
9512fe850e98fdd448c638ca63fdd92a8a510255ahl $(RM) $(UTMPS)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahllint: lint_PROG
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahlinclude ../Makefile.targ
9512fe850e98fdd448c638ca63fdd92a8a510255ahl