VirtualBox

source: vbox/trunk/src/libs/libogg-1.3.5/Makefile.kmk@ 96360

最後變更 在這個檔案從96360是 96360,由 vboxsync 提交於 2 年 前

libogg, libvorbis: export to OSE

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.6 KB
 
1# $Id: Makefile.kmk 96360 2022-08-19 20:07:33Z vboxsync $
2## @file
3# Sub-Makefile for the libogg.
4#
5
6#
7# Copyright (C) 2022 Oracle Corporation
8#
9# Oracle Corporation confidential
10# All rights reserved
11#
12
13SUB_DEPTH = ../../..
14include $(KBUILD_PATH)/subheader.kmk
15
16
17#
18# Need to drop some assembly flags and add some C flags (gcc) present in
19# VBoxR3DllNonPedantic. So, create or own template deriving from it.
20#
21# Note! We ASSUME that see is available here (doesn't build cleanly on 32-bit
22# linux without this assumption). Too bad for anyone with ancient CPUs.
23#
24TEMPLATE_VBOXLIBOGG = Template for adjusting assembler and C compiler flags.
25TEMPLATE_VBOXLIBOGG_EXTENDS = VBoxR3DllNonPedanticFast
26ifeq ($(KBUILD_TARGET),win)
27 TEMPLATE_VBOXLIBOGG_ASFLAGS.amd64 = $(filter-out -Worphan-labels -f win64, $(TEMPLATE_VBoxR3DllNonPedanticFast_ASFLAGS.amd64)) \
28 -f x64
29else
30 TEMPLATE_VBOXLIBOGG_CFLAGS = $(filter-out $(VBOX_GCC_fvisibility-hidden), $(TEMPLATE_VBoxR3DllNonPedanticFast_CFLAGS))
31 TEMPLATE_VBOXLIBOGG_CFLAGS.amd64 = $(TEMPLATE_VBoxR3DllNonPedanticFast_CFLAGS.amd64) -msse # Needed?
32 TEMPLATE_VBOXLIBOGG_CFLAGS.x86 = $(TEMPLATE_VBoxR3DllNonPedanticFast_CFLAGS.x86) -msse
33 TEMPLATE_VBOXLIBOGG_ASFLAGS.amd64 = $(filter-out -Worphan-labels, $(TEMPLATE_VBoxR3DllNonPedanticFast_ASFLAGS.amd64))
34 TEMPLATE_VBOXLIBOGG_ASFLAGS.x86 = $(filter-out -Worphan-labels, $(TEMPLATE_VBoxR3DllNonPedanticFast_ASFLAGS.x86))
35endif
36
37
38#
39# The VBox Ogg shared library.
40#
41LIBRARIES += VBox-libogg
42VBox-libogg_TEMPLATE := VBOXLIBOGG
43
44VBox-libogg_INCS := \
45 . \
46 include/ \
47 include/ogg \
48 src
49
50VBox-libogg_SOURCES := \
51 src/bitwise.c \
52 src/framing.c
53
54include $(FILE_KBUILD_SUB_FOOTER)
55
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette