0
|
1 |
#
|
|
2 |
# CDDL HEADER START
|
|
3 |
#
|
|
4 |
# The contents of this file are subject to the terms of the
|
|
5 |
# Common Development and Distribution License (the "License").
|
|
6 |
# You may not use this file except in compliance with the License.
|
|
7 |
#
|
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
|
|
9 |
# or http://www.opensolaris.org/os/licensing.
|
|
10 |
# See the License for the specific language governing permissions
|
|
11 |
# and limitations under the License.
|
|
12 |
#
|
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each
|
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
|
|
15 |
# If applicable, add the following below this CDDL HEADER, with the
|
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying
|
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner]
|
|
18 |
#
|
|
19 |
# CDDL HEADER END
|
|
20 |
#
|
|
21 |
|
|
22 |
#
|
|
23 |
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
|
|
24 |
# Use is subject to license terms.
|
|
25 |
#
|
5
|
26 |
# ident "@(#)Makefile.sfw 1.13 09/12/14 SMI"
|
0
|
27 |
#
|
|
28 |
|
|
29 |
include ../apache.build.env
|
|
30 |
|
3
|
31 |
APACHE_DOCS=$(ROOT)/$(APACHE_USR_PREFIX)/manual/mod
|
4
|
32 |
APACHE_INCLUDE=$(ROOT)/$(APACHE_USR_PREFIX)/include
|
0
|
33 |
APACHE_CONFD=$(ROOT)/$(APACHE_ETC_PREFIX)/conf.d
|
|
34 |
APACHE_SCONFD=$(ROOT)/$(APACHE_ETC_PREFIX)/samples-conf.d
|
|
35 |
|
4
|
36 |
all: all-jk all-fcgid all-security2 all-dtrace all-sed all-xml2enc all-proxy-html
|
0
|
37 |
@echo "all modules built."
|
|
38 |
|
4
|
39 |
install: install-jk install-fcgid install-security2 install-dtrace install-sed install-xml2enc install-proxy-html
|
0
|
40 |
@echo "all modules installed."
|
|
41 |
|
4
|
42 |
clean: clean-jk clean-fcgid clean-security2 clean-dtrace clean-xml2enc clean-proxy-html
|
0
|
43 |
rm -rf tmp
|
|
44 |
@echo "all modules cleaned."
|
|
45 |
|
|
46 |
conf-install-%:
|
|
47 |
/usr/sbin/install -f $(APACHE_CONFD) -m 644 $*.conf
|
|
48 |
|
|
49 |
sconf-install-%:
|
|
50 |
/usr/sbin/install -f $(APACHE_SCONFD) -m 644 $*.conf
|
|
51 |
|
|
52 |
include dtrace.mk
|
|
53 |
include fcgid.mk
|
|
54 |
include security2.mk
|
|
55 |
include jk.mk
|
|
56 |
include sed.mk
|
4
|
57 |
include xml2enc.mk
|
|
58 |
include proxy-html.mk
|
0
|
59 |
include ../../Makefile.cmd
|
|
60 |
|
|
61 |
tmp:
|
|
62 |
mkdir -p tmp
|
|
63 |
|
5
|
64 |
# this component has multiple metadata files, we need to validate all of them
|
|
65 |
METADATA_FILES:sh = echo METADATA.*
|
0
|
66 |
|
5
|
67 |
checked.%: %
|
|
68 |
@$(PERL) $(SRC)/tools/metainfo.pl --file $< --validate
|
|
69 |
|
|
70 |
meta-checks: $(METADATA_FILES:%=checked.%)
|
|
71 |
|
|
72 |
include ../../Makefile.targ
|