Annotation of kernel/conf/tools/newvers/Makefile.xxx, revision 1.1.1.1

1.1       root        1: ##
                      2: # Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
                      3: #
                      4: # @APPLE_LICENSE_HEADER_START@
                      5: # 
                      6: # Portions Copyright (c) 1999 Apple Computer, Inc.  All Rights
                      7: # Reserved.  This file contains Original Code and/or Modifications of
                      8: # Original Code as defined in and that are subject to the Apple Public
                      9: # Source License Version 1.1 (the "License").  You may not use this file
                     10: # except in compliance with the License.  Please obtain a copy of the
                     11: # License at http://www.apple.com/publicsource and read it before using
                     12: # this file.
                     13: # 
                     14: # The Original Code and all software distributed under the License are
                     15: # distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
                     16: # EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
                     17: # INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
                     18: # FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
                     19: # License for the specific language governing rights and limitations
                     20: # under the License.
                     21: # 
                     22: # @APPLE_LICENSE_HEADER_END@
                     23: ##
                     24: 
                     25: 
                     26: .SUFFIXES: .csh .sh .c .x .install
                     27: 
                     28: DESTDIR=
                     29: CFLAGS=        -O
                     30: INSTALL=install -m 755
                     31: DDIR=  ${DESTDIR}../conf
                     32: 
                     33: BASEDIR=
                     34: 
                     35: SUBDIR=        config
                     36: ISUBDIR= config.install
                     37: 
                     38: ALL=
                     39: IALL=  doconf.install newvers.install
                     40: 
                     41: all install: ${IALL} ${ISUBDIR}
                     42: 
                     43: ${SUBDIR}: FRC
                     44:        cd $@; make ${MFLAGS}
                     45: 
                     46: ${ISUBDIR}: FRC
                     47:        cd $*; make ${MFLAGS} DESTDIR=${DESTDIR} install
                     48: 
                     49: FRC:
                     50: 
                     51: .c.x:  $*.c
                     52:        ${CC} ${CFLAGS} -o $*.x $*.c
                     53: 
                     54: .csh.install: $*.csh
                     55:        -rm -f $(DDIR)/$*
                     56:        ${INSTALL} $*.csh ${DDIR}/$*
                     57: 
                     58: .sh.install: $*.sh
                     59:        -rm -f $(DDIR)/$*
                     60:        ${INSTALL} $*.sh ${DDIR}/$*
                     61: 
                     62: .x.install: $*.x
                     63:        -rm -f ${DDIR}/$*
                     64:        ${INSTALL} -s $*.x ${DDIR}/$*
                     65: 
                     66: lclean:
                     67:        rm -f *.o *.x
                     68:        rm -f ../bin/config
                     69: 
                     70: clean: lclean
                     71:        @for i in ${SUBDIR}; do echo "[ $$i ]";(cd $$i; make clean); done
                     72: 
                     73: 
                     74: #  Display any newly modified source files (e.g. for archive)
                     75: 
                     76: NEWSRC=.
                     77: 
                     78: NEWSRC: ${NEWSRC}
                     79: 
                     80: ${NEWSRC}: Makefile *.csh
                     81:        @echo $?

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.