Print this page
1681 support for BUILD64=# no longer works

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/link_audit/Makefile
          +++ new/usr/src/cmd/sgs/link_audit/Makefile
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13  # When distributing Covered Code, include this CDDL HEADER in each
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  22   22  # Use is subject to license terms.
       23 +# Copyright 2014 Andrew Stormont.
  23   24  #
  24   25  
  25   26  include         ../../../Makefile.master
  26   27  
  27   28  ROOTDEMODIRBASE=        $(ROOT)/usr/demo/link_audit
  28   29  
  29   30  DEMOFILES= \
  30   31                  00README \
  31   32                  Makefile \
  32   33                  man/perfcnt.man \
↓ open down ↓ 21 lines elided ↑ open up ↑
  54   55                  $(ROOTDEMODIRBASE)/man \
  55   56                  $(ROOTDEMODIRBASE)/src
  56   57  
  57   58  ROOTDEMOFILES=  $(DEMOFILES:%=$(ROOTDEMODIRBASE)/%)
  58   59  
  59   60  $(ROOTDEMODIRS) :=      DIRMODE =       755
  60   61  
  61   62  
  62   63  
  63   64  SUBDIRS=        $(MACH)
       65 +$(BUILD64)SUBDIRS += $(MACH64)
  64   66  
  65   67  all:=           TARGET= all
  66   68  install:=       TARGET= install
  67   69  package:=       TARGET= package
  68   70  clean:=         TARGET= clean
  69   71  clobber:=       TARGET= clobber
  70   72  lint:=          TARGET= lint
  71   73  
  72   74  .PARALLEL: $(ROOTDEMOFILES)
  73   75  
  74   76  .KEEP_STATE:
  75   77  
  76   78  all clean clobber lint : \
  77   79          $(SUBDIRS)
  78   80  
  79   81  package install : \
  80   82          $(ROOTDEMODIRS) .WAIT $(SUBDIRS) $(ROOTDEMOFILES)
  81   83  
  82   84  $(SUBDIRS):     FRC
  83   85                  @cd $@; pwd; $(MAKE) $(TARGET)
  84      -                @if [ -d $(MACH64) ]; then                      \
  85      -                        cd $(MACH64); pwd; $(MAKE) $(TARGET);   \
  86      -                else /bin/true; fi
  87   86  
  88   87  $(ROOTDEMODIRS):
  89   88          $(INS.dir)
  90   89  
  91   90  $(ROOTDEMODIRBASE)/man/%: man/%
  92   91          $(INS.file)
  93   92  
  94   93  $(ROOTDEMODIRBASE)/src/%: common/%
  95   94          $(INS.file)
  96   95  
  97   96  $(ROOTDEMODIRBASE)/%: common/%
  98   97          $(INS.file)
  99   98  
 100   99  $(ROOTDEMODIRBASE)/%: common/%.demo
 101  100          $(INS.rename)
 102  101  
 103  102  FRC:
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX