Print this page
3317 dis(1) should support cross-target disassembly

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libdisasm/Makefile.targ
          +++ new/usr/src/lib/libdisasm/Makefile.targ
↓ open down ↓ 14 lines elided ↑ open up ↑
  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  #
  22   22  # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25      -# ident "%Z%%M% %I%     %E% SMI"
  26      -#
  27   25  
  28   26  #
  29   27  # We build each flavor in a separate make invocation to improve clarity(!) in
  30   28  # Makefile.com.  The subordinate makes have $(CURTYPE) set to indicate the
  31   29  # flavor they're supposed to build.  This causes the correct set of source
  32   30  # files and compiler and linker flags to be selected.
  33   31  #
  34      -# The SPARC library is built from the closed gate.  This Makefile is shared
  35      -# between both environments, so all paths must be absolute.
  36      -#
  37   32  
  38   33  install: $(TYPES:%=install.%)
  39   34  
  40   35  all: $(TYPES:%=all.%)
  41   36  
  42   37  $(TYPES:%=all.%):
  43   38          @CURTYPE=$(@:all.%=%) $(MAKE) $@.targ
  44   39  
  45   40  $(TYPES:%=install.%):
  46   41          @CURTYPE=$(@:install.%=%) $(MAKE) $@.targ
↓ open down ↓ 51 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX