Print this page
    
5605 Disable IPP printing like SMB printing can be disabled
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/lib/print/Makefile
          +++ new/usr/src/lib/print/Makefile
   1    1  #
   2    2  # CDDL HEADER START
   3    3  #
   4    4  # The contents of this file are subject to the terms of the
   5    5  # Common Development and Distribution License (the "License").
   6    6  # You may not use this file except in compliance with the License.
   7    7  #
   8    8  # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9    9  # or http://www.opensolaris.org/os/licensing.
  10   10  # See the License for the specific language governing permissions
  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.
  
    | 
      ↓ open down ↓ | 
    14 lines elided | 
    
      ↑ open up ↑ | 
  
  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   21  #
  22   22  # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25      -# ident "%Z%%M% %I%     %E% SMI"
  26      -#
  27   25  
  28   26  SUBDIRS = \
  29   27          libprint \
  30   28          libpapi-common \
  31   29          libpapi-dynamic \
  32   30          libpapi-lpd \
  33   31          libipp-core \
  34   32          libhttp-core \
  35   33          libpapi-ipp \
  36      -        libipp-listener \
  37      -        mod_ipp
       34 +        libipp-listener
  38   35  
       36 +$(ENABLE_IPP_PRINTING) SUBDIRS +=       mod_ipp
       37 +
  39   38  all :=                  TARGET = all
  40   39  clean :=                TARGET = clean
  41   40  clobber :=              TARGET = clobber
  42   41  install :=              TARGET = install
  43   42  install_h :=              TARGET = install_h
  44   43  lint :=                 TARGET = lint
  45   44  
  46   45  include $(SRC)/Makefile.master
  47   46  
  48   47  TEXT_DOMAIN=    SUNW_OST_OSLIB
  49   48  POFILE= print-lib.po
  50   49  
  51   50  .KEEP_STATE:
  52   51  
  53   52  all:    $(TXTS) $(SUBDIRS)
  54   53  
  55   54  #
  56   55  # Each message catalog file is generated in each sub
  57   56  # directory and copied to the usr/src/cmd/lp/ directory.
  58   57  # Those message catalog files are consolidated into one
  59   58  # message catalog file.  The consolidated one will be copied
  60   59  # into the $(ROOT)/catalog/SUNW_OST_OSCMD/ directory.
  61   60  #
  62   61  
  63   62  _msg:   $(MSGDOMAIN)
  64   63          @$(RM) $(POFILE)
  65   64          $(XGETTEXT) -s `/bin/find . -type d -name SCCS -prune -o -type f -name '*.c' -print`
  66   65          @/bin/cat messages.po | sed '/domain/d' > $(POFILE)
  67   66          @$(RM) messages.po
  68   67          $(RM)  $(MSGDOMAIN)/$(POFILE)
  69   68          /bin/cp $(POFILE) $(MSGDOMAIN)
  70   69  
  71   70  install: $(ROOTDIRS) $(ROOTSYMLINKDIRS) $(SUBDIRS)
  72   71  
  73   72  install_h clean strip lint: $(SUBDIRS)
  74   73  
  75   74  clobber: $(SUBDIRS) local_clobber
  76   75  
  77   76  local_clobber:
  78   77          $(RM) $(CLOBBERFILES) $(POFILE)
  79   78  
  80   79  $(SUBDIRS):     FRC
  81   80          @cd $@; pwd; $(MAKE) $(TARGET)
  82   81  
  83   82  FRC:
  84   83  
  85   84  include $(SRC)/Makefile.msg.targ
  86   85  
  87   86  # Dependencies
  88   87  libpapi-dynamic:        libpapi-common
  89   88  libpapi-lpd:            libpapi-dynamic
  90   89  libipp-core:            libpapi-common
  91   90  libpapi-ipp:            libpapi-common libipp-core libhttp-core
  92   91  libipp-listener:        libpapi-dynamic libipp-core
  93   92  mod_ipp:                libipp-listener
  94   93  
  
    | 
      ↓ open down ↓ | 
    46 lines elided | 
    
      ↑ open up ↑ | 
  
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX