author | Stacy Yeh <stacy.yeh@oracle.com> |
Thu, 21 May 2015 13:48:49 -0700 | |
changeset 4339 | 6501cf9c29f9 |
parent 3904 | 7dda4f1294c8 |
child 4737 | 844cca6e99f3 |
permissions | -rw-r--r-- |
195
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
1 |
# |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
3 |
# |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
7 |
# |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
12 |
# |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
18 |
# |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
20 |
# |
3643
1a4ba329c762
20371999 More Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
21 |
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
195
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
22 |
# |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
23 |
include ../../make-rules/shared-macros.mk |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
24 |
|
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
25 |
COMPONENT_NAME= doxygen |
3883
1b46079cc49a
20555212 doxygen should be updated to version 1.8.9
Rich Burridge <rich.burridge@oracle.com>
parents:
3817
diff
changeset
|
26 |
COMPONENT_VERSION= 1.8.9 |
609
775168282b2f
7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents:
195
diff
changeset
|
27 |
COMPONENT_PROJECT_URL= http://www.stack.nl/~dimitri/doxygen/index.html |
195
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).src.tar.gz |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
746
diff
changeset
|
30 |
COMPONENT_ARCHIVE_HASH= \ |
3883
1b46079cc49a
20555212 doxygen should be updated to version 1.8.9
Rich Burridge <rich.burridge@oracle.com>
parents:
3817
diff
changeset
|
31 |
sha256:f0dd662fb98c394c20deed5b00b29d73d9bee8ea1a52f7a687dd9b70f5444fc6 |
195
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE_URL= http://ftp.stack.nl/pub/users/dimitri/$(COMPONENT_ARCHIVE) |
1058
34d7aaa03423
15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents:
800
diff
changeset
|
33 |
COMPONENT_BUGDB= utility/doxygen |
195
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
34 |
|
746
67d8050c297a
7135985 Upgrade Doxygen to 1.7.6.1
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
609
diff
changeset
|
35 |
# Download the manual so that we don't have to keep updating it in the gate. |
67d8050c297a
7135985 Upgrade Doxygen to 1.7.6.1
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
609
diff
changeset
|
36 |
COMPONENT_ARCHIVE_1 = $(COMPONENT_NAME)_manual-$(COMPONENT_VERSION).pdf.zip |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
746
diff
changeset
|
37 |
COMPONENT_ARCHIVE_HASH_1 = \ |
3883
1b46079cc49a
20555212 doxygen should be updated to version 1.8.9
Rich Burridge <rich.burridge@oracle.com>
parents:
3817
diff
changeset
|
38 |
sha256:33b12961db131c5cfea1b3d045a38b8f222bdd07bb04d1cd60f791ee86949b70 |
746
67d8050c297a
7135985 Upgrade Doxygen to 1.7.6.1
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
609
diff
changeset
|
39 |
COMPONENT_ARCHIVE_URL_1 = ftp://ftp.stack.nl/pub/users/dimitri/$(COMPONENT_ARCHIVE_1) |
67d8050c297a
7135985 Upgrade Doxygen to 1.7.6.1
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
609
diff
changeset
|
40 |
|
3883
1b46079cc49a
20555212 doxygen should be updated to version 1.8.9
Rich Burridge <rich.burridge@oracle.com>
parents:
3817
diff
changeset
|
41 |
TPNO= 21549 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1394
diff
changeset
|
42 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3643
diff
changeset
|
43 |
include $(WS_MAKE_RULES)/prep.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3643
diff
changeset
|
44 |
include $(WS_MAKE_RULES)/configure.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3643
diff
changeset
|
45 |
include $(WS_MAKE_RULES)/ips.mk |
195
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
46 |
|
3904
7dda4f1294c8
20633750 Adjust Userland doxygen build to use the GNU compilers (adjust gcc path)
Rich Burridge <rich.burridge@oracle.com>
parents:
3902
diff
changeset
|
47 |
# Necessary to find the right gcc during build |
7dda4f1294c8
20633750 Adjust Userland doxygen build to use the GNU compilers (adjust gcc path)
Rich Burridge <rich.burridge@oracle.com>
parents:
3902
diff
changeset
|
48 |
PATH=$(GCC_ROOT)/bin:/usr/bin |
7dda4f1294c8
20633750 Adjust Userland doxygen build to use the GNU compilers (adjust gcc path)
Rich Burridge <rich.burridge@oracle.com>
parents:
3902
diff
changeset
|
49 |
|
3902
e9e957d48b8f
20633750 Adjust Userland doxygen build to use the GNU compilers
Rich Burridge <rich.burridge@oracle.com>
parents:
3883
diff
changeset
|
50 |
COMPILER = gcc |
e9e957d48b8f
20633750 Adjust Userland doxygen build to use the GNU compilers
Rich Burridge <rich.burridge@oracle.com>
parents:
3883
diff
changeset
|
51 |
|
1394
5f86498eee95
16991973 some things ain't parfait'n
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
1361
diff
changeset
|
52 |
ifeq ($(strip $(PARFAIT_BUILD)),yes) |
3902
e9e957d48b8f
20633750 Adjust Userland doxygen build to use the GNU compilers
Rich Burridge <rich.burridge@oracle.com>
parents:
3883
diff
changeset
|
53 |
PATH=$(PARFAIT_TOOLS):$(GCC_ROOT)/bin:/usr/bin |
1394
5f86498eee95
16991973 some things ain't parfait'n
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
1361
diff
changeset
|
54 |
endif |
5f86498eee95
16991973 some things ain't parfait'n
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
1361
diff
changeset
|
55 |
|
195
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
56 |
|
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
57 |
# Missing files in build dir for configure without this. |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
58 |
COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D)) |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
59 |
|
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
60 |
# Need to override default options since configure doesn't |
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
61 |
# understand CC, CXX, etc. |
3902
e9e957d48b8f
20633750 Adjust Userland doxygen build to use the GNU compilers
Rich Burridge <rich.burridge@oracle.com>
parents:
3883
diff
changeset
|
62 |
CONFIGURE_OPTIONS = --platform solaris-g++ |
195
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
63 |
CONFIGURE_OPTIONS += --prefix /usr |
2022
d590db614c66
PSARC 2014/156 doxygen version 1.8.7
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
64 |
CONFIGURE_OPTIONS += --enable-langs am,ar,br,ca,cn,cz,de,dk,en,eo,es,fa,fi,fr,gr,hr,hu,id,it,je,jp,ke,kr,lt,lv,mk,nl,no,pl,pt,ro,ru,sc,si,sk,sr,sv,tr,tw,ua,vi,za |
195
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
65 |
|
2022
d590db614c66
PSARC 2014/156 doxygen version 1.8.7
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
66 |
# Tests not available from the top-level Makefile, nor via a standard target. |
d590db614c66
PSARC 2014/156 doxygen version 1.8.7
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
67 |
# We need to add /usr/gnu/bin to the front of the PATH environment variable |
d590db614c66
PSARC 2014/156 doxygen version 1.8.7
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
68 |
# for "diff -u" and we need to use our latest doxygen binary, not the one |
d590db614c66
PSARC 2014/156 doxygen version 1.8.7
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
69 |
# installed on the system. |
1361
01948c44fa6a
16863987 64-bit doxygen + studio 12.3 + aslr = boom
Brian Cameron <brian.cameron@oracle.com>
parents:
1303
diff
changeset
|
70 |
# |
2022
d590db614c66
PSARC 2014/156 doxygen version 1.8.7
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
71 |
# Test 12 is a known failure (we don't have bibtex in Solaris). |
d590db614c66
PSARC 2014/156 doxygen version 1.8.7
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
72 |
COMPONENT_TEST_ENV = PATH="$(GNUBIN):$(PROTO_DIR)/usr/bin:$(PATH)" |
d590db614c66
PSARC 2014/156 doxygen version 1.8.7
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
73 |
COMPONENT_TEST_DIR = $(BUILD_DIR_64)/testing |
d590db614c66
PSARC 2014/156 doxygen version 1.8.7
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
74 |
COMPONENT_TEST_TARGETS = tests |
d590db614c66
PSARC 2014/156 doxygen version 1.8.7
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
75 |
|
3643
1a4ba329c762
20371999 More Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
76 |
# The additional doxygen specific set of transforms to be applied to the |
1a4ba329c762
20371999 More Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
77 |
# test results to try to normalize them. |
1a4ba329c762
20371999 More Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
78 |
COMPONENT_TEST_TRANSFORMS += \ |
1a4ba329c762
20371999 More Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
79 |
'-e "s|\(error opening bib\).*|\1|" ' \ |
1a4ba329c762
20371999 More Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
80 |
'-e "s|\(test_output_012/indexpage.xml\).*|\1|" ' \ |
1a4ba329c762
20371999 More Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
81 |
'-e "s|\(012/indexpage.xml\).*|\1|" ' |
1a4ba329c762
20371999 More Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
82 |
|
2022
d590db614c66
PSARC 2014/156 doxygen version 1.8.7
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
83 |
ASLR_MODE = $(ASLR_ENABLE) |
1303
79b691ffbda3
16734056 Make antlr ASLR enabled
Brian Cameron <brian.cameron@oracle.com>
parents:
1058
diff
changeset
|
84 |
|
2225
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
2022
diff
changeset
|
85 |
configure: $(CONFIGURE_64) |
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
2022
diff
changeset
|
86 |
|
1303
79b691ffbda3
16734056 Make antlr ASLR enabled
Brian Cameron <brian.cameron@oracle.com>
parents:
1058
diff
changeset
|
87 |
build: $(BUILD_64) |
195
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
88 |
|
1303
79b691ffbda3
16734056 Make antlr ASLR enabled
Brian Cameron <brian.cameron@oracle.com>
parents:
1058
diff
changeset
|
89 |
install: $(INSTALL_64) |
3883
1b46079cc49a
20555212 doxygen should be updated to version 1.8.9
Rich Burridge <rich.burridge@oracle.com>
parents:
3817
diff
changeset
|
90 |
cd $(PROTO_DIR) ; $(UNPACK) ../../../$(COMPONENT_ARCHIVE_1) |
195
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
91 |
|
2022
d590db614c66
PSARC 2014/156 doxygen version 1.8.7
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
92 |
test: $(TEST_64) |
195
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
93 |
|
4339
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3904
diff
changeset
|
94 |
system-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED) |
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3904
diff
changeset
|
95 |
|
195
62e9499728a6
7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
96 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3643
diff
changeset
|
97 |
REQUIRED_PACKAGES += developer/lexer/flex |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3643
diff
changeset
|
98 |
REQUIRED_PACKAGES += developer/parser/bison |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3643
diff
changeset
|
99 |
REQUIRED_PACKAGES += system/library |
3902
e9e957d48b8f
20633750 Adjust Userland doxygen build to use the GNU compilers
Rich Burridge <rich.burridge@oracle.com>
parents:
3883
diff
changeset
|
100 |
REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime |
e9e957d48b8f
20633750 Adjust Userland doxygen build to use the GNU compilers
Rich Burridge <rich.burridge@oracle.com>
parents:
3883
diff
changeset
|
101 |
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3643
diff
changeset
|
102 |
REQUIRED_PACKAGES += system/library/math |