Print this page
5086 Remove OpenSSL 0.9.8a

Split Close
Expand all
Collapse all
          --- old/usr/src/psm/stand/boot/sparcv9/sun4/Makefile
          +++ new/usr/src/psm/stand/boot/sparcv9/sun4/Makefile
↓ open down ↓ 10 lines elided ↑ open up ↑
  11   11  # and limitations under the License.
  12   12  #
  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 +# Copyright 2014 Gary Mills
  21   22  #
  22   23  # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23   24  # Use is subject to license terms.
  24   25  #
  25   26  
  26   27  TOPDIR =        ../../../../..
  27   28  
  28   29  include $(TOPDIR)/uts/Makefile.uts
  29   30  
  30   31  all     :=      TARGET = all
↓ open down ↓ 54 lines elided ↑ open up ↑
  85   86  STANDSYSDIR=    ../../../../../stand/sys
  86   87  PROMDIRS=       ../../../../promif
  87   88  NAMESDIRS=      ../../../lib/names/sparcv9 ../../../lib/names/sparc/common
  88   89  XRDIRS +=       ../../sparc/common ../../common $(STANDLIBDIR) \
  89   90                  $(STANDSYSDIR) $(PROMDIRS) $(NAMESDIRS)
  90   91  XRPRUNE =       i86pc i386
  91   92  
  92   93  
  93   94  #############################
  94   95  #
  95      -#  WANboot booter
  96      -#
  97      -# Libraries used to build wanboot
  98      -#
  99      -LIBWAN_LIBS     = \
 100      -                libwanboot.a \
 101      -                libnvpair.a libufs.a libhsfs.a libnfs.a \
 102      -                libxdr.a libnames.a libsock.a libinet.a libtcp.a \
 103      -                libscrypt.a libssl.a libcrypto.a \
 104      -                libmd5.a libsa.a libprom.a libssl.a \
 105      -                $(LIBPLAT_LIBS)
 106      -WAN_LIBS        = $(LIBWAN_LIBS:lib%.a=-l%)
 107      -WAN_DIRS        = $(LIBNAME_DIR:%=-L%) $(LIBSYS_DIR:%=-L%)
 108      -WAN_DIRS        += $(LIBPLAT_DIR:%=-L%) $(LIBPROM_DIR:%=-L%)
 109      -
 110      -#
 111      -# Loader flags used to build wanboot
 112      -#
 113      -WAN_MAPFILE     = $(MACH_DIR)/mapfile
 114      -WAN_LDFLAGS     = -dn -M $(WAN_MAPFILE) -e _start $(WAN_DIRS)
 115      -WAN_L_LDFLAGS   = $(WAN_DIRS)
 116      -
 117      -#
 118      -# Object files used to build wanboot
 119      -#
 120      -WAN_SRT0        = $(SRT0_OBJ)
 121      -WAN_OBJS        = $(OBJS) wbfsconf.o wbcli.o wanboot.o ramdisk.o
 122      -WAN_L_OBJS      = $(WAN_SRT0:%.o=%.ln) $(WAN_OBJS:%.o=%.ln)
 123      -
 124      -
 125      -#############################
 126      -#
 127   96  # NFS booter
 128   97  #
 129   98  # Libraries used to build nfsboot
 130   99  #
 131  100  LIBNFS_LIBS     = libnfs.a libxdr.a libnames.a \
 132  101                  libsock.a libinet.a libtcp.a libsa.a libprom.a \
 133  102                  $(LIBPLAT_LIBS)
 134  103  NFS_LIBS        = $(LIBNFS_LIBS:lib%.a=-l%)
 135  104  NFS_DIRS        = $(LIBNAME_DIR:%=-L%) $(LIBSYS_DIR:%=-L%)
 136  105  NFS_DIRS        += $(LIBPLAT_DIR:%=-L%) $(LIBPROM_DIR:%=-L%)
↓ open down ↓ 12 lines elided ↑ open up ↑
 149  118  NFS_OBJS        = $(OBJS) nfsconf.o inetboot.o ramdisk.o
 150  119  NFS_L_OBJS      = $(NFS_SRT0:%.o=%.ln) $(NFS_OBJS:%.o=%.ln)
 151  120  
 152  121  
 153  122  #include $(BOOTSRCDIR)/Makefile.rules
 154  123  
 155  124  FRC:
 156  125  
 157  126  .KEEP_STATE:
 158  127  
 159      -all: $(WANBOOT) $(NFSBOOT)
      128 +all: $(NFSBOOT)
 160  129  
 161  130  install: all                                    \
 162      -        $(ROOT_PLAT_SUN4U_WANBOOT)              \
 163      -        $(ROOT_PLAT_SUN4V_WANBOOT)              \
 164  131          $(USR_PLAT_SUN4U_LIB_FS_NFS_NFSBOOT)    \
 165  132          $(USR_PLAT_SUN4V_LIB_FS_NFS_NFSBOOT)
 166  133  
 167      -$(WANBOOT): $(WAN_MAPFILE) $(WAN_SRT0) $(WAN_OBJS) $(LIBDEPS)
 168      -        $(LD) $(WAN_LDFLAGS) -o $@ $(WAN_SRT0) $(WAN_OBJS) $(WAN_LIBS)
 169      -        $(MCS) -d $@
 170      -        $(POST_PROCESS)
 171      -        $(MCS) -c $@
 172      -        $(STRIP) $@
 173      -
 174  134  $(NFSBOOT): $(NFS_MAPFILE) $(NFS_SRT0) $(NFS_OBJS) $(LIBDEPS)
 175  135          $(LD) $(NFS_LDFLAGS) -o $@ $(NFS_SRT0) $(NFS_OBJS) $(NFS_LIBS)
 176  136          $(MCS) -d $@
 177  137          $(POST_PROCESS)
 178  138          $(MCS) -c $@
 179  139          $(STRIP) $@
 180  140  
 181      -$(WANBOOT)_lint: $(WAN_L_OBJS) $(L_LIBDEPS)
 182      -        @echo ""
 183      -        @echo wanboot lint: global crosschecks:
 184      -        $(LINT.c) $(WAN_L_LDFLAGS) $(WAN_L_OBJS) $(WAN_LIBS)
 185      -
 186  141  $(NFSBOOT)_lint: $(NFS_L_OBJS) $(L_LIBDEPS)
 187  142          @echo ""
 188  143          @echo inetboot lint: global crosschecks:
 189  144          $(LINT.c) $(NFS_L_LDFLAGS) $(NFS_L_OBJS) $(NFS_LIBS)
 190  145  
 191      -$(ROOT_PLAT_SUN4U_WANBOOT): $(WANBOOT)
 192      -        $(INS) -s -m $(FILEMODE) -f $(ROOT_PLAT_DIR)/sun4u $(WANBOOT)
 193      -
 194      -$(ROOT_PLAT_SUN4V_WANBOOT): $(WANBOOT)
 195      -        $(INS) -s -m $(FILEMODE) -f $(ROOT_PLAT_DIR)/sun4v $(WANBOOT)
 196      -
 197  146  $(USR_PLAT_SUN4U_LIB_FS_NFS):
 198  147          $(INS.dir)
 199  148  
 200  149  $(USR_PLAT_SUN4V_LIB_FS_NFS):
 201  150          $(INS.dir)
 202  151  
 203  152  $(USR_PLAT_SUN4U_LIB_FS_NFS_NFSBOOT): $(USR_PLAT_SUN4U_LIB_FS_NFS) $(NFSBOOT)
 204  153          $(INS) -s -m $(FILEMODE) -f $(USR_PLAT_SUN4U_LIB_FS_NFS) $(NFSBOOT)
 205  154  
 206  155  $(USR_PLAT_SUN4V_LIB_FS_NFS_NFSBOOT): $(USR_PLAT_SUN4V_LIB_FS_NFS) $(NFSBOOT)
 207  156          $(INS) -s -m $(FILEMODE) -f $(USR_PLAT_SUN4V_LIB_FS_NFS) $(NFSBOOT)
 208  157  
 209  158  $(STRIPALIGN): $(CMN_DIR)/$$(@).c
 210  159          $(NATIVECC) -o $@ $(CMN_DIR)/$@.c
 211  160  
 212  161  clean:
 213  162          $(RM) make.out lint.out
 214  163          $(RM) $(OBJS) $(CONF_OBJS) $(MISC_OBJS) $(SRT0_OBJ)
 215      -        $(RM) $(WANBOOT_OBJS) $(NFSBOOT_OBJS)
      164 +        $(RM) $(NFSBOOT_OBJS)
 216  165          $(RM) $(L_OBJS) $(CONF_L_OBJS) $(MISC_L_OBJS) $(SRT0_L_OBJ)
 217      -        $(RM) $(WANBOOT_L_OBJS) $(NFSBOOT_L_OBJS)
      166 +        $(RM) $(NFSBOOT_L_OBJS)
 218  167  
 219  168  clobber: clean
 220      -        $(RM) $(WANBOOT) $(NFSBOOT) $(STRIPALIGN)
      169 +        $(RM) $(NFSBOOT) $(STRIPALIGN)
 221  170  
 222      -lint: $(WANBOOT)_lint $(NFSBOOT)_lint
      171 +lint: $(NFSBOOT)_lint
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX