-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated libOpenMPT to version 0.7.13
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
- Loading branch information
Showing
50 changed files
with
524 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
MPT_SVNVERSION=22406 | ||
MPT_SVNURL=https://source.openmpt.org/svn/openmpt/tags/libopenmpt-0.7.12 | ||
MPT_SVNDATE=2024-12-01T13:10:15.135688Z | ||
MPT_SVNVERSION=22826 | ||
MPT_SVNURL=https://source.openmpt.org/svn/openmpt/tags/libopenmpt-0.7.13 | ||
MPT_SVNDATE=2025-01-06T13:49:43.586768Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
|
||
ifeq ($(origin CC),default) | ||
CC = $(TOOLCHAIN_PREFIX)gcc$(TOOLCHAIN_SUFFIX) | ||
endif | ||
ifeq ($(origin CXX),default) | ||
CXX = $(TOOLCHAIN_PREFIX)g++$(TOOLCHAIN_SUFFIX) | ||
endif | ||
ifeq ($(origin LD),default) | ||
LD = $(CXX) | ||
endif | ||
ifeq ($(origin AR),default) | ||
AR = $(TOOLCHAIN_PREFIX)ar$(TOOLCHAIN_SUFFIX) | ||
endif | ||
|
||
ifneq ($(STDCXX),) | ||
CXXFLAGS_STDCXX = -std=$(STDCXX) -fexceptions -frtti -pthread | ||
else ifeq ($(shell printf '\n' > bin/empty.cpp ; if $(CXX) -std=c++20 -c bin/empty.cpp -o bin/empty.out > /dev/null 2>&1 ; then echo 'c++20' ; fi ), c++20) | ||
CXXFLAGS_STDCXX = -std=c++20 -fexceptions -frtti -pthread | ||
else | ||
CXXFLAGS_STDCXX = -std=c++17 -fexceptions -frtti -pthread | ||
endif | ||
ifneq ($(STDC),) | ||
CFLAGS_STDC = -std=$(STDC) -pthread | ||
else ifeq ($(shell printf '\n' > bin/empty.c ; if $(CC) -std=c18 -c bin/empty.c -o bin/empty.out > /dev/null 2>&1 ; then echo 'c18' ; fi ), c18) | ||
CFLAGS_STDC = -std=c18 -pthread | ||
else ifeq ($(shell printf '\n' > bin/empty.c ; if $(CC) -std=c17 -c bin/empty.c -o bin/empty.out > /dev/null 2>&1 ; then echo 'c17' ; fi ), c17) | ||
CFLAGS_STDC = -std=c17 -pthread | ||
else | ||
CFLAGS_STDC = -std=c11 -pthread | ||
endif | ||
CXXFLAGS += $(CXXFLAGS_STDCXX) | ||
CFLAGS += $(CFLAGS_STDC) | ||
LDFLAGS += -pthread | ||
|
||
CPPFLAGS += | ||
CXXFLAGS += -fPIC | ||
CFLAGS += -fPIC | ||
LDFLAGS += | ||
LDLIBS += -lm | ||
ARFLAGS := rcs | ||
|
||
ifeq ($(NATIVE),1) | ||
CXXFLAGS += -march=native | ||
CFLAGS += -march=native | ||
endif | ||
|
||
ifeq ($(MODERN),1) | ||
LDFLAGS += -fuse-ld=gold | ||
endif | ||
|
||
ifeq ($(OPTIMIZE_LTO),1) | ||
CXXFLAGS += -flto | ||
CFLAGS += -flto | ||
endif | ||
|
||
ifeq ($(ANALYZE),1) | ||
CXXFLAGS += -fanalyzer -Wno-analyzer-malloc-leak -Wno-analyzer-null-dereference -Wno-analyzer-possible-null-argument -Wno-analyzer-possible-null-dereference | ||
CFLAGS += -fanalyzer -Wno-analyzer-malloc-leak -Wno-analyzer-null-dereference -Wno-analyzer-possible-null-argument -Wno-analyzer-possible-null-dereference | ||
endif | ||
|
||
ifeq ($(CHECKED_ADDRESS),1) | ||
CXXFLAGS += -fsanitize=address | ||
CFLAGS += -fsanitize=address | ||
endif | ||
|
||
ifeq ($(CHECKED_UNDEFINED),1) | ||
CXXFLAGS += -fsanitize=undefined | ||
CFLAGS += -fsanitize=undefined | ||
endif | ||
|
||
include build/make/warnings-gcc.mk | ||
|
||
EXESUFFIX=.exe | ||
SOSUFFIX=.dll | ||
SOSUFFIXWINDOWS=1 | ||
|
||
ALLOW_LGPL=0 | ||
|
||
DYNLINK=0 | ||
SHARED_LIB=1 | ||
STATIC_LIB=0 | ||
SHARED_SONAME=0 | ||
|
||
ENABLE_DLL=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
|
||
#pragma once | ||
#define OPENMPT_VERSION_SVNVERSION "22406" | ||
#define OPENMPT_VERSION_REVISION 22406 | ||
#define OPENMPT_VERSION_SVNVERSION "22826" | ||
#define OPENMPT_VERSION_REVISION 22826 | ||
#define OPENMPT_VERSION_DIRTY 0 | ||
#define OPENMPT_VERSION_MIXEDREVISIONS 0 | ||
#define OPENMPT_VERSION_URL "https://source.openmpt.org/svn/openmpt/tags/libopenmpt-0.7.12" | ||
#define OPENMPT_VERSION_DATE "2024-12-01T13:10:15.135688Z" | ||
#define OPENMPT_VERSION_URL "https://source.openmpt.org/svn/openmpt/tags/libopenmpt-0.7.13" | ||
#define OPENMPT_VERSION_DATE "2025-01-06T13:49:43.586768Z" | ||
#define OPENMPT_VERSION_IS_PACKAGE 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
LIBOPENMPT_VERSION_MAJOR=0 | ||
LIBOPENMPT_VERSION_MINOR=7 | ||
LIBOPENMPT_VERSION_PATCH=12 | ||
LIBOPENMPT_VERSION_PATCH=13 | ||
LIBOPENMPT_VERSION_PREREL= | ||
|
||
LIBOPENMPT_LTVER_CURRENT=4 | ||
LIBOPENMPT_LTVER_REVISION=12 | ||
LIBOPENMPT_LTVER_REVISION=13 | ||
LIBOPENMPT_LTVER_AGE=4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.