Print this page
1666 libwrap is 32bit only
Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
Reviewed by: Garrett D'Amore <garrett.damore@dey-sys.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>


  21 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  22 # Use is subject to license terms.
  23 #
  24 # Copyright 2011 Nexenta Systems, Inc. All rights reserved.
  25 #
  26 
  27 LIBRARY =       libwrap.a
  28 MAJOR =         .1
  29 MINOR =         .0
  30 VERS =          $(MAJOR)$(MINOR)
  31 OBJECTS =       hosts_access.o options.o shell_cmd.o rfc931.o eval.o \
  32                 hosts_ctl.o refuse.o percent_x.o clean_exit.o \
  33                 fromhost.o fix_options.o socket.o tli.o workarounds.o \
  34                 update.o misc.o diag.o percent_m.o libvars.o
  35 
  36 include ../../Makefile.lib
  37 
  38 LIBS =          $(DYNLIB) $(LINTLIB)
  39 SONAME =        $(LIBRARY:.a=.so)$(MAJOR)
  40 ROOTLINKS +=    $(ROOTLIBDIR)/$(LIBLINKS)$(MAJOR)

  41 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  42 
  43 MAPFILES =      ../mapfile
  44 
  45 LDLIBS +=       -lsocket -lnsl -lc
  46 
  47 CPPFLAGS +=     $(NETGROUP) $(TLI) $(ALWAYS_HOSTNAME) $(AUTH) \
  48                 $(STYLE) $(TABLES) $(DOT) $(BUGS) \
  49                 -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) \
  50                 -I$(SRCDIR) 
  51 CFLAGS +=       $(CCVERBOSE)
  52 
  53 CERRWARN +=     -erroff=E_FUNC_EXPECTS_TO_RETURN_VALUE
  54 CERRWARN +=     -erroff=E_IMPLICIT_DECL_FUNC_RETURN_INT
  55 CERRWARN +=     -erroff=E_OLD_STYLE_DECL_HIDES_PROTO
  56 
  57 CERRWARN +=     -_gcc=-Wno-return-type
  58 CERRWARN +=     -_gcc=-Wno-parentheses
  59 CERRWARN +=     -_gcc=-Wno-unused-variable
  60 CERRWARN +=     -_gcc=-Wno-uninitialized
  61 
  62 .KEEP_STATE:
  63 
  64 all: $(LIBS)
  65 
  66 lint: lintcheck
  67 
  68 $(ROOTLIBDIR)/$(LIBLINKS)$(MAJOR): $(ROOTLIBDIR)/$(LIBLINKS)$(VERS)
  69         $(INS.liblink)
  70 



  71 include ../../Makefile.targ
  72 
  73 
  74 # The rest of this file contains definitions more-or-less directly from the
  75 # original Makefile of the tcp_wrappers distribution.
  76 
  77 ##############################
  78 # System parameters appropriate for Solaris 9 and later
  79 
  80 TLI             = -DTLI
  81 BUGS            = -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK
  82 NETGROUP        = -DNETGROUP
  83 
  84 ##############################
  85 # Start of the optional stuff.
  86 
  87 ###########################################
  88 # Optional: Turning on language extensions
  89 #
  90 # Instead of the default access control language that is documented in




  21 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  22 # Use is subject to license terms.
  23 #
  24 # Copyright 2011 Nexenta Systems, Inc. All rights reserved.
  25 #
  26 
  27 LIBRARY =       libwrap.a
  28 MAJOR =         .1
  29 MINOR =         .0
  30 VERS =          $(MAJOR)$(MINOR)
  31 OBJECTS =       hosts_access.o options.o shell_cmd.o rfc931.o eval.o \
  32                 hosts_ctl.o refuse.o percent_x.o clean_exit.o \
  33                 fromhost.o fix_options.o socket.o tli.o workarounds.o \
  34                 update.o misc.o diag.o percent_m.o libvars.o
  35 
  36 include ../../Makefile.lib
  37 
  38 LIBS =          $(DYNLIB) $(LINTLIB)
  39 SONAME =        $(LIBRARY:.a=.so)$(MAJOR)
  40 ROOTLINKS +=    $(ROOTLIBDIR)/$(LIBLINKS)$(MAJOR)
  41 ROOTLINKS64 +=  $(ROOTLIBDIR64)/$(LIBLINKS)$(MAJOR)
  42 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  43 
  44 MAPFILES =      ../mapfile-vers
  45 
  46 LDLIBS +=       -lsocket -lnsl -lc
  47 
  48 CPPFLAGS +=     $(NETGROUP) $(TLI) $(ALWAYS_HOSTNAME) $(AUTH) \
  49                 $(STYLE) $(TABLES) $(DOT) $(BUGS) \
  50                 -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) \
  51                 -I$(SRCDIR) 
  52 CFLAGS +=       $(CCVERBOSE)
  53 
  54 CERRWARN +=     -erroff=E_FUNC_EXPECTS_TO_RETURN_VALUE
  55 CERRWARN +=     -erroff=E_IMPLICIT_DECL_FUNC_RETURN_INT
  56 CERRWARN +=     -erroff=E_OLD_STYLE_DECL_HIDES_PROTO
  57 
  58 CERRWARN +=     -_gcc=-Wno-return-type
  59 CERRWARN +=     -_gcc=-Wno-parentheses
  60 CERRWARN +=     -_gcc=-Wno-unused-variable
  61 CERRWARN +=     -_gcc=-Wno-uninitialized
  62 
  63 .KEEP_STATE:
  64 
  65 all: $(LIBS)
  66 
  67 lint: lintcheck
  68 
  69 $(ROOTLIBDIR)/$(LIBLINKS)$(MAJOR): $(ROOTLIBDIR)/$(LIBLINKS)$(VERS)
  70         $(INS.liblink)
  71 
  72 $(ROOTLIBDIR64)/$(LIBLINKS)$(MAJOR): $(ROOTLIBDIR64)/$(LIBLINKS)$(VERS)
  73         $(INS.liblink64)
  74 
  75 include ../../Makefile.targ
  76 
  77 
  78 # The rest of this file contains definitions more-or-less directly from the
  79 # original Makefile of the tcp_wrappers distribution.
  80 
  81 ##############################
  82 # System parameters appropriate for Solaris 9 and later
  83 
  84 TLI             = -DTLI
  85 BUGS            = -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK
  86 NETGROUP        = -DNETGROUP
  87 
  88 ##############################
  89 # Start of the optional stuff.
  90 
  91 ###########################################
  92 # Optional: Turning on language extensions
  93 #
  94 # Instead of the default access control language that is documented in