Makefile revision 9444c26f4faabda140242c3986089704c4073ced
1382N/A#
1382N/A# CDDL HEADER START
1382N/A#
1382N/A# The contents of this file are subject to the terms of the
1382N/A# Common Development and Distribution License (the "License").
1382N/A# You may not use this file except in compliance with the License.
1382N/A#
1382N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1382N/A# or http://www.opensolaris.org/os/licensing.
1382N/A# See the License for the specific language governing permissions
1382N/A# and limitations under the License.
1382N/A#
1382N/A# When distributing Covered Code, include this CDDL HEADER in each
1382N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1382N/A# If applicable, add the following below this CDDL HEADER, with the
1382N/A# fields enclosed by brackets "[]" replaced with your own identifying
1382N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1382N/A#
1382N/A# CDDL HEADER END
1382N/A#
1382N/A#
1382N/A# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
1382N/A# Use is subject to license terms.
1382N/A#
3232N/A
1382N/ALIBRARY = mod_ipp.a
1382N/AVERS =
1382N/AOBJECTS = mod_ipp.o
1382N/A
1382N/Ainclude ../../Makefile.lib
1383N/Ainclude ../../Makefile.rootfs
1383N/A
1382N/AAPACHEMODDIR = $(ROOT)/usr/apache/libexec
1382N/AAPACHECONFDIR = $(ROOT)/etc/apache
1382N/ALISTENERDIR = $(ROOT)/var/lp/ipp-listener
1382N/A
1382N/AROOTDIRS = $(ROOT)/usr/apache $(APACHEMODDIR) $(APACHECONFDIR) \
2086N/A $(ROOT)/var/lp $(LISTENERDIR)
2086N/A
1382N/A$(ROOT)/var/lp:= DIRMODE = 775
1382N/A$(ROOT)/var/lp:= FILEMODE = 775
1382N/A
1382N/ALIBS = $(DYNLIB)
1382N/A
1382N/ASRCS = $(OBJECTS:%.o = %.c)
1382N/A
1382N/A
1382N/ACFLAGS += $(CCVERBOSE)
1382N/ACPPFLAGS += -I../libipp-listener/common
1382N/ACPPFLAGS += -I../libipp-core/common
1382N/ACPPFLAGS += -I/usr/apache/include
1382N/ACPPFLAGS += -DEAPI
1382N/AZDEFS = $(ZNODEFS)
1382N/A
1382N/AMAPFILES = mapfile
1382N/A
1382N/ALDLIBS += -lipp-listener -lipp-core -lpapi -lc
1382N/A
1382N/A# SMF manifest
1382N/AMANIFEST= ipp-listener.xml
1382N/AROOTMANIFESTDIR= $(ROOT)/lib/svc/manifest/application/print
1382N/AROOTMANIFEST= $(MANIFEST:%=$(ROOTMANIFESTDIR)/%)
1382N/A$(ROOTMANIFEST) := FILEMODE= 444
1382N/A
1382N/A# Apache module
1382N/A$(APACHEMODDIR)/$(LIBLINKS): $(ROOTDIRS)
2086N/A
1382N/A# Apache config
2086N/AAPACHECONFFILE= $(APACHECONFDIR)/httpd-standalone-ipp.conf
1382N/A$(APACHECONFFILE) := FILEMODE= 644
2086N/ALISTENERFILE= $(LISTENERDIR)/index.html
1382N/A$(LISTENERFILE) := FILEMODE= 444
1382N/A
1382N/A$(ROOT)/var/lp:= FILEMODE = 0775
1382N/A
1382N/A$(APACHEMODDIR)/$(LIBLINKS):= FILEMODE = 0555
1382N/A
1382N/A$(ROOTMANIFESTDIR)/% $(APACHEMODDIR)/% $(APACHECONFDIR)/% $(LISTENERDIR)/%: %
1382N/A $(INS.file)
1382N/A
1382N/A$(ROOTDIRS):
1382N/A $(INS.dir)
1382N/A
1382N/A.KEEP_STATE:
1382N/A
1382N/Aall: $(LIBS)
1382N/A
1382N/Ainstall: all $(APACHEMODDIR)/$(LIBLINKS) $(APACHECONFFILE) \
1382N/A $(LISTENERFILE) $(ROOTMANIFEST)
1382N/A
1382N/Ainstall_h:
1382N/A
1382N/Alint:
1382N/A
1382N/Ainclude ../../Makefile.targ
1382N/A