1 | # $Id: Makefile.kmk 106606 2024-10-23 02:19:35Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for libvorbis.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2022-2024 Oracle and/or its affiliates.
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox base platform packages, as
|
---|
10 | # available from https://www.virtualbox.org.
|
---|
11 | #
|
---|
12 | # This program is free software; you can redistribute it and/or
|
---|
13 | # modify it under the terms of the GNU General Public License
|
---|
14 | # as published by the Free Software Foundation, in version 3 of the
|
---|
15 | # License.
|
---|
16 | #
|
---|
17 | # This program is distributed in the hope that it will be useful, but
|
---|
18 | # WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
20 | # General Public License for more details.
|
---|
21 | #
|
---|
22 | # You should have received a copy of the GNU General Public License
|
---|
23 | # along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
24 | #
|
---|
25 | # SPDX-License-Identifier: GPL-3.0-only
|
---|
26 | #
|
---|
27 |
|
---|
28 | SUB_DEPTH = ../../..
|
---|
29 | include $(KBUILD_PATH)/subheader.kmk
|
---|
30 |
|
---|
31 |
|
---|
32 | #
|
---|
33 | # The VBox libvorbis shared library.
|
---|
34 | #
|
---|
35 | LIBRARIES += VBox-libvorbis
|
---|
36 | VBox-libvorbis_TEMPLATE := VBoxR3DllNonPedanticFast
|
---|
37 | ifn1of ($(KBUILD_TARGET), win) # Include our own config.h. Not required on Windows.
|
---|
38 | VBox-libvorbis_DEFS := HAVE_CONFIG_H
|
---|
39 | endif
|
---|
40 | VBox-libvorbis_CFLAGS.win.arm64 := -wd4101 # vorbisfile.c(1987): warning C4101: 'fpu': unreferenced local variable
|
---|
41 | VBox-libvorbis_INCS := \
|
---|
42 | . \
|
---|
43 | include \
|
---|
44 | lib \
|
---|
45 | ../libogg-1.3.5/include
|
---|
46 | VBox-libvorbis_SOURCES := \
|
---|
47 | lib/mdct.c \
|
---|
48 | lib/smallft.c \
|
---|
49 | lib/block.c \
|
---|
50 | lib/envelope.c \
|
---|
51 | lib/window.c \
|
---|
52 | lib/lsp.c \
|
---|
53 | lib/lpc.c \
|
---|
54 | lib/analysis.c \
|
---|
55 | lib/synthesis.c \
|
---|
56 | lib/psy.c \
|
---|
57 | lib/info.c \
|
---|
58 | lib/floor1.c \
|
---|
59 | lib/floor0.c \
|
---|
60 | lib/res0.c \
|
---|
61 | lib/mapping0.c \
|
---|
62 | lib/registry.c \
|
---|
63 | lib/codebook.c \
|
---|
64 | lib/sharedbook.c \
|
---|
65 | lib/lookup.c \
|
---|
66 | lib/bitrate.c \
|
---|
67 | lib/vorbisenc.c \
|
---|
68 | lib/vorbisfile.c
|
---|
69 |
|
---|
70 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|