Print this page
Bump Apache dependency to Apache 2

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/print/mod_ipp/Makefile
          +++ new/usr/src/lib/print/mod_ipp/Makefile
↓ open down ↓ 11 lines elided ↑ open up ↑
  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   21  #
       22 +# Copyright 2012 Nexenta Systems, Inc.  All rights reserved.
  22   23  # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23   24  # Use is subject to license terms.
  24   25  #
  25   26  
  26      -LIBRARY =               mod_ipp.a
       27 +LIBRARY =       mod_ipp.a
  27   28  VERS =
  28      -OBJECTS = mod_ipp.o
       29 +OBJECTS =       mod_ipp.o
  29   30  
  30   31  include ../../Makefile.lib
  31   32  include ../../Makefile.rootfs
  32   33  
  33      -APACHEMODDIR =  $(ROOT)/usr/apache/libexec
  34      -APACHECONFDIR = $(ROOT)/etc/apache
       34 +APACHEMODDIR =  $(ROOT)/usr/apache2/2.2/libexec
       35 +APACHECONFDIR = $(ROOT)/etc/apache2/2.2
  35   36  LISTENERDIR =   $(ROOT)/var/lp/ipp-listener
  36   37  
  37      -ROOTDIRS =      $(ROOT)/usr/apache $(APACHEMODDIR) $(APACHECONFDIR) \
       38 +ROOTDIRS =      $(ROOT)/usr/apache2/2.2 $(APACHEMODDIR) $(APACHECONFDIR) \
  38   39                  $(ROOT)/var/lp $(LISTENERDIR)
  39   40  
  40   41  $(ROOT)/var/lp:=        DIRMODE = 775
  41   42  $(ROOT)/var/lp:=        FILEMODE = 775
  42   43  
  43   44  LIBS =                  $(DYNLIB)
  44   45  
  45   46  SRCS = $(OBJECTS:%.o = %.c)
  46   47  
  47      -
  48      -CFLAGS +=       $(CCVERBOSE)
       48 +APR_INC.cmd =   apr-1-config --includes
       49 +APU_INC.cmd =   apu-1-config --includes
       50 +CFLAGS +=       $(CCVERBOSE) -erroff=E_IMPLICIT_DECL_FUNC_RETURN_INT
  49   51  CPPFLAGS +=     -I../libipp-listener/common
  50   52  CPPFLAGS +=     -I../libipp-core/common
  51      -CPPFLAGS +=     -I/usr/apache/include
       53 +CPPFLAGS +=     -I/usr/apache2/2.2/include
       54 +CPPFLAGS +=     $(APR_INC.cmd:sh)
       55 +CPPFLAGS +=     $(APU_INC.cmd:sh)
  52   56  CPPFLAGS +=     -DEAPI
  53   57  ZDEFS =         $(ZNODEFS)
  54   58  
  55   59  MAPFILES =      mapfile
  56   60  
  57   61  LDLIBS +=       -lipp-listener -lipp-core -lpapi -lc
  58   62  
  59   63  #       SMF manifest
  60   64  MANIFEST=       ipp-listener.xml
  61   65  ROOTMANIFESTDIR=        $(ROOT)/lib/svc/manifest/application/print
↓ open down ↓ 34 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX