Makefile revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4
98N/A#
98N/A# CDDL HEADER START
98N/A#
98N/A# The contents of this file are subject to the terms of the
371N/A# Common Development and Distribution License (the "License").
98N/A# You may not use this file except in compliance with the License.
98N/A#
98N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
98N/A# or http://www.opensolaris.org/os/licensing.
98N/A# See the License for the specific language governing permissions
98N/A# and limitations under the License.
98N/A#
98N/A# When distributing Covered Code, include this CDDL HEADER in each
98N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
98N/A# If applicable, add the following below this CDDL HEADER, with the
98N/A# fields enclosed by brackets "[]" replaced with your own identifying
98N/A# information: Portions Copyright [yyyy] [name of copyright owner]
98N/A#
98N/A# CDDL HEADER END
98N/A#
98N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
98N/A# Use is subject to license terms.
98N/A#
98N/A# Makefile for libc-related x86 flarcreate precreation scripts
98N/A#
98N/A#
98N/A# libc/i386_etc/Makefile
98N/A
98N/Ainclude ../../../../Makefile.master
98N/A
98N/AFLASHPRESRC= caplib.ksh
98N/AFLASHPREPROG= $(FLASHPRESRC:%.ksh=%)
371N/A
98N/Aall:= TARGET= all
98N/Ainstall:= TARGET= install
98N/Aclean:= TARGET= clean
98N/Aclobber:= TARGET= clobber
98N/Alint:= TARGET= lint
98N/A
98N/AROOTETC= $(ROOT)/etc
98N/AETCFLASHD= $(ROOTETC)/flash
98N/AETCFLASHPREC= $(ROOTETC)/flash/precreation
98N/AETCFLASHPREE= $(ROOTETC)/flash/preexit
98N/AETCFLASHPOSTC= $(ROOTETC)/flash/postcreation
371N/A
98N/ADIRS= $(ETCFLASHPREC) $(ETCFLASHPREE) $(ETCFLASHPOSTC)
98N/A
371N/AETCFLASHPREPROG= $(FLASHPREPROG:%=$(ETCFLASHPREC)/%)
98N/A
98N/A$(ETCFLASHD) := DIRMODE= 755
98N/A$(ETCFLASHPREC) := DIRMODE= 700
98N/A$(ETCFLASHPREE) := DIRMODE= 700
98N/A$(ETCFLASHPOSTC) := DIRMODE= 700
98N/A$(ETCFLASHPREPROG) := FILEMODE= 0500
98N/A
98N/A.KEEP_STATE:
98N/A
98N/Aall: $(FLASHPREPROG)
98N/A
98N/Ainstall: all .WAIT $(DIRS) .WAIT $(ETCFLASHPREPROG)
98N/A
98N/Acstyle:
98N/A
98N/Alint:
98N/A
98N/A$(FLASHPREPROG): $(FLASHPRESRC)
98N/A $(CP) $@.ksh $@
98N/A
98N/A$(DIRS):
98N/A $(INS.dir)
98N/A
98N/A$(ETCFLASHPREC)/% : %
98N/A $(INS.file)
98N/A
98N/A$(ETCFLASHPREE)/% : %
$(INS.file)
$(ETCFLASHPOSTC)/% : %
$(INS.file)
clean:
$(RM) $(FLASHPREPROG)
clobber: clean
$(RM) $(ETCFLASHPREPROG)