Print this page
8411 Build should warn when linking against libraries outside proto area
   1 #
   2 # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
   3 # Use is subject to license terms.
   4 #
   5 # Copyright 2011, Richard Lowe.


   6 
   7 include ../../Makefile.ctf
   8 
   9 LIBRARY=        libdwarf.a
  10 VERS=           .1
  11 
  12 OBJECTS=dwarf_abbrev.o          \
  13         dwarf_addr_finder.o     \
  14         dwarf_alloc.o           \
  15         dwarf_arange.o          \
  16         dwarf_die_deliv.o       \
  17         dwarf_elf_access.o      \
  18         dwarf_error.o           \
  19         dwarf_form.o            \
  20         dwarf_frame.o           \
  21         dwarf_frame2.o          \
  22         dwarf_frame3.o          \
  23         dwarf_funcs.o           \
  24         dwarf_global.o          \
  25         dwarf_harmless.o        \


  82 .KEEP_STATE:
  83 .PARALLEL:
  84 
  85 all:    $(DYNLIB)
  86 
  87 install: all $(ROOTONBLDLIBMACH)/libdwarf.so.1 $(ROOTONBLDLIBMACH)/libdwarf.so
  88 
  89 $(ROOTONBLDLIBMACH)/%: %
  90         $(INS.file)
  91 
  92 $(ROOTONBLDLIBMACH)/$(LIBLINKS): $(ROOTONBLDLIBMACH)/$(LIBLINKS)$(VERS)
  93         $(INS.liblink)
  94 
  95 FRC:
  96 
  97 # We can't provide CTF information for libdwarf, as the CTF tools themselves
  98 # depond upon it, and so aren't built yet.
  99 $(DYNLIB) := CTFMERGE_POST= :
 100 CTFCONVERT_O= :
 101 



 102 include $(SRC)/lib/Makefile.targ
 103 
   1 #
   2 # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
   3 # Use is subject to license terms.
   4 #
   5 # Copyright 2011, Richard Lowe.
   6 # Copyright 2017 RackTop Systems.
   7 #
   8 
   9 include ../../Makefile.ctf
  10 
  11 LIBRARY=        libdwarf.a
  12 VERS=           .1
  13 
  14 OBJECTS=dwarf_abbrev.o          \
  15         dwarf_addr_finder.o     \
  16         dwarf_alloc.o           \
  17         dwarf_arange.o          \
  18         dwarf_die_deliv.o       \
  19         dwarf_elf_access.o      \
  20         dwarf_error.o           \
  21         dwarf_form.o            \
  22         dwarf_frame.o           \
  23         dwarf_frame2.o          \
  24         dwarf_frame3.o          \
  25         dwarf_funcs.o           \
  26         dwarf_global.o          \
  27         dwarf_harmless.o        \


  84 .KEEP_STATE:
  85 .PARALLEL:
  86 
  87 all:    $(DYNLIB)
  88 
  89 install: all $(ROOTONBLDLIBMACH)/libdwarf.so.1 $(ROOTONBLDLIBMACH)/libdwarf.so
  90 
  91 $(ROOTONBLDLIBMACH)/%: %
  92         $(INS.file)
  93 
  94 $(ROOTONBLDLIBMACH)/$(LIBLINKS): $(ROOTONBLDLIBMACH)/$(LIBLINKS)$(VERS)
  95         $(INS.liblink)
  96 
  97 FRC:
  98 
  99 # We can't provide CTF information for libdwarf, as the CTF tools themselves
 100 # depond upon it, and so aren't built yet.
 101 $(DYNLIB) := CTFMERGE_POST= :
 102 CTFCONVERT_O= :
 103 
 104 # Disable -zassert-deflib.  We want to link against host libraries.
 105 $(DYNLIB) := ZASSERTDEFLIB=
 106 
 107 include $(SRC)/lib/Makefile.targ
 108