author | Niveditha Rau <Niveditha.Rau@Oracle.COM> |
Fri, 07 Oct 2016 15:05:45 -0700 | |
changeset 7077 | 85015b85a5e9 |
parent 7064 | b71ebfb2c255 |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
6742
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
21 |
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
22 |
# |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
23 |
|
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
24 |
BUILD_BITS= 32_and_64 |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
25 |
COMPILER= gcc |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
26 |
include ../../../make-rules/shared-macros.mk |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
27 |
|
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= libogg |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
29 |
COMPONENT_VERSION= 1.2.2 |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
30 |
COMPONENT_PROJECT_URL= http://downloads.xiph.org/releases/ogg |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
31 |
COMPONENT_ARCHIVE_HASH= \ |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
32 |
sha256:ab000574bc26d5f01284f5b0f50e12dc761d035c429f2e9c70cb2a9487d8cfba |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/$(COMPONENT_ARCHIVE) |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
34 |
COMPONENT_BUGDB= gnome/multimedia |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
35 |
|
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
36 |
TPNO= 9571 |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
37 |
|
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
38 |
TEST_TARGET = $(NO_TESTS) |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
39 |
|
7077
85015b85a5e9
24817972 libogg & libvorbis need optional dependency on codec/[email protected]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
7064
diff
changeset
|
40 |
# ogg-vorbis is not unlockable in S11 gnome-incorporation |
85015b85a5e9
24817972 libogg & libvorbis need optional dependency on codec/[email protected]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
7064
diff
changeset
|
41 |
include $(WS_MAKE_RULES)/no-evaluation.mk |
85015b85a5e9
24817972 libogg & libvorbis need optional dependency on codec/[email protected]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
7064
diff
changeset
|
42 |
|
6742
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
43 |
include $(WS_MAKE_RULES)/common.mk |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
44 |
|
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
45 |
CONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)" |
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
46 |
|
7077
85015b85a5e9
24817972 libogg & libvorbis need optional dependency on codec/[email protected]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
7064
diff
changeset
|
47 |
ifneq ($(BUILD_TYPE), evaluation) |
7064
b71ebfb2c255
24803164 If sounds enabled, gnome apps die in new libcanberra
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
6742
diff
changeset
|
48 |
# Merge 32-bit & 64-bit versions of config_types.h |
b71ebfb2c255
24803164 If sounds enabled, gnome apps die in new libcanberra
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
6742
diff
changeset
|
49 |
install: $(BUILD_DIR)/.merged-header |
b71ebfb2c255
24803164 If sounds enabled, gnome apps die in new libcanberra
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
6742
diff
changeset
|
50 |
|
b71ebfb2c255
24803164 If sounds enabled, gnome apps die in new libcanberra
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
6742
diff
changeset
|
51 |
$(BUILD_DIR)/.merged-header: $(BUILD_DIR_32)/.installed $(BUILD_DIR_64)/.installed |
b71ebfb2c255
24803164 If sounds enabled, gnome apps die in new libcanberra
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
6742
diff
changeset
|
52 |
-$(RM) $(PROTO_DIR)/include/ogg/config_types.h |
b71ebfb2c255
24803164 If sounds enabled, gnome apps die in new libcanberra
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
6742
diff
changeset
|
53 |
$(GDIFF) -D _LP64 \ |
b71ebfb2c255
24803164 If sounds enabled, gnome apps die in new libcanberra
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
6742
diff
changeset
|
54 |
$(BUILD_DIR_32)/include/ogg/config_types.h $(BUILD_DIR_64)/include/ogg/config_types.h \ |
b71ebfb2c255
24803164 If sounds enabled, gnome apps die in new libcanberra
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
6742
diff
changeset
|
55 |
> $(PROTO_DIR)/usr/include/ogg/config_types.h; \ |
b71ebfb2c255
24803164 If sounds enabled, gnome apps die in new libcanberra
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
6742
diff
changeset
|
56 |
diffstatus=$$? ; \ |
b71ebfb2c255
24803164 If sounds enabled, gnome apps die in new libcanberra
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
6742
diff
changeset
|
57 |
if (( $$diffstatus != 1 )) ; then exit $$diffstatus ; fi |
7077
85015b85a5e9
24817972 libogg & libvorbis need optional dependency on codec/[email protected]
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
7064
diff
changeset
|
58 |
endif |
7064
b71ebfb2c255
24803164 If sounds enabled, gnome apps die in new libcanberra
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
6742
diff
changeset
|
59 |
|
6742
576afa66a459
23245479 Move libogg 1.2.2 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff
changeset
|
60 |
REQUIRED_PACKAGES += system/library/math |