355b4669e025ff377602b6fc7caaf30dbc218371jacobs# CDDL HEADER START
355b4669e025ff377602b6fc7caaf30dbc218371jacobs# The contents of this file are subject to the terms of the
355b4669e025ff377602b6fc7caaf30dbc218371jacobs# Common Development and Distribution License (the "License").
355b4669e025ff377602b6fc7caaf30dbc218371jacobs# You may not use this file except in compliance with the License.
355b4669e025ff377602b6fc7caaf30dbc218371jacobs# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
355b4669e025ff377602b6fc7caaf30dbc218371jacobs# See the License for the specific language governing permissions
355b4669e025ff377602b6fc7caaf30dbc218371jacobs# and limitations under the License.
355b4669e025ff377602b6fc7caaf30dbc218371jacobs# When distributing Covered Code, include this CDDL HEADER in each
355b4669e025ff377602b6fc7caaf30dbc218371jacobs# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
355b4669e025ff377602b6fc7caaf30dbc218371jacobs# If applicable, add the following below this CDDL HEADER, with the
355b4669e025ff377602b6fc7caaf30dbc218371jacobs# fields enclosed by brackets "[]" replaced with your own identifying
355b4669e025ff377602b6fc7caaf30dbc218371jacobs# information: Portions Copyright [yyyy] [name of copyright owner]
355b4669e025ff377602b6fc7caaf30dbc218371jacobs# CDDL HEADER END
9444c26f4faabda140242c3986089704c4073cedTom Whitten# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
355b4669e025ff377602b6fc7caaf30dbc218371jacobs# Use is subject to license terms.
b0e753dd6a955fb2f10a0ce17d32bd33172e0400Gordon Ross# Copyright 2015 Nexenta Systems, Inc. All rights reserved.
b0e753dd6a955fb2f10a0ce17d32bd33172e0400Gordon Ross# These *BASE paths are used ONLY at build time to locate headers.
b0e753dd6a955fb2f10a0ce17d32bd33172e0400Gordon Ross# This builds against Apache 2.2 but the module should work with
5f4bac2809e6bb7e9c779a047a0d4438669d85d6Gordon Ross# any Apache 2.x version, and APR 1.3 or later.
b0e753dd6a955fb2f10a0ce17d32bd33172e0400Gordon RossCPPFLAGS += -I$(ADJUNCT_PROTO)$(APACHEBASE)/include
b0e753dd6a955fb2f10a0ce17d32bd33172e0400Gordon RossCPPFLAGS += -I$(ADJUNCT_PROTO)$(APR_BASE)/include
b0e753dd6a955fb2f10a0ce17d32bd33172e0400Gordon RossCPPFLAGS += -I$(ADJUNCT_PROTO)$(APRUBASE)/include
b0e753dd6a955fb2f10a0ce17d32bd33172e0400Gordon Ross# Make sure to build with compatible flags.
b0e753dd6a955fb2f10a0ce17d32bd33172e0400Gordon RossCPPFLAGS += -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
355b4669e025ff377602b6fc7caaf30dbc218371jacobs# SMF manifest
9444c26f4faabda140242c3986089704c4073cedTom WhittenROOTMANIFESTDIR= $(ROOT)/lib/svc/manifest/application/print
355b4669e025ff377602b6fc7caaf30dbc218371jacobs# Apache module
b0e753dd6a955fb2f10a0ce17d32bd33172e0400Gordon Ross# LIBLINKS is not a link here, just the bare *.so name
355b4669e025ff377602b6fc7caaf30dbc218371jacobs# Apache config
b0e753dd6a955fb2f10a0ce17d32bd33172e0400Gordon RossAPACHECONFFILE= $(IPPCONFDIR)/httpd-standalone-ipp.conf
b0e753dd6a955fb2f10a0ce17d32bd33172e0400Gordon Ross$(ROOTMANIFESTDIR)/% $(IPPLIBDIR)/% $(IPPCONFDIR)/% $(LISTENERDIR)/%: %