Compare commits
No commits in common. "master" and "dev" have entirely different histories.
19
.gitignore
vendored
19
.gitignore
vendored
@ -1,18 +1 @@
|
|||||||
.deps/
|
*.[ao]
|
||||||
.libs/
|
|
||||||
*.a
|
|
||||||
*.la
|
|
||||||
*.lo
|
|
||||||
*.o
|
|
||||||
*.pc
|
|
||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
.dirstamp
|
|
||||||
|
|
||||||
/aclocal.m4
|
|
||||||
/autom4te.cache/
|
|
||||||
/build-aux/
|
|
||||||
/config.*
|
|
||||||
/configure
|
|
||||||
/libtool
|
|
||||||
/stamp-h1
|
|
||||||
|
65
ChangeLog
65
ChangeLog
@ -1,68 +1,3 @@
|
|||||||
2015-11-21 Moritz Bunkus <moritz@bunkus.org>
|
|
||||||
|
|
||||||
* KaxVersion.cpp: in order to enable deterministic builds the
|
|
||||||
KaxCodeDate variable has been set to "Unknown" instead of the date
|
|
||||||
and time of compilation. Patch by Ed Schouten <ed@nuxi.nl>.
|
|
||||||
|
|
||||||
2015-10-20 Moritz Bunkus <moritz@bunkus.org>
|
|
||||||
|
|
||||||
* Released v1.4.4.
|
|
||||||
|
|
||||||
* KaxInternalBlock::ReadData(): Fixed an invalid memory
|
|
||||||
access. When reading a block group or a simple block that uses
|
|
||||||
EBML lacing the frame sizes indicated in the lacing weren't
|
|
||||||
checked against the available number of bytes. If the indicated
|
|
||||||
frame size was bigger than the whole block's size the parser would
|
|
||||||
read beyond the end of the buffer resulting in a heap information
|
|
||||||
leak.
|
|
||||||
|
|
||||||
2015-10-17 Moritz Bunkus <moritz@bunkus.org>
|
|
||||||
|
|
||||||
* Released v1.4.3.
|
|
||||||
|
|
||||||
2015-05-02 Daniel Winzen <d@winzen4.de>
|
|
||||||
|
|
||||||
* all: a couple of optimizations in the main library and a memory
|
|
||||||
leak fix in the tests
|
|
||||||
|
|
||||||
2015-02-01 Jan Engelhardt <jengelh@inai.de>
|
|
||||||
|
|
||||||
* build system: fix linking against libEBML
|
|
||||||
|
|
||||||
2015-01-04 Moritz Bunkus <moritz@bunkus.org>
|
|
||||||
|
|
||||||
* Released v1.4.2.
|
|
||||||
|
|
||||||
2014-12-21 Moritz Bunkus <moritz@bunkus.org>
|
|
||||||
|
|
||||||
* build system: switched the build system from hand-crafted
|
|
||||||
Makefiles to an autoconf/automake-based system. A pkg-config file
|
|
||||||
will be installed as well; its name is »libmatroska«. Based on a
|
|
||||||
similar patch for libEBML by Jan Engelhardt <jengelh@inai.de>.
|
|
||||||
|
|
||||||
2014-12-20 Moritz Bunkus <moritz@bunkus.org>
|
|
||||||
|
|
||||||
* KaxBlock::ReadData(): fixed several instances of unchecked
|
|
||||||
memory access leading to invalid memory access/segmentation faults
|
|
||||||
with invalid or broken data inside block groups/simple blocks.
|
|
||||||
|
|
||||||
2014-12-19 Moritz Bunkus <moritz@bunkus.org>
|
|
||||||
|
|
||||||
* KaxBlock::ReadInternalHead(): fixed a off-by-one buffer overflow
|
|
||||||
if with EBML lacing and exactly one frame in the lace.
|
|
||||||
|
|
||||||
2013-09-17 mosu
|
|
||||||
New 1.4.1 version:
|
|
||||||
- Added new elements/classes DiscardPadding, CodecDelay and
|
|
||||||
SeekPreRoll
|
|
||||||
- The licensing information has been cleared up/unified.
|
|
||||||
- The Makefile now contain options for specifying the destination
|
|
||||||
base directory during installation ("DESTDIR") and for
|
|
||||||
specifying which library types to build ("link").
|
|
||||||
- The libraries are built without the "-ansi" and
|
|
||||||
"-fno-gnu-keywords" flags on Linux
|
|
||||||
- Code cleanup
|
|
||||||
|
|
||||||
2013-03-19 mosu/robux4
|
2013-03-19 mosu/robux4
|
||||||
New 1.4.0 version:
|
New 1.4.0 version:
|
||||||
* Note that this release is not binary compatible to 1.3.0 due to
|
* Note that this release is not binary compatible to 1.3.0 due to
|
||||||
|
66
Makefile.am
66
Makefile.am
@ -1,66 +0,0 @@
|
|||||||
# -*- Makefile -*-
|
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I${top_srcdir}
|
|
||||||
AM_CXXFLAGS = -Wall -Wextra -Wno-unknown-pragmas -Wshadow $(EBML_CFLAGS)
|
|
||||||
if ENABLE_DEBUG
|
|
||||||
AM_CPPFLAGS += -DDEBUG
|
|
||||||
AM_CXXFLAGS += -g
|
|
||||||
endif
|
|
||||||
|
|
||||||
lib_LTLIBRARIES = libmatroska.la
|
|
||||||
libmatroska_la_SOURCES = \
|
|
||||||
src/FileKax.cpp \
|
|
||||||
src/KaxAttached.cpp \
|
|
||||||
src/KaxAttachments.cpp \
|
|
||||||
src/KaxBlock.cpp \
|
|
||||||
src/KaxBlockData.cpp \
|
|
||||||
src/KaxCluster.cpp \
|
|
||||||
src/KaxContexts.cpp \
|
|
||||||
src/KaxCues.cpp \
|
|
||||||
src/KaxCuesData.cpp \
|
|
||||||
src/KaxInfoData.cpp \
|
|
||||||
src/KaxSeekHead.cpp \
|
|
||||||
src/KaxSegment.cpp \
|
|
||||||
src/KaxSemantic.cpp \
|
|
||||||
src/KaxTracks.cpp \
|
|
||||||
src/KaxVersion.cpp
|
|
||||||
libmatroska_la_LDFLAGS = -version-info 6:0:0 -no-undefined
|
|
||||||
libmatroska_la_LIBADD = $(EBML_LIBS)
|
|
||||||
|
|
||||||
nobase_include_HEADERS = \
|
|
||||||
matroska/c/libmatroska.h \
|
|
||||||
matroska/c/libmatroska_t.h \
|
|
||||||
matroska/FileKax.h \
|
|
||||||
matroska/KaxAttached.h \
|
|
||||||
matroska/KaxAttachments.h \
|
|
||||||
matroska/KaxBlockData.h \
|
|
||||||
matroska/KaxBlock.h \
|
|
||||||
matroska/KaxChapters.h \
|
|
||||||
matroska/KaxClusterData.h \
|
|
||||||
matroska/KaxCluster.h \
|
|
||||||
matroska/KaxConfig.h \
|
|
||||||
matroska/KaxContentEncoding.h \
|
|
||||||
matroska/KaxContexts.h \
|
|
||||||
matroska/KaxCuesData.h \
|
|
||||||
matroska/KaxCues.h \
|
|
||||||
matroska/KaxDefines.h \
|
|
||||||
matroska/KaxInfoData.h \
|
|
||||||
matroska/KaxInfo.h \
|
|
||||||
matroska/KaxSeekHead.h \
|
|
||||||
matroska/KaxSegment.h \
|
|
||||||
matroska/KaxSemantic.h \
|
|
||||||
matroska/KaxTag.h \
|
|
||||||
matroska/KaxTags.h \
|
|
||||||
matroska/KaxTrackAudio.h \
|
|
||||||
matroska/KaxTrackEntryData.h \
|
|
||||||
matroska/KaxTracks.h \
|
|
||||||
matroska/KaxTrackVideo.h \
|
|
||||||
matroska/KaxTypes.h \
|
|
||||||
matroska/KaxVersion.h
|
|
||||||
|
|
||||||
pkgconfigdir = ${libdir}/pkgconfig
|
|
||||||
pkgconfig_DATA = libmatroska.pc
|
|
||||||
|
|
||||||
${pkgconfig_DATA}: config.status
|
|
14
configure.ac
14
configure.ac
@ -1,14 +0,0 @@
|
|||||||
AC_INIT([libmatroska], [1.4.4])
|
|
||||||
AC_CONFIG_AUX_DIR([build-aux])
|
|
||||||
AC_CONFIG_HEADERS([config.h])
|
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
|
||||||
AM_INIT_AUTOMAKE([foreign subdir-objects tar-pax])
|
|
||||||
AC_PROG_CXX
|
|
||||||
LT_INIT
|
|
||||||
AC_ARG_ENABLE([debug],
|
|
||||||
AS_HELP_STRING([--enable-debug], [Add -g -DDEBUG to compile flags]),
|
|
||||||
[enable_debug="$withval"], [enable_debug=no])
|
|
||||||
AM_CONDITIONAL([ENABLE_DEBUG], [test "$enable_debug" = yes])
|
|
||||||
PKG_CHECK_MODULES([EBML],[libebml >= 1.3.3])
|
|
||||||
AC_CONFIG_FILES([Makefile libmatroska.pc])
|
|
||||||
AC_OUTPUT
|
|
@ -1,11 +0,0 @@
|
|||||||
prefix=@prefix@
|
|
||||||
exec_prefix=@exec_prefix@
|
|
||||||
libdir=@libdir@
|
|
||||||
includedir=@includedir@
|
|
||||||
|
|
||||||
Name: libmatroska
|
|
||||||
Description: Library for parsing EBML data structures
|
|
||||||
Version: @PACKAGE_VERSION@
|
|
||||||
Requires.private: libebml
|
|
||||||
Libs: -L${libdir} -lmatroska
|
|
||||||
Cflags: -I${includedir}
|
|
2
m4/.gitignore
vendored
2
m4/.gitignore
vendored
@ -1,2 +0,0 @@
|
|||||||
/libtool.m4
|
|
||||||
/lt*.m4
|
|
211
make/Doxyfile
Normal file
211
make/Doxyfile
Normal file
@ -0,0 +1,211 @@
|
|||||||
|
# Doxyfile 1.3
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# General configuration options
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
PROJECT_NAME = libmatroska
|
||||||
|
PROJECT_NUMBER = 0.5.0
|
||||||
|
OUTPUT_DIRECTORY = ../../doc/src
|
||||||
|
OUTPUT_LANGUAGE = English
|
||||||
|
USE_WINDOWS_ENCODING = YES
|
||||||
|
EXTRACT_ALL = YES
|
||||||
|
EXTRACT_PRIVATE = NO
|
||||||
|
EXTRACT_STATIC = YES
|
||||||
|
EXTRACT_LOCAL_CLASSES = YES
|
||||||
|
HIDE_UNDOC_MEMBERS = NO
|
||||||
|
HIDE_UNDOC_CLASSES = NO
|
||||||
|
HIDE_FRIEND_COMPOUNDS = NO
|
||||||
|
HIDE_IN_BODY_DOCS = NO
|
||||||
|
BRIEF_MEMBER_DESC = YES
|
||||||
|
REPEAT_BRIEF = YES
|
||||||
|
ALWAYS_DETAILED_SEC = NO
|
||||||
|
INLINE_INHERITED_MEMB = YES
|
||||||
|
FULL_PATH_NAMES = NO
|
||||||
|
STRIP_FROM_PATH =
|
||||||
|
INTERNAL_DOCS = NO
|
||||||
|
CASE_SENSE_NAMES = YES
|
||||||
|
SHORT_NAMES = NO
|
||||||
|
HIDE_SCOPE_NAMES = NO
|
||||||
|
VERBATIM_HEADERS = YES
|
||||||
|
SHOW_INCLUDE_FILES = NO
|
||||||
|
JAVADOC_AUTOBRIEF = YES
|
||||||
|
MULTILINE_CPP_IS_BRIEF = NO
|
||||||
|
DETAILS_AT_TOP = YES
|
||||||
|
INHERIT_DOCS = YES
|
||||||
|
INLINE_INFO = YES
|
||||||
|
SORT_MEMBER_DOCS = NO
|
||||||
|
DISTRIBUTE_GROUP_DOC = NO
|
||||||
|
TAB_SIZE = 2
|
||||||
|
GENERATE_TODOLIST = YES
|
||||||
|
GENERATE_TESTLIST = YES
|
||||||
|
GENERATE_BUGLIST = YES
|
||||||
|
GENERATE_DEPRECATEDLIST= YES
|
||||||
|
ALIASES =
|
||||||
|
ENABLED_SECTIONS =
|
||||||
|
MAX_INITIALIZER_LINES = 30
|
||||||
|
OPTIMIZE_OUTPUT_FOR_C = NO
|
||||||
|
OPTIMIZE_OUTPUT_JAVA = NO
|
||||||
|
SHOW_USED_FILES = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to warning and progress messages
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
QUIET = NO
|
||||||
|
WARNINGS = YES
|
||||||
|
WARN_IF_UNDOCUMENTED = YES
|
||||||
|
WARN_IF_DOC_ERROR = YES
|
||||||
|
WARN_FORMAT = "$file:$line: $text"
|
||||||
|
WARN_LOGFILE =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the input files
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
INPUT = ../../libebml/src \
|
||||||
|
../../libebml/src/platform/win32 \
|
||||||
|
../../libebml/ebml \
|
||||||
|
../../libebml/ebml/c \
|
||||||
|
../src \
|
||||||
|
../matroska \
|
||||||
|
../matroska/c
|
||||||
|
FILE_PATTERNS = *.cpp \
|
||||||
|
*.h
|
||||||
|
RECURSIVE = NO
|
||||||
|
EXCLUDE =
|
||||||
|
EXCLUDE_SYMLINKS = NO
|
||||||
|
EXCLUDE_PATTERNS =
|
||||||
|
EXAMPLE_PATH =
|
||||||
|
EXAMPLE_PATTERNS =
|
||||||
|
EXAMPLE_RECURSIVE = NO
|
||||||
|
IMAGE_PATH =
|
||||||
|
INPUT_FILTER =
|
||||||
|
FILTER_SOURCE_FILES = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to source browsing
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
SOURCE_BROWSER = YES
|
||||||
|
INLINE_SOURCES = NO
|
||||||
|
STRIP_CODE_COMMENTS = YES
|
||||||
|
REFERENCED_BY_RELATION = NO
|
||||||
|
REFERENCES_RELATION = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the alphabetical class index
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
ALPHABETICAL_INDEX = NO
|
||||||
|
COLS_IN_ALPHA_INDEX = 5
|
||||||
|
IGNORE_PREFIX =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the HTML output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_HTML = YES
|
||||||
|
HTML_OUTPUT = html
|
||||||
|
HTML_FILE_EXTENSION = .html
|
||||||
|
HTML_HEADER =
|
||||||
|
HTML_FOOTER =
|
||||||
|
HTML_STYLESHEET = libmatroska.css
|
||||||
|
HTML_ALIGN_MEMBERS = YES
|
||||||
|
GENERATE_HTMLHELP = NO
|
||||||
|
CHM_FILE =
|
||||||
|
HHC_LOCATION =
|
||||||
|
GENERATE_CHI = NO
|
||||||
|
BINARY_TOC = NO
|
||||||
|
TOC_EXPAND = NO
|
||||||
|
DISABLE_INDEX = NO
|
||||||
|
ENUM_VALUES_PER_LINE = 4
|
||||||
|
GENERATE_TREEVIEW = NO
|
||||||
|
TREEVIEW_WIDTH = 250
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the LaTeX output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_LATEX = YES
|
||||||
|
LATEX_OUTPUT = latex
|
||||||
|
LATEX_CMD_NAME = latex
|
||||||
|
MAKEINDEX_CMD_NAME = makeindex
|
||||||
|
COMPACT_LATEX = YES
|
||||||
|
PAPER_TYPE = a4wide
|
||||||
|
EXTRA_PACKAGES =
|
||||||
|
LATEX_HEADER =
|
||||||
|
PDF_HYPERLINKS = YES
|
||||||
|
USE_PDFLATEX = YES
|
||||||
|
LATEX_BATCHMODE = NO
|
||||||
|
LATEX_HIDE_INDICES = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the RTF output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_RTF = YES
|
||||||
|
RTF_OUTPUT = rtf
|
||||||
|
COMPACT_RTF = NO
|
||||||
|
RTF_HYPERLINKS = YES
|
||||||
|
RTF_STYLESHEET_FILE =
|
||||||
|
RTF_EXTENSIONS_FILE =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the man page output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_MAN = NO
|
||||||
|
MAN_OUTPUT = man
|
||||||
|
MAN_EXTENSION = .3
|
||||||
|
MAN_LINKS = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the XML output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_XML = NO
|
||||||
|
XML_SCHEMA =
|
||||||
|
XML_DTD =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options for the AutoGen Definitions output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_AUTOGEN_DEF = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the Perl module output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_PERLMOD = NO
|
||||||
|
PERLMOD_LATEX = NO
|
||||||
|
PERLMOD_PRETTY = YES
|
||||||
|
PERLMOD_MAKEVAR_PREFIX =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the preprocessor
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
ENABLE_PREPROCESSING = YES
|
||||||
|
MACRO_EXPANSION = NO
|
||||||
|
EXPAND_ONLY_PREDEF = NO
|
||||||
|
SEARCH_INCLUDES = YES
|
||||||
|
INCLUDE_PATH =
|
||||||
|
INCLUDE_FILE_PATTERNS =
|
||||||
|
PREDEFINED =
|
||||||
|
EXPAND_AS_DEFINED =
|
||||||
|
SKIP_FUNCTION_MACROS = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration::addtions related to external references
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
TAGFILES =
|
||||||
|
GENERATE_TAGFILE =
|
||||||
|
ALLEXTERNALS = NO
|
||||||
|
EXTERNAL_GROUPS = YES
|
||||||
|
PERL_PATH = /usr/bin/perl
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the dot tool
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
CLASS_DIAGRAMS = YES
|
||||||
|
HIDE_UNDOC_RELATIONS = YES
|
||||||
|
HAVE_DOT = NO
|
||||||
|
CLASS_GRAPH = YES
|
||||||
|
COLLABORATION_GRAPH = YES
|
||||||
|
TEMPLATE_RELATIONS = YES
|
||||||
|
INCLUDE_GRAPH = YES
|
||||||
|
INCLUDED_BY_GRAPH = YES
|
||||||
|
GRAPHICAL_HIERARCHY = YES
|
||||||
|
DOT_IMAGE_FORMAT = png
|
||||||
|
DOT_PATH =
|
||||||
|
DOTFILE_DIRS =
|
||||||
|
MAX_DOT_GRAPH_WIDTH = 1024
|
||||||
|
MAX_DOT_GRAPH_HEIGHT = 1024
|
||||||
|
MAX_DOT_GRAPH_DEPTH = 0
|
||||||
|
GENERATE_LEGEND = YES
|
||||||
|
DOT_CLEANUP = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration::addtions related to the search engine
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
SEARCHENGINE = NO
|
||||||
|
CGI_NAME = search.cgi
|
||||||
|
CGI_URL =
|
||||||
|
DOC_URL =
|
||||||
|
DOC_ABSPATH =
|
||||||
|
BIN_ABSPATH = /usr/local/bin/
|
||||||
|
EXT_DOC_PATHS =
|
60
make/cygwin/Makefile
Normal file
60
make/cygwin/Makefile
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
# libmatroska core Makefile (used in cygwin)
|
||||||
|
# $Id: Makefile 640 2004-07-09 21:05:36Z mosu $
|
||||||
|
|
||||||
|
# Options
|
||||||
|
EXTENSION=.cpp
|
||||||
|
CXXFLAGS=-g -DDEBUG -Wall -Wno-unknown-pragmas -DWIN32 -DNO_NAMESPACE
|
||||||
|
LDFLAGS=
|
||||||
|
|
||||||
|
SRC_DIR=../../src/
|
||||||
|
|
||||||
|
# Programs
|
||||||
|
CXX=g++ -c
|
||||||
|
LD=g++
|
||||||
|
DEP=$(CXX) -MM
|
||||||
|
DEPEND = makedepend
|
||||||
|
AR = ar rcvu
|
||||||
|
RANLIB = ranlib
|
||||||
|
|
||||||
|
# Librarires
|
||||||
|
INCLUDE=
|
||||||
|
LIBS=
|
||||||
|
|
||||||
|
# Names
|
||||||
|
PROGRAM=libmatroska.a
|
||||||
|
|
||||||
|
# source-files
|
||||||
|
sources:=$(wildcard ${SRC_DIR}*$(EXTENSION))
|
||||||
|
|
||||||
|
# header files; replace .cxx extension with .h
|
||||||
|
headers:=$(patsubst %$(EXTENSION),%.hpp,$(sources))
|
||||||
|
|
||||||
|
# files holding dependency information; replace .cxx extension with .dep
|
||||||
|
dependencies:=$(patsubst %$(EXTENSION),%.dep,$(sources))
|
||||||
|
|
||||||
|
# object files; replace .cxx extension with .o
|
||||||
|
objects:=$(patsubst %$(EXTENSION),%.o,$(sources))
|
||||||
|
|
||||||
|
DEPENDFLAGS = ${CXXFLAGS} ${INCLUDE}
|
||||||
|
|
||||||
|
# Build rules
|
||||||
|
%.o: %$(EXTENSION)
|
||||||
|
$(CXX) $(CXXFLAGS) $(INCLUDE) -o $@ $<
|
||||||
|
|
||||||
|
$(PROGRAM): $(objects)
|
||||||
|
$(AR) $@ $(objects)
|
||||||
|
$(RANLIB) $@
|
||||||
|
# $(LD) $(LDFLAGS) -o $@ $^ $(LIBS)
|
||||||
|
# ${LD} -o $@ ${LDFLAGS} ${OBJS} ${LIBS} ${EXTRA_LIBS}
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f ${SRC_DIR}$(objects)
|
||||||
|
rm -f ${SRC_DIR}$(dependencies)
|
||||||
|
rm -f ${SRC_DIR}$(PROGRAM)
|
||||||
|
rm -f CORE
|
||||||
|
|
||||||
|
# what are the source dependencies
|
||||||
|
depend: $(sources)
|
||||||
|
$(DEPEND) $(DEPENDFLAGS) $(sources)
|
||||||
|
|
||||||
|
# DO NOT DELETE
|
98
make/cygwin/Makefile.rule
Normal file
98
make/cygwin/Makefile.rule
Normal file
@ -0,0 +1,98 @@
|
|||||||
|
##
|
||||||
|
## This Makefile is made for cygwin, but might probably work on any standard UNIX too
|
||||||
|
##
|
||||||
|
|
||||||
|
#****************************************************************************
|
||||||
|
|
||||||
|
# DEBUG can be set to YES to include debugging info, or NO otherwise
|
||||||
|
DEBUG = YES
|
||||||
|
|
||||||
|
# PROFILE can be set to YES to include profiling info, or NO otherwise
|
||||||
|
PROFILE = NO
|
||||||
|
|
||||||
|
#****************************************************************************
|
||||||
|
|
||||||
|
CC = gcc
|
||||||
|
CXX = g++
|
||||||
|
LD = gcc
|
||||||
|
AR = ar rcvu
|
||||||
|
RANLIB = ranlib
|
||||||
|
DEPEND = makedepend
|
||||||
|
INDENT =indent --gnu-style -ut -ts6 -br -npsl -npcs
|
||||||
|
DELETE =rm -f
|
||||||
|
|
||||||
|
GLOBAL_CFLAGS = -Wall -Wno-unknown-pragmas -Wno-format
|
||||||
|
DEBUG_CFLAGS = -g -O0 -DDEBUG ${GLOBAL_CFLAGS}
|
||||||
|
RELEASE_CFLAGS = -O2 ${GLOBAL_CFLAGS}
|
||||||
|
|
||||||
|
P_OPTIONS = -pedantic
|
||||||
|
|
||||||
|
LIBS =
|
||||||
|
|
||||||
|
DEBUG_CXXFLAGS = ${DEBUG_CFLAGS}
|
||||||
|
RELEASE_CXXFLAGS = ${RELEASE_CFLAGS}
|
||||||
|
|
||||||
|
DEBUG_LDFLAGS = -g
|
||||||
|
RELEASE_LDFLAGS =
|
||||||
|
|
||||||
|
ifeq (YES, ${DEBUG})
|
||||||
|
CFLAGS = ${DEBUG_CFLAGS} ${INCS} ${P_OPTIONS}
|
||||||
|
CXXFLAGS = ${DEBUG_CXXFLAGS} ${INCS} ${P_OPTIONS}
|
||||||
|
LDFLAGS = ${DEBUG_LDFLAGS}
|
||||||
|
DEPENDFLAGS = ${DEBUG_CFLAGS} ${INCS}
|
||||||
|
else
|
||||||
|
CFLAGS = ${RELEASE_CFLAGS} ${INCS} ${P_OPTIONS}
|
||||||
|
CXXFLAGS = ${RELEASE_CXXFLAGS} ${INCS} ${P_OPTIONS}
|
||||||
|
LDFLAGS = ${RELEASE_LDFLAGS}
|
||||||
|
DEPENDFLAGS = ${RELEASE_CFLAGS} ${INCS}
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq (YES, ${PROFILE})
|
||||||
|
CFLAGS := ${CFLAGS} -pg
|
||||||
|
CXXFLAGS := ${CXXFLAGS} -pg
|
||||||
|
LDFLAGS := ${LDFLAGS} -pg
|
||||||
|
endif
|
||||||
|
|
||||||
|
#****************************************************************************
|
||||||
|
# Preprocessor directives
|
||||||
|
#****************************************************************************
|
||||||
|
|
||||||
|
ifeq (YES, ${PROFILE})
|
||||||
|
DEFS =
|
||||||
|
else
|
||||||
|
DEFS =
|
||||||
|
endif
|
||||||
|
|
||||||
|
#****************************************************************************
|
||||||
|
# Include paths
|
||||||
|
#****************************************************************************
|
||||||
|
|
||||||
|
#INCS := -I/usr/include/g++-2 -I/usr/local/include
|
||||||
|
#INCS =
|
||||||
|
|
||||||
|
|
||||||
|
#****************************************************************************
|
||||||
|
# Makefile code common to all platforms
|
||||||
|
#****************************************************************************
|
||||||
|
|
||||||
|
CFLAGS := ${CFLAGS} ${DEFS}
|
||||||
|
CXXFLAGS := ${CXXFLAGS} ${DEFS}
|
||||||
|
|
||||||
|
#****************************************************************************
|
||||||
|
# General rules
|
||||||
|
#****************************************************************************
|
||||||
|
|
||||||
|
indent:
|
||||||
|
$(INDENT) --line-length 100 ${SRCS} ${SRCS_HEADERS}
|
||||||
|
$(DELETE) *.*~
|
||||||
|
|
||||||
|
indent80:
|
||||||
|
$(INDENT) --line-length 80 ${SRCS} ${SRCS_HEADERS}
|
||||||
|
$(DELETE) *.*~
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f core *.o *.so *.a *.exe
|
||||||
|
|
||||||
|
# what are the source dependencies
|
||||||
|
depend: $(SRCS)
|
||||||
|
$(DEPEND) $(DEPENDFLAGS) $(SRCS)
|
179
make/linux/Makefile
Normal file
179
make/linux/Makefile
Normal file
@ -0,0 +1,179 @@
|
|||||||
|
# libmatroska core Makefile (used in cygwin)
|
||||||
|
# $Id: Makefile 1254 2006-06-02 14:32:52Z mosu $
|
||||||
|
# Author: Steve Lhomme <robux4 @ users.sf.net>
|
||||||
|
# Author: Moritz Bunkus <moritz @ bunkus.org>
|
||||||
|
|
||||||
|
#
|
||||||
|
# The library is built without debug information. If you want
|
||||||
|
# debug information to be included then compile with
|
||||||
|
# 'make DEBUG=yes'.
|
||||||
|
#
|
||||||
|
|
||||||
|
# Paths
|
||||||
|
# BeOS wants the libs and headers in /boot/home/config
|
||||||
|
ifeq (BeOS,$(shell uname -s))
|
||||||
|
prefix=/boot/home/config
|
||||||
|
else
|
||||||
|
prefix=/usr/local
|
||||||
|
endif
|
||||||
|
libdir=$(prefix)/lib
|
||||||
|
includedir=$(prefix)/include/matroska
|
||||||
|
|
||||||
|
# Programs
|
||||||
|
CROSS =
|
||||||
|
CXX = $(CROSS)g++
|
||||||
|
LD = $(CXX)
|
||||||
|
AR = $(CROSS)ar
|
||||||
|
RANLIB = $(CROSS)ranlib
|
||||||
|
INSTALL = install
|
||||||
|
INSTALL_OPTS = -m 644
|
||||||
|
INSTALL_OPTS_LIB = -m 644
|
||||||
|
INSTALL_DIR_OPTS = -m 755
|
||||||
|
|
||||||
|
CWD=$(shell pwd)
|
||||||
|
|
||||||
|
# Options
|
||||||
|
LIBEBML_INCLUDE_DIR=$(CWD)/../../../libebml
|
||||||
|
LIBEBML_LIB_DIR=$(CWD)/../../../libebml/make/linux
|
||||||
|
EXTENSION=.cpp
|
||||||
|
|
||||||
|
ifeq (yes,$(DEBUG))
|
||||||
|
DEBUGFLAGS=-g -DDEBUG
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq (Darwin,$(shell uname -s))
|
||||||
|
link=static
|
||||||
|
else
|
||||||
|
link=both
|
||||||
|
endif
|
||||||
|
|
||||||
|
targets_both = staticlib sharedlib
|
||||||
|
targets_shared = sharedlib
|
||||||
|
targets_static = staticlib
|
||||||
|
|
||||||
|
SRC_DIR=$(CWD)/../../src/
|
||||||
|
INCLUDE_DIR=$(CWD)/../../matroska
|
||||||
|
MUX_SRC_DIR=$(CWD)/../../test/mux/
|
||||||
|
TAG_SRC_DIR=$(CWD)/../../test/tags/
|
||||||
|
|
||||||
|
# Libraries
|
||||||
|
INCLUDE=-I$(CWD)/../.. -I$(LIBEBML_INCLUDE_DIR)
|
||||||
|
LIBS=
|
||||||
|
MUX_LIBS=-lmatroska -lebml $(LIBICONV)
|
||||||
|
|
||||||
|
# Names
|
||||||
|
LIBRARY=libmatroska.a
|
||||||
|
LIBRARY_SO=libmatroska.so
|
||||||
|
LIBRARY_SO_VER=libmatroska.so.6
|
||||||
|
|
||||||
|
# source-files
|
||||||
|
sources:=$(wildcard ${SRC_DIR}*$(EXTENSION))
|
||||||
|
|
||||||
|
# header files; replace .cxx extension with .h
|
||||||
|
headers:=$(patsubst %$(EXTENSION),%.h,$(sources))
|
||||||
|
|
||||||
|
# object files; replace .cxx extension with .o
|
||||||
|
objects:=$(patsubst %$(EXTENSION),%.o,$(sources))
|
||||||
|
|
||||||
|
objects_so:=$(patsubst %$(EXTENSION),%.lo,$(sources))
|
||||||
|
|
||||||
|
WARNINGFLAGS=-Wall -Wextra -Wno-unknown-pragmas -D_GNU_SOURCE -Wshadow
|
||||||
|
COMPILEFLAGS=$(DEBUGFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(WARNINGFLAGS) $(INCLUDE)
|
||||||
|
LINKFLAGS=-L. -L$(LIBEBML_LIB_DIR) $(LDFLAGS)
|
||||||
|
DEPENDFLAGS = $(CXXFLAGS) $(INCLUDE)
|
||||||
|
|
||||||
|
all: $(targets_$(link))
|
||||||
|
|
||||||
|
staticlib: $(LIBRARY)
|
||||||
|
|
||||||
|
sharedlib: $(LIBRARY_SO)
|
||||||
|
|
||||||
|
lib:
|
||||||
|
@echo "Use the 'staticlib', 'sharedlib' or 'all' targets."
|
||||||
|
@false
|
||||||
|
|
||||||
|
# Build rules
|
||||||
|
%.o: %$(EXTENSION)
|
||||||
|
$(CXX) -c $(COMPILEFLAGS) -o $@ $<
|
||||||
|
|
||||||
|
%.lo: %$(EXTENSION)
|
||||||
|
$(CXX) -c $(COMPILEFLAGS) -fPIC -o $@ $<
|
||||||
|
|
||||||
|
$(LIBRARY): $(objects)
|
||||||
|
$(AR) rcvu $@ $(objects)
|
||||||
|
$(RANLIB) $@
|
||||||
|
|
||||||
|
$(LIBRARY_SO): $(objects_so)
|
||||||
|
$(CXX) -shared -Wl,-soname,$(LIBRARY_SO_VER) -o $(LIBRARY_SO_VER) $(objects_so) -lebml
|
||||||
|
rm -f $(LIBRARY_SO)
|
||||||
|
ln -s $(LIBRARY_SO_VER) $(LIBRARY_SO)
|
||||||
|
|
||||||
|
clean: cleantest
|
||||||
|
rm -f $(objects) $(objects_so)
|
||||||
|
rm -f $(LIBRARY)
|
||||||
|
rm -f $(LIBRARY_SO)
|
||||||
|
rm -f $(LIBRARY_SO_VER)
|
||||||
|
rm -f CORE
|
||||||
|
|
||||||
|
cleantest:
|
||||||
|
rm -f test6 test8 test9 test6.o test8.o test9.o
|
||||||
|
|
||||||
|
distclean dist-clean: clean
|
||||||
|
rm -f .depend
|
||||||
|
|
||||||
|
depend:
|
||||||
|
@echo Calculating dependecies:
|
||||||
|
@rm -f .depend
|
||||||
|
@touch .depend
|
||||||
|
@for i in $(sources); do \
|
||||||
|
o="`echo $$i | sed -e 's/\.c$$/.o/' -e 's/\.cpp$$/.o/'`" ; \
|
||||||
|
echo ' ' $$i: $$o ; \
|
||||||
|
$(CXX) $(DEPENDFLAGS) -MM -MT $$o $$i >> .depend ; \
|
||||||
|
done
|
||||||
|
|
||||||
|
test: test6 test9
|
||||||
|
|
||||||
|
test6: test6.o $(LIBRARY) $(LIBRARY_SO)
|
||||||
|
$(LD) -o $@ $(LINKFLAGS) $< $(MUX_LIBS)
|
||||||
|
|
||||||
|
test6.o: $(MUX_SRC_DIR)test6.cpp
|
||||||
|
$(CXX) -c $(COMPILEFLAGS) -o $@ $<
|
||||||
|
|
||||||
|
test8: test8.o $(LIBRARY) $(LIBRARY_SO)
|
||||||
|
$(LD) -o $@ $(LINKFLAGS) $< $(MUX_LIBS)
|
||||||
|
|
||||||
|
test8.o: $(MUX_SRC_DIR)test8.cpp
|
||||||
|
$(CXX) -c $(COMPILEFLAGS) -o $@ $<
|
||||||
|
|
||||||
|
test9: test9.o $(LIBRARY) $(LIBRARY_SO)
|
||||||
|
$(LD) -o $@ $(LINKFLAGS) $< $(MUX_LIBS)
|
||||||
|
|
||||||
|
test9.o: $(TAG_SRC_DIR)test9.cpp
|
||||||
|
$(CXX) -c $(COMPILEFLAGS) -o $@ $<
|
||||||
|
|
||||||
|
install: $(targets_$(link):%=install_%) install_headers
|
||||||
|
|
||||||
|
install_headers:
|
||||||
|
$(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(includedir)
|
||||||
|
for i in $(INCLUDE_DIR)/*.h; do \
|
||||||
|
$(INSTALL) $(INSTALL_OPTS) $$i $(DESTDIR)$(includedir) ; \
|
||||||
|
done
|
||||||
|
$(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(includedir)/c
|
||||||
|
for i in $(INCLUDE_DIR)/c/*.h; do \
|
||||||
|
$(INSTALL) $(INSTALL_OPTS) $$i $(DESTDIR)$(includedir)/c ; \
|
||||||
|
done
|
||||||
|
|
||||||
|
install_staticlib: $(LIBRARY)
|
||||||
|
$(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(libdir)
|
||||||
|
$(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY) $(DESTDIR)$(libdir)
|
||||||
|
|
||||||
|
install_sharedlib: $(LIBRARY_SO)
|
||||||
|
$(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(libdir)
|
||||||
|
$(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY_SO_VER) $(DESTDIR)$(libdir)
|
||||||
|
ln -fs $(LIBRARY_SO_VER) $(DESTDIR)$(libdir)/$(LIBRARY_SO)
|
||||||
|
|
||||||
|
ifneq ($(wildcard .depend),)
|
||||||
|
include .depend
|
||||||
|
endif
|
||||||
|
|
||||||
|
# DO NOT DELETE
|
98
make/linux/Makefile.rule
Normal file
98
make/linux/Makefile.rule
Normal file
@ -0,0 +1,98 @@
|
|||||||
|
##
|
||||||
|
## This Makefile is made for cygwin, but might probably work on any standard UNIX too
|
||||||
|
##
|
||||||
|
|
||||||
|
#****************************************************************************
|
||||||
|
|
||||||
|
# DEBUG can be set to YES to include debugging info, or NO otherwise
|
||||||
|
DEBUG = YES
|
||||||
|
|
||||||
|
# PROFILE can be set to YES to include profiling info, or NO otherwise
|
||||||
|
PROFILE = NO
|
||||||
|
|
||||||
|
#****************************************************************************
|
||||||
|
|
||||||
|
CC = gcc
|
||||||
|
CXX = g++
|
||||||
|
LD = gcc
|
||||||
|
AR = ar rcvu
|
||||||
|
RANLIB = ranlib
|
||||||
|
DEPEND = makedepend
|
||||||
|
INDENT =indent --gnu-style -ut -ts6 -br -npsl -npcs
|
||||||
|
DELETE =rm -f
|
||||||
|
|
||||||
|
GLOBAL_CFLAGS = -Wall -Wno-unknown-pragmas -Wno-format
|
||||||
|
DEBUG_CFLAGS = -g -O0 -DDEBUG ${GLOBAL_CFLAGS}
|
||||||
|
RELEASE_CFLAGS = -O2 ${GLOBAL_CFLAGS}
|
||||||
|
|
||||||
|
P_OPTIONS = -pedantic
|
||||||
|
|
||||||
|
LIBS =
|
||||||
|
|
||||||
|
DEBUG_CXXFLAGS = ${DEBUG_CFLAGS}
|
||||||
|
RELEASE_CXXFLAGS = ${RELEASE_CFLAGS}
|
||||||
|
|
||||||
|
DEBUG_LDFLAGS = -g
|
||||||
|
RELEASE_LDFLAGS =
|
||||||
|
|
||||||
|
ifeq (YES, ${DEBUG})
|
||||||
|
CFLAGS = ${DEBUG_CFLAGS} ${INCS} ${P_OPTIONS}
|
||||||
|
CXXFLAGS = ${DEBUG_CXXFLAGS} ${INCS} ${P_OPTIONS}
|
||||||
|
LDFLAGS = ${DEBUG_LDFLAGS}
|
||||||
|
DEPENDFLAGS = ${DEBUG_CFLAGS} ${INCS}
|
||||||
|
else
|
||||||
|
CFLAGS = ${RELEASE_CFLAGS} ${INCS} ${P_OPTIONS}
|
||||||
|
CXXFLAGS = ${RELEASE_CXXFLAGS} ${INCS} ${P_OPTIONS}
|
||||||
|
LDFLAGS = ${RELEASE_LDFLAGS}
|
||||||
|
DEPENDFLAGS = ${RELEASE_CFLAGS} ${INCS}
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq (YES, ${PROFILE})
|
||||||
|
CFLAGS := ${CFLAGS} -pg
|
||||||
|
CXXFLAGS := ${CXXFLAGS} -pg
|
||||||
|
LDFLAGS := ${LDFLAGS} -pg
|
||||||
|
endif
|
||||||
|
|
||||||
|
#****************************************************************************
|
||||||
|
# Preprocessor directives
|
||||||
|
#****************************************************************************
|
||||||
|
|
||||||
|
ifeq (YES, ${PROFILE})
|
||||||
|
DEFS =
|
||||||
|
else
|
||||||
|
DEFS =
|
||||||
|
endif
|
||||||
|
|
||||||
|
#****************************************************************************
|
||||||
|
# Include paths
|
||||||
|
#****************************************************************************
|
||||||
|
|
||||||
|
#INCS := -I/usr/include/g++-2 -I/usr/local/include
|
||||||
|
#INCS =
|
||||||
|
|
||||||
|
|
||||||
|
#****************************************************************************
|
||||||
|
# Makefile code common to all platforms
|
||||||
|
#****************************************************************************
|
||||||
|
|
||||||
|
CFLAGS := ${CFLAGS} ${DEFS}
|
||||||
|
CXXFLAGS := ${CXXFLAGS} ${DEFS}
|
||||||
|
|
||||||
|
#****************************************************************************
|
||||||
|
# General rules
|
||||||
|
#****************************************************************************
|
||||||
|
|
||||||
|
indent:
|
||||||
|
$(INDENT) --line-length 100 ${SRCS} ${SRCS_HEADERS}
|
||||||
|
$(DELETE) *.*~
|
||||||
|
|
||||||
|
indent80:
|
||||||
|
$(INDENT) --line-length 80 ${SRCS} ${SRCS_HEADERS}
|
||||||
|
$(DELETE) *.*~
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f core *.o *.so *.a *.exe
|
||||||
|
|
||||||
|
# what are the source dependencies
|
||||||
|
depend: $(SRCS)
|
||||||
|
$(DEPEND) $(DEPENDFLAGS) $(SRCS)
|
@ -4,7 +4,7 @@
|
|||||||
# source files.
|
# source files.
|
||||||
|
|
||||||
echo 'Duplicate IDs:'
|
echo 'Duplicate IDs:'
|
||||||
grep -h '^EbmlId.*_TheId' src/*cpp | \
|
grep -h '^EbmlId.*_TheId' ../../src/*cpp | \
|
||||||
sed -e 's/TheId/TheId /' | \
|
sed -e 's/TheId/TheId /' | \
|
||||||
awk '{ print $3 }' | \
|
awk '{ print $3 }' | \
|
||||||
sed -e 's/(//' -e 's/,//' | \
|
sed -e 's/(//' -e 's/,//' | \
|
||||||
@ -13,6 +13,6 @@ grep -h '^EbmlId.*_TheId' src/*cpp | \
|
|||||||
( while read id ; do
|
( while read id ; do
|
||||||
echo ''
|
echo ''
|
||||||
echo ${id}:
|
echo ${id}:
|
||||||
grep -i $id src/*cpp
|
grep -i $id ../../src/*cpp
|
||||||
done )
|
done )
|
||||||
|
|
61
make/linux/fedora-core.spec
Normal file
61
make/linux/fedora-core.spec
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
# SPEC file for (at least) Fedora Core 1, 2, 3
|
||||||
|
|
||||||
|
Name: libmatroska
|
||||||
|
Version: 1.4.0
|
||||||
|
Release: 1
|
||||||
|
License: LGPL
|
||||||
|
Summary: Matroska Video Container
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
URL: http://www.matroska.org/
|
||||||
|
Vendor: Moritz Bunkus <moritz@bunkus.org>
|
||||||
|
Source: http://dl.matroska.org/downloads/%{name}/%{name}-%{version}.tar.bz2
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
Matroska aims to become THE Standard of Multimedia Container Formats.
|
||||||
|
It was derived from a project called MCF, but differentiates from it
|
||||||
|
significantly because it is based on EBML (Extensible Binary Meta
|
||||||
|
Language), a binary derivative of XML. EBML enables the Matroska
|
||||||
|
Development Team to gain significant advantages in terms of future
|
||||||
|
format extensibility, without breaking file support in old parsers.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Matroska Video Container headers/development files
|
||||||
|
Group: Development/Libraries
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Headers for libmatroska.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
cd make/linux
|
||||||
|
CFLAGS="$RPM_OPT_FLAGS" \
|
||||||
|
make \
|
||||||
|
prefix="%{_prefix}" \
|
||||||
|
LIBEBML_INCLUDE_DIR=%{_includedir} \
|
||||||
|
LIBEBML_LIB_DIR=%{_libdir} \
|
||||||
|
staticlib
|
||||||
|
cd ../..
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||||
|
cd make/linux
|
||||||
|
make prefix=$RPM_BUILD_ROOT/%{_prefix} libdir=$RPM_BUILD_ROOT/%{_libdir} install_staticlib install_headers
|
||||||
|
cd ../..
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_includedir}/matroska/*.h
|
||||||
|
%{_includedir}/matroska/c/*.h
|
||||||
|
%{_libdir}/libmatroska.a
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Apr 16 2005 Moritz Bunkus <moritz@bunkus.org>
|
||||||
|
- updated for the new libmatroska build targets
|
||||||
|
* Fri May 15 2003 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
- create spec file
|
73
make/linux/suse.spec
Normal file
73
make/linux/suse.spec
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
#
|
||||||
|
# spec file for package libmatroska for (at least) SuSE 9.0, 9.1
|
||||||
|
#
|
||||||
|
# Copyright (c) 2004 SUSE LINUX AG, Nuernberg, Germany.
|
||||||
|
# This file and all modifications and additions to the pristine
|
||||||
|
# package are under the same license as the package itself.
|
||||||
|
#
|
||||||
|
# Please submit bugfixes or comments via http://www.suse.de/feedback/
|
||||||
|
#
|
||||||
|
|
||||||
|
# neededforbuild gcc-c++ libebml libstdc++-devel
|
||||||
|
|
||||||
|
BuildRequires: bzip2 cpp libebml make tar zlib zlib-devel binutils gcc gcc-c++ libstdc++-devel perl rpm
|
||||||
|
|
||||||
|
Name: libmatroska
|
||||||
|
URL: http://dl.matroska.org/downloads/libmatroska/
|
||||||
|
Version: 1.4.0
|
||||||
|
Release: 1
|
||||||
|
Summary: library to deal with matroska files.
|
||||||
|
License: LGPL
|
||||||
|
Group: Development/Libraries/Other
|
||||||
|
Source: %{name}-%{version}.tar.bz2
|
||||||
|
Summary: library to deal with matroska files.
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
Prefix: /usr
|
||||||
|
|
||||||
|
%description
|
||||||
|
libmatroska is a C++ libary to parse Matroska files (.mkv and .mka). It
|
||||||
|
depends on libebml to work. You only need this package to compile your
|
||||||
|
own applications.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Steve Lhomme <steve.lhomme@free.fr>
|
||||||
|
Moritz Bunkus <moritz@bunkus.org>
|
||||||
|
|
||||||
|
%prep
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
%setup
|
||||||
|
|
||||||
|
%build
|
||||||
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
cd make/linux
|
||||||
|
make prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/%{_libdir} staticlib
|
||||||
|
|
||||||
|
%install
|
||||||
|
cd make/linux
|
||||||
|
make prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/%{_libdir} install_staticlib install_headers
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%post
|
||||||
|
%run_ldconfig
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%run_ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr (-,root,root)
|
||||||
|
%{_libdir}/libmatroska.a
|
||||||
|
/usr/include/matroska
|
||||||
|
# /usr/include/ebml/*
|
||||||
|
|
||||||
|
%changelog -n libmatroska
|
||||||
|
* Sat Apr 16 2005 - moritz@bunkus.org
|
||||||
|
- updated for the new libmatroska build targets
|
||||||
|
* Thu Sep 02 2004 - seife@suse.de
|
||||||
|
- add libebml to neededforbuild
|
||||||
|
* Wed Sep 01 2004 - seife@suse.de
|
||||||
|
- initial submission
|
3102
make/macosx/macosx.pbproj/project.pbxproj
Normal file
3102
make/macosx/macosx.pbproj/project.pbxproj
Normal file
File diff suppressed because it is too large
Load Diff
8
make/makedoc.bat
Normal file
8
make/makedoc.bat
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
@echo off
|
||||||
|
rem you should have DOXYGEN.EXE in your path
|
||||||
|
rem http://www.doxygen.org/
|
||||||
|
|
||||||
|
echo make Documentation
|
||||||
|
|
||||||
|
|
||||||
|
doxygen Doxyfile > Doxygen.log.txt 2> Doxygen.err.txt
|
7
make/makedoc.sh
Normal file
7
make/makedoc.sh
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/sh
|
||||||
|
# you should have "doxygen" in your path
|
||||||
|
# http://www.doxygen.org/
|
||||||
|
|
||||||
|
echo make Documentation
|
||||||
|
|
||||||
|
doxygen Doxyfile > Doxygen.log.txt 2> Doxygen.err.txt
|
112
make/mingw32/Makefile
Normal file
112
make/mingw32/Makefile
Normal file
@ -0,0 +1,112 @@
|
|||||||
|
# Project: libmatroska
|
||||||
|
# Makefile created by Dev-C++ 4.9.7.0
|
||||||
|
|
||||||
|
# Normally libmatroska is built as a static library.
|
||||||
|
# Uncomment this if you want a shared library instead.
|
||||||
|
# ATTENTION: Your app has to define MATROSKA_DLL !
|
||||||
|
SHARED = yes
|
||||||
|
|
||||||
|
# Compile with debug information?
|
||||||
|
#DEBUG = yes
|
||||||
|
|
||||||
|
# Where libebml resides
|
||||||
|
EBML_DIR = ../../../libebml
|
||||||
|
|
||||||
|
# Has libebml been compiled as a DLL?
|
||||||
|
EBML_DLL = yes
|
||||||
|
|
||||||
|
#
|
||||||
|
# Don't change anything below this line.
|
||||||
|
#
|
||||||
|
ifeq (yes,$(DEBUG))
|
||||||
|
DEBUGFLAGS=-g -DDEBUG
|
||||||
|
endif
|
||||||
|
CROSS =
|
||||||
|
CXX = $(CROSS)g++
|
||||||
|
CC = $(CROSS)gcc
|
||||||
|
WINDRES = $(CROSS)windres
|
||||||
|
RANLIB = $(CROSS)ranlib
|
||||||
|
AR = $(CROSS)ar
|
||||||
|
RES =
|
||||||
|
SRC = $(wildcard ../../src/*.cpp)
|
||||||
|
OBJ = $(patsubst %.cpp,%.o,$(SRC))
|
||||||
|
ifeq (yes,$(SHARED))
|
||||||
|
LIBS = libmatroska.dll
|
||||||
|
FLAGS = -DMATROSKA_DLL
|
||||||
|
DLLFLAGS = -DMATROSKA_DLL_EXPORT
|
||||||
|
else
|
||||||
|
LIBS = libmatroska.a
|
||||||
|
endif
|
||||||
|
ifeq (yes,$(SHARED))
|
||||||
|
ifeq (yes,$(EBML_DLL))
|
||||||
|
FLAGS += -DEBML_DLL
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
CWD = $(shell pwd)
|
||||||
|
INCS = -I"$(CWD)/../.." -I$(EBML_DIR)
|
||||||
|
LDFLAGS = -L. -L$(EBML_DIR)/make/mingw32
|
||||||
|
COMPILEFLAGS = $(DEBUGFLAGS) $(INCS) $(FLAGS) $(CXXFLAGS)
|
||||||
|
TESTS = test6 test8 test9
|
||||||
|
|
||||||
|
.PHONY: all all-before all-after clean clean-custom
|
||||||
|
|
||||||
|
.cpp.o:
|
||||||
|
$(CXX) $(DLLFLAGS) $(COMPILEFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
|
all: lib
|
||||||
|
|
||||||
|
lib: $(LIBS)
|
||||||
|
|
||||||
|
tests: $(TESTS)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f $(OBJ) libmatroska.a libmatroska.dll.a libmatroska.dll *.exe \
|
||||||
|
../../test/mux/*.o ../../test/tags/*.o
|
||||||
|
|
||||||
|
distclean dist-clean: clean
|
||||||
|
rm -f .depend
|
||||||
|
|
||||||
|
libmatroska.a: $(OBJ)
|
||||||
|
$(AR) rcvu $@ $(OBJ)
|
||||||
|
$(RANLIB) $@
|
||||||
|
|
||||||
|
libmatroska.dll: $(OBJ)
|
||||||
|
$(CXX) -shared -Wl,--export-all -Wl,--out-implib=$@.a -o $@ $(OBJ) \
|
||||||
|
$(LDFLAGS) -lebml
|
||||||
|
|
||||||
|
# Explicitely list these object files because for them
|
||||||
|
# MATROSKA_DLL_EXPORT must NOT be defined.
|
||||||
|
../../test/mux/test6.o: ../../test/mux/test6.cpp
|
||||||
|
$(CXX) $(COMPILEFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
|
test6: ../../test/mux/test6.o $(LIBS)
|
||||||
|
$(LD) -o $@ $(LDFLAGS) $< -lmatroska -lebml
|
||||||
|
|
||||||
|
../../test/mux/test8.o: ../../test/mux/test8.cpp
|
||||||
|
$(CXX) $(COMPILEFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
|
test8: ../../test/mux/test8.o $(LIBS)
|
||||||
|
$(LD) -o $@ $(LDFLAGS) $< -lmatroska -lebml
|
||||||
|
|
||||||
|
../../test/tags/test9.o: ../../test/tags/test9.cpp
|
||||||
|
$(CXX) $(COMPILEFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
|
test9: ../../test/tags/test9.o $(LIBS)
|
||||||
|
$(LD) -o $@ $(LDFLAGS) $< -lmatroska -lebml
|
||||||
|
|
||||||
|
depend:
|
||||||
|
@echo Calculating dependecies:
|
||||||
|
@rm -f .depend
|
||||||
|
@touch .depend
|
||||||
|
@for i in $(SRC); do \
|
||||||
|
o="`echo $$i | sed -e 's/\.c$$/.o/' -e 's/\.cpp$$/.o/'`" ; \
|
||||||
|
echo ' ' $$i: $$o ; \
|
||||||
|
$(CXX) $(COMPILEFLAGS) -MM -MT $$o $$i >> .depend ; \
|
||||||
|
done
|
||||||
|
|
||||||
|
#
|
||||||
|
# include dependency files if they exist
|
||||||
|
#
|
||||||
|
ifneq ($(wildcard .depend),)
|
||||||
|
include .depend
|
||||||
|
endif
|
390
make/mingw32/libmatroska.dev
Normal file
390
make/mingw32/libmatroska.dev
Normal file
@ -0,0 +1,390 @@
|
|||||||
|
[Project]
|
||||||
|
FileName=libmatroska.dev
|
||||||
|
Name=libmatroska
|
||||||
|
UnitCount=43
|
||||||
|
Type=2
|
||||||
|
Ver=1
|
||||||
|
ObjFiles=
|
||||||
|
Includes=..\..\..\libebml\src
|
||||||
|
Libs=
|
||||||
|
PrivateResource=
|
||||||
|
ResourceIncludes=
|
||||||
|
MakeIncludes=
|
||||||
|
Resources=
|
||||||
|
Compiler=
|
||||||
|
Linker=
|
||||||
|
IsCpp=1
|
||||||
|
Icon=
|
||||||
|
ExeOutput=
|
||||||
|
ObjectOutput=
|
||||||
|
OverrideOutput=0
|
||||||
|
OverrideOutputName=libmatroska.a
|
||||||
|
HostApplication=
|
||||||
|
Folders=
|
||||||
|
CommandLine=
|
||||||
|
IncludeVersionInfo=0
|
||||||
|
SupportXPThemes=0
|
||||||
|
CompilerSet=0
|
||||||
|
CompilerSettings=000000000000000000
|
||||||
|
|
||||||
|
[Unit1]
|
||||||
|
FileName=..\..\src\StdInclude.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit2]
|
||||||
|
FileName=..\..\src\FileKax.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit3]
|
||||||
|
FileName=..\..\src\KaxAttached.cpp
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit4]
|
||||||
|
FileName=..\..\src\KaxAttached.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit5]
|
||||||
|
FileName=..\..\src\KaxAttachements.cpp
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit6]
|
||||||
|
FileName=..\..\src\KaxAttachements.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit7]
|
||||||
|
FileName=..\..\src\KaxBlock.cpp
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit8]
|
||||||
|
FileName=..\..\src\KaxBlock.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit9]
|
||||||
|
FileName=..\..\src\KaxBlockAdditional.cpp
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit10]
|
||||||
|
FileName=..\..\src\KaxBlockAdditional.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit11]
|
||||||
|
FileName=..\..\src\KaxChapters.cpp
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit12]
|
||||||
|
FileName=..\..\src\KaxChapters.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit13]
|
||||||
|
FileName=..\..\src\KaxCluster.cpp
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit14]
|
||||||
|
FileName=..\..\src\KaxCluster.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit15]
|
||||||
|
FileName=..\..\src\KaxClusterData.cpp
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit16]
|
||||||
|
FileName=..\..\src\KaxClusterData.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit17]
|
||||||
|
FileName=..\..\src\KaxConfig.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit18]
|
||||||
|
FileName=..\..\src\KaxContexts.cpp
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit19]
|
||||||
|
FileName=..\..\src\KaxContexts.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit20]
|
||||||
|
FileName=..\..\src\KaxCues.cpp
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit21]
|
||||||
|
FileName=..\..\src\KaxCues.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit22]
|
||||||
|
FileName=..\..\src\KaxCuesData.cpp
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit23]
|
||||||
|
FileName=..\..\src\KaxCuesData.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit24]
|
||||||
|
FileName=..\..\src\KaxInfo.cpp
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit25]
|
||||||
|
FileName=..\..\src\KaxInfo.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit26]
|
||||||
|
FileName=..\..\src\KaxInfoData.cpp
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit27]
|
||||||
|
FileName=..\..\src\KaxInfoData.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit28]
|
||||||
|
FileName=..\..\src\KaxSeekHead.cpp
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit29]
|
||||||
|
FileName=..\..\src\KaxSeekHead.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit30]
|
||||||
|
FileName=..\..\src\KaxSegment.cpp
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit31]
|
||||||
|
FileName=..\..\src\KaxSegment.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit32]
|
||||||
|
FileName=..\..\src\KaxTrackAudio.cpp
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit33]
|
||||||
|
FileName=..\..\src\KaxTrackAudio.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit34]
|
||||||
|
FileName=..\..\src\KaxTrackEntryData.cpp
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit35]
|
||||||
|
FileName=..\..\src\KaxTrackEntryData.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit36]
|
||||||
|
FileName=..\..\src\KaxTracks.cpp
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit37]
|
||||||
|
FileName=..\..\src\KaxTracks.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit38]
|
||||||
|
FileName=..\..\src\KaxTrackVideo.cpp
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit39]
|
||||||
|
FileName=..\..\src\KaxTrackVideo.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit40]
|
||||||
|
FileName=..\..\src\KaxTypes.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit41]
|
||||||
|
FileName=..\..\src\KaxVersion.cpp
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit42]
|
||||||
|
FileName=..\..\src\KaxVersion.h
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[Unit43]
|
||||||
|
FileName=..\..\src\FileKax.cpp
|
||||||
|
Folder=libmatroska
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[VersionInfo]
|
||||||
|
Major=0
|
||||||
|
Minor=1
|
||||||
|
Release=1
|
||||||
|
Build=1
|
||||||
|
LanguageID=1033
|
||||||
|
CharsetID=1252
|
||||||
|
CompanyName=
|
||||||
|
FileVersion=
|
||||||
|
FileDescription=Developed using the Dev-C++ IDE
|
||||||
|
InternalName=
|
||||||
|
LegalCopyright=
|
||||||
|
LegalTrademarks=
|
||||||
|
OriginalFilename=
|
||||||
|
ProductName=
|
||||||
|
ProductVersion=
|
||||||
|
|
27
make/mingw32/test/Makefile
Normal file
27
make/mingw32/test/Makefile
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# Project: test6
|
||||||
|
# Makefile created by Dev-C++ 4.9.7.0
|
||||||
|
|
||||||
|
CPP = g++.exe
|
||||||
|
CC = gcc.exe
|
||||||
|
WINDRES = windres.exe
|
||||||
|
RES =
|
||||||
|
OBJ = ../../../test/mux/test6.o $(RES)
|
||||||
|
LIBS = -L"D:/DEV-CPP/lib" "../libmatroska.a" "../../../../libebml/make/mingw32/libebml.a"
|
||||||
|
INCS = -I"D:/DEV-CPP/include" -I"D:/DEV-CPP/include/c++" -I"D:/DEV-CPP/include" -I"D:/Dev-Cpp/include/c++/mingw32" -I"../../../../libebml/src" -I"../../../src"
|
||||||
|
BIN = test6.exe
|
||||||
|
CXXFLAGS = $(INCS)
|
||||||
|
CFLAGS = $(INCS)
|
||||||
|
|
||||||
|
.PHONY: all all-before all-after clean clean-custom
|
||||||
|
|
||||||
|
all: all-before test6.exe all-after
|
||||||
|
|
||||||
|
|
||||||
|
clean: clean-custom
|
||||||
|
rm -f $(OBJ) $(BIN)
|
||||||
|
|
||||||
|
$(BIN): $(OBJ)
|
||||||
|
$(CPP) $(OBJ) -o "test6.exe" $(LIBS) $(CXXFLAGS)
|
||||||
|
|
||||||
|
../../../test/mux/test6.o: ../../../test/mux/test6.cpp
|
||||||
|
$(CPP) -c ../../../test/mux/test6.cpp -o ../../../test/mux/test6.o $(CXXFLAGS)
|
54
make/mingw32/test/test6.dev
Normal file
54
make/mingw32/test/test6.dev
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
[Project]
|
||||||
|
FileName=test6.dev
|
||||||
|
Name=test6
|
||||||
|
UnitCount=1
|
||||||
|
Type=1
|
||||||
|
Ver=1
|
||||||
|
ObjFiles=
|
||||||
|
Includes=..\..\..\..\libebml\src;..\..\..\src
|
||||||
|
Libs=
|
||||||
|
PrivateResource=
|
||||||
|
ResourceIncludes=
|
||||||
|
MakeIncludes=
|
||||||
|
Resources=
|
||||||
|
Compiler=
|
||||||
|
Linker="..\libmatroska.a" "..\..\..\..\libebml\make\mingw32\libebml.a"
|
||||||
|
IsCpp=1
|
||||||
|
Icon=
|
||||||
|
ExeOutput=
|
||||||
|
ObjectOutput=
|
||||||
|
OverrideOutput=0
|
||||||
|
OverrideOutputName=test6.exe
|
||||||
|
HostApplication=
|
||||||
|
Folders=
|
||||||
|
CommandLine=
|
||||||
|
IncludeVersionInfo=0
|
||||||
|
SupportXPThemes=0
|
||||||
|
CompilerSet=0
|
||||||
|
CompilerSettings=000000000000000000
|
||||||
|
|
||||||
|
[Unit1]
|
||||||
|
FileName=..\..\..\test\mux\test6.cpp
|
||||||
|
Folder=test6
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[VersionInfo]
|
||||||
|
Major=0
|
||||||
|
Minor=1
|
||||||
|
Release=1
|
||||||
|
Build=1
|
||||||
|
LanguageID=1033
|
||||||
|
CharsetID=1252
|
||||||
|
CompanyName=
|
||||||
|
FileVersion=
|
||||||
|
FileDescription=Developed using the Dev-C++ IDE
|
||||||
|
InternalName=
|
||||||
|
LegalCopyright=
|
||||||
|
LegalTrademarks=
|
||||||
|
OriginalFilename=
|
||||||
|
ProductName=
|
||||||
|
ProductVersion=
|
||||||
|
|
54
make/mingw32/test/test8.dev
Normal file
54
make/mingw32/test/test8.dev
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
[Project]
|
||||||
|
FileName=test8.dev
|
||||||
|
Name=test8
|
||||||
|
UnitCount=1
|
||||||
|
Type=1
|
||||||
|
Ver=1
|
||||||
|
ObjFiles=
|
||||||
|
Includes=..\..\..\..\libebml\src;..\..\..\src
|
||||||
|
Libs=
|
||||||
|
PrivateResource=
|
||||||
|
ResourceIncludes=
|
||||||
|
MakeIncludes=
|
||||||
|
Resources=
|
||||||
|
Compiler=
|
||||||
|
Linker="..\libmatroska.a" "..\..\..\..\libebml\make\mingw32\libebml.a"
|
||||||
|
IsCpp=1
|
||||||
|
Icon=
|
||||||
|
ExeOutput=
|
||||||
|
ObjectOutput=
|
||||||
|
OverrideOutput=0
|
||||||
|
OverrideOutputName=test8.exe
|
||||||
|
HostApplication=
|
||||||
|
Folders=
|
||||||
|
CommandLine=
|
||||||
|
IncludeVersionInfo=0
|
||||||
|
SupportXPThemes=0
|
||||||
|
CompilerSet=0
|
||||||
|
CompilerSettings=000000000000000000
|
||||||
|
|
||||||
|
[Unit1]
|
||||||
|
FileName=..\..\..\test\mux\test8.cpp
|
||||||
|
Folder=test8
|
||||||
|
Compile=1
|
||||||
|
CompileCpp=1
|
||||||
|
OverrideBuildCmd=0
|
||||||
|
BuildCmd=
|
||||||
|
|
||||||
|
[VersionInfo]
|
||||||
|
Major=0
|
||||||
|
Minor=1
|
||||||
|
Release=1
|
||||||
|
Build=1
|
||||||
|
LanguageID=1033
|
||||||
|
CharsetID=1252
|
||||||
|
CompanyName=
|
||||||
|
FileVersion=
|
||||||
|
FileDescription=Developed using the Dev-C++ IDE
|
||||||
|
InternalName=
|
||||||
|
LegalCopyright=
|
||||||
|
LegalTrademarks=
|
||||||
|
OriginalFilename=
|
||||||
|
ProductName=
|
||||||
|
ProductVersion=
|
||||||
|
|
284
make/vc6/lib/static/libmatroska.dsp
Normal file
284
make/vc6/lib/static/libmatroska.dsp
Normal file
@ -0,0 +1,284 @@
|
|||||||
|
# Microsoft Developer Studio Project File - Name="libmatroska" - Package Owner=<4>
|
||||||
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||||
|
# ** DO NOT EDIT **
|
||||||
|
|
||||||
|
# TARGTYPE "Win32 (x86) Static Library" 0x0104
|
||||||
|
|
||||||
|
CFG=libmatroska - Win32 Debug
|
||||||
|
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||||
|
!MESSAGE use the Export Makefile command and run
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "libmatroska.mak".
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE You can specify a configuration when running NMAKE
|
||||||
|
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "libmatroska.mak" CFG="libmatroska - Win32 Debug"
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE Possible choices for configuration are:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE "libmatroska - Win32 Release" (based on "Win32 (x86) Static Library")
|
||||||
|
!MESSAGE "libmatroska - Win32 Debug" (based on "Win32 (x86) Static Library")
|
||||||
|
!MESSAGE
|
||||||
|
|
||||||
|
# Begin Project
|
||||||
|
# PROP AllowPerConfigDependencies 0
|
||||||
|
# PROP Scc_ProjName ""
|
||||||
|
# PROP Scc_LocalPath ""
|
||||||
|
CPP=cl.exe
|
||||||
|
RSC=rc.exe
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "libmatroska - Win32 Release"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
|
# PROP BASE Output_Dir "Release"
|
||||||
|
# PROP BASE Intermediate_Dir "Release"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 0
|
||||||
|
# PROP Output_Dir "Release"
|
||||||
|
# PROP Intermediate_Dir "Release"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
|
||||||
|
# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../../../../libebml" /I "../../../.." /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "NDEBUG"
|
||||||
|
# ADD RSC /l 0x809 /d "NDEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LIB32=link.exe -lib
|
||||||
|
# ADD BASE LIB32 /nologo
|
||||||
|
# ADD LIB32 /nologo
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "libmatroska - Win32 Debug"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
|
# PROP BASE Output_Dir "Debug"
|
||||||
|
# PROP BASE Intermediate_Dir "Debug"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 1
|
||||||
|
# PROP Output_Dir "Debug"
|
||||||
|
# PROP Intermediate_Dir "Debug"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
|
||||||
|
# ADD CPP /nologo /MTd /W3 /Gm /GR /GX /ZI /Od /I "../../../../../libebml" /I "../../../.." /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "_DEBUG"
|
||||||
|
# ADD RSC /l 0x809 /d "_DEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LIB32=link.exe -lib
|
||||||
|
# ADD BASE LIB32 /nologo
|
||||||
|
# ADD LIB32 /nologo
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# Begin Target
|
||||||
|
|
||||||
|
# Name "libmatroska - Win32 Release"
|
||||||
|
# Name "libmatroska - Win32 Debug"
|
||||||
|
# Begin Group "Source Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\FileKax.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\KaxAttached.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\KaxAttachments.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\KaxBlock.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\KaxBlockData.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\KaxChapters.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\KaxCluster.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\KaxClusterData.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\KaxContentEncoding.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\KaxContexts.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\KaxCues.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\KaxCuesData.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\KaxInfo.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\KaxInfoData.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\KaxSeekHead.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\KaxSegment.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\KaxTag.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\KaxTags.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\KaxTrackAudio.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\KaxTrackEntryData.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\KaxTracks.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\KaxTrackVideo.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\src\KaxVersion.cpp
|
||||||
|
# End Source File
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Header Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\FileKax.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxAttached.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxAttachments.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxBlock.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxBlockData.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxChapters.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxCluster.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxClusterData.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxConfig.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxContentEncoding.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxContexts.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxCues.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxCuesData.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxInfo.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxInfoData.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxSeekHead.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxSegment.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxTag.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxTags.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxTrackAudio.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxTrackEntryData.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxTracks.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxTrackVideo.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxTypes.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\..\matroska\KaxVersion.h
|
||||||
|
# End Source File
|
||||||
|
# End Group
|
||||||
|
# End Target
|
||||||
|
# End Project
|
100
make/vc6/test/test0.dsp
Normal file
100
make/vc6/test/test0.dsp
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
# Microsoft Developer Studio Project File - Name="test0" - Package Owner=<4>
|
||||||
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||||
|
# ** DO NOT EDIT **
|
||||||
|
|
||||||
|
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||||||
|
|
||||||
|
CFG=test0 - Win32 Debug
|
||||||
|
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||||
|
!MESSAGE use the Export Makefile command and run
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test0.mak".
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE You can specify a configuration when running NMAKE
|
||||||
|
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test0.mak" CFG="test0 - Win32 Debug"
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE Possible choices for configuration are:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE "test0 - Win32 Release" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test0 - Win32 Debug" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE
|
||||||
|
|
||||||
|
# Begin Project
|
||||||
|
# PROP AllowPerConfigDependencies 0
|
||||||
|
# PROP Scc_ProjName ""
|
||||||
|
# PROP Scc_LocalPath ""
|
||||||
|
CPP=cl.exe
|
||||||
|
RSC=rc.exe
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "test0 - Win32 Release"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
|
# PROP BASE Output_Dir "Release"
|
||||||
|
# PROP BASE Intermediate_Dir "Release"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 0
|
||||||
|
# PROP Output_Dir "Release"
|
||||||
|
# PROP Intermediate_Dir "Release"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../../src" /I "../../../../libebml/src" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "NDEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "NDEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test0 - Win32 Debug"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
|
# PROP BASE Output_Dir "Debug"
|
||||||
|
# PROP BASE Intermediate_Dir "Debug"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 1
|
||||||
|
# PROP Output_Dir "Debug"
|
||||||
|
# PROP Intermediate_Dir "Debug"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD CPP /nologo /MTd /W3 /Gm /GR /GX /ZI /Od /I "../../../src" /I "../../../../libebml/src" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "_DEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "_DEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# Begin Target
|
||||||
|
|
||||||
|
# Name "test0 - Win32 Release"
|
||||||
|
# Name "test0 - Win32 Debug"
|
||||||
|
# Begin Group "Source Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\test\ebml\test0.cpp
|
||||||
|
# End Source File
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Header Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Resource Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||||
|
# End Group
|
||||||
|
# End Target
|
||||||
|
# End Project
|
100
make/vc6/test/test00.dsp
Normal file
100
make/vc6/test/test00.dsp
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
# Microsoft Developer Studio Project File - Name="test00" - Package Owner=<4>
|
||||||
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||||
|
# ** DO NOT EDIT **
|
||||||
|
|
||||||
|
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||||||
|
|
||||||
|
CFG=test00 - Win32 Debug
|
||||||
|
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||||
|
!MESSAGE use the Export Makefile command and run
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test00.mak".
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE You can specify a configuration when running NMAKE
|
||||||
|
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test00.mak" CFG="test00 - Win32 Debug"
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE Possible choices for configuration are:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE "test00 - Win32 Release" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test00 - Win32 Debug" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE
|
||||||
|
|
||||||
|
# Begin Project
|
||||||
|
# PROP AllowPerConfigDependencies 0
|
||||||
|
# PROP Scc_ProjName ""
|
||||||
|
# PROP Scc_LocalPath ""
|
||||||
|
CPP=cl.exe
|
||||||
|
RSC=rc.exe
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "test00 - Win32 Release"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
|
# PROP BASE Output_Dir "Release"
|
||||||
|
# PROP BASE Intermediate_Dir "Release"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 0
|
||||||
|
# PROP Output_Dir "Release"
|
||||||
|
# PROP Intermediate_Dir "Release"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../../src" /I "../../../../libebml/src" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "NDEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "NDEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test00 - Win32 Debug"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
|
# PROP BASE Output_Dir "Debug"
|
||||||
|
# PROP BASE Intermediate_Dir "Debug"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 1
|
||||||
|
# PROP Output_Dir "Debug"
|
||||||
|
# PROP Intermediate_Dir "Debug"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD CPP /nologo /MTd /W3 /Gm /GR /GX /ZI /Od /I "../../../src" /I "../../../../libebml/src" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "_DEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "_DEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# Begin Target
|
||||||
|
|
||||||
|
# Name "test00 - Win32 Release"
|
||||||
|
# Name "test00 - Win32 Debug"
|
||||||
|
# Begin Group "Source Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\test\ebml\test00.cpp
|
||||||
|
# End Source File
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Header Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Resource Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||||
|
# End Group
|
||||||
|
# End Target
|
||||||
|
# End Project
|
100
make/vc6/test/test1.dsp
Normal file
100
make/vc6/test/test1.dsp
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
# Microsoft Developer Studio Project File - Name="test1" - Package Owner=<4>
|
||||||
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||||
|
# ** DO NOT EDIT **
|
||||||
|
|
||||||
|
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||||||
|
|
||||||
|
CFG=test1 - Win32 Debug
|
||||||
|
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||||
|
!MESSAGE use the Export Makefile command and run
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test1.mak".
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE You can specify a configuration when running NMAKE
|
||||||
|
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test1.mak" CFG="test1 - Win32 Debug"
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE Possible choices for configuration are:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE "test1 - Win32 Release" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test1 - Win32 Debug" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE
|
||||||
|
|
||||||
|
# Begin Project
|
||||||
|
# PROP AllowPerConfigDependencies 0
|
||||||
|
# PROP Scc_ProjName ""
|
||||||
|
# PROP Scc_LocalPath ""
|
||||||
|
CPP=xicl6.exe
|
||||||
|
RSC=rc.exe
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "test1 - Win32 Release"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
|
# PROP BASE Output_Dir "Release"
|
||||||
|
# PROP BASE Intermediate_Dir "Release"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 0
|
||||||
|
# PROP Output_Dir "Release"
|
||||||
|
# PROP Intermediate_Dir "Release"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../../src" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "NDEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "NDEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=xilink6.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test1 - Win32 Debug"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
|
# PROP BASE Output_Dir "Debug"
|
||||||
|
# PROP BASE Intermediate_Dir "Debug"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 1
|
||||||
|
# PROP Output_Dir "Debug"
|
||||||
|
# PROP Intermediate_Dir "Debug"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "../../../src" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "_DEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "_DEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=xilink6.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# Begin Target
|
||||||
|
|
||||||
|
# Name "test1 - Win32 Release"
|
||||||
|
# Name "test1 - Win32 Debug"
|
||||||
|
# Begin Group "Source Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\test\block\test1.cpp
|
||||||
|
# End Source File
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Header Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Resource Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||||
|
# End Group
|
||||||
|
# End Target
|
||||||
|
# End Project
|
100
make/vc6/test/test2.dsp
Normal file
100
make/vc6/test/test2.dsp
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
# Microsoft Developer Studio Project File - Name="test2" - Package Owner=<4>
|
||||||
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||||
|
# ** DO NOT EDIT **
|
||||||
|
|
||||||
|
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||||||
|
|
||||||
|
CFG=test2 - Win32 Debug
|
||||||
|
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||||
|
!MESSAGE use the Export Makefile command and run
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test2.mak".
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE You can specify a configuration when running NMAKE
|
||||||
|
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test2.mak" CFG="test2 - Win32 Debug"
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE Possible choices for configuration are:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE "test2 - Win32 Release" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test2 - Win32 Debug" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE
|
||||||
|
|
||||||
|
# Begin Project
|
||||||
|
# PROP AllowPerConfigDependencies 0
|
||||||
|
# PROP Scc_ProjName ""
|
||||||
|
# PROP Scc_LocalPath ""
|
||||||
|
CPP=xicl6.exe
|
||||||
|
RSC=rc.exe
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "test2 - Win32 Release"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
|
# PROP BASE Output_Dir "Release"
|
||||||
|
# PROP BASE Intermediate_Dir "Release"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 0
|
||||||
|
# PROP Output_Dir "Release"
|
||||||
|
# PROP Intermediate_Dir "Release"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../../src" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "NDEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "NDEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=xilink6.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test2 - Win32 Debug"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
|
# PROP BASE Output_Dir "Debug"
|
||||||
|
# PROP BASE Intermediate_Dir "Debug"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 1
|
||||||
|
# PROP Output_Dir "Debug"
|
||||||
|
# PROP Intermediate_Dir "Debug"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "../../../src" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "_DEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "_DEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=xilink6.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# Begin Target
|
||||||
|
|
||||||
|
# Name "test2 - Win32 Release"
|
||||||
|
# Name "test2 - Win32 Debug"
|
||||||
|
# Begin Group "Source Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\test\cluster\test2.cpp
|
||||||
|
# End Source File
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Header Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Resource Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||||
|
# End Group
|
||||||
|
# End Target
|
||||||
|
# End Project
|
100
make/vc6/test/test3.dsp
Normal file
100
make/vc6/test/test3.dsp
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
# Microsoft Developer Studio Project File - Name="test3" - Package Owner=<4>
|
||||||
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||||
|
# ** DO NOT EDIT **
|
||||||
|
|
||||||
|
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||||||
|
|
||||||
|
CFG=test3 - Win32 Debug
|
||||||
|
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||||
|
!MESSAGE use the Export Makefile command and run
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test3.mak".
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE You can specify a configuration when running NMAKE
|
||||||
|
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test3.mak" CFG="test3 - Win32 Debug"
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE Possible choices for configuration are:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE "test3 - Win32 Release" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test3 - Win32 Debug" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE
|
||||||
|
|
||||||
|
# Begin Project
|
||||||
|
# PROP AllowPerConfigDependencies 0
|
||||||
|
# PROP Scc_ProjName ""
|
||||||
|
# PROP Scc_LocalPath ""
|
||||||
|
CPP=xicl6.exe
|
||||||
|
RSC=rc.exe
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "test3 - Win32 Release"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
|
# PROP BASE Output_Dir "Release"
|
||||||
|
# PROP BASE Intermediate_Dir "Release"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 0
|
||||||
|
# PROP Output_Dir "Release"
|
||||||
|
# PROP Intermediate_Dir "Release"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../../src" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "NDEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "NDEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=xilink6.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test3 - Win32 Debug"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
|
# PROP BASE Output_Dir "Debug"
|
||||||
|
# PROP BASE Intermediate_Dir "Debug"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 1
|
||||||
|
# PROP Output_Dir "Debug"
|
||||||
|
# PROP Intermediate_Dir "Debug"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "../../../src" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "_DEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "_DEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=xilink6.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# Begin Target
|
||||||
|
|
||||||
|
# Name "test3 - Win32 Release"
|
||||||
|
# Name "test3 - Win32 Debug"
|
||||||
|
# Begin Group "Source Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\test\endian\test3.cpp
|
||||||
|
# End Source File
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Header Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Resource Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||||
|
# End Group
|
||||||
|
# End Target
|
||||||
|
# End Project
|
100
make/vc6/test/test4.dsp
Normal file
100
make/vc6/test/test4.dsp
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
# Microsoft Developer Studio Project File - Name="test4" - Package Owner=<4>
|
||||||
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||||
|
# ** DO NOT EDIT **
|
||||||
|
|
||||||
|
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||||||
|
|
||||||
|
CFG=test4 - Win32 Debug
|
||||||
|
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||||
|
!MESSAGE use the Export Makefile command and run
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test4.mak".
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE You can specify a configuration when running NMAKE
|
||||||
|
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test4.mak" CFG="test4 - Win32 Debug"
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE Possible choices for configuration are:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE "test4 - Win32 Release" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test4 - Win32 Debug" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE
|
||||||
|
|
||||||
|
# Begin Project
|
||||||
|
# PROP AllowPerConfigDependencies 0
|
||||||
|
# PROP Scc_ProjName ""
|
||||||
|
# PROP Scc_LocalPath ""
|
||||||
|
CPP=xicl6.exe
|
||||||
|
RSC=rc.exe
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "test4 - Win32 Release"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
|
# PROP BASE Output_Dir "Release"
|
||||||
|
# PROP BASE Intermediate_Dir "Release"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 0
|
||||||
|
# PROP Output_Dir "Release"
|
||||||
|
# PROP Intermediate_Dir "Release"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../../src" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "NDEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "NDEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=xilink6.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test4 - Win32 Debug"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
|
# PROP BASE Output_Dir "Debug"
|
||||||
|
# PROP BASE Intermediate_Dir "Debug"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 1
|
||||||
|
# PROP Output_Dir "Debug"
|
||||||
|
# PROP Intermediate_Dir "Debug"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "../../../src" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "_DEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "_DEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=xilink6.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# Begin Target
|
||||||
|
|
||||||
|
# Name "test4 - Win32 Release"
|
||||||
|
# Name "test4 - Win32 Debug"
|
||||||
|
# Begin Group "Source Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\test\header\test4.cpp
|
||||||
|
# End Source File
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Header Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Resource Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||||
|
# End Group
|
||||||
|
# End Target
|
||||||
|
# End Project
|
100
make/vc6/test/test5.dsp
Normal file
100
make/vc6/test/test5.dsp
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
# Microsoft Developer Studio Project File - Name="test5" - Package Owner=<4>
|
||||||
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||||
|
# ** DO NOT EDIT **
|
||||||
|
|
||||||
|
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||||||
|
|
||||||
|
CFG=test5 - Win32 Debug
|
||||||
|
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||||
|
!MESSAGE use the Export Makefile command and run
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test5.mak".
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE You can specify a configuration when running NMAKE
|
||||||
|
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test5.mak" CFG="test5 - Win32 Debug"
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE Possible choices for configuration are:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE "test5 - Win32 Release" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test5 - Win32 Debug" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE
|
||||||
|
|
||||||
|
# Begin Project
|
||||||
|
# PROP AllowPerConfigDependencies 0
|
||||||
|
# PROP Scc_ProjName ""
|
||||||
|
# PROP Scc_LocalPath ""
|
||||||
|
CPP=xicl6.exe
|
||||||
|
RSC=rc.exe
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "test5 - Win32 Release"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
|
# PROP BASE Output_Dir "Release"
|
||||||
|
# PROP BASE Intermediate_Dir "Release"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 0
|
||||||
|
# PROP Output_Dir "Release"
|
||||||
|
# PROP Intermediate_Dir "Release"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../../src" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "NDEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "NDEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=xilink6.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test5 - Win32 Debug"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
|
# PROP BASE Output_Dir "Debug"
|
||||||
|
# PROP BASE Intermediate_Dir "Debug"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 1
|
||||||
|
# PROP Output_Dir "Debug"
|
||||||
|
# PROP Intermediate_Dir "Debug"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "../../../src" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "_DEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "_DEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=xilink6.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# Begin Target
|
||||||
|
|
||||||
|
# Name "test5 - Win32 Release"
|
||||||
|
# Name "test5 - Win32 Debug"
|
||||||
|
# Begin Group "Source Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\test\utf8\test5.cpp
|
||||||
|
# End Source File
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Header Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Resource Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||||
|
# End Group
|
||||||
|
# End Target
|
||||||
|
# End Project
|
101
make/vc6/test/test6.dsp
Normal file
101
make/vc6/test/test6.dsp
Normal file
@ -0,0 +1,101 @@
|
|||||||
|
# Microsoft Developer Studio Project File - Name="test6" - Package Owner=<4>
|
||||||
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||||
|
# ** DO NOT EDIT **
|
||||||
|
|
||||||
|
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||||||
|
|
||||||
|
CFG=test6 - Win32 Debug
|
||||||
|
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||||
|
!MESSAGE use the Export Makefile command and run
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test6.mak".
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE You can specify a configuration when running NMAKE
|
||||||
|
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test6.mak" CFG="test6 - Win32 Debug"
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE Possible choices for configuration are:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE "test6 - Win32 Release" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test6 - Win32 Debug" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE
|
||||||
|
|
||||||
|
# Begin Project
|
||||||
|
# PROP AllowPerConfigDependencies 0
|
||||||
|
# PROP Scc_ProjName ""
|
||||||
|
# PROP Scc_LocalPath ""
|
||||||
|
CPP=cl.exe
|
||||||
|
RSC=rc.exe
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "test6 - Win32 Release"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
|
# PROP BASE Output_Dir "Release"
|
||||||
|
# PROP BASE Intermediate_Dir "Release"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 0
|
||||||
|
# PROP Output_Dir "Release"
|
||||||
|
# PROP Intermediate_Dir "Release"
|
||||||
|
# PROP Ignore_Export_Lib 0
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../.." /I "../../../../libebml" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "NDEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "NDEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test6 - Win32 Debug"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
|
# PROP BASE Output_Dir "Debug"
|
||||||
|
# PROP BASE Intermediate_Dir "Debug"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 1
|
||||||
|
# PROP Output_Dir "Debug"
|
||||||
|
# PROP Intermediate_Dir "Debug"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD CPP /nologo /MTd /W3 /Gm /GR /GX /ZI /Od /I "../../.." /I "../../../../libebml" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "_DEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "_DEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# Begin Target
|
||||||
|
|
||||||
|
# Name "test6 - Win32 Release"
|
||||||
|
# Name "test6 - Win32 Debug"
|
||||||
|
# Begin Group "Source Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\test\mux\test6.cpp
|
||||||
|
# End Source File
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Header Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Resource Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||||
|
# End Group
|
||||||
|
# End Target
|
||||||
|
# End Project
|
100
make/vc6/test/test6c.dsp
Normal file
100
make/vc6/test/test6c.dsp
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
# Microsoft Developer Studio Project File - Name="test6c" - Package Owner=<4>
|
||||||
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||||
|
# ** DO NOT EDIT **
|
||||||
|
|
||||||
|
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||||||
|
|
||||||
|
CFG=test6c - Win32 Debug
|
||||||
|
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||||
|
!MESSAGE use the Export Makefile command and run
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test6c.mak".
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE You can specify a configuration when running NMAKE
|
||||||
|
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test6c.mak" CFG="test6c - Win32 Debug"
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE Possible choices for configuration are:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE "test6c - Win32 Release" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test6c - Win32 Debug" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE
|
||||||
|
|
||||||
|
# Begin Project
|
||||||
|
# PROP AllowPerConfigDependencies 0
|
||||||
|
# PROP Scc_ProjName ""
|
||||||
|
# PROP Scc_LocalPath ""
|
||||||
|
CPP=xicl6.exe
|
||||||
|
RSC=rc.exe
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "test6c - Win32 Release"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
|
# PROP BASE Output_Dir "Release"
|
||||||
|
# PROP BASE Intermediate_Dir "Release"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 0
|
||||||
|
# PROP Output_Dir "Release"
|
||||||
|
# PROP Intermediate_Dir "Release"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD CPP /nologo /W3 /GX /O2 /I "../../../src/api/c" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "NDEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "NDEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=xilink6.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test6c - Win32 Debug"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
|
# PROP BASE Output_Dir "Debug"
|
||||||
|
# PROP BASE Intermediate_Dir "Debug"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 1
|
||||||
|
# PROP Output_Dir "Debug"
|
||||||
|
# PROP Intermediate_Dir "Debug"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../src/api/c" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "_DEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "_DEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=xilink6.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# Begin Target
|
||||||
|
|
||||||
|
# Name "test6c - Win32 Release"
|
||||||
|
# Name "test6c - Win32 Debug"
|
||||||
|
# Begin Group "Source Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE="..\..\..\test\mux\test6.c"
|
||||||
|
# End Source File
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Header Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Resource Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||||
|
# End Group
|
||||||
|
# End Target
|
||||||
|
# End Project
|
100
make/vc6/test/test7.dsp
Normal file
100
make/vc6/test/test7.dsp
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
# Microsoft Developer Studio Project File - Name="test7" - Package Owner=<4>
|
||||||
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||||
|
# ** DO NOT EDIT **
|
||||||
|
|
||||||
|
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||||||
|
|
||||||
|
CFG=test7 - Win32 Debug
|
||||||
|
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||||
|
!MESSAGE use the Export Makefile command and run
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test7.mak".
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE You can specify a configuration when running NMAKE
|
||||||
|
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test7.mak" CFG="test7 - Win32 Debug"
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE Possible choices for configuration are:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE "test7 - Win32 Release" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test7 - Win32 Debug" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE
|
||||||
|
|
||||||
|
# Begin Project
|
||||||
|
# PROP AllowPerConfigDependencies 0
|
||||||
|
# PROP Scc_ProjName ""
|
||||||
|
# PROP Scc_LocalPath ""
|
||||||
|
CPP=xicl6.exe
|
||||||
|
RSC=rc.exe
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "test7 - Win32 Release"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
|
# PROP BASE Output_Dir "Release"
|
||||||
|
# PROP BASE Intermediate_Dir "Release"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 0
|
||||||
|
# PROP Output_Dir "Release"
|
||||||
|
# PROP Intermediate_Dir "Release"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../../src" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "NDEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "NDEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=xilink6.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test7 - Win32 Debug"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
|
# PROP BASE Output_Dir "Debug"
|
||||||
|
# PROP BASE Intermediate_Dir "Debug"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 1
|
||||||
|
# PROP Output_Dir "Debug"
|
||||||
|
# PROP Intermediate_Dir "Debug"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "../../../src" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "_DEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "_DEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=xilink6.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# Begin Target
|
||||||
|
|
||||||
|
# Name "test7 - Win32 Release"
|
||||||
|
# Name "test7 - Win32 Debug"
|
||||||
|
# Begin Group "Source Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\test\mux\test7.cpp
|
||||||
|
# End Source File
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Header Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Resource Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||||
|
# End Group
|
||||||
|
# End Target
|
||||||
|
# End Project
|
100
make/vc6/test/test8.dsp
Normal file
100
make/vc6/test/test8.dsp
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
# Microsoft Developer Studio Project File - Name="test8" - Package Owner=<4>
|
||||||
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||||
|
# ** DO NOT EDIT **
|
||||||
|
|
||||||
|
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||||||
|
|
||||||
|
CFG=test8 - Win32 Debug
|
||||||
|
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||||
|
!MESSAGE use the Export Makefile command and run
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test8.mak".
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE You can specify a configuration when running NMAKE
|
||||||
|
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test8.mak" CFG="test8 - Win32 Debug"
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE Possible choices for configuration are:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE "test8 - Win32 Release" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test8 - Win32 Debug" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE
|
||||||
|
|
||||||
|
# Begin Project
|
||||||
|
# PROP AllowPerConfigDependencies 0
|
||||||
|
# PROP Scc_ProjName ""
|
||||||
|
# PROP Scc_LocalPath ""
|
||||||
|
CPP=cl.exe
|
||||||
|
RSC=rc.exe
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "test8 - Win32 Release"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
|
# PROP BASE Output_Dir "Release"
|
||||||
|
# PROP BASE Intermediate_Dir "Release"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 0
|
||||||
|
# PROP Output_Dir "Release"
|
||||||
|
# PROP Intermediate_Dir "Release"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../.." /I "../../../../libebml" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "NDEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "NDEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test8 - Win32 Debug"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
|
# PROP BASE Output_Dir "Debug"
|
||||||
|
# PROP BASE Intermediate_Dir "Debug"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 1
|
||||||
|
# PROP Output_Dir "Debug"
|
||||||
|
# PROP Intermediate_Dir "Debug"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD CPP /nologo /MTd /W3 /Gm /GR /GX /ZI /Od /I "../../.." /I "../../../../libebml" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "_DEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "_DEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# Begin Target
|
||||||
|
|
||||||
|
# Name "test8 - Win32 Release"
|
||||||
|
# Name "test8 - Win32 Debug"
|
||||||
|
# Begin Group "Source Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\test\mux\test8.cpp
|
||||||
|
# End Source File
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Header Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Resource Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||||
|
# End Group
|
||||||
|
# End Target
|
||||||
|
# End Project
|
100
make/vc6/test/test8c.dsp
Normal file
100
make/vc6/test/test8c.dsp
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
# Microsoft Developer Studio Project File - Name="test8c" - Package Owner=<4>
|
||||||
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||||
|
# ** DO NOT EDIT **
|
||||||
|
|
||||||
|
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||||||
|
|
||||||
|
CFG=test8c - Win32 Debug
|
||||||
|
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||||
|
!MESSAGE use the Export Makefile command and run
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test8c.mak".
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE You can specify a configuration when running NMAKE
|
||||||
|
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test8c.mak" CFG="test8c - Win32 Debug"
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE Possible choices for configuration are:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE "test8c - Win32 Release" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test8c - Win32 Debug" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE
|
||||||
|
|
||||||
|
# Begin Project
|
||||||
|
# PROP AllowPerConfigDependencies 0
|
||||||
|
# PROP Scc_ProjName ""
|
||||||
|
# PROP Scc_LocalPath ""
|
||||||
|
CPP=xicl6.exe
|
||||||
|
RSC=rc.exe
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "test8c - Win32 Release"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
|
# PROP BASE Output_Dir "Release"
|
||||||
|
# PROP BASE Intermediate_Dir "Release"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 0
|
||||||
|
# PROP Output_Dir "Release"
|
||||||
|
# PROP Intermediate_Dir "Release"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD CPP /nologo /W3 /GX /O2 /I "../../../src/api/c" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "NDEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "NDEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=xilink6.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test8c - Win32 Debug"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
|
# PROP BASE Output_Dir "Debug"
|
||||||
|
# PROP BASE Intermediate_Dir "Debug"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 1
|
||||||
|
# PROP Output_Dir "Debug"
|
||||||
|
# PROP Intermediate_Dir "Debug"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../src/api/c" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "_DEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "_DEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=xilink6.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# Begin Target
|
||||||
|
|
||||||
|
# Name "test8c - Win32 Release"
|
||||||
|
# Name "test8c - Win32 Debug"
|
||||||
|
# Begin Group "Source Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE="..\..\..\test\mux\test8.c"
|
||||||
|
# End Source File
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Header Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Resource Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||||
|
# End Group
|
||||||
|
# End Target
|
||||||
|
# End Project
|
100
make/vc6/test/test9.dsp
Normal file
100
make/vc6/test/test9.dsp
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
# Microsoft Developer Studio Project File - Name="test9" - Package Owner=<4>
|
||||||
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||||
|
# ** DO NOT EDIT **
|
||||||
|
|
||||||
|
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||||||
|
|
||||||
|
CFG=test9 - Win32 Debug
|
||||||
|
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||||
|
!MESSAGE use the Export Makefile command and run
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test9.mak".
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE You can specify a configuration when running NMAKE
|
||||||
|
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test9.mak" CFG="test9 - Win32 Debug"
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE Possible choices for configuration are:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE "test9 - Win32 Release" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test9 - Win32 Debug" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE
|
||||||
|
|
||||||
|
# Begin Project
|
||||||
|
# PROP AllowPerConfigDependencies 0
|
||||||
|
# PROP Scc_ProjName ""
|
||||||
|
# PROP Scc_LocalPath ""
|
||||||
|
CPP=cl.exe
|
||||||
|
RSC=rc.exe
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "test9 - Win32 Release"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
|
# PROP BASE Output_Dir "Release"
|
||||||
|
# PROP BASE Intermediate_Dir "Release"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 0
|
||||||
|
# PROP Output_Dir "Release"
|
||||||
|
# PROP Intermediate_Dir "Release"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../.." /I "../../../../libebml" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "NDEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "NDEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test9 - Win32 Debug"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
|
# PROP BASE Output_Dir "Debug"
|
||||||
|
# PROP BASE Intermediate_Dir "Debug"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 1
|
||||||
|
# PROP Output_Dir "Debug"
|
||||||
|
# PROP Intermediate_Dir "Debug"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD CPP /nologo /MTd /W3 /Gm /GR /GX /ZI /Od /I "../../.." /I "../../../../libebml" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||||
|
# ADD BASE RSC /l 0x40c /d "_DEBUG"
|
||||||
|
# ADD RSC /l 0x40c /d "_DEBUG"
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# Begin Target
|
||||||
|
|
||||||
|
# Name "test9 - Win32 Release"
|
||||||
|
# Name "test9 - Win32 Debug"
|
||||||
|
# Begin Group "Source Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\test\tags\test9.cpp
|
||||||
|
# End Source File
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Header Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||||
|
# End Group
|
||||||
|
# Begin Group "Resource Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||||
|
# End Group
|
||||||
|
# End Target
|
||||||
|
# End Project
|
134
make/vc6/vc6.dsw
Normal file
134
make/vc6/vc6.dsw
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
Microsoft Developer Studio Workspace File, Format Version 6.00
|
||||||
|
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
Project: "libebml"=..\..\..\libebml\make\vc6\lib\static\libebml.dsp - Package Owner=<4>
|
||||||
|
|
||||||
|
Package=<5>
|
||||||
|
{{{
|
||||||
|
}}}
|
||||||
|
|
||||||
|
Package=<4>
|
||||||
|
{{{
|
||||||
|
}}}
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
Project: "libmatroska"=.\lib\static\libmatroska.dsp - Package Owner=<4>
|
||||||
|
|
||||||
|
Package=<5>
|
||||||
|
{{{
|
||||||
|
}}}
|
||||||
|
|
||||||
|
Package=<4>
|
||||||
|
{{{
|
||||||
|
Begin Project Dependency
|
||||||
|
Project_Dep_Name libebml
|
||||||
|
End Project Dependency
|
||||||
|
}}}
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
Project: "test0"=test\test0.dsp - Package Owner=<4>
|
||||||
|
|
||||||
|
Package=<5>
|
||||||
|
{{{
|
||||||
|
}}}
|
||||||
|
|
||||||
|
Package=<4>
|
||||||
|
{{{
|
||||||
|
Begin Project Dependency
|
||||||
|
Project_Dep_Name libebml
|
||||||
|
End Project Dependency
|
||||||
|
Begin Project Dependency
|
||||||
|
Project_Dep_Name libmatroska
|
||||||
|
End Project Dependency
|
||||||
|
}}}
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
Project: "test00"=test\test00.dsp - Package Owner=<4>
|
||||||
|
|
||||||
|
Package=<5>
|
||||||
|
{{{
|
||||||
|
}}}
|
||||||
|
|
||||||
|
Package=<4>
|
||||||
|
{{{
|
||||||
|
Begin Project Dependency
|
||||||
|
Project_Dep_Name libebml
|
||||||
|
End Project Dependency
|
||||||
|
Begin Project Dependency
|
||||||
|
Project_Dep_Name libmatroska
|
||||||
|
End Project Dependency
|
||||||
|
}}}
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
Project: "test6"=test\test6.dsp - Package Owner=<4>
|
||||||
|
|
||||||
|
Package=<5>
|
||||||
|
{{{
|
||||||
|
}}}
|
||||||
|
|
||||||
|
Package=<4>
|
||||||
|
{{{
|
||||||
|
Begin Project Dependency
|
||||||
|
Project_Dep_Name libebml
|
||||||
|
End Project Dependency
|
||||||
|
Begin Project Dependency
|
||||||
|
Project_Dep_Name libmatroska
|
||||||
|
End Project Dependency
|
||||||
|
}}}
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
Project: "test8"=test\test8.dsp - Package Owner=<4>
|
||||||
|
|
||||||
|
Package=<5>
|
||||||
|
{{{
|
||||||
|
}}}
|
||||||
|
|
||||||
|
Package=<4>
|
||||||
|
{{{
|
||||||
|
Begin Project Dependency
|
||||||
|
Project_Dep_Name libebml
|
||||||
|
End Project Dependency
|
||||||
|
Begin Project Dependency
|
||||||
|
Project_Dep_Name libmatroska
|
||||||
|
End Project Dependency
|
||||||
|
}}}
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
Project: "test9"=test\test9.dsp - Package Owner=<4>
|
||||||
|
|
||||||
|
Package=<5>
|
||||||
|
{{{
|
||||||
|
}}}
|
||||||
|
|
||||||
|
Package=<4>
|
||||||
|
{{{
|
||||||
|
Begin Project Dependency
|
||||||
|
Project_Dep_Name libebml
|
||||||
|
End Project Dependency
|
||||||
|
Begin Project Dependency
|
||||||
|
Project_Dep_Name libmatroska
|
||||||
|
End Project Dependency
|
||||||
|
}}}
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
Global:
|
||||||
|
|
||||||
|
Package=<5>
|
||||||
|
{{{
|
||||||
|
}}}
|
||||||
|
|
||||||
|
Package=<3>
|
||||||
|
{{{
|
||||||
|
}}}
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
|
60
make/vc7/Makefile
Normal file
60
make/vc7/Makefile
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
# Project: libmatroska
|
||||||
|
# Makefile to use the Free Visual C++ 2003 compiler from Microsoft with GNU Make
|
||||||
|
|
||||||
|
# Compile with debug information?
|
||||||
|
#DEBUG = yes
|
||||||
|
|
||||||
|
# Where libebml resides
|
||||||
|
EBML_DIR = ../../../libebml
|
||||||
|
|
||||||
|
#
|
||||||
|
# Don't change anything below this line.
|
||||||
|
#
|
||||||
|
CXX = cl /Tp
|
||||||
|
CC = cl /Tc
|
||||||
|
SRC = $(wildcard ../../src/*.cpp)
|
||||||
|
OBJ = $(patsubst %.cpp,%.obj,$(SRC))
|
||||||
|
INCS = /I../.. /I$(EBML_DIR)
|
||||||
|
LDFLAGS = /NOLOGO /DLL /MAP:libmatroska.map /LIBPATH:$(EBML_DIR)/make/vc7 /VERSION:0.7
|
||||||
|
OPTMIZ = /G6 /O2 /Oi /GL /Wp64
|
||||||
|
CXXFLAGS = $(INCS) /DWIN32 /nologo /DEBML_DLL
|
||||||
|
|
||||||
|
|
||||||
|
ifeq (yes,$(DEBUG))
|
||||||
|
CXXFLAGS += /Zi /DDEBUG /D_DEBUG /MTd /RTC1
|
||||||
|
LDFLAGS += /DEBUG
|
||||||
|
else
|
||||||
|
CXXFLAGS += /MT
|
||||||
|
LDFLAGS += /OPT:REF
|
||||||
|
endif
|
||||||
|
|
||||||
|
LIBS = libmatroska.dll
|
||||||
|
|
||||||
|
.PHONY: all all-before all-after clean clean-custom
|
||||||
|
|
||||||
|
%.obj : %.cpp
|
||||||
|
$(CXX) $< /c $(CXXFLAGS) /Fo$@
|
||||||
|
|
||||||
|
all: lib
|
||||||
|
|
||||||
|
lib: $(LIBS)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
$(RM) $(OBJ) libmatroska.lib libmatroska.dll
|
||||||
|
|
||||||
|
libmatroska.lib: $(OBJ)
|
||||||
|
lib /OUT:$@ /NODEFAULTLIB $(OBJ)
|
||||||
|
|
||||||
|
libmatroska.dll: $(OBJ)
|
||||||
|
link $(LDFLAGS) /OUT:$@ $(OBJ) libebml.lib
|
||||||
|
# user32.lib
|
||||||
|
|
||||||
|
depend:
|
||||||
|
$(CXX) $(CXXFLAGS) -MM $(SRC) > .depend
|
||||||
|
|
||||||
|
#
|
||||||
|
# include dependency files if they exist
|
||||||
|
#
|
||||||
|
ifneq ($(wildcard .depend),)
|
||||||
|
include .depend
|
||||||
|
endif
|
271
make/vc7/lib/dll/libmatroskadll.v71.vcproj
Normal file
271
make/vc7/lib/dll/libmatroskadll.v71.vcproj
Normal file
@ -0,0 +1,271 @@
|
|||||||
|
<?xml version="1.0" encoding="Windows-1252"?>
|
||||||
|
<VisualStudioProject
|
||||||
|
ProjectType="Visual C++"
|
||||||
|
Version="7.10"
|
||||||
|
Name="libmatroskadll"
|
||||||
|
ProjectGUID="{B227AC03-C69E-46B1-B91E-A77BE4C6F83A}"
|
||||||
|
Keyword="Win32Proj">
|
||||||
|
<Platforms>
|
||||||
|
<Platform
|
||||||
|
Name="Win32"/>
|
||||||
|
</Platforms>
|
||||||
|
<Configurations>
|
||||||
|
<Configuration
|
||||||
|
Name="Debug|Win32"
|
||||||
|
OutputDirectory="Debug"
|
||||||
|
IntermediateDirectory="Debug"
|
||||||
|
ConfigurationType="2"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
Optimization="0"
|
||||||
|
AdditionalIncludeDirectories="../../../../../libebml;../../../.."
|
||||||
|
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;EBML_DLL;MATROSKA_DLL;MATROSKA_DLL_EXPORT"
|
||||||
|
MinimalRebuild="TRUE"
|
||||||
|
BasicRuntimeChecks="3"
|
||||||
|
RuntimeLibrary="1"
|
||||||
|
UsePrecompiledHeader="0"
|
||||||
|
WarningLevel="3"
|
||||||
|
Detect64BitPortabilityProblems="TRUE"
|
||||||
|
DebugInformationFormat="4"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
OutputFile="$(OutDir)/libmatroska.dll"
|
||||||
|
LinkIncremental="2"
|
||||||
|
GenerateDebugInformation="TRUE"
|
||||||
|
ProgramDatabaseFile="$(OutDir)/libmatroska.pdb"
|
||||||
|
SubSystem="2"
|
||||||
|
ImportLibrary="$(OutDir)/libmatroska.lib"
|
||||||
|
TargetMachine="1"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCXMLDataGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebDeploymentTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCManagedWrapperGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||||
|
</Configuration>
|
||||||
|
<Configuration
|
||||||
|
Name="Release|Win32"
|
||||||
|
OutputDirectory="Release"
|
||||||
|
IntermediateDirectory="Release"
|
||||||
|
ConfigurationType="2"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalIncludeDirectories="../../../../../libebml;../../../.."
|
||||||
|
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;EBML_DLL;MATROSKA_DLL;MATROSKA_DLL_EXPORT"
|
||||||
|
RuntimeLibrary="0"
|
||||||
|
UsePrecompiledHeader="0"
|
||||||
|
WarningLevel="3"
|
||||||
|
Detect64BitPortabilityProblems="TRUE"
|
||||||
|
DebugInformationFormat="3"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
OutputFile="$(OutDir)/libmatroska.dll"
|
||||||
|
LinkIncremental="1"
|
||||||
|
GenerateDebugInformation="TRUE"
|
||||||
|
SubSystem="2"
|
||||||
|
OptimizeReferences="2"
|
||||||
|
EnableCOMDATFolding="2"
|
||||||
|
ImportLibrary="$(OutDir)/libmatroska.lib"
|
||||||
|
TargetMachine="1"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCXMLDataGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebDeploymentTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCManagedWrapperGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||||
|
</Configuration>
|
||||||
|
</Configurations>
|
||||||
|
<References>
|
||||||
|
</References>
|
||||||
|
<Files>
|
||||||
|
<Filter
|
||||||
|
Name="Source Files"
|
||||||
|
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||||
|
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxAttached.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxAttachments.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxBlock.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxBlockData.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxChapters.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxCluster.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxClusterData.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxContentEncoding.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxContexts.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxCues.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxCuesData.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxInfo.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxInfoData.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxSeekHead.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxSegment.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxTag.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxTags.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxTrackAudio.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxTrackEntryData.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxTracks.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxTrackVideo.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxVersion.cpp">
|
||||||
|
</File>
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Header Files"
|
||||||
|
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||||
|
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxAttached.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxAttachments.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxBlock.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxBlockData.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxChapters.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxCluster.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxClusterData.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxConfig.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxContentEncoding.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxContexts.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxCues.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxCuesData.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxInfo.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxInfoData.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxSeekHead.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxSegment.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxTag.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxTags.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxTrackAudio.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxTrackEntryData.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxTracks.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxTrackVideo.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxTypes.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxVersion.h">
|
||||||
|
</File>
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Resource Files"
|
||||||
|
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
|
||||||
|
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
|
||||||
|
</Filter>
|
||||||
|
</Files>
|
||||||
|
<Globals>
|
||||||
|
</Globals>
|
||||||
|
</VisualStudioProject>
|
277
make/vc7/lib/static/libmatroska.v71.vcproj
Normal file
277
make/vc7/lib/static/libmatroska.v71.vcproj
Normal file
@ -0,0 +1,277 @@
|
|||||||
|
<?xml version="1.0" encoding="Windows-1252"?>
|
||||||
|
<VisualStudioProject
|
||||||
|
ProjectType="Visual C++"
|
||||||
|
Version="7.10"
|
||||||
|
Name="libmatroska"
|
||||||
|
SccProjectName=""
|
||||||
|
SccLocalPath="">
|
||||||
|
<Platforms>
|
||||||
|
<Platform
|
||||||
|
Name="Win32"/>
|
||||||
|
</Platforms>
|
||||||
|
<Configurations>
|
||||||
|
<Configuration
|
||||||
|
Name="Release|Win32"
|
||||||
|
OutputDirectory=".\Release"
|
||||||
|
IntermediateDirectory=".\Release"
|
||||||
|
ConfigurationType="4"
|
||||||
|
UseOfMFC="0"
|
||||||
|
ATLMinimizesCRunTimeLibraryUsage="FALSE"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
InlineFunctionExpansion="1"
|
||||||
|
AdditionalIncludeDirectories="../../../../../libebml;../../../.."
|
||||||
|
PreprocessorDefinitions="WIN32,NDEBUG,_LIB"
|
||||||
|
StringPooling="TRUE"
|
||||||
|
RuntimeLibrary="0"
|
||||||
|
EnableFunctionLevelLinking="TRUE"
|
||||||
|
UsePrecompiledHeader="2"
|
||||||
|
PrecompiledHeaderFile=".\Release/libmatroska.pch"
|
||||||
|
AssemblerListingLocation=".\Release/"
|
||||||
|
ObjectFile=".\Release/"
|
||||||
|
ProgramDataBaseFileName=".\Release/"
|
||||||
|
WarningLevel="3"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
CompileAs="0"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLibrarianTool"
|
||||||
|
OutputFile=".\Release\libmatroska.lib"
|
||||||
|
SuppressStartupBanner="TRUE"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"
|
||||||
|
PreprocessorDefinitions="NDEBUG"
|
||||||
|
Culture="2057"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCXMLDataGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCManagedWrapperGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||||
|
</Configuration>
|
||||||
|
<Configuration
|
||||||
|
Name="Debug|Win32"
|
||||||
|
OutputDirectory=".\Debug"
|
||||||
|
IntermediateDirectory=".\Debug"
|
||||||
|
ConfigurationType="4"
|
||||||
|
UseOfMFC="0"
|
||||||
|
ATLMinimizesCRunTimeLibraryUsage="FALSE"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
Optimization="0"
|
||||||
|
AdditionalIncludeDirectories="../../../../../libebml;../../../.."
|
||||||
|
PreprocessorDefinitions="WIN32,_DEBUG,_LIB"
|
||||||
|
BasicRuntimeChecks="3"
|
||||||
|
RuntimeLibrary="1"
|
||||||
|
UsePrecompiledHeader="2"
|
||||||
|
PrecompiledHeaderFile=".\Debug/libmatroska.pch"
|
||||||
|
AssemblerListingLocation=".\Debug/"
|
||||||
|
ObjectFile=".\Debug/"
|
||||||
|
ProgramDataBaseFileName=".\Debug/"
|
||||||
|
WarningLevel="3"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
DebugInformationFormat="4"
|
||||||
|
CompileAs="0"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLibrarianTool"
|
||||||
|
OutputFile=".\Debug\libmatroska.lib"
|
||||||
|
SuppressStartupBanner="TRUE"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"
|
||||||
|
PreprocessorDefinitions="_DEBUG"
|
||||||
|
Culture="2057"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCXMLDataGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCManagedWrapperGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||||
|
</Configuration>
|
||||||
|
</Configurations>
|
||||||
|
<References>
|
||||||
|
</References>
|
||||||
|
<Files>
|
||||||
|
<Filter
|
||||||
|
Name="Source Files"
|
||||||
|
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\FileKax.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxAttached.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxAttachments.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxBlock.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxBlockData.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxChapters.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxCluster.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxClusterData.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxContentEncoding.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxContexts.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxCues.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxCuesData.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxInfo.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxInfoData.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxSeekHead.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxSegment.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxTag.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxTags.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxTrackAudio.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxTrackEntryData.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxTracks.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxTrackVideo.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxVersion.cpp">
|
||||||
|
</File>
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Header Files"
|
||||||
|
Filter="h;hpp;hxx;hm;inl">
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\FileKax.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxAttached.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxAttachments.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxBlock.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxBlockData.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxChapters.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxCluster.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxClusterData.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxConfig.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxContentEncoding.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxContexts.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxCues.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxCuesData.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxInfo.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxInfoData.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxSeekHead.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxSegment.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxTag.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxTags.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxTrackAudio.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxTrackEntryData.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxTracks.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxTrackVideo.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxTypes.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxVersion.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\StdInclude.h">
|
||||||
|
</File>
|
||||||
|
</Filter>
|
||||||
|
</Files>
|
||||||
|
<Globals>
|
||||||
|
</Globals>
|
||||||
|
</VisualStudioProject>
|
263
make/vc7/lib/static/libmatroska.vcproj
Normal file
263
make/vc7/lib/static/libmatroska.vcproj
Normal file
@ -0,0 +1,263 @@
|
|||||||
|
<?xml version="1.0" encoding = "Windows-1252"?>
|
||||||
|
<VisualStudioProject
|
||||||
|
ProjectType="Visual C++"
|
||||||
|
Version="7.00"
|
||||||
|
Name="libmatroska"
|
||||||
|
SccProjectName=""
|
||||||
|
SccLocalPath="">
|
||||||
|
<Platforms>
|
||||||
|
<Platform
|
||||||
|
Name="Win32"/>
|
||||||
|
</Platforms>
|
||||||
|
<Configurations>
|
||||||
|
<Configuration
|
||||||
|
Name="Release|Win32"
|
||||||
|
OutputDirectory=".\Release"
|
||||||
|
IntermediateDirectory=".\Release"
|
||||||
|
ConfigurationType="4"
|
||||||
|
UseOfMFC="0"
|
||||||
|
ATLMinimizesCRunTimeLibraryUsage="FALSE"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
InlineFunctionExpansion="1"
|
||||||
|
AdditionalIncludeDirectories="../../../../../libebml;../../../.."
|
||||||
|
PreprocessorDefinitions="WIN32,NDEBUG,_LIB"
|
||||||
|
StringPooling="TRUE"
|
||||||
|
RuntimeLibrary="0"
|
||||||
|
EnableFunctionLevelLinking="TRUE"
|
||||||
|
UsePrecompiledHeader="2"
|
||||||
|
PrecompiledHeaderFile=".\Release/libmatroska.pch"
|
||||||
|
AssemblerListingLocation=".\Release/"
|
||||||
|
ObjectFile=".\Release/"
|
||||||
|
ProgramDataBaseFileName=".\Release/"
|
||||||
|
WarningLevel="3"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
CompileAs="0"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLibrarianTool"
|
||||||
|
OutputFile=".\Release\libmatroska.lib"
|
||||||
|
SuppressStartupBanner="TRUE"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"
|
||||||
|
PreprocessorDefinitions="NDEBUG"
|
||||||
|
Culture="2057"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
</Configuration>
|
||||||
|
<Configuration
|
||||||
|
Name="Debug|Win32"
|
||||||
|
OutputDirectory=".\Debug"
|
||||||
|
IntermediateDirectory=".\Debug"
|
||||||
|
ConfigurationType="4"
|
||||||
|
UseOfMFC="0"
|
||||||
|
ATLMinimizesCRunTimeLibraryUsage="FALSE"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
Optimization="0"
|
||||||
|
AdditionalIncludeDirectories="../../../../../libebml;../../../.."
|
||||||
|
PreprocessorDefinitions="WIN32,_DEBUG,_LIB"
|
||||||
|
BasicRuntimeChecks="3"
|
||||||
|
RuntimeLibrary="1"
|
||||||
|
UsePrecompiledHeader="2"
|
||||||
|
PrecompiledHeaderFile=".\Debug/libmatroska.pch"
|
||||||
|
AssemblerListingLocation=".\Debug/"
|
||||||
|
ObjectFile=".\Debug/"
|
||||||
|
ProgramDataBaseFileName=".\Debug/"
|
||||||
|
WarningLevel="3"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
DebugInformationFormat="4"
|
||||||
|
CompileAs="0"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLibrarianTool"
|
||||||
|
OutputFile=".\Debug\libmatroska.lib"
|
||||||
|
SuppressStartupBanner="TRUE"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"
|
||||||
|
PreprocessorDefinitions="_DEBUG"
|
||||||
|
Culture="2057"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
</Configuration>
|
||||||
|
</Configurations>
|
||||||
|
<Files>
|
||||||
|
<Filter
|
||||||
|
Name="Source Files"
|
||||||
|
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\FileKax.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxAttached.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxAttachments.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxBlock.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxBlockData.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxChapters.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxCluster.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxClusterData.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxContentEncoding.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxContexts.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxCues.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxCuesData.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxInfo.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxInfoData.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxSeekHead.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxSegment.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxTag.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxTags.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxTrackAudio.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxTrackEntryData.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxTrackVideo.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxTracks.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\src\KaxVersion.cpp">
|
||||||
|
</File>
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Header Files"
|
||||||
|
Filter="h;hpp;hxx;hm;inl">
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\FileKax.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxAttached.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxAttachments.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxBlock.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxBlockData.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxChapters.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxCluster.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxClusterData.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxConfig.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxContentEncoding.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxContexts.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxCues.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxCuesData.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxInfo.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxInfoData.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxSeekHead.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxSegment.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxTag.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxTags.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxTrackAudio.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxTrackEntryData.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxTrackVideo.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxTracks.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxTypes.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\KaxVersion.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\..\matroska\StdInclude.h">
|
||||||
|
</File>
|
||||||
|
</Filter>
|
||||||
|
</Files>
|
||||||
|
<Globals>
|
||||||
|
</Globals>
|
||||||
|
</VisualStudioProject>
|
143
make/vc7/test/test0.vcproj
Normal file
143
make/vc7/test/test0.vcproj
Normal file
@ -0,0 +1,143 @@
|
|||||||
|
<?xml version="1.0" encoding = "Windows-1252"?>
|
||||||
|
<VisualStudioProject
|
||||||
|
ProjectType="Visual C++"
|
||||||
|
Version="7.00"
|
||||||
|
Name="test0"
|
||||||
|
SccProjectName=""
|
||||||
|
SccLocalPath="">
|
||||||
|
<Platforms>
|
||||||
|
<Platform
|
||||||
|
Name="Win32"/>
|
||||||
|
</Platforms>
|
||||||
|
<Configurations>
|
||||||
|
<Configuration
|
||||||
|
Name="Debug|Win32"
|
||||||
|
OutputDirectory=".\Debug"
|
||||||
|
IntermediateDirectory=".\Debug"
|
||||||
|
ConfigurationType="1"
|
||||||
|
UseOfMFC="0"
|
||||||
|
ATLMinimizesCRunTimeLibraryUsage="FALSE"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
Optimization="0"
|
||||||
|
AdditionalIncludeDirectories="../../../src,../../../../libebml/src"
|
||||||
|
PreprocessorDefinitions="WIN32,_DEBUG,_CONSOLE"
|
||||||
|
BasicRuntimeChecks="3"
|
||||||
|
RuntimeLibrary="1"
|
||||||
|
UsePrecompiledHeader="2"
|
||||||
|
PrecompiledHeaderFile=".\Debug/test0.pch"
|
||||||
|
AssemblerListingLocation=".\Debug/"
|
||||||
|
ObjectFile=".\Debug/"
|
||||||
|
ProgramDataBaseFileName=".\Debug/"
|
||||||
|
WarningLevel="3"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
DebugInformationFormat="4"
|
||||||
|
CompileAs="0"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
AdditionalOptions="/MACHINE:I386"
|
||||||
|
AdditionalDependencies="odbc32.lib odbccp32.lib"
|
||||||
|
OutputFile=".\Debug/test0.exe"
|
||||||
|
LinkIncremental="2"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
GenerateDebugInformation="TRUE"
|
||||||
|
ProgramDatabaseFile=".\Debug/test0.pdb"
|
||||||
|
SubSystem="1"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"
|
||||||
|
TypeLibraryName=".\Debug/test0.tlb"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"
|
||||||
|
PreprocessorDefinitions="_DEBUG"
|
||||||
|
Culture="1036"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebDeploymentTool"/>
|
||||||
|
</Configuration>
|
||||||
|
<Configuration
|
||||||
|
Name="Release|Win32"
|
||||||
|
OutputDirectory=".\Release"
|
||||||
|
IntermediateDirectory=".\Release"
|
||||||
|
ConfigurationType="1"
|
||||||
|
UseOfMFC="0"
|
||||||
|
ATLMinimizesCRunTimeLibraryUsage="FALSE"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
InlineFunctionExpansion="1"
|
||||||
|
AdditionalIncludeDirectories="../../../src,../../../../libebml/src"
|
||||||
|
PreprocessorDefinitions="WIN32,NDEBUG,_CONSOLE"
|
||||||
|
StringPooling="TRUE"
|
||||||
|
RuntimeLibrary="0"
|
||||||
|
EnableFunctionLevelLinking="TRUE"
|
||||||
|
UsePrecompiledHeader="2"
|
||||||
|
PrecompiledHeaderFile=".\Release/test0.pch"
|
||||||
|
AssemblerListingLocation=".\Release/"
|
||||||
|
ObjectFile=".\Release/"
|
||||||
|
ProgramDataBaseFileName=".\Release/"
|
||||||
|
WarningLevel="3"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
CompileAs="0"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
AdditionalOptions="/MACHINE:I386"
|
||||||
|
AdditionalDependencies="odbc32.lib odbccp32.lib"
|
||||||
|
OutputFile=".\Release/test0.exe"
|
||||||
|
LinkIncremental="1"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
ProgramDatabaseFile=".\Release/test0.pdb"
|
||||||
|
SubSystem="1"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"
|
||||||
|
TypeLibraryName=".\Release/test0.tlb"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"
|
||||||
|
PreprocessorDefinitions="NDEBUG"
|
||||||
|
Culture="1036"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebDeploymentTool"/>
|
||||||
|
</Configuration>
|
||||||
|
</Configurations>
|
||||||
|
<Files>
|
||||||
|
<Filter
|
||||||
|
Name="Source Files"
|
||||||
|
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\test\ebml\test0.cpp">
|
||||||
|
</File>
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Header Files"
|
||||||
|
Filter="h;hpp;hxx;hm;inl">
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Resource Files"
|
||||||
|
Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
|
||||||
|
</Filter>
|
||||||
|
</Files>
|
||||||
|
<Globals>
|
||||||
|
<Global
|
||||||
|
Name="DevPartner_IsInstrumented"
|
||||||
|
Value="0"/>
|
||||||
|
</Globals>
|
||||||
|
</VisualStudioProject>
|
143
make/vc7/test/test00.vcproj
Normal file
143
make/vc7/test/test00.vcproj
Normal file
@ -0,0 +1,143 @@
|
|||||||
|
<?xml version="1.0" encoding = "Windows-1252"?>
|
||||||
|
<VisualStudioProject
|
||||||
|
ProjectType="Visual C++"
|
||||||
|
Version="7.00"
|
||||||
|
Name="test00"
|
||||||
|
SccProjectName=""
|
||||||
|
SccLocalPath="">
|
||||||
|
<Platforms>
|
||||||
|
<Platform
|
||||||
|
Name="Win32"/>
|
||||||
|
</Platforms>
|
||||||
|
<Configurations>
|
||||||
|
<Configuration
|
||||||
|
Name="Debug|Win32"
|
||||||
|
OutputDirectory=".\Debug"
|
||||||
|
IntermediateDirectory=".\Debug"
|
||||||
|
ConfigurationType="1"
|
||||||
|
UseOfMFC="0"
|
||||||
|
ATLMinimizesCRunTimeLibraryUsage="FALSE"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
Optimization="0"
|
||||||
|
AdditionalIncludeDirectories="../../../src,../../../../libebml/src"
|
||||||
|
PreprocessorDefinitions="WIN32,_DEBUG,_CONSOLE"
|
||||||
|
BasicRuntimeChecks="3"
|
||||||
|
RuntimeLibrary="1"
|
||||||
|
UsePrecompiledHeader="2"
|
||||||
|
PrecompiledHeaderFile=".\Debug/test00.pch"
|
||||||
|
AssemblerListingLocation=".\Debug/"
|
||||||
|
ObjectFile=".\Debug/"
|
||||||
|
ProgramDataBaseFileName=".\Debug/"
|
||||||
|
WarningLevel="3"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
DebugInformationFormat="4"
|
||||||
|
CompileAs="0"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
AdditionalOptions="/MACHINE:I386"
|
||||||
|
AdditionalDependencies="odbc32.lib odbccp32.lib"
|
||||||
|
OutputFile=".\Debug/test00.exe"
|
||||||
|
LinkIncremental="2"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
GenerateDebugInformation="TRUE"
|
||||||
|
ProgramDatabaseFile=".\Debug/test00.pdb"
|
||||||
|
SubSystem="1"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"
|
||||||
|
TypeLibraryName=".\Debug/test00.tlb"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"
|
||||||
|
PreprocessorDefinitions="_DEBUG"
|
||||||
|
Culture="1036"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebDeploymentTool"/>
|
||||||
|
</Configuration>
|
||||||
|
<Configuration
|
||||||
|
Name="Release|Win32"
|
||||||
|
OutputDirectory=".\Release"
|
||||||
|
IntermediateDirectory=".\Release"
|
||||||
|
ConfigurationType="1"
|
||||||
|
UseOfMFC="0"
|
||||||
|
ATLMinimizesCRunTimeLibraryUsage="FALSE"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
InlineFunctionExpansion="1"
|
||||||
|
AdditionalIncludeDirectories="../../../src,../../../../libebml/src"
|
||||||
|
PreprocessorDefinitions="WIN32,NDEBUG,_CONSOLE"
|
||||||
|
StringPooling="TRUE"
|
||||||
|
RuntimeLibrary="0"
|
||||||
|
EnableFunctionLevelLinking="TRUE"
|
||||||
|
UsePrecompiledHeader="2"
|
||||||
|
PrecompiledHeaderFile=".\Release/test00.pch"
|
||||||
|
AssemblerListingLocation=".\Release/"
|
||||||
|
ObjectFile=".\Release/"
|
||||||
|
ProgramDataBaseFileName=".\Release/"
|
||||||
|
WarningLevel="3"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
CompileAs="0"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
AdditionalOptions="/MACHINE:I386"
|
||||||
|
AdditionalDependencies="odbc32.lib odbccp32.lib"
|
||||||
|
OutputFile=".\Release/test00.exe"
|
||||||
|
LinkIncremental="1"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
ProgramDatabaseFile=".\Release/test00.pdb"
|
||||||
|
SubSystem="1"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"
|
||||||
|
TypeLibraryName=".\Release/test00.tlb"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"
|
||||||
|
PreprocessorDefinitions="NDEBUG"
|
||||||
|
Culture="1036"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebDeploymentTool"/>
|
||||||
|
</Configuration>
|
||||||
|
</Configurations>
|
||||||
|
<Files>
|
||||||
|
<Filter
|
||||||
|
Name="Source Files"
|
||||||
|
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\test\ebml\test00.cpp">
|
||||||
|
</File>
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Header Files"
|
||||||
|
Filter="h;hpp;hxx;hm;inl">
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Resource Files"
|
||||||
|
Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
|
||||||
|
</Filter>
|
||||||
|
</Files>
|
||||||
|
<Globals>
|
||||||
|
<Global
|
||||||
|
Name="DevPartner_IsInstrumented"
|
||||||
|
Value="0"/>
|
||||||
|
</Globals>
|
||||||
|
</VisualStudioProject>
|
140
make/vc7/test/test6.vcproj
Normal file
140
make/vc7/test/test6.vcproj
Normal file
@ -0,0 +1,140 @@
|
|||||||
|
<?xml version="1.0" encoding = "Windows-1252"?>
|
||||||
|
<VisualStudioProject
|
||||||
|
ProjectType="Visual C++"
|
||||||
|
Version="7.00"
|
||||||
|
Name="test6"
|
||||||
|
SccProjectName=""
|
||||||
|
SccLocalPath="">
|
||||||
|
<Platforms>
|
||||||
|
<Platform
|
||||||
|
Name="Win32"/>
|
||||||
|
</Platforms>
|
||||||
|
<Configurations>
|
||||||
|
<Configuration
|
||||||
|
Name="Debug|Win32"
|
||||||
|
OutputDirectory=".\Debug"
|
||||||
|
IntermediateDirectory=".\Debug"
|
||||||
|
ConfigurationType="1"
|
||||||
|
UseOfMFC="0"
|
||||||
|
ATLMinimizesCRunTimeLibraryUsage="FALSE"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
Optimization="0"
|
||||||
|
AdditionalIncludeDirectories="../../..,../../../../libebml"
|
||||||
|
PreprocessorDefinitions="WIN32,_DEBUG,_CONSOLE"
|
||||||
|
BasicRuntimeChecks="3"
|
||||||
|
RuntimeLibrary="1"
|
||||||
|
UsePrecompiledHeader="2"
|
||||||
|
PrecompiledHeaderFile=".\Debug/test6.pch"
|
||||||
|
AssemblerListingLocation=".\Debug/"
|
||||||
|
ObjectFile=".\Debug/"
|
||||||
|
ProgramDataBaseFileName=".\Debug/"
|
||||||
|
WarningLevel="3"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
DebugInformationFormat="4"
|
||||||
|
CompileAs="0"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
AdditionalOptions="/MACHINE:I386"
|
||||||
|
AdditionalDependencies="odbc32.lib odbccp32.lib"
|
||||||
|
OutputFile=".\Debug/test6.exe"
|
||||||
|
LinkIncremental="2"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
GenerateDebugInformation="TRUE"
|
||||||
|
ProgramDatabaseFile=".\Debug/test6.pdb"
|
||||||
|
SubSystem="1"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"
|
||||||
|
TypeLibraryName=".\Debug/test6.tlb"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"
|
||||||
|
PreprocessorDefinitions="_DEBUG"
|
||||||
|
Culture="1036"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebDeploymentTool"/>
|
||||||
|
</Configuration>
|
||||||
|
<Configuration
|
||||||
|
Name="Release|Win32"
|
||||||
|
OutputDirectory=".\Release"
|
||||||
|
IntermediateDirectory=".\Release"
|
||||||
|
ConfigurationType="1"
|
||||||
|
UseOfMFC="0"
|
||||||
|
ATLMinimizesCRunTimeLibraryUsage="FALSE"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
InlineFunctionExpansion="1"
|
||||||
|
AdditionalIncludeDirectories="../../..,../../../../libebml"
|
||||||
|
PreprocessorDefinitions="WIN32,NDEBUG,_CONSOLE"
|
||||||
|
StringPooling="TRUE"
|
||||||
|
RuntimeLibrary="0"
|
||||||
|
EnableFunctionLevelLinking="TRUE"
|
||||||
|
UsePrecompiledHeader="2"
|
||||||
|
PrecompiledHeaderFile=".\Release/test6.pch"
|
||||||
|
AssemblerListingLocation=".\Release/"
|
||||||
|
ObjectFile=".\Release/"
|
||||||
|
ProgramDataBaseFileName=".\Release/"
|
||||||
|
WarningLevel="3"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
CompileAs="0"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
AdditionalOptions="/MACHINE:I386"
|
||||||
|
AdditionalDependencies="odbc32.lib odbccp32.lib"
|
||||||
|
OutputFile=".\Release/test6.exe"
|
||||||
|
LinkIncremental="1"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
ProgramDatabaseFile=".\Release/test6.pdb"
|
||||||
|
SubSystem="1"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"
|
||||||
|
TypeLibraryName=".\Release/test6.tlb"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"
|
||||||
|
PreprocessorDefinitions="NDEBUG"
|
||||||
|
Culture="1036"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebDeploymentTool"/>
|
||||||
|
</Configuration>
|
||||||
|
</Configurations>
|
||||||
|
<Files>
|
||||||
|
<Filter
|
||||||
|
Name="Source Files"
|
||||||
|
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\test\mux\test6.cpp">
|
||||||
|
</File>
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Header Files"
|
||||||
|
Filter="h;hpp;hxx;hm;inl">
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Resource Files"
|
||||||
|
Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
|
||||||
|
</Filter>
|
||||||
|
</Files>
|
||||||
|
<Globals>
|
||||||
|
</Globals>
|
||||||
|
</VisualStudioProject>
|
140
make/vc7/test/test8.vcproj
Normal file
140
make/vc7/test/test8.vcproj
Normal file
@ -0,0 +1,140 @@
|
|||||||
|
<?xml version="1.0" encoding = "Windows-1252"?>
|
||||||
|
<VisualStudioProject
|
||||||
|
ProjectType="Visual C++"
|
||||||
|
Version="7.00"
|
||||||
|
Name="test8"
|
||||||
|
SccProjectName=""
|
||||||
|
SccLocalPath="">
|
||||||
|
<Platforms>
|
||||||
|
<Platform
|
||||||
|
Name="Win32"/>
|
||||||
|
</Platforms>
|
||||||
|
<Configurations>
|
||||||
|
<Configuration
|
||||||
|
Name="Release|Win32"
|
||||||
|
OutputDirectory=".\Release"
|
||||||
|
IntermediateDirectory=".\Release"
|
||||||
|
ConfigurationType="1"
|
||||||
|
UseOfMFC="0"
|
||||||
|
ATLMinimizesCRunTimeLibraryUsage="FALSE"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
InlineFunctionExpansion="1"
|
||||||
|
AdditionalIncludeDirectories="../../..,../../../../libebml"
|
||||||
|
PreprocessorDefinitions="WIN32,NDEBUG,_CONSOLE"
|
||||||
|
StringPooling="TRUE"
|
||||||
|
RuntimeLibrary="0"
|
||||||
|
EnableFunctionLevelLinking="TRUE"
|
||||||
|
UsePrecompiledHeader="2"
|
||||||
|
PrecompiledHeaderFile=".\Release/test8.pch"
|
||||||
|
AssemblerListingLocation=".\Release/"
|
||||||
|
ObjectFile=".\Release/"
|
||||||
|
ProgramDataBaseFileName=".\Release/"
|
||||||
|
WarningLevel="3"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
CompileAs="0"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
AdditionalOptions="/MACHINE:I386"
|
||||||
|
AdditionalDependencies="odbc32.lib odbccp32.lib"
|
||||||
|
OutputFile=".\Release/test8.exe"
|
||||||
|
LinkIncremental="1"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
ProgramDatabaseFile=".\Release/test8.pdb"
|
||||||
|
SubSystem="1"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"
|
||||||
|
TypeLibraryName=".\Release/test8.tlb"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"
|
||||||
|
PreprocessorDefinitions="NDEBUG"
|
||||||
|
Culture="1036"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebDeploymentTool"/>
|
||||||
|
</Configuration>
|
||||||
|
<Configuration
|
||||||
|
Name="Debug|Win32"
|
||||||
|
OutputDirectory=".\Debug"
|
||||||
|
IntermediateDirectory=".\Debug"
|
||||||
|
ConfigurationType="1"
|
||||||
|
UseOfMFC="0"
|
||||||
|
ATLMinimizesCRunTimeLibraryUsage="FALSE"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
Optimization="0"
|
||||||
|
AdditionalIncludeDirectories="../../..,../../../../libebml"
|
||||||
|
PreprocessorDefinitions="WIN32,_DEBUG,_CONSOLE"
|
||||||
|
BasicRuntimeChecks="3"
|
||||||
|
RuntimeLibrary="1"
|
||||||
|
UsePrecompiledHeader="2"
|
||||||
|
PrecompiledHeaderFile=".\Debug/test8.pch"
|
||||||
|
AssemblerListingLocation=".\Debug/"
|
||||||
|
ObjectFile=".\Debug/"
|
||||||
|
ProgramDataBaseFileName=".\Debug/"
|
||||||
|
WarningLevel="3"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
DebugInformationFormat="4"
|
||||||
|
CompileAs="0"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
AdditionalOptions="/MACHINE:I386"
|
||||||
|
AdditionalDependencies="odbc32.lib odbccp32.lib"
|
||||||
|
OutputFile=".\Debug/test8.exe"
|
||||||
|
LinkIncremental="2"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
GenerateDebugInformation="TRUE"
|
||||||
|
ProgramDatabaseFile=".\Debug/test8.pdb"
|
||||||
|
SubSystem="1"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"
|
||||||
|
TypeLibraryName=".\Debug/test8.tlb"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"
|
||||||
|
PreprocessorDefinitions="_DEBUG"
|
||||||
|
Culture="1036"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebDeploymentTool"/>
|
||||||
|
</Configuration>
|
||||||
|
</Configurations>
|
||||||
|
<Files>
|
||||||
|
<Filter
|
||||||
|
Name="Source Files"
|
||||||
|
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\test\mux\test8.cpp">
|
||||||
|
</File>
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Header Files"
|
||||||
|
Filter="h;hpp;hxx;hm;inl">
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Resource Files"
|
||||||
|
Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
|
||||||
|
</Filter>
|
||||||
|
</Files>
|
||||||
|
<Globals>
|
||||||
|
</Globals>
|
||||||
|
</VisualStudioProject>
|
141
make/vc7/test/test9.vcproj
Normal file
141
make/vc7/test/test9.vcproj
Normal file
@ -0,0 +1,141 @@
|
|||||||
|
<?xml version="1.0" encoding = "Windows-1252"?>
|
||||||
|
<VisualStudioProject
|
||||||
|
ProjectType="Visual C++"
|
||||||
|
Version="7.00"
|
||||||
|
Name="test9"
|
||||||
|
ProjectGUID="{F294A3C5-D355-49E7-A8B8-B9692345A5E0}"
|
||||||
|
SccProjectName=""
|
||||||
|
SccLocalPath="">
|
||||||
|
<Platforms>
|
||||||
|
<Platform
|
||||||
|
Name="Win32"/>
|
||||||
|
</Platforms>
|
||||||
|
<Configurations>
|
||||||
|
<Configuration
|
||||||
|
Name="Release|Win32"
|
||||||
|
OutputDirectory=".\Release"
|
||||||
|
IntermediateDirectory=".\Release"
|
||||||
|
ConfigurationType="1"
|
||||||
|
UseOfMFC="0"
|
||||||
|
ATLMinimizesCRunTimeLibraryUsage="FALSE"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
InlineFunctionExpansion="1"
|
||||||
|
AdditionalIncludeDirectories="../../..,../../../../libebml"
|
||||||
|
PreprocessorDefinitions="WIN32,NDEBUG,_CONSOLE"
|
||||||
|
StringPooling="TRUE"
|
||||||
|
RuntimeLibrary="0"
|
||||||
|
EnableFunctionLevelLinking="TRUE"
|
||||||
|
UsePrecompiledHeader="2"
|
||||||
|
PrecompiledHeaderFile=".\Release/test9.pch"
|
||||||
|
AssemblerListingLocation=".\Release/"
|
||||||
|
ObjectFile=".\Release/"
|
||||||
|
ProgramDataBaseFileName=".\Release/"
|
||||||
|
WarningLevel="3"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
CompileAs="0"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
AdditionalOptions="/MACHINE:I386"
|
||||||
|
AdditionalDependencies="odbc32.lib odbccp32.lib"
|
||||||
|
OutputFile=".\Release/test9.exe"
|
||||||
|
LinkIncremental="1"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
ProgramDatabaseFile=".\Release/test9.pdb"
|
||||||
|
SubSystem="1"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"
|
||||||
|
TypeLibraryName=".\Release/test9.tlb"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"
|
||||||
|
PreprocessorDefinitions="NDEBUG"
|
||||||
|
Culture="1036"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebDeploymentTool"/>
|
||||||
|
</Configuration>
|
||||||
|
<Configuration
|
||||||
|
Name="Debug|Win32"
|
||||||
|
OutputDirectory=".\Debug"
|
||||||
|
IntermediateDirectory=".\Debug"
|
||||||
|
ConfigurationType="1"
|
||||||
|
UseOfMFC="0"
|
||||||
|
ATLMinimizesCRunTimeLibraryUsage="FALSE"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
Optimization="0"
|
||||||
|
AdditionalIncludeDirectories="../../..,../../../../libebml"
|
||||||
|
PreprocessorDefinitions="WIN32,_DEBUG,_CONSOLE"
|
||||||
|
BasicRuntimeChecks="3"
|
||||||
|
RuntimeLibrary="1"
|
||||||
|
UsePrecompiledHeader="2"
|
||||||
|
PrecompiledHeaderFile=".\Debug/test9.pch"
|
||||||
|
AssemblerListingLocation=".\Debug/"
|
||||||
|
ObjectFile=".\Debug/"
|
||||||
|
ProgramDataBaseFileName=".\Debug/"
|
||||||
|
WarningLevel="3"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
DebugInformationFormat="4"
|
||||||
|
CompileAs="0"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
AdditionalOptions="/MACHINE:I386"
|
||||||
|
AdditionalDependencies="odbc32.lib odbccp32.lib"
|
||||||
|
OutputFile=".\Debug/test9.exe"
|
||||||
|
LinkIncremental="2"
|
||||||
|
SuppressStartupBanner="TRUE"
|
||||||
|
GenerateDebugInformation="TRUE"
|
||||||
|
ProgramDatabaseFile=".\Debug/test9.pdb"
|
||||||
|
SubSystem="1"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"
|
||||||
|
TypeLibraryName=".\Debug/test9.tlb"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"
|
||||||
|
PreprocessorDefinitions="_DEBUG"
|
||||||
|
Culture="1036"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebDeploymentTool"/>
|
||||||
|
</Configuration>
|
||||||
|
</Configurations>
|
||||||
|
<Files>
|
||||||
|
<Filter
|
||||||
|
Name="Source Files"
|
||||||
|
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\test\tags\test9.cpp">
|
||||||
|
</File>
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Header Files"
|
||||||
|
Filter="h;hpp;hxx;hm;inl">
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Resource Files"
|
||||||
|
Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
|
||||||
|
</Filter>
|
||||||
|
</Files>
|
||||||
|
<Globals>
|
||||||
|
</Globals>
|
||||||
|
</VisualStudioProject>
|
73
make/vc7/vc7.sln
Normal file
73
make/vc7/vc7.sln
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
Microsoft Visual Studio Solution File, Format Version 7.00
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libebml", "..\..\..\libebml\make\vc7\lib\libebml.vcproj", "{C6902997-CF7C-42B5-AD42-5B7C11F4CFE6}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libebmldll", "..\..\..\libebml\make\vc7\dll\libebmldll.v71.vcproj", "{83136D19-2749-4640-AC38-33E0B1F0DCC2}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libmatroska", "lib\static\libmatroska.vcproj", "{061EEA22-F7D5-4477-AB15-0DCE85EA038A}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test0", "test\test0.vcproj", "{8380F3AF-9E4A-4D5F-900F-991978CE44E1}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test00", "test\test00.vcproj", "{78DA23EF-794A-4311-9B99-8C71D44CC749}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test6", "test\test6.vcproj", "{4770FB10-8B2F-4E29-BA0B-517031ABC0F5}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test8", "test\test8.vcproj", "{EAE085B0-7FD7-48DA-ABFE-A706DACC3794}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test9", "test\test9.vcproj", "{F294A3C5-D355-49E7-A8B8-B9692345A5E0}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libmatroskadll", "lib\dll\libmatroskadll.v71.vcproj", "{B227AC03-C69E-46B1-B91E-A77BE4C6F83A}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(DPCodeReviewSolutionGUID) = preSolution
|
||||||
|
DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000}
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(DevPartner Solution Properties) = postSolution
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionConfiguration) = preSolution
|
||||||
|
ConfigName.0 = Debug
|
||||||
|
ConfigName.1 = Release
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfiguration) = postSolution
|
||||||
|
{C6902997-CF7C-42B5-AD42-5B7C11F4CFE6}.Debug.ActiveCfg = Debug|Win32
|
||||||
|
{C6902997-CF7C-42B5-AD42-5B7C11F4CFE6}.Debug.Build.0 = Debug|Win32
|
||||||
|
{C6902997-CF7C-42B5-AD42-5B7C11F4CFE6}.Release.ActiveCfg = Release|Win32
|
||||||
|
{C6902997-CF7C-42B5-AD42-5B7C11F4CFE6}.Release.Build.0 = Release|Win32
|
||||||
|
{061EEA22-F7D5-4477-AB15-0DCE85EA038A}.Debug.ActiveCfg = Debug|Win32
|
||||||
|
{061EEA22-F7D5-4477-AB15-0DCE85EA038A}.Debug.Build.0 = Debug|Win32
|
||||||
|
{061EEA22-F7D5-4477-AB15-0DCE85EA038A}.Release.ActiveCfg = Release|Win32
|
||||||
|
{061EEA22-F7D5-4477-AB15-0DCE85EA038A}.Release.Build.0 = Release|Win32
|
||||||
|
{8380F3AF-9E4A-4D5F-900F-991978CE44E1}.Debug.ActiveCfg = Debug|Win32
|
||||||
|
{8380F3AF-9E4A-4D5F-900F-991978CE44E1}.Release.ActiveCfg = Release|Win32
|
||||||
|
{78DA23EF-794A-4311-9B99-8C71D44CC749}.Debug.ActiveCfg = Debug|Win32
|
||||||
|
{78DA23EF-794A-4311-9B99-8C71D44CC749}.Release.ActiveCfg = Release|Win32
|
||||||
|
{4770FB10-8B2F-4E29-BA0B-517031ABC0F5}.Debug.ActiveCfg = Debug|Win32
|
||||||
|
{4770FB10-8B2F-4E29-BA0B-517031ABC0F5}.Debug.Build.0 = Debug|Win32
|
||||||
|
{4770FB10-8B2F-4E29-BA0B-517031ABC0F5}.Release.ActiveCfg = Release|Win32
|
||||||
|
{4770FB10-8B2F-4E29-BA0B-517031ABC0F5}.Release.Build.0 = Release|Win32
|
||||||
|
{EAE085B0-7FD7-48DA-ABFE-A706DACC3794}.Debug.ActiveCfg = Debug|Win32
|
||||||
|
{EAE085B0-7FD7-48DA-ABFE-A706DACC3794}.Debug.Build.0 = Debug|Win32
|
||||||
|
{EAE085B0-7FD7-48DA-ABFE-A706DACC3794}.Release.ActiveCfg = Release|Win32
|
||||||
|
{EAE085B0-7FD7-48DA-ABFE-A706DACC3794}.Release.Build.0 = Release|Win32
|
||||||
|
{F294A3C5-D355-49E7-A8B8-B9692345A5E0}.Debug.ActiveCfg = Debug|Win32
|
||||||
|
{F294A3C5-D355-49E7-A8B8-B9692345A5E0}.Debug.Build.0 = Debug|Win32
|
||||||
|
{F294A3C5-D355-49E7-A8B8-B9692345A5E0}.Release.ActiveCfg = Release|Win32
|
||||||
|
{F294A3C5-D355-49E7-A8B8-B9692345A5E0}.Release.Build.0 = Release|Win32
|
||||||
|
{B227AC03-C69E-46B1-B91E-A77BE4C6F83A}.Debug.ActiveCfg = Debug|Win32
|
||||||
|
{B227AC03-C69E-46B1-B91E-A77BE4C6F83A}.Debug.Build.0 = Debug|Win32
|
||||||
|
{B227AC03-C69E-46B1-B91E-A77BE4C6F83A}.Release.ActiveCfg = Release|Win32
|
||||||
|
{B227AC03-C69E-46B1-B91E-A77BE4C6F83A}.Release.Build.0 = Release|Win32
|
||||||
|
{83136D19-2749-4640-AC38-33E0B1F0DCC2}.Debug.ActiveCfg = Debug|Win32
|
||||||
|
{83136D19-2749-4640-AC38-33E0B1F0DCC2}.Debug.Build.0 = Debug|Win32
|
||||||
|
{83136D19-2749-4640-AC38-33E0B1F0DCC2}.Release.ActiveCfg = Release|Win32
|
||||||
|
{83136D19-2749-4640-AC38-33E0B1F0DCC2}.Release.Build.0 = Release|Win32
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityAddIns) = postSolution
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(DevPartner) = postSolution
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(DevPartner) = postSolution
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
@ -70,7 +70,7 @@ class MATROSKA_DLL_API DataBuffer {
|
|||||||
{
|
{
|
||||||
if (bInternalBuffer)
|
if (bInternalBuffer)
|
||||||
{
|
{
|
||||||
myBuffer = new (std::nothrow) binary[mySize];
|
myBuffer = new binary[mySize];
|
||||||
if (myBuffer == NULL)
|
if (myBuffer == NULL)
|
||||||
bValidValue = false;
|
bValidValue = false;
|
||||||
else
|
else
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
START_LIBMATROSKA_NAMESPACE
|
START_LIBMATROSKA_NAMESPACE
|
||||||
|
|
||||||
#define LIBMATROSKA_VERSION 0x010404
|
#define LIBMATROSKA_VERSION 0x010400
|
||||||
|
|
||||||
extern const std::string KaxCodeVersion;
|
extern const std::string KaxCodeVersion;
|
||||||
extern const std::string KaxCodeDate;
|
extern const std::string KaxCodeDate;
|
||||||
|
110
src/FileKax.cpp
110
src/FileKax.cpp
@ -72,10 +72,10 @@ FileMatroska::FileMatroska(IOCallback & output)
|
|||||||
|
|
||||||
FileMatroska::~FileMatroska()
|
FileMatroska::~FileMatroska()
|
||||||
{
|
{
|
||||||
// if (myCurrCluster != NULL)
|
// if (myCurrCluster != NULL)
|
||||||
// throw 0; // there are some data left to write
|
// throw 0; // there are some data left to write
|
||||||
// if (myCurrReadCluster != NULL || myCurrReadBlock != NULL)
|
// if (myCurrReadCluster != NULL || myCurrReadBlock != NULL)
|
||||||
// throw 0; // there are some data left to write
|
// throw 0; // there are some data left to write
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef OLD
|
#ifdef OLD
|
||||||
@ -98,7 +98,8 @@ void FileMatroska::Close(const uint32 aTimeLength)
|
|||||||
|
|
||||||
// get the Track-entry size
|
// get the Track-entry size
|
||||||
uint32 track_entries_size = 0;
|
uint32 track_entries_size = 0;
|
||||||
for (size_t i=0; i<myTracks.size(); i++) {
|
for (size_t i=0; i<myTracks.size(); i++)
|
||||||
|
{
|
||||||
track_entries_size += myTracks[i]->default_size();
|
track_entries_size += myTracks[i]->default_size();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -106,7 +107,8 @@ void FileMatroska::Close(const uint32 aTimeLength)
|
|||||||
myStreamInfo.TimeLength = aTimeLength;
|
myStreamInfo.TimeLength = aTimeLength;
|
||||||
myMainHeader.Render(myFile, myStreamInfo);
|
myMainHeader.Render(myFile, myStreamInfo);
|
||||||
|
|
||||||
for (i=0; i<myTracks.size(); i++) {
|
for (i=0; i<myTracks.size(); i++)
|
||||||
|
{
|
||||||
delete myTracks[i];
|
delete myTracks[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -118,7 +120,8 @@ filepos_t FileMatroska::RenderHead(const std::string & aEncoderApp)
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
uint32 track_entries_size = 0;
|
uint32 track_entries_size = 0;
|
||||||
for (size_t i=0; i<myTracks.size(); i++) {
|
for (size_t i=0; i<myTracks.size(); i++)
|
||||||
|
{
|
||||||
track_entries_size += myTracks[i]->default_size();
|
track_entries_size += myTracks[i]->default_size();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -134,7 +137,8 @@ filepos_t FileMatroska::RenderHead(const std::string & aEncoderApp)
|
|||||||
|
|
||||||
myStreamInfo.CodecEntryPosition = myStreamInfo.MainHeaderSize + myStreamInfo.TrackEntriesSize;
|
myStreamInfo.CodecEntryPosition = myStreamInfo.MainHeaderSize + myStreamInfo.TrackEntriesSize;
|
||||||
myStreamInfo.CodecEntrySize = 4;
|
myStreamInfo.CodecEntrySize = 4;
|
||||||
for (i=0; i<myTracks.size(); i++) {
|
for (i=0; i<myTracks.size(); i++)
|
||||||
|
{
|
||||||
myStreamInfo.CodecEntrySize += myTracks[i]->CodecSize();
|
myStreamInfo.CodecEntrySize += myTracks[i]->CodecSize();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -142,7 +146,8 @@ filepos_t FileMatroska::RenderHead(const std::string & aEncoderApp)
|
|||||||
filepos_t result = myMainHeader.Render(myFile, myStreamInfo);
|
filepos_t result = myMainHeader.Render(myFile, myStreamInfo);
|
||||||
|
|
||||||
// Track Entries
|
// Track Entries
|
||||||
for (i=0; i<myTracks.size(); i++) {
|
for (i=0; i<myTracks.size(); i++)
|
||||||
|
{
|
||||||
myTracks[i]->RenderEntry(myFile, i+1);
|
myTracks[i]->RenderEntry(myFile, i+1);
|
||||||
}
|
}
|
||||||
myStreamInfo.ClusterPosition = myStreamInfo.CodecEntryPosition + myStreamInfo.CodecEntrySize;
|
myStreamInfo.ClusterPosition = myStreamInfo.CodecEntryPosition + myStreamInfo.CodecEntrySize;
|
||||||
@ -152,7 +157,8 @@ filepos_t FileMatroska::RenderHead(const std::string & aEncoderApp)
|
|||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
catch (exception & Ex) {
|
catch (exception & Ex)
|
||||||
|
{
|
||||||
throw Ex;
|
throw Ex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -166,25 +172,29 @@ Track * FileMatroska::CreateTrack(const track_type aType)
|
|||||||
return myTracks.back();
|
return myTracks.back();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*Track *FileMatroska::findTrack(Track * aTrack) const {
|
/*Track *FileMatroska::findTrack(Track * aTrack) const
|
||||||
for (size_t i=0; i<myTracks.size(); i++) {
|
{
|
||||||
|
for (size_t i=0; i<myTracks.size(); i++)
|
||||||
|
{
|
||||||
if (myTracks[i] == aTrack)
|
if (myTracks[i] == aTrack)
|
||||||
return myTracks[i];
|
return myTracks[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
void FileMatroska::track_SetName(Track * aTrack, const std::string & aName)
|
void FileMatroska::track_SetName(Track * aTrack, const std::string & aName)
|
||||||
{
|
{
|
||||||
if (IsMyTrack(aTrack)) {
|
if (IsMyTrack(aTrack))
|
||||||
|
{
|
||||||
aTrack->SetName(aName);
|
aTrack->SetName(aName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void FileMatroska::track_SetLaced(Track * aTrack, bool bLaced)
|
void FileMatroska::track_SetLaced(Track * aTrack, bool bLaced)
|
||||||
{
|
{
|
||||||
if (IsMyTrack(aTrack)) {
|
if (IsMyTrack(aTrack))
|
||||||
|
{
|
||||||
aTrack->SetLaced(bLaced);
|
aTrack->SetLaced(bLaced);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -194,11 +204,14 @@ bool FileMatroska::AddFrame(Track * aTrack, const uint32 aTimecode, const binary
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
// make sure we know that track
|
// make sure we know that track
|
||||||
if (IsMyTrack(aTrack)) {
|
if (IsMyTrack(aTrack))
|
||||||
|
{
|
||||||
// pass the cluster to the track
|
// pass the cluster to the track
|
||||||
// handle the creation of a new cluster if needed
|
// handle the creation of a new cluster if needed
|
||||||
if (aTrack->AddFrame(aTimecode, aFrame, aFrameSize, aKeyFrame, aBFrame)) {
|
if (aTrack->AddFrame(aTimecode, aFrame, aFrameSize, aKeyFrame, aBFrame))
|
||||||
while (!aTrack->SerialiseBlock(myCurrWriteCluster)) {
|
{
|
||||||
|
while (!aTrack->SerialiseBlock(myCurrWriteCluster))
|
||||||
|
{
|
||||||
/// \todo handle errors
|
/// \todo handle errors
|
||||||
uint32 aNbBlock;
|
uint32 aNbBlock;
|
||||||
myStreamInfo.ClusterSize += myCurrWriteCluster.Render(myFile, aNbBlock);
|
myStreamInfo.ClusterSize += myCurrWriteCluster.Render(myFile, aNbBlock);
|
||||||
@ -210,7 +223,8 @@ bool FileMatroska::AddFrame(Track * aTrack, const uint32 aTimecode, const binary
|
|||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
catch (exception & Ex) {
|
catch (exception & Ex)
|
||||||
|
{
|
||||||
throw Ex;
|
throw Ex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -229,7 +243,8 @@ uint32 FileMatroska::ReadHead()
|
|||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
catch (exception & Ex) {
|
catch (exception & Ex)
|
||||||
|
{
|
||||||
throw Ex;
|
throw Ex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -255,7 +270,8 @@ uint32 FileMatroska::ReadTracks()
|
|||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
catch (exception & Ex) {
|
catch (exception & Ex)
|
||||||
|
{
|
||||||
throw Ex;
|
throw Ex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -270,7 +286,8 @@ uint32 FileMatroska::ReadCodec()
|
|||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
catch (exception & Ex) {
|
catch (exception & Ex)
|
||||||
|
{
|
||||||
throw Ex;
|
throw Ex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -280,7 +297,8 @@ inline bool FileMatroska::IsMyTrack(const Track * aTrack) const
|
|||||||
if (aTrack == 0)
|
if (aTrack == 0)
|
||||||
throw 0;
|
throw 0;
|
||||||
|
|
||||||
for (std::vector<Track*>::const_iterator i = myTracks.begin(); i != myTracks.end(); ++i) {
|
for (std::vector<Track*>::const_iterator i = myTracks.begin(); i != myTracks.end(); i ++)
|
||||||
|
{
|
||||||
if (*i == aTrack)
|
if (*i == aTrack)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -293,10 +311,13 @@ inline bool FileMatroska::IsMyTrack(const Track * aTrack) const
|
|||||||
|
|
||||||
void FileMatroska::SelectReadingTrack(Track * aTrack, bool select)
|
void FileMatroska::SelectReadingTrack(Track * aTrack, bool select)
|
||||||
{
|
{
|
||||||
if (IsMyTrack(aTrack)) {
|
if (IsMyTrack(aTrack))
|
||||||
|
{
|
||||||
// here we have the right track
|
// here we have the right track
|
||||||
// check if it's not already selected
|
// check if it's not already selected
|
||||||
for (std::vector<uint8>::iterator j = mySelectedTracks.begin(); j != mySelectedTracks.end(); ++j) {
|
for (std::vector<uint8>::iterator j = mySelectedTracks.begin();
|
||||||
|
j != mySelectedTracks.end(); j ++)
|
||||||
|
{
|
||||||
if (*j == aTrack->TrackNumber())
|
if (*j == aTrack->TrackNumber())
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -314,7 +335,8 @@ inline bool FileMatroska::IsReadingTrack(const uint8 aTrackNumber) const
|
|||||||
{
|
{
|
||||||
for (std::vector<uint8>::const_iterator trackIdx = mySelectedTracks.begin();
|
for (std::vector<uint8>::const_iterator trackIdx = mySelectedTracks.begin();
|
||||||
trackIdx != mySelectedTracks.end() && *trackIdx < aTrackNumber;
|
trackIdx != mySelectedTracks.end() && *trackIdx < aTrackNumber;
|
||||||
++trackIdx) {}
|
trackIdx++)
|
||||||
|
{}
|
||||||
|
|
||||||
if (trackIdx == mySelectedTracks.end())
|
if (trackIdx == mySelectedTracks.end())
|
||||||
return false;
|
return false;
|
||||||
@ -326,7 +348,8 @@ inline bool FileMatroska::IsReadingTrack(const uint8 aTrackNumber) const
|
|||||||
|
|
||||||
void FileMatroska::Track_GetInfo(const Track * aTrack, TrackInfo & aTrackInfo) const
|
void FileMatroska::Track_GetInfo(const Track * aTrack, TrackInfo & aTrackInfo) const
|
||||||
{
|
{
|
||||||
if (IsMyTrack(aTrack)) {
|
if (IsMyTrack(aTrack))
|
||||||
|
{
|
||||||
aTrack->GetInfo(aTrackInfo);
|
aTrack->GetInfo(aTrackInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -335,14 +358,16 @@ void FileMatroska::Track_GetInfo(const Track * aTrack, TrackInfo & aTrackInfo) c
|
|||||||
|
|
||||||
void FileMatroska::Track_GetInfo_Audio(const Track * aTrack, TrackInfoAudio & aTrackInfo) const
|
void FileMatroska::Track_GetInfo_Audio(const Track * aTrack, TrackInfoAudio & aTrackInfo) const
|
||||||
{
|
{
|
||||||
if (IsMyTrack(aTrack)) {
|
if (IsMyTrack(aTrack))
|
||||||
|
{
|
||||||
aTrack->GetInfoAudio(aTrackInfo);
|
aTrack->GetInfoAudio(aTrackInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void FileMatroska::Track_SetInfo_Audio(Track * aTrack, const TrackInfoAudio & aTrackInfo)
|
void FileMatroska::Track_SetInfo_Audio(Track * aTrack, const TrackInfoAudio & aTrackInfo)
|
||||||
{
|
{
|
||||||
if (IsMyTrack(aTrack)) {
|
if (IsMyTrack(aTrack))
|
||||||
|
{
|
||||||
aTrack->SetInfoAudio(aTrackInfo);
|
aTrack->SetInfoAudio(aTrackInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -351,14 +376,16 @@ void FileMatroska::Track_SetInfo_Audio(Track * aTrack, const TrackInfoAudio & aT
|
|||||||
|
|
||||||
void FileMatroska::Track_GetInfo_Video(const Track * aTrack, TrackInfoVideo & aTrackInfo) const
|
void FileMatroska::Track_GetInfo_Video(const Track * aTrack, TrackInfoVideo & aTrackInfo) const
|
||||||
{
|
{
|
||||||
if (IsMyTrack(aTrack)) {
|
if (IsMyTrack(aTrack))
|
||||||
|
{
|
||||||
aTrack->GetInfoVideo(aTrackInfo);
|
aTrack->GetInfoVideo(aTrackInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void FileMatroska::Track_SetInfo_Video(Track * aTrack, const TrackInfoVideo & aTrackInfo)
|
void FileMatroska::Track_SetInfo_Video(Track * aTrack, const TrackInfoVideo & aTrackInfo)
|
||||||
{
|
{
|
||||||
if (IsMyTrack(aTrack)) {
|
if (IsMyTrack(aTrack))
|
||||||
|
{
|
||||||
aTrack->SetInfoVideo(aTrackInfo);
|
aTrack->SetInfoVideo(aTrackInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -369,20 +396,24 @@ void FileMatroska::Track_SetInfo_Video(Track * aTrack, const TrackInfoVideo & aT
|
|||||||
bool FileMatroska::ReadFrame(Track * & aTrack, uint32 & aTimecode, const binary * & aFrame, uint32 & aFrameSize,
|
bool FileMatroska::ReadFrame(Track * & aTrack, uint32 & aTimecode, const binary * & aFrame, uint32 & aFrameSize,
|
||||||
bool & aKeyFrame, bool & aBFrame)
|
bool & aKeyFrame, bool & aBFrame)
|
||||||
{
|
{
|
||||||
if (myCurrReadBlockTrack == 0) {
|
if (myCurrReadBlockTrack == 0)
|
||||||
|
{
|
||||||
do {
|
do {
|
||||||
if (myReadBlockNumber >= myStreamInfo.NumberBlock) {
|
if (myReadBlockNumber >= myStreamInfo.NumberBlock)
|
||||||
// myReadBlockNumber = myStreamInfo.NumberBlock;
|
{
|
||||||
|
// myReadBlockNumber = myStreamInfo.NumberBlock;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// get the next frame in the file
|
// get the next frame in the file
|
||||||
if (!myCurrReadCluster.BlockLeft()) {
|
if (!myCurrReadCluster.BlockLeft())
|
||||||
|
{
|
||||||
myCurrReadCluster.Flush();
|
myCurrReadCluster.Flush();
|
||||||
try {
|
try {
|
||||||
myCurrReadCluster.FindHead(myFile);
|
myCurrReadCluster.FindHead(myFile);
|
||||||
}
|
}
|
||||||
catch (exception & Ex) {
|
catch (exception & Ex)
|
||||||
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -395,7 +426,9 @@ bool FileMatroska::ReadFrame(Track * & aTrack, uint32 & aTimecode, const binary
|
|||||||
aTrack = myTracks[myCurrReadBlockTrack-1];
|
aTrack = myTracks[myCurrReadBlockTrack-1];
|
||||||
// get the next frame from the current block
|
// get the next frame from the current block
|
||||||
aTrack->HandleBlock(myCurrReadBlock, myCurrReadBlockSize);
|
aTrack->HandleBlock(myCurrReadBlock, myCurrReadBlockSize);
|
||||||
} else {
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
// get the track associated (normally from myTracks)
|
// get the track associated (normally from myTracks)
|
||||||
aTrack = myTracks[myCurrReadBlockTrack-1];
|
aTrack = myTracks[myCurrReadBlockTrack-1];
|
||||||
}
|
}
|
||||||
@ -405,7 +438,8 @@ bool FileMatroska::ReadFrame(Track * & aTrack, uint32 & aTimecode, const binary
|
|||||||
aFrame = myReadFrame->buf();
|
aFrame = myReadFrame->buf();
|
||||||
aFrameSize = myReadFrame->length();
|
aFrameSize = myReadFrame->length();
|
||||||
|
|
||||||
if (aTrack->NoFrameLeft()) {
|
if (aTrack->NoFrameLeft())
|
||||||
|
{
|
||||||
aTrack->FlushBlock();
|
aTrack->FlushBlock();
|
||||||
myCurrReadBlockTrack = 0;
|
myCurrReadBlockTrack = 0;
|
||||||
}
|
}
|
||||||
|
163
src/KaxBlock.cpp
163
src/KaxBlock.cpp
@ -30,14 +30,11 @@
|
|||||||
\version \$Id: KaxBlock.cpp 1265 2007-01-14 17:20:35Z mosu $
|
\version \$Id: KaxBlock.cpp 1265 2007-01-14 17:20:35Z mosu $
|
||||||
\author Steve Lhomme <robux4 @ users.sf.net>
|
\author Steve Lhomme <robux4 @ users.sf.net>
|
||||||
\author Julien Coloos <suiryc @ users.sf.net>
|
\author Julien Coloos <suiryc @ users.sf.net>
|
||||||
\author Moritz Bunkus <moritz@bunkus.org>
|
|
||||||
*/
|
*/
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
//#include <streams.h>
|
//#include <streams.h>
|
||||||
|
|
||||||
#include "ebml/MemReadIOCallback.h"
|
|
||||||
#include "ebml/SafeReadIOCallback.h"
|
|
||||||
#include "matroska/KaxBlock.h"
|
#include "matroska/KaxBlock.h"
|
||||||
#include "matroska/KaxContexts.h"
|
#include "matroska/KaxContexts.h"
|
||||||
#include "matroska/KaxBlockData.h"
|
#include "matroska/KaxBlockData.h"
|
||||||
@ -87,16 +84,17 @@ KaxInternalBlock::KaxInternalBlock(const KaxInternalBlock & ElementToClone)
|
|||||||
// add a clone of the list
|
// add a clone of the list
|
||||||
std::vector<DataBuffer *>::const_iterator Itr = ElementToClone.myBuffers.begin();
|
std::vector<DataBuffer *>::const_iterator Itr = ElementToClone.myBuffers.begin();
|
||||||
std::vector<DataBuffer *>::iterator myItr = myBuffers.begin();
|
std::vector<DataBuffer *>::iterator myItr = myBuffers.begin();
|
||||||
while (Itr != ElementToClone.myBuffers.end()) {
|
while (Itr != ElementToClone.myBuffers.end())
|
||||||
|
{
|
||||||
*myItr = (*Itr)->Clone();
|
*myItr = (*Itr)->Clone();
|
||||||
++Itr; ++myItr;
|
Itr++; myItr++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
KaxBlockGroup::~KaxBlockGroup()
|
KaxBlockGroup::~KaxBlockGroup()
|
||||||
{
|
{
|
||||||
//NOTE("KaxBlockGroup::~KaxBlockGroup");
|
//NOTE("KaxBlockGroup::~KaxBlockGroup");
|
||||||
}
|
}
|
||||||
|
|
||||||
KaxBlockGroup::KaxBlockGroup(EBML_EXTRA_DEF)
|
KaxBlockGroup::KaxBlockGroup(EBML_EXTRA_DEF)
|
||||||
@ -184,7 +182,8 @@ filepos_t KaxInternalBlock::UpdateSize(bool /* bSaveDefault */, bool /* bForceRe
|
|||||||
LacingHere = GetBestLacingType();
|
LacingHere = GetBestLacingType();
|
||||||
else
|
else
|
||||||
LacingHere = mLacing;
|
LacingHere = mLacing;
|
||||||
switch (LacingHere) {
|
switch (LacingHere)
|
||||||
|
{
|
||||||
case LACING_XIPH:
|
case LACING_XIPH:
|
||||||
for (i=0; i<myBuffers.size()-1; i++) {
|
for (i=0; i<myBuffers.size()-1; i++) {
|
||||||
SetSize_(GetSize() + myBuffers[i]->Size() + (myBuffers[i]->Size() / 0xFF + 1));
|
SetSize_(GetSize() + myBuffers[i]->Size() + (myBuffers[i]->Size() / 0xFF + 1));
|
||||||
@ -202,7 +201,6 @@ filepos_t KaxInternalBlock::UpdateSize(bool /* bSaveDefault */, bool /* bForceRe
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
i = 0;
|
|
||||||
assert(0);
|
assert(0);
|
||||||
}
|
}
|
||||||
// Size of the last frame (not in lace)
|
// Size of the last frame (not in lace)
|
||||||
@ -228,7 +226,7 @@ KaxBlockVirtual::KaxBlockVirtual(const KaxBlockVirtual & ElementToClone)
|
|||||||
}
|
}
|
||||||
|
|
||||||
KaxBlockVirtual::KaxBlockVirtual(EBML_EXTRA_DEF)
|
KaxBlockVirtual::KaxBlockVirtual(EBML_EXTRA_DEF)
|
||||||
:EBML_DEF_BINARY(KaxBlockVirtual)EBML_DEF_SEP ParentCluster(NULL)
|
:EBML_DEF_BINARY(KaxBlockVirtual)EBML_DEF_SEP ParentCluster(NULL)
|
||||||
{
|
{
|
||||||
SetBuffer(DataBlock,sizeof(DataBlock));
|
SetBuffer(DataBlock,sizeof(DataBlock));
|
||||||
SetValueIsSet(false);
|
SetValueIsSet(false);
|
||||||
@ -322,7 +320,8 @@ filepos_t KaxInternalBlock::RenderData(IOCallback & output, bool /* bForceRender
|
|||||||
}
|
}
|
||||||
|
|
||||||
// lacing flag
|
// lacing flag
|
||||||
switch (mLacing) {
|
switch (mLacing)
|
||||||
|
{
|
||||||
case LACING_XIPH:
|
case LACING_XIPH:
|
||||||
*cursor++ |= 0x02;
|
*cursor++ |= 0x02;
|
||||||
break;
|
break;
|
||||||
@ -341,7 +340,8 @@ filepos_t KaxInternalBlock::RenderData(IOCallback & output, bool /* bForceRender
|
|||||||
output.writeFully(BlockHead, 4 + ((TrackNumber > 0x80) ? 1 : 0));
|
output.writeFully(BlockHead, 4 + ((TrackNumber > 0x80) ? 1 : 0));
|
||||||
|
|
||||||
binary tmpValue;
|
binary tmpValue;
|
||||||
switch (mLacing) {
|
switch (mLacing)
|
||||||
|
{
|
||||||
case LACING_XIPH:
|
case LACING_XIPH:
|
||||||
// number of laces
|
// number of laces
|
||||||
tmpValue = myBuffers.size()-1;
|
tmpValue = myBuffers.size()-1;
|
||||||
@ -365,6 +365,7 @@ filepos_t KaxInternalBlock::RenderData(IOCallback & output, bool /* bForceRender
|
|||||||
// number of laces
|
// number of laces
|
||||||
tmpValue = myBuffers.size()-1;
|
tmpValue = myBuffers.size()-1;
|
||||||
output.writeFully(&tmpValue, 1);
|
output.writeFully(&tmpValue, 1);
|
||||||
|
|
||||||
{
|
{
|
||||||
int64 _Size;
|
int64 _Size;
|
||||||
int _CodedSize;
|
int _CodedSize;
|
||||||
@ -452,56 +453,51 @@ filepos_t KaxInternalBlock::ReadData(IOCallback & input, ScopeMode ReadFully)
|
|||||||
|
|
||||||
FirstFrameLocation = input.getFilePointer(); // will be updated accordingly below
|
FirstFrameLocation = input.getFilePointer(); // will be updated accordingly below
|
||||||
|
|
||||||
SetValueIsSet(false);
|
if (ReadFully == SCOPE_ALL_DATA)
|
||||||
|
{
|
||||||
try {
|
|
||||||
if (ReadFully == SCOPE_ALL_DATA) {
|
|
||||||
Result = EbmlBinary::ReadData(input, ReadFully);
|
Result = EbmlBinary::ReadData(input, ReadFully);
|
||||||
if (Result != GetSize())
|
binary *cursor = EbmlBinary::GetBuffer();
|
||||||
throw SafeReadIOCallback::EndOfStreamX(GetSize() - Result);
|
|
||||||
|
|
||||||
binary *BufferStart = EbmlBinary::GetBuffer();
|
|
||||||
|
|
||||||
SafeReadIOCallback Mem(*this);
|
|
||||||
uint8 BlockHeadSize = 4;
|
uint8 BlockHeadSize = 4;
|
||||||
|
|
||||||
// update internal values
|
// update internal values
|
||||||
TrackNumber = Mem.GetUInt8();
|
TrackNumber = *cursor++;
|
||||||
if ((TrackNumber & 0x80) == 0) {
|
if ((TrackNumber & 0x80) == 0) {
|
||||||
// there is extra data
|
// there is extra data
|
||||||
if ((TrackNumber & 0x40) == 0) {
|
if ((TrackNumber & 0x40) == 0) {
|
||||||
// We don't support track numbers that large !
|
// We don't support track numbers that large !
|
||||||
throw SafeReadIOCallback::EndOfStreamX(0);
|
return Result;
|
||||||
}
|
}
|
||||||
TrackNumber = (TrackNumber & 0x3F) << 8;
|
TrackNumber = (TrackNumber & 0x3F) << 8;
|
||||||
TrackNumber += Mem.GetUInt8();
|
TrackNumber += *cursor++;
|
||||||
BlockHeadSize++;
|
BlockHeadSize++;
|
||||||
} else {
|
} else {
|
||||||
TrackNumber &= 0x7F;
|
TrackNumber &= 0x7F;
|
||||||
}
|
}
|
||||||
|
|
||||||
LocalTimecode = int16(Mem.GetUInt16BE());
|
big_int16 b16;
|
||||||
|
b16.Eval(cursor);
|
||||||
|
LocalTimecode = int16(b16);
|
||||||
bLocalTimecodeUsed = true;
|
bLocalTimecodeUsed = true;
|
||||||
|
cursor += 2;
|
||||||
|
|
||||||
uint8 Flags = Mem.GetUInt8();
|
|
||||||
if (EbmlId(*this) == EBML_ID(KaxSimpleBlock)) {
|
if (EbmlId(*this) == EBML_ID(KaxSimpleBlock)) {
|
||||||
bIsKeyframe = (Flags & 0x80) != 0;
|
bIsKeyframe = (*cursor & 0x80) != 0;
|
||||||
bIsDiscardable = (Flags & 0x01) != 0;
|
bIsDiscardable = (*cursor & 0x01) != 0;
|
||||||
}
|
}
|
||||||
mInvisible = (Flags & 0x08) >> 3;
|
mInvisible = (*cursor & 0x08) >> 3;
|
||||||
mLacing = LacingType((Flags & 0x06) >> 1);
|
mLacing = LacingType((*cursor++ & 0x06) >> 1);
|
||||||
|
|
||||||
// put all Frames in the list
|
// put all Frames in the list
|
||||||
if (mLacing == LACING_NONE) {
|
if (mLacing == LACING_NONE) {
|
||||||
FirstFrameLocation += Mem.GetPosition();
|
FirstFrameLocation += cursor - EbmlBinary::GetBuffer();
|
||||||
DataBuffer * soloFrame = new DataBuffer(BufferStart + Mem.GetPosition(), GetSize() - BlockHeadSize);
|
DataBuffer * soloFrame = new DataBuffer(cursor, GetSize() - BlockHeadSize);
|
||||||
myBuffers.push_back(soloFrame);
|
myBuffers.push_back(soloFrame);
|
||||||
SizeList.resize(1);
|
SizeList.resize(1);
|
||||||
SizeList[0] = GetSize() - BlockHeadSize;
|
SizeList[0] = GetSize() - BlockHeadSize;
|
||||||
} else {
|
} else {
|
||||||
// read the number of frames in the lace
|
// read the number of frames in the lace
|
||||||
uint32 LastBufferSize = GetSize() - BlockHeadSize - 1; // 1 for number of frame
|
uint32 LastBufferSize = GetSize() - BlockHeadSize - 1; // 1 for number of frame
|
||||||
uint8 FrameNum = Mem.GetUInt8(); // number of frames in the lace - 1
|
uint8 FrameNum = *cursor++; // number of frames in the lace - 1
|
||||||
// read the list of frame sizes
|
// read the list of frame sizes
|
||||||
uint8 Index;
|
uint8 Index;
|
||||||
int32 FrameSize;
|
int32 FrameSize;
|
||||||
@ -510,17 +506,16 @@ filepos_t KaxInternalBlock::ReadData(IOCallback & input, ScopeMode ReadFully)
|
|||||||
|
|
||||||
SizeList.resize(FrameNum + 1);
|
SizeList.resize(FrameNum + 1);
|
||||||
|
|
||||||
switch (mLacing) {
|
switch (mLacing)
|
||||||
|
{
|
||||||
case LACING_XIPH:
|
case LACING_XIPH:
|
||||||
for (Index=0; Index<FrameNum; Index++) {
|
for (Index=0; Index<FrameNum; Index++) {
|
||||||
// get the size of the frame
|
// get the size of the frame
|
||||||
FrameSize = 0;
|
FrameSize = 0;
|
||||||
uint8 Value;
|
|
||||||
do {
|
do {
|
||||||
Value = Mem.GetUInt8();
|
FrameSize += uint8(*cursor);
|
||||||
FrameSize += Value;
|
|
||||||
LastBufferSize--;
|
LastBufferSize--;
|
||||||
} while (Value == 0xFF);
|
} while (*cursor++ == 0xFF);
|
||||||
SizeList[Index] = FrameSize;
|
SizeList[Index] = FrameSize;
|
||||||
LastBufferSize -= FrameSize;
|
LastBufferSize -= FrameSize;
|
||||||
}
|
}
|
||||||
@ -528,24 +523,19 @@ filepos_t KaxInternalBlock::ReadData(IOCallback & input, ScopeMode ReadFully)
|
|||||||
break;
|
break;
|
||||||
case LACING_EBML:
|
case LACING_EBML:
|
||||||
SizeRead = LastBufferSize;
|
SizeRead = LastBufferSize;
|
||||||
FrameSize = ReadCodedSizeValue(BufferStart + Mem.GetPosition(), SizeRead, SizeUnknown);
|
FrameSize = ReadCodedSizeValue(cursor, SizeRead, SizeUnknown);
|
||||||
if (!FrameSize || (static_cast<uint32>(FrameSize + SizeRead) > LastBufferSize))
|
|
||||||
throw SafeReadIOCallback::EndOfStreamX(SizeRead);
|
|
||||||
SizeList[0] = FrameSize;
|
SizeList[0] = FrameSize;
|
||||||
Mem.Skip(SizeRead);
|
cursor += SizeRead;
|
||||||
LastBufferSize -= FrameSize + SizeRead;
|
LastBufferSize -= FrameSize + SizeRead;
|
||||||
|
|
||||||
for (Index=1; Index<FrameNum; Index++) {
|
for (Index=1; Index<FrameNum; Index++) {
|
||||||
// get the size of the frame
|
// get the size of the frame
|
||||||
SizeRead = LastBufferSize;
|
SizeRead = LastBufferSize;
|
||||||
FrameSize += ReadCodedSizeSignedValue(BufferStart + Mem.GetPosition(), SizeRead, SizeUnknown);
|
FrameSize += ReadCodedSizeSignedValue(cursor, SizeRead, SizeUnknown);
|
||||||
if (!FrameSize || (static_cast<uint32>(FrameSize + SizeRead) > LastBufferSize))
|
|
||||||
throw SafeReadIOCallback::EndOfStreamX(SizeRead);
|
|
||||||
SizeList[Index] = FrameSize;
|
SizeList[Index] = FrameSize;
|
||||||
Mem.Skip(SizeRead);
|
cursor += SizeRead;
|
||||||
LastBufferSize -= FrameSize + SizeRead;
|
LastBufferSize -= FrameSize + SizeRead;
|
||||||
}
|
}
|
||||||
if (Index <= FrameNum) // Safety check if FrameNum == 0
|
|
||||||
SizeList[Index] = LastBufferSize;
|
SizeList[Index] = LastBufferSize;
|
||||||
break;
|
break;
|
||||||
case LACING_FIXED:
|
case LACING_FIXED:
|
||||||
@ -558,34 +548,20 @@ filepos_t KaxInternalBlock::ReadData(IOCallback & input, ScopeMode ReadFully)
|
|||||||
assert(0);
|
assert(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
FirstFrameLocation += Mem.GetPosition();
|
FirstFrameLocation += cursor - EbmlBinary::GetBuffer();
|
||||||
|
|
||||||
for (Index=0; Index<=FrameNum; Index++) {
|
for (Index=0; Index<=FrameNum; Index++) {
|
||||||
DataBuffer * lacedFrame = new DataBuffer(BufferStart + Mem.GetPosition(), SizeList[Index]);
|
DataBuffer * lacedFrame = new DataBuffer(cursor, SizeList[Index]);
|
||||||
myBuffers.push_back(lacedFrame);
|
myBuffers.push_back(lacedFrame);
|
||||||
Mem.Skip(SizeList[Index]);
|
cursor += SizeList[Index];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
binary *BufferEnd = BufferStart + GetSize();
|
|
||||||
size_t NumFrames = myBuffers.size();
|
|
||||||
|
|
||||||
// Sanity checks for frame pointers and boundaries.
|
|
||||||
for (size_t Index = 0; Index < NumFrames; ++Index) {
|
|
||||||
binary *FrameStart = myBuffers[Index]->Buffer();
|
|
||||||
binary *FrameEnd = FrameStart + myBuffers[Index]->Size();
|
|
||||||
binary *ExpectedEnd = (Index + 1) < NumFrames ? myBuffers[Index + 1]->Buffer() : BufferEnd;
|
|
||||||
|
|
||||||
if ((FrameStart < BufferStart) || (FrameEnd > BufferEnd) || (FrameEnd != ExpectedEnd))
|
|
||||||
throw SafeReadIOCallback::EndOfStreamX(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
SetValueIsSet();
|
SetValueIsSet();
|
||||||
} else if (ReadFully == SCOPE_PARTIAL_DATA) {
|
}
|
||||||
|
else if (ReadFully == SCOPE_PARTIAL_DATA)
|
||||||
|
{
|
||||||
binary _TempHead[5];
|
binary _TempHead[5];
|
||||||
Result = input.read(_TempHead, 5);
|
Result = input.read(_TempHead, 5);
|
||||||
if (Result != 5)
|
|
||||||
throw SafeReadIOCallback::EndOfStreamX(0);
|
|
||||||
binary *cursor = _TempHead;
|
binary *cursor = _TempHead;
|
||||||
binary *_tmpBuf;
|
binary *_tmpBuf;
|
||||||
uint8 BlockHeadSize = 4;
|
uint8 BlockHeadSize = 4;
|
||||||
@ -617,7 +593,8 @@ filepos_t KaxInternalBlock::ReadData(IOCallback & input, ScopeMode ReadFully)
|
|||||||
}
|
}
|
||||||
mInvisible = (*cursor & 0x08) >> 3;
|
mInvisible = (*cursor & 0x08) >> 3;
|
||||||
mLacing = LacingType((*cursor++ & 0x06) >> 1);
|
mLacing = LacingType((*cursor++ & 0x06) >> 1);
|
||||||
if (cursor == &_TempHead[4]) {
|
if (cursor == &_TempHead[4])
|
||||||
|
{
|
||||||
_TempHead[0] = _TempHead[4];
|
_TempHead[0] = _TempHead[4];
|
||||||
} else {
|
} else {
|
||||||
Result += input.read(_TempHead, 1);
|
Result += input.read(_TempHead, 1);
|
||||||
@ -638,7 +615,8 @@ filepos_t KaxInternalBlock::ReadData(IOCallback & input, ScopeMode ReadFully)
|
|||||||
|
|
||||||
SizeList.resize(FrameNum + 1);
|
SizeList.resize(FrameNum + 1);
|
||||||
|
|
||||||
switch (mLacing) {
|
switch (mLacing)
|
||||||
|
{
|
||||||
case LACING_XIPH:
|
case LACING_XIPH:
|
||||||
for (Index=0; Index<FrameNum; Index++) {
|
for (Index=0; Index<FrameNum; Index++) {
|
||||||
// get the size of the frame
|
// get the size of the frame
|
||||||
@ -700,21 +678,6 @@ filepos_t KaxInternalBlock::ReadData(IOCallback & input, ScopeMode ReadFully)
|
|||||||
Result = GetSize();
|
Result = GetSize();
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (SafeReadIOCallback::EndOfStreamX &) {
|
|
||||||
SetValueIsSet(false);
|
|
||||||
|
|
||||||
std::memset(EbmlBinary::GetBuffer(), 0, GetSize());
|
|
||||||
myBuffers.clear();
|
|
||||||
SizeList.clear();
|
|
||||||
Timecode = 0;
|
|
||||||
LocalTimecode = 0;
|
|
||||||
TrackNumber = 0;
|
|
||||||
bLocalTimecodeUsed = false;
|
|
||||||
FirstFrameLocation = 0;
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
return Result;
|
return Result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -729,7 +692,7 @@ bool KaxBlockGroup::AddFrame(const KaxTrackEntry & track, uint64 timecode, DataB
|
|||||||
|
|
||||||
bool KaxBlockGroup::AddFrame(const KaxTrackEntry & track, uint64 timecode, DataBuffer & buffer, const KaxBlockGroup & PastBlock, LacingType lacing)
|
bool KaxBlockGroup::AddFrame(const KaxTrackEntry & track, uint64 timecode, DataBuffer & buffer, const KaxBlockGroup & PastBlock, LacingType lacing)
|
||||||
{
|
{
|
||||||
// assert(past_timecode < 0);
|
// assert(past_timecode < 0);
|
||||||
|
|
||||||
KaxBlock & theBlock = GetChild<KaxBlock>(*this);
|
KaxBlock & theBlock = GetChild<KaxBlock>(*this);
|
||||||
assert(ParentCluster != NULL);
|
assert(ParentCluster != NULL);
|
||||||
@ -746,9 +709,9 @@ bool KaxBlockGroup::AddFrame(const KaxTrackEntry & track, uint64 timecode, DataB
|
|||||||
|
|
||||||
bool KaxBlockGroup::AddFrame(const KaxTrackEntry & track, uint64 timecode, DataBuffer & buffer, const KaxBlockGroup & PastBlock, const KaxBlockGroup & ForwBlock, LacingType lacing)
|
bool KaxBlockGroup::AddFrame(const KaxTrackEntry & track, uint64 timecode, DataBuffer & buffer, const KaxBlockGroup & PastBlock, const KaxBlockGroup & ForwBlock, LacingType lacing)
|
||||||
{
|
{
|
||||||
// assert(past_timecode < 0);
|
// assert(past_timecode < 0);
|
||||||
|
|
||||||
// assert(forw_timecode > 0);
|
// assert(forw_timecode > 0);
|
||||||
|
|
||||||
KaxBlock & theBlock = GetChild<KaxBlock>(*this);
|
KaxBlock & theBlock = GetChild<KaxBlock>(*this);
|
||||||
assert(ParentCluster != NULL);
|
assert(ParentCluster != NULL);
|
||||||
@ -775,13 +738,15 @@ bool KaxBlockGroup::AddFrame(const KaxTrackEntry & track, uint64 timecode, DataB
|
|||||||
ParentTrack = &track;
|
ParentTrack = &track;
|
||||||
bool bRes = theBlock.AddFrame(track, timecode, buffer, lacing);
|
bool bRes = theBlock.AddFrame(track, timecode, buffer, lacing);
|
||||||
|
|
||||||
if (PastBlock != NULL) {
|
if (PastBlock != NULL)
|
||||||
|
{
|
||||||
KaxReferenceBlock & thePastRef = GetChild<KaxReferenceBlock>(*this);
|
KaxReferenceBlock & thePastRef = GetChild<KaxReferenceBlock>(*this);
|
||||||
thePastRef.SetReferencedBlock(PastBlock);
|
thePastRef.SetReferencedBlock(PastBlock);
|
||||||
thePastRef.SetParentBlock(*this);
|
thePastRef.SetParentBlock(*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ForwBlock != NULL) {
|
if (ForwBlock != NULL)
|
||||||
|
{
|
||||||
KaxReferenceBlock & theFutureRef = AddNewChild<KaxReferenceBlock>(*this);
|
KaxReferenceBlock & theFutureRef = AddNewChild<KaxReferenceBlock>(*this);
|
||||||
theFutureRef.SetReferencedBlock(ForwBlock);
|
theFutureRef.SetReferencedBlock(ForwBlock);
|
||||||
theFutureRef.SetParentBlock(*this);
|
theFutureRef.SetParentBlock(*this);
|
||||||
@ -825,7 +790,8 @@ unsigned int KaxBlockGroup::ReferenceCount() const
|
|||||||
KaxReferenceBlock * MyBlockAdds = static_cast<KaxReferenceBlock *>(FindFirstElt(EBML_INFO(KaxReferenceBlock)));
|
KaxReferenceBlock * MyBlockAdds = static_cast<KaxReferenceBlock *>(FindFirstElt(EBML_INFO(KaxReferenceBlock)));
|
||||||
if (MyBlockAdds != NULL) {
|
if (MyBlockAdds != NULL) {
|
||||||
Result++;
|
Result++;
|
||||||
while ((MyBlockAdds = static_cast<KaxReferenceBlock *>(FindNextElt(*MyBlockAdds))) != NULL) {
|
while ((MyBlockAdds = static_cast<KaxReferenceBlock *>(FindNextElt(*MyBlockAdds))) != NULL)
|
||||||
|
{
|
||||||
Result++;
|
Result++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -912,11 +878,13 @@ int64 KaxInternalBlock::GetDataPosition(size_t FrameNumber)
|
|||||||
{
|
{
|
||||||
int64 _Result = -1;
|
int64 _Result = -1;
|
||||||
|
|
||||||
if (ValueIsSet() && FrameNumber < SizeList.size()) {
|
if (ValueIsSet() && FrameNumber < SizeList.size())
|
||||||
|
{
|
||||||
_Result = FirstFrameLocation;
|
_Result = FirstFrameLocation;
|
||||||
|
|
||||||
size_t _Idx = 0;
|
size_t _Idx = 0;
|
||||||
while(FrameNumber--) {
|
while(FrameNumber--)
|
||||||
|
{
|
||||||
_Result += SizeList[_Idx++];
|
_Result += SizeList[_Idx++];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -928,7 +896,8 @@ int64 KaxInternalBlock::GetFrameSize(size_t FrameNumber)
|
|||||||
{
|
{
|
||||||
int64 _Result = -1;
|
int64 _Result = -1;
|
||||||
|
|
||||||
if (/*bValueIsSet &&*/ FrameNumber < SizeList.size()) {
|
if (/*bValueIsSet &&*/ FrameNumber < SizeList.size())
|
||||||
|
{
|
||||||
_Result = SizeList[FrameNumber];
|
_Result = SizeList[FrameNumber];
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1006,8 +975,11 @@ bool KaxBlockBlob::AddFrameAuto(const KaxTrackEntry & track, uint64 timecode, Da
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
if (ReplaceSimpleByGroup())
|
{
|
||||||
|
if (ReplaceSimpleByGroup()) {
|
||||||
bResult = Block.group->AddFrame(track, timecode, buffer, PastBlock, ForwBlock, lacing);
|
bResult = Block.group->AddFrame(track, timecode, buffer, PastBlock, ForwBlock, lacing);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return bResult;
|
return bResult;
|
||||||
}
|
}
|
||||||
@ -1034,7 +1006,8 @@ bool KaxBlockBlob::ReplaceSimpleByGroup()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if MATROSKA_VERSION >= 2
|
#if MATROSKA_VERSION >= 2
|
||||||
else {
|
else
|
||||||
|
{
|
||||||
|
|
||||||
if (Block.simpleblock != NULL) {
|
if (Block.simpleblock != NULL) {
|
||||||
KaxSimpleBlock *old_simpleblock = Block.simpleblock;
|
KaxSimpleBlock *old_simpleblock = Block.simpleblock;
|
||||||
|
@ -49,21 +49,21 @@ const KaxBlockBlob & KaxReferenceBlock::RefBlock() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
KaxReferenceBlock::KaxReferenceBlock(EBML_EXTRA_DEF)
|
KaxReferenceBlock::KaxReferenceBlock(EBML_EXTRA_DEF)
|
||||||
:EBML_DEF_SINTEGER(KaxReferenceBlock)EBML_DEF_SEP
|
:EBML_DEF_SINTEGER(KaxReferenceBlock)EBML_DEF_SEP
|
||||||
RefdBlock(NULL)
|
RefdBlock(NULL)
|
||||||
,ParentBlock(NULL)
|
,ParentBlock(NULL)
|
||||||
,bTimecodeSet(false)
|
,bTimecodeSet(false)
|
||||||
,bOurBlob(false)
|
,bOurBlob(false)
|
||||||
{
|
{
|
||||||
bTimecodeSet = false;
|
bTimecodeSet = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
KaxReferenceBlock::KaxReferenceBlock(const KaxReferenceBlock & ElementToClone)
|
KaxReferenceBlock::KaxReferenceBlock(const KaxReferenceBlock & ElementToClone)
|
||||||
:EbmlSInteger(ElementToClone)
|
:EbmlSInteger(ElementToClone)
|
||||||
,RefdBlock(NULL)
|
,RefdBlock(NULL)
|
||||||
,ParentBlock(NULL)
|
,ParentBlock(NULL)
|
||||||
,bTimecodeSet(ElementToClone.bTimecodeSet)
|
,bTimecodeSet(ElementToClone.bTimecodeSet)
|
||||||
,bOurBlob(false)
|
,bOurBlob(false)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,7 +55,8 @@ KaxCluster::KaxCluster(const KaxCluster & ElementToClone)
|
|||||||
{
|
{
|
||||||
// update the parent of each children
|
// update the parent of each children
|
||||||
EBML_MASTER_ITERATOR Itr = begin();
|
EBML_MASTER_ITERATOR Itr = begin();
|
||||||
while (Itr != end()) {
|
while (Itr != end())
|
||||||
|
{
|
||||||
if (EbmlId(**Itr) == EBML_ID(KaxBlockGroup)) {
|
if (EbmlId(**Itr) == EBML_ID(KaxBlockGroup)) {
|
||||||
static_cast<KaxBlockGroup *>(*Itr)->SetParent(*this);
|
static_cast<KaxBlockGroup *>(*Itr)->SetParent(*this);
|
||||||
} else if (EbmlId(**Itr) == EBML_ID(KaxBlock)) {
|
} else if (EbmlId(**Itr) == EBML_ID(KaxBlock)) {
|
||||||
@ -97,6 +98,7 @@ bool KaxCluster::AddFrameInternal(const KaxTrackEntry & track, uint64 timecode,
|
|||||||
if (currentNewBlock == NULL || uint32(track.TrackNumber()) != uint32(currentNewBlock->TrackNumber()) || PastBlock != NULL || ForwBlock != NULL) {
|
if (currentNewBlock == NULL || uint32(track.TrackNumber()) != uint32(currentNewBlock->TrackNumber()) || PastBlock != NULL || ForwBlock != NULL) {
|
||||||
KaxBlockGroup & aNewBlock = GetNewBlock();
|
KaxBlockGroup & aNewBlock = GetNewBlock();
|
||||||
MyNewBlock = currentNewBlock = &aNewBlock;
|
MyNewBlock = currentNewBlock = &aNewBlock;
|
||||||
|
currentNewBlock = &aNewBlock;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (PastBlock != NULL) {
|
if (PastBlock != NULL) {
|
||||||
@ -164,13 +166,17 @@ filepos_t KaxCluster::Render(IOCallback & output, KaxCues & CueToUpdate, bool bS
|
|||||||
|
|
||||||
// SilentTracks handling
|
// SilentTracks handling
|
||||||
// check the parent cluster for existing tracks and see if they are contained in this cluster or not
|
// check the parent cluster for existing tracks and see if they are contained in this cluster or not
|
||||||
if (bSilentTracksUsed) {
|
if (bSilentTracksUsed)
|
||||||
|
{
|
||||||
KaxTracks & MyTracks = *static_cast<KaxTracks *>(ParentSegment->FindElt(EBML_INFO(KaxTracks)));
|
KaxTracks & MyTracks = *static_cast<KaxTracks *>(ParentSegment->FindElt(EBML_INFO(KaxTracks)));
|
||||||
for (TrkItr = MyTracks.begin(); TrkItr != MyTracks.end(); ++TrkItr) {
|
for (TrkItr = MyTracks.begin(); TrkItr != MyTracks.end(); ++TrkItr)
|
||||||
if (EbmlId(*(*TrkItr)) == EBML_ID(KaxTrackEntry)) {
|
{
|
||||||
|
if (EbmlId(*(*TrkItr)) == EBML_ID(KaxTrackEntry))
|
||||||
|
{
|
||||||
KaxTrackEntry & entry = *static_cast<KaxTrackEntry *>(*TrkItr);
|
KaxTrackEntry & entry = *static_cast<KaxTrackEntry *>(*TrkItr);
|
||||||
uint32 tracknum = entry.TrackNumber();
|
uint32 tracknum = entry.TrackNumber();
|
||||||
for (Itr = begin(); Itr != end(); ++Itr) {
|
for (Itr = begin(); Itr != end(); ++Itr)
|
||||||
|
{
|
||||||
if (EbmlId(*(*Itr)) == EBML_ID(KaxBlockGroup)) {
|
if (EbmlId(*(*Itr)) == EBML_ID(KaxBlockGroup)) {
|
||||||
KaxBlockGroup & group = *static_cast<KaxBlockGroup *>(*Itr);
|
KaxBlockGroup & group = *static_cast<KaxBlockGroup *>(*Itr);
|
||||||
if (group.TrackNumber() == tracknum)
|
if (group.TrackNumber() == tracknum)
|
||||||
@ -178,7 +184,8 @@ filepos_t KaxCluster::Render(IOCallback & output, KaxCues & CueToUpdate, bool bS
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// the track wasn't found in this cluster
|
// the track wasn't found in this cluster
|
||||||
if (Itr == end()) {
|
if (Itr == end())
|
||||||
|
{
|
||||||
KaxClusterSilentTracks * SilentTracks = static_cast<KaxClusterSilentTracks *>(this->FindFirstElt(EBML_INFO(KaxClusterSilentTracks)));
|
KaxClusterSilentTracks * SilentTracks = static_cast<KaxClusterSilentTracks *>(this->FindFirstElt(EBML_INFO(KaxClusterSilentTracks)));
|
||||||
assert(SilentTracks != NULL); // the flag bSilentTracksUsed should be set when creating the Cluster
|
assert(SilentTracks != NULL); // the flag bSilentTracksUsed should be set when creating the Cluster
|
||||||
KaxClusterSilentTrackNumber * trackelt = static_cast<KaxClusterSilentTrackNumber *>(SilentTracks->AddNewElt(EBML_INFO(KaxClusterSilentTrackNumber)));
|
KaxClusterSilentTrackNumber * trackelt = static_cast<KaxClusterSilentTrackNumber *>(SilentTracks->AddNewElt(EBML_INFO(KaxClusterSilentTrackNumber)));
|
||||||
@ -191,14 +198,16 @@ filepos_t KaxCluster::Render(IOCallback & output, KaxCues & CueToUpdate, bool bS
|
|||||||
Result = EbmlMaster::Render(output, bSaveDefault);
|
Result = EbmlMaster::Render(output, bSaveDefault);
|
||||||
// For all Blocks add their position on the CueEntry
|
// For all Blocks add their position on the CueEntry
|
||||||
|
|
||||||
for (Itr = begin(); Itr != end(); ++Itr) {
|
for (Itr = begin(); Itr != end(); ++Itr)
|
||||||
|
{
|
||||||
if (EbmlId(*(*Itr)) == EBML_ID(KaxBlockGroup)) {
|
if (EbmlId(*(*Itr)) == EBML_ID(KaxBlockGroup)) {
|
||||||
CueToUpdate.PositionSet(*static_cast<const KaxBlockGroup *>(*Itr));
|
CueToUpdate.PositionSet(*static_cast<const KaxBlockGroup *>(*Itr));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// new school, using KaxBlockBlob
|
// new school, using KaxBlockBlob
|
||||||
for (Index = 0; Index<Blobs.size(); Index++) {
|
for (Index = 0; Index<Blobs.size(); Index++)
|
||||||
|
{
|
||||||
#if MATROSKA_VERSION >= 2
|
#if MATROSKA_VERSION >= 2
|
||||||
if (Blobs[Index]->IsSimpleBlock())
|
if (Blobs[Index]->IsSimpleBlock())
|
||||||
PushElement( (KaxSimpleBlock&) *Blobs[Index] );
|
PushElement( (KaxSimpleBlock&) *Blobs[Index] );
|
||||||
@ -209,10 +218,13 @@ filepos_t KaxCluster::Render(IOCallback & output, KaxCues & CueToUpdate, bool bS
|
|||||||
|
|
||||||
// SilentTracks handling
|
// SilentTracks handling
|
||||||
// check the parent cluster for existing tracks and see if they are contained in this cluster or not
|
// check the parent cluster for existing tracks and see if they are contained in this cluster or not
|
||||||
if (bSilentTracksUsed) {
|
if (bSilentTracksUsed)
|
||||||
|
{
|
||||||
KaxTracks & MyTracks = *static_cast<KaxTracks *>(ParentSegment->FindElt(EBML_INFO(KaxTracks)));
|
KaxTracks & MyTracks = *static_cast<KaxTracks *>(ParentSegment->FindElt(EBML_INFO(KaxTracks)));
|
||||||
for (TrkItr = MyTracks.begin(); TrkItr != MyTracks.end(); ++TrkItr) {
|
for (TrkItr = MyTracks.begin(); TrkItr != MyTracks.end(); ++TrkItr)
|
||||||
if (EbmlId(*(*TrkItr)) == EBML_ID(KaxTrackEntry)) {
|
{
|
||||||
|
if (EbmlId(*(*TrkItr)) == EBML_ID(KaxTrackEntry))
|
||||||
|
{
|
||||||
KaxTrackEntry & entry = *static_cast<KaxTrackEntry *>(*TrkItr);
|
KaxTrackEntry & entry = *static_cast<KaxTrackEntry *>(*TrkItr);
|
||||||
uint32 tracknum = entry.TrackNumber();
|
uint32 tracknum = entry.TrackNumber();
|
||||||
for (Index = 0; Index<Blobs.size(); Index++) {
|
for (Index = 0; Index<Blobs.size(); Index++) {
|
||||||
@ -220,7 +232,8 @@ filepos_t KaxCluster::Render(IOCallback & output, KaxCues & CueToUpdate, bool bS
|
|||||||
break; // this track is used
|
break; // this track is used
|
||||||
}
|
}
|
||||||
// the track wasn't found in this cluster
|
// the track wasn't found in this cluster
|
||||||
if (Index == ListSize()) {
|
if (Index == ListSize())
|
||||||
|
{
|
||||||
KaxClusterSilentTracks * SilentTracks = static_cast<KaxClusterSilentTracks *>(this->FindFirstElt(EBML_INFO(KaxClusterSilentTracks)));
|
KaxClusterSilentTracks * SilentTracks = static_cast<KaxClusterSilentTracks *>(this->FindFirstElt(EBML_INFO(KaxClusterSilentTracks)));
|
||||||
assert(SilentTracks != NULL); // the flag bSilentTracksUsed should be set when creating the Cluster
|
assert(SilentTracks != NULL); // the flag bSilentTracksUsed should be set when creating the Cluster
|
||||||
KaxClusterSilentTrackNumber * trackelt = static_cast<KaxClusterSilentTrackNumber *>(SilentTracks->AddNewElt(EBML_INFO(KaxClusterSilentTrackNumber)));
|
KaxClusterSilentTrackNumber * trackelt = static_cast<KaxClusterSilentTrackNumber *>(SilentTracks->AddNewElt(EBML_INFO(KaxClusterSilentTrackNumber)));
|
||||||
@ -290,7 +303,8 @@ KaxBlockGroup & KaxCluster::GetNewBlock()
|
|||||||
void KaxCluster::ReleaseFrames()
|
void KaxCluster::ReleaseFrames()
|
||||||
{
|
{
|
||||||
EBML_MASTER_ITERATOR Itr;
|
EBML_MASTER_ITERATOR Itr;
|
||||||
for (Itr = begin(); Itr != end(); ++Itr) {
|
for (Itr = begin(); Itr != end(); ++Itr)
|
||||||
|
{
|
||||||
if (EbmlId(*(*Itr)) == EBML_ID(KaxBlockGroup)) {
|
if (EbmlId(*(*Itr)) == EBML_ID(KaxBlockGroup)) {
|
||||||
static_cast<KaxBlockGroup*>(*Itr)->ReleaseFrames();
|
static_cast<KaxBlockGroup*>(*Itr)->ReleaseFrames();
|
||||||
}
|
}
|
||||||
|
@ -55,7 +55,8 @@ bool KaxCues::AddBlockGroup(const KaxBlockGroup & BlockRef)
|
|||||||
BlockReference->SetBlockGroup(*const_cast<KaxBlockGroup*>(&BlockRef));
|
BlockReference->SetBlockGroup(*const_cast<KaxBlockGroup*>(&BlockRef));
|
||||||
|
|
||||||
for (ListIdx = myTempReferences.begin(); ListIdx != myTempReferences.end(); ListIdx++)
|
for (ListIdx = myTempReferences.begin(); ListIdx != myTempReferences.end(); ListIdx++)
|
||||||
if (&(KaxBlockGroup&)*ListIdx == &BlockRef) {
|
if (&(KaxBlockGroup&)*ListIdx == &BlockRef)
|
||||||
|
{
|
||||||
delete BlockReference;
|
delete BlockReference;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -69,7 +70,7 @@ bool KaxCues::AddBlockBlob(const KaxBlockBlob & BlockReference)
|
|||||||
// Do not add the element if it's already present.
|
// Do not add the element if it's already present.
|
||||||
std::vector<const KaxBlockBlob *>::iterator ListIdx;
|
std::vector<const KaxBlockBlob *>::iterator ListIdx;
|
||||||
|
|
||||||
for (ListIdx = myTempReferences.begin(); ListIdx != myTempReferences.end(); ++ListIdx)
|
for (ListIdx = myTempReferences.begin(); ListIdx != myTempReferences.end(); ListIdx++)
|
||||||
if (*ListIdx == &BlockReference)
|
if (*ListIdx == &BlockReference)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
@ -82,7 +83,7 @@ void KaxCues::PositionSet(const KaxBlockBlob & BlockReference)
|
|||||||
// look for the element in the temporary references
|
// look for the element in the temporary references
|
||||||
std::vector<const KaxBlockBlob *>::iterator ListIdx;
|
std::vector<const KaxBlockBlob *>::iterator ListIdx;
|
||||||
|
|
||||||
for (ListIdx = myTempReferences.begin(); ListIdx != myTempReferences.end(); ++ListIdx) {
|
for (ListIdx = myTempReferences.begin(); ListIdx != myTempReferences.end(); ListIdx++) {
|
||||||
if (*ListIdx == &BlockReference) {
|
if (*ListIdx == &BlockReference) {
|
||||||
// found, now add the element to the entry list
|
// found, now add the element to the entry list
|
||||||
KaxCuePoint & NewPoint = AddNewChild<KaxCuePoint>(*this);
|
KaxCuePoint & NewPoint = AddNewChild<KaxCuePoint>(*this);
|
||||||
@ -98,7 +99,7 @@ void KaxCues::PositionSet(const KaxBlockGroup & BlockRef)
|
|||||||
// look for the element in the temporary references
|
// look for the element in the temporary references
|
||||||
std::vector<const KaxBlockBlob *>::iterator ListIdx;
|
std::vector<const KaxBlockBlob *>::iterator ListIdx;
|
||||||
|
|
||||||
for (ListIdx = myTempReferences.begin(); ListIdx != myTempReferences.end(); ++ListIdx) {
|
for (ListIdx = myTempReferences.begin(); ListIdx != myTempReferences.end(); ListIdx++) {
|
||||||
const KaxInternalBlock &refTmp = **ListIdx;
|
const KaxInternalBlock &refTmp = **ListIdx;
|
||||||
if (refTmp.GlobalTimecode() == BlockRef.GlobalTimecode() &&
|
if (refTmp.GlobalTimecode() == BlockRef.GlobalTimecode() &&
|
||||||
refTmp.TrackNum() == BlockRef.TrackNumber()) {
|
refTmp.TrackNum() == BlockRef.TrackNumber()) {
|
||||||
@ -122,12 +123,14 @@ const KaxCuePoint * KaxCues::GetTimecodePoint(uint64 aTimecode) const
|
|||||||
uint64 aNextTime = EBML_PRETTYLONGINT(0xFFFFFFFFFFFF);
|
uint64 aNextTime = EBML_PRETTYLONGINT(0xFFFFFFFFFFFF);
|
||||||
|
|
||||||
EBML_MASTER_CONST_ITERATOR Itr;
|
EBML_MASTER_CONST_ITERATOR Itr;
|
||||||
for (Itr = begin(); Itr != end(); ++Itr) {
|
for (Itr = begin(); Itr != end(); ++Itr)
|
||||||
|
{
|
||||||
if (EbmlId(*(*Itr)) == EBML_ID(KaxCuePoint)) {
|
if (EbmlId(*(*Itr)) == EBML_ID(KaxCuePoint)) {
|
||||||
const KaxCuePoint *tmp = static_cast<const KaxCuePoint *>(*Itr);
|
const KaxCuePoint *tmp = static_cast<const KaxCuePoint *>(*Itr);
|
||||||
// check the tile
|
// check the tile
|
||||||
const KaxCueTime *aTime = static_cast<const KaxCueTime *>(tmp->FindFirstElt(EBML_INFO(KaxCueTime)));
|
const KaxCueTime *aTime = static_cast<const KaxCueTime *>(tmp->FindFirstElt(EBML_INFO(KaxCueTime)));
|
||||||
if (aTime != NULL) {
|
if (aTime != NULL)
|
||||||
|
{
|
||||||
uint64 _Time = uint64(*aTime);
|
uint64 _Time = uint64(*aTime);
|
||||||
if (_Time > aPrevTime && _Time < TimecodeToLocate) {
|
if (_Time > aPrevTime && _Time < TimecodeToLocate) {
|
||||||
aPrevTime = _Time;
|
aPrevTime = _Time;
|
||||||
|
@ -62,7 +62,8 @@ void KaxCuePoint::PositionSet(const KaxBlockGroup & BlockReference, uint64 Globa
|
|||||||
|
|
||||||
#if MATROSKA_VERSION >= 2
|
#if MATROSKA_VERSION >= 2
|
||||||
// handle reference use
|
// handle reference use
|
||||||
if (BlockReference.ReferenceCount() != 0) {
|
if (BlockReference.ReferenceCount() != 0)
|
||||||
|
{
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
for (i=0; i<BlockReference.ReferenceCount(); i++) {
|
for (i=0; i<BlockReference.ReferenceCount(); i++) {
|
||||||
KaxCueReference & NewRefs = AddNewChild<KaxCueReference>(NewPositions);
|
KaxCueReference & NewRefs = AddNewChild<KaxCueReference>(NewPositions);
|
||||||
@ -97,7 +98,8 @@ void KaxCuePoint::PositionSet(const KaxBlockBlob & BlobReference, uint64 GlobalT
|
|||||||
|
|
||||||
#if 0 // MATROSKA_VERSION >= 2
|
#if 0 // MATROSKA_VERSION >= 2
|
||||||
// handle reference use
|
// handle reference use
|
||||||
if (BlockReference.ReferenceCount() != 0) {
|
if (BlockReference.ReferenceCount() != 0)
|
||||||
|
{
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
for (i=0; i<BlockReference.ReferenceCount(); i++) {
|
for (i=0; i<BlockReference.ReferenceCount(); i++) {
|
||||||
KaxCueReference & NewRefs = AddNewChild<KaxCueReference>(NewPositions);
|
KaxCueReference & NewRefs = AddNewChild<KaxCueReference>(NewPositions);
|
||||||
@ -135,7 +137,8 @@ void KaxCueReference::AddReference(const KaxBlockBlob & BlockReference, uint64 G
|
|||||||
|
|
||||||
#ifdef OLD
|
#ifdef OLD
|
||||||
// handle recursive reference use
|
// handle recursive reference use
|
||||||
if (BlockReference.ReferenceCount() != 0) {
|
if (BlockReference.ReferenceCount() != 0)
|
||||||
|
{
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
for (i=0; i<BlockReference.ReferenceCount(); i++) {
|
for (i=0; i<BlockReference.ReferenceCount(); i++) {
|
||||||
AddReference(BlockReference.Reference(i).RefBlock());
|
AddReference(BlockReference.Reference(i).RefBlock());
|
||||||
@ -203,7 +206,8 @@ const KaxCueTrackPositions * KaxCuePoint::GetSeekPosition() const
|
|||||||
uint64 aPosition = EBML_PRETTYLONGINT(0xFFFFFFFFFFFFFFF);
|
uint64 aPosition = EBML_PRETTYLONGINT(0xFFFFFFFFFFFFFFF);
|
||||||
// find the position of the "earlier" Cluster
|
// find the position of the "earlier" Cluster
|
||||||
const KaxCueTrackPositions *aPoss = static_cast<const KaxCueTrackPositions *>(FindFirstElt(EBML_INFO(KaxCueTrackPositions)));
|
const KaxCueTrackPositions *aPoss = static_cast<const KaxCueTrackPositions *>(FindFirstElt(EBML_INFO(KaxCueTrackPositions)));
|
||||||
while (aPoss != NULL) {
|
while (aPoss != NULL)
|
||||||
|
{
|
||||||
const KaxCueClusterPosition *aPos = static_cast<const KaxCueClusterPosition *>(aPoss->FindFirstElt(EBML_INFO(KaxCueClusterPosition)));
|
const KaxCueClusterPosition *aPos = static_cast<const KaxCueClusterPosition *>(aPoss->FindFirstElt(EBML_INFO(KaxCueClusterPosition)));
|
||||||
if (aPos != NULL && uint64(*aPos) < aPosition) {
|
if (aPos != NULL && uint64(*aPos) < aPosition) {
|
||||||
aPosition = uint64(*aPos);
|
aPosition = uint64(*aPos);
|
||||||
|
@ -41,18 +41,18 @@
|
|||||||
START_LIBMATROSKA_NAMESPACE
|
START_LIBMATROSKA_NAMESPACE
|
||||||
|
|
||||||
KaxPrevUID::KaxPrevUID(EBML_EXTRA_DEF)
|
KaxPrevUID::KaxPrevUID(EBML_EXTRA_DEF)
|
||||||
:KaxSegmentUID(EBML_DEF_BINARY_CTX(KaxPrevUID) EBML_DEF_SEP EBML_EXTRA_CALL)
|
:KaxSegmentUID(EBML_DEF_BINARY_CTX(KaxPrevUID) EBML_DEF_SEP EBML_EXTRA_CALL)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
KaxNextUID::KaxNextUID(EBML_EXTRA_DEF)
|
KaxNextUID::KaxNextUID(EBML_EXTRA_DEF)
|
||||||
:KaxSegmentUID(EBML_DEF_BINARY_CTX(KaxNextUID) EBML_DEF_SEP EBML_EXTRA_CALL)
|
:KaxSegmentUID(EBML_DEF_BINARY_CTX(KaxNextUID) EBML_DEF_SEP EBML_EXTRA_CALL)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(HAVE_EBML2) || defined(HAS_EBML2)
|
#if defined(HAVE_EBML2) || defined(HAS_EBML2)
|
||||||
KaxSegmentUID::KaxSegmentUID(EBML_DEF_CONS EBML_DEF_SEP EBML_EXTRA_DEF)
|
KaxSegmentUID::KaxSegmentUID(EBML_DEF_CONS EBML_DEF_SEP EBML_EXTRA_DEF)
|
||||||
:EbmlBinary(EBML_DEF_PARAM EBML_DEF_SEP EBML_EXTRA_CALL)
|
:EbmlBinary(EBML_DEF_PARAM EBML_DEF_SEP EBML_EXTRA_CALL)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -65,14 +65,17 @@ KaxSeek * KaxSeekHead::FindFirstOf(const EbmlCallbacks & Callbacks) const
|
|||||||
{
|
{
|
||||||
// parse all the Entries and find the first to match the type
|
// parse all the Entries and find the first to match the type
|
||||||
KaxSeek * aElt = static_cast<KaxSeek *>(FindFirstElt(EBML_INFO(KaxSeek)));
|
KaxSeek * aElt = static_cast<KaxSeek *>(FindFirstElt(EBML_INFO(KaxSeek)));
|
||||||
while (aElt != NULL) {
|
while (aElt != NULL)
|
||||||
|
{
|
||||||
KaxSeekID * aId = NULL;
|
KaxSeekID * aId = NULL;
|
||||||
EBML_MASTER_ITERATOR Itr;
|
EBML_MASTER_ITERATOR Itr;
|
||||||
for (Itr = aElt->begin(); Itr != aElt->end(); ++Itr) {
|
for (Itr = aElt->begin(); Itr != aElt->end(); ++Itr)
|
||||||
|
{
|
||||||
if (EbmlId(*(*Itr)) == EBML_ID(KaxSeekID)) {
|
if (EbmlId(*(*Itr)) == EBML_ID(KaxSeekID)) {
|
||||||
aId = static_cast<KaxSeekID*>(*Itr);
|
aId = static_cast<KaxSeekID*>(*Itr);
|
||||||
EbmlId aEbmlId(aId->GetBuffer(), aId->GetSize());
|
EbmlId aEbmlId(aId->GetBuffer(), aId->GetSize());
|
||||||
if (aEbmlId == EBML_INFO_ID(Callbacks)) {
|
if (aEbmlId == EBML_INFO_ID(Callbacks))
|
||||||
|
{
|
||||||
return aElt;
|
return aElt;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@ -90,15 +93,19 @@ KaxSeek * KaxSeekHead::FindNextOf(const KaxSeek &aPrev) const
|
|||||||
KaxSeek *tmp;
|
KaxSeek *tmp;
|
||||||
|
|
||||||
// look for the previous in the list
|
// look for the previous in the list
|
||||||
for (Itr = begin(); Itr != end(); ++Itr) {
|
for (Itr = begin(); Itr != end(); ++Itr)
|
||||||
|
{
|
||||||
if (*Itr == static_cast<const EbmlElement*>(&aPrev))
|
if (*Itr == static_cast<const EbmlElement*>(&aPrev))
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Itr != end()) {
|
if (Itr != end())
|
||||||
|
{
|
||||||
++Itr;
|
++Itr;
|
||||||
for (; Itr != end(); ++Itr) {
|
for (; Itr != end(); ++Itr)
|
||||||
if (EbmlId(*(*Itr)) == EBML_ID(KaxSeek)) {
|
{
|
||||||
|
if (EbmlId(*(*Itr)) == EBML_ID(KaxSeek))
|
||||||
|
{
|
||||||
tmp = (KaxSeek *)(*Itr);
|
tmp = (KaxSeek *)(*Itr);
|
||||||
if (tmp->IsEbmlId(aPrev))
|
if (tmp->IsEbmlId(aPrev))
|
||||||
return tmp;
|
return tmp;
|
||||||
|
@ -57,7 +57,8 @@ KaxSegment::KaxSegment(const KaxSegment & ElementToClone)
|
|||||||
{
|
{
|
||||||
// update the parent of each children
|
// update the parent of each children
|
||||||
EBML_MASTER_ITERATOR Itr = begin();
|
EBML_MASTER_ITERATOR Itr = begin();
|
||||||
while (Itr != end()) {
|
while (Itr != end())
|
||||||
|
{
|
||||||
if (EbmlId(**Itr) == EBML_ID(KaxCluster)) {
|
if (EbmlId(**Itr) == EBML_ID(KaxCluster)) {
|
||||||
static_cast<KaxCluster *>(*Itr)->SetParent(*this);
|
static_cast<KaxCluster *>(*Itr)->SetParent(*this);
|
||||||
}
|
}
|
||||||
|
@ -37,11 +37,7 @@
|
|||||||
|
|
||||||
START_LIBMATROSKA_NAMESPACE
|
START_LIBMATROSKA_NAMESPACE
|
||||||
|
|
||||||
const std::string KaxCodeVersion = "1.4.4";
|
const std::string KaxCodeVersion = "1.4.0";
|
||||||
|
const std::string KaxCodeDate = __TIMESTAMP__;
|
||||||
// Up to version 1.4.4 this library exported a build date string. As
|
|
||||||
// this made the build non-reproducible, replace it by a placeholder to
|
|
||||||
// remain binary compatible.
|
|
||||||
const std::string KaxCodeDate = "Unknown";
|
|
||||||
|
|
||||||
END_LIBMATROSKA_NAMESPACE
|
END_LIBMATROSKA_NAMESPACE
|
||||||
|
@ -822,7 +822,6 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
else cout << "received a frame from an unwanted track" << endl;
|
else cout << "received a frame from an unwanted track" << endl;
|
||||||
}
|
}
|
||||||
delete[] Tracks;
|
|
||||||
#endif // OLD
|
#endif // OLD
|
||||||
}
|
}
|
||||||
catch (exception & Ex)
|
catch (exception & Ex)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user