Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sendmail/src/Makefile
          +++ new/usr/src/cmd/sendmail/src/Makefile
↓ open down ↓ 22 lines elided ↑ open up ↑
  23   23  
  24   24  #
  25   25  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  26   26  # Use is subject to license terms.
  27   27  #
  28   28  # cmd/sendmail/src/Makefile
  29   29  #
  30   30  
  31   31  PROG=   sendmail
  32   32  
  33      -include         ../../Makefile.cmd
  34      -include         ../Makefile.cmd
       33 +include         ../../Makefile.cmd
       34 +include         ../Makefile.cmd
  35   35  
  36   36  OBJS= alias.o arpadate.o bf.o collect.o conf.o control.o convtime.o daemon.o \
  37   37          deliver.o domain.o envelope.o err.o headers.o macro.o main.o map.o \
  38   38          mci.o milter.o mime.o parseaddr.o queue.o ratectrl.o readcf.o \
  39   39          recipient.o sasl.o savemail.o sfsasl.o sm_resolve.o srvrsmtp.o stab.o \
  40   40          stats.o sysexits.o tls.o trace.o udb.o usersmtp.o util.o version.o
  41   41  
  42   42  SRCS=   $(OBJS:%.o=%.c)
  43   43  
  44   44  MAPFILES =      $(MAPFILE.INT) $(MAPFILE.NGB)
  45   45  LDFLAGS +=      $(MAPFILES:%=-M%)
  46   46  
  47      -LDLIBS +=       ../libsmutil/libsmutil.a ../libsm/libsm.a -lresolv -lsocket \
       47 +LDLIBS +=       ../libsmutil/libsmutil.a ../libsm/libsm.a -lresolv -lsocket \
  48   48                  -lnsl ../db/libdb.a -lldap -lsldap -lwrap -lumem \
  49   49                  -lssl -lcrypto -lsasl
       50 +ADJUNCT_LIBS =  libssl.so libcrypto.so
  50   51  
  51   52  INCPATH=        -I. -I../include -I../db
  52   53  
  53   54  ENVDEF=         -DNETINET6 -DTCPWRAPPERS -DSTARTTLS -DSASL=20115
  54   55  SUNENVDEF=      -DSUN_EXTENSIONS -DVENDOR_DEFAULT=VENDOR_SUN \
  55   56                  -DSUN_INIT_DOMAIN -DSUN_SIMPLIFIED_LDAP -D_FFR_LOCAL_DAEMON \
  56   57                  -D_FFR_MAIL_MACRO
  57   58  
  58      -CPPFLAGS =      $(INCPATH) $(ENVDEF) $(SUNENVDEF) $(DBMDEF) $(CPPFLAGS.sm)
       59 +CPPFLAGS =      $(INCPATH) $(ENVDEF) $(SUNENVDEF) $(DBMDEF) $(CPPFLAGS.sm)
  59   60  
  60      -FILEMODE=       2555
       61 +FILEMODE=       2555
  61   62  
  62   63  ROOTSYMLINKS=   $(ROOTLIBSMTPSM)/newaliases
  63   64  
  64   65  # build rule
  65   66  #
  66   67  
  67   68  .KEEP_STATE:
  68   69  all:            $(PROG)
  69   70  
  70   71  .PARALLEL:      $(OBJS)
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX