7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 # Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
  26 #
  27 # Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
  28 #
  29 
  30 #
  31 # lib/libsmbfs/Makefile.com
  32 #
  33 
  34 LIBRARY=        libsmbfs.a
  35 VERS=           .1
  36 
  37 # leaving out: kiconv.o
  38 
  39 OBJ_LIB=\
  40         acl_api.o \
  41         acl_print.o \
  42         charsets.o \
  43         cfopt.o \
  44         connect.o \
  45         crypt.o \
  46         ctx.o \
  47         derparse.o \
  48         file.o \
  49         findvc.o \
  50         getaddr.o \
  51         iod_cl.o \
  52         iod_wk.o \
  53         keychain.o \
  54         krb5ssp.o \
  55         mbuf.o \
  56         nb.o \
  57         nb_name.o \
  58         nb_net.o \
  59         nb_ssn.o \
  60         nbns_rq.o \
  61         negprot.o \
  62         netshareenum.o \
  63         newvc.o \
  64         nls.o \
  65         ntlm.o \
  66         ntlmssp.o \
  67         print.o \
  68         rap.o \
  69         rcfile.o \
  70         rq.o \
  71         signing.o \
  72         spnego.o \
  73         spnegoparse.o \
  74         ssnsetup.o \
  75         ssp.o \
  76         subr.o \
  77         ui-sun.o \
  78         utf_str.o
  79 
  80 OBJ_CMN= smbfs_ntacl.o 
  81 
  82 OBJECTS= $(OBJ_LIB) $(OBJ_CMN)
  83 
  84 include $(SRC)/lib/Makefile.lib
  85 
  86 LIBS =          $(DYNLIB) $(LINTLIB)
  87 
  88 SRCDIR=         ../smb
  89 CMNDIR=         $(SRC)/common/smbclnt
  90 
  91 SRCS=           $(OBJ_LIB:%.o=$(SRCDIR)/%.c) \
  92                 $(OBJ_CMN:%.o=$(CMNDIR)/%.c)
  93 
  94 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  95 
  96 CSTD=   $(CSTD_GNU99)
  97 
  98 LDLIBS += -lsocket -lnsl -lc -lmd -lpkcs11 -lkrb5 -lsec -lidmap
  99 
 100 # normal warnings...
 101 CFLAGS  +=      $(CCVERBOSE) 
 102 
 103 CERRWARN +=     -_gcc=-Wno-uninitialized
 104 CERRWARN +=     -_gcc=-Wno-unused-variable
 105 
 106 CPPFLAGS += -D__EXTENSIONS__ -D_REENTRANT -DMIA \
 107         -I$(SRCDIR) -I.. -I../netsmb \
 108         -I$(SRC)/uts/common \
 109         -I$(SRC)/common/smbclnt
 110 
 111 # Debugging
 112 ${NOT_RELEASE_BUILD} CPPFLAGS += -DDEBUG
 113 
 114 # uncomment these for dbx debugging
 115 #COPTFLAG = -g
 116 #CTF_FLAGS =
 117 #CTFCONVERT_O=
 118 #CTFMERGE_LIB=
 | 
 
 
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 # Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
  26 #
  27 # Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
  28 #
  29 
  30 #
  31 # lib/libsmbfs/Makefile.com
  32 #
  33 
  34 LIBRARY=        libsmbfs.a
  35 VERS=           .1
  36 
  37 # leaving out: kiconv.o
  38 
  39 OBJ_LIB=\
  40         acl_api.o \
  41         acl_print.o \
  42         charsets.o \
  43         cfopt.o \
  44         connect.o \
  45         crypt.o \
  46         ctx.o \
  47         derparse.o \
  48         file.o \
  49         findvc.o \
  50         getaddr.o \
  51         iod_cl.o \
  52         iod_wk.o \
  53         keychain.o \
  54         krb5ssp.o \
  55         mbuf.o \
  56         nb.o \
  57         nb_name.o \
  58         nb_net.o \
  59         nbns_rq.o \
  60         newvc.o \
  61         nls.o \
  62         ntlm.o \
  63         ntlmssp.o \
  64         print.o \
  65         rcfile.o \
  66         rc_scf.o \
  67         spnego.o \
  68         spnegoparse.o \
  69         ssp.o \
  70         subr.o \
  71         ui-sun.o \
  72         utf_str.o
  73 
  74 OBJ_CMN= smbfs_ntacl.o 
  75 
  76 OBJECTS= $(OBJ_LIB) $(OBJ_CMN)
  77 
  78 include $(SRC)/lib/Makefile.lib
  79 
  80 LIBS =          $(DYNLIB) $(LINTLIB)
  81 
  82 SRCDIR=         ../smb
  83 CMNDIR=         $(SRC)/common/smbclnt
  84 
  85 SRCS=           $(OBJ_LIB:%.o=$(SRCDIR)/%.c) \
  86                 $(OBJ_CMN:%.o=$(CMNDIR)/%.c)
  87 
  88 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  89 
  90 CSTD=   $(CSTD_GNU99)
  91 
  92 LDLIBS += -lsocket -lnsl -lc -lmd -lpkcs11 -lkrb5 -lsec -lidmap -lscf -luuid
  93 
  94 # normal warnings...
  95 CFLAGS  +=      $(CCVERBOSE) 
  96 
  97 CERRWARN +=     -_gcc=-Wno-uninitialized
  98 CERRWARN +=     -_gcc=-Wno-unused-variable
  99 
 100 CPPFLAGS += -D__EXTENSIONS__ -D_REENTRANT -DMIA \
 101         -I$(SRCDIR) -I.. -I../netsmb \
 102         -I$(SRC)/uts/common \
 103         -I$(SRC)/common/smbclnt
 104 
 105 # Debugging
 106 ${NOT_RELEASE_BUILD} CPPFLAGS += -DDEBUG
 107 
 108 # uncomment these for dbx debugging
 109 #COPTFLAG = -g
 110 #CTF_FLAGS =
 111 #CTFCONVERT_O=
 112 #CTFMERGE_LIB=
 |