Home | History | Annotate | Download | only in prtconf
      1      0  stevel #
      2      0  stevel # CDDL HEADER START
      3      0  stevel #
      4      0  stevel # The contents of this file are subject to the terms of the
      5  10207   James # Common Development and Distribution License (the "License").
      6  10207   James # You may not use this file except in compliance with the License.
      7      0  stevel #
      8      0  stevel # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
      9      0  stevel # or http://www.opensolaris.org/os/licensing.
     10      0  stevel # See the License for the specific language governing permissions
     11      0  stevel # and limitations under the License.
     12      0  stevel #
     13      0  stevel # When distributing Covered Code, include this CDDL HEADER in each
     14      0  stevel # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
     15      0  stevel # If applicable, add the following below this CDDL HEADER, with the
     16      0  stevel # fields enclosed by brackets "[]" replaced with your own identifying
     17      0  stevel # information: Portions Copyright [yyyy] [name of copyright owner]
     18      0  stevel #
     19      0  stevel # CDDL HEADER END
     20      0  stevel #
     21  10207   James # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
     22      0  stevel # Use is subject to license terms.
     23      0  stevel #
     24      0  stevel 
     25      0  stevel PROG= 		prtconf 
     26      0  stevel 
     27      0  stevel include ../Makefile.cmd
     28      0  stevel 
     29      0  stevel $(64ONLY)SUBDIRS= $(MACH)
     30      0  stevel $(BUILD64)SUBDIRS += $(MACH64)
     31      0  stevel 
     32      0  stevel all	:=	TARGET = all
     33      0  stevel install	:=	TARGET = install
     34      0  stevel clean	:=	TARGET = clean
     35      0  stevel clobber	:=	TARGET = clobber
     36      0  stevel lint	:=	TARGET = lint
     37      0  stevel 
     38      0  stevel RELUSRSBIN=     ../usr/sbin
     39      0  stevel ROOTSYMLINK=    $(ROOTETC)/$(PROG)
     40      0  stevel 
     41      0  stevel FILEMODE= 0555
     42      0  stevel 
     43      0  stevel .KEEP_STATE:
     44      0  stevel 
     45      0  stevel all:	$(SUBDIRS)
     46      0  stevel 
     47      0  stevel $(ROOTSYMLINK):
     48      0  stevel 	-$(RM) $@; $(SYMLINK) $(RELUSRSBIN)/$(PROG) $@
     49      0  stevel 
     50      0  stevel clean clobber lint:	$(SUBDIRS)
     51      0  stevel 
     52      0  stevel install:	$(SUBDIRS) $(ROOTSYMLINK)
     53      0  stevel 	-$(RM) $(ROOTUSRSBINPROG)
     54      0  stevel 	-$(LN) $(ISAEXEC) $(ROOTUSRSBINPROG)
     55      0  stevel 
     56      0  stevel $(SUBDIRS):	FRC
     57      0  stevel 	@cd $@; pwd; $(MAKE) $(TARGET)
     58      0  stevel 
     59      0  stevel FRC:
     60      0  stevel 
     61      0  stevel include ../Makefile.targ
     62