From: <man...@us...> - 2013-12-16 14:50:28
|
Revision: 3480 http://sourceforge.net/p/modplug/code/3480 Author: manxorist Date: 2013-12-16 14:50:15 +0000 (Mon, 16 Dec 2013) Log Message: ----------- [Imp] libopenmpt doc: Add dependency documentation to quick start doc. [Imp] libopenmpt doc: Document Makefile. Modified Paths: -------------- trunk/OpenMPT/Makefile trunk/OpenMPT/libopenmpt/dox/quickstart.md Added Paths: ----------- trunk/OpenMPT/build/make/Makefile.config.gcc Modified: trunk/OpenMPT/Makefile =================================================================== --- trunk/OpenMPT/Makefile 2013-12-16 14:00:22 UTC (rev 3479) +++ trunk/OpenMPT/Makefile 2013-12-16 14:50:15 UTC (rev 3480) @@ -1,4 +1,71 @@ +# +# libopenmpt and openmpt123 GNU Makefile +# +# Authors: Joern Heusipp +# OpenMPT Devs +# +# The OpenMPT source code is released under the BSD license. +# Read LICENSE for more details. +# +# +# Supported parameters: +# +# +# Build configuration (provide on each `make` invocation): +# +# CONFIG=[gcc|clang|mingw64-win32|mingw64-win64] (default: CONFIG=) +# +# Build configurations can override or change defaults of other build otions. +# See below and in `build/make/` for details. +# +# +# Compiler options (provide on each `make` invocation): +# +# CPPFLAGS +# CXXFLAGS +# CFLAGS +# LDFLAGS +# ARFLAGS +# +# +# Build flags (provide on each `make` invocation) (defaults are shown): +# +# DYNLINK=1 Dynamically link examples and openmpt123 against libopenmpt +# SHARED_LIB=1 Build shared library +# STATIC_LIB=1 Build static library +# EXAMPLES=1 Build examples +# OPENMPT123=1 Build openmpt123 +# SHARED_SONAME=1 Set SONAME of shared library +# TEST=0 Build libopenmpt in test mode +# +# +# Install options (provide on each `make install` invocation) +# +# PREFIX (e.g.: PREFIX=$HOME/opt, default: PREFIX=/usr/local) +# DESTDIR (e.g.: DESTDIR=bin/dest, default: DESTDIR=) +# +# +# Verbosity: +# +# QUIET=[0,1] (default: QUIET=0) +# VERBOSE=[0,1,2] (default: VERBOSE=0) +# +# +# Supported targets: +# +# make clean +# make [all] +# make doc +# make TEST=1 check +# make dist +# make dist-doc +# make install +# make install-doc +# + + + INFO = @echo SILENT = @ VERYSILENT = @ @@ -34,14 +101,6 @@ SHARED_SONAME=1 -# version - -LIBOPENMPT_VERSION_MAJOR=0 -LIBOPENMPT_VERSION_MINOR=1 - -LIBOPENMPT_SONAME=libopenmpt.so.0 - - # get commandline or defaults CPPFLAGS := $(CPPFLAGS) @@ -62,6 +121,14 @@ #endif +# version + +LIBOPENMPT_VERSION_MAJOR=0 +LIBOPENMPT_VERSION_MINOR=1 + +LIBOPENMPT_SONAME=libopenmpt.so.0 + + # host setup ifeq ($(OS),Windows_NT) Added: trunk/OpenMPT/build/make/Makefile.config.gcc =================================================================== --- trunk/OpenMPT/build/make/Makefile.config.gcc (rev 0) +++ trunk/OpenMPT/build/make/Makefile.config.gcc 2013-12-16 14:50:15 UTC (rev 3480) @@ -0,0 +1,2 @@ + +include Makefile.config.defaults Property changes on: trunk/OpenMPT/build/make/Makefile.config.gcc ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/x-makefile \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Modified: trunk/OpenMPT/libopenmpt/dox/quickstart.md =================================================================== --- trunk/OpenMPT/libopenmpt/dox/quickstart.md 2013-12-16 14:00:22 UTC (rev 3479) +++ trunk/OpenMPT/libopenmpt/dox/quickstart.md 2013-12-16 14:50:15 UTC (rev 3480) @@ -5,21 +5,38 @@ ### Unix - svn checkout http://svn.code.sf.net/p/modplug/code/trunk/OpenMPT/ openmpt-trunk - cd openmpt-trunk - make TEST=1 - make TEST=1 check - make clean - make - make doc - sudo make install - sudo make install-doc - openmpt123 $SOMEMODULE + 1. Get dependencies: + - *GNU make* + - *gcc >= 4.4* or *clang >= 3.0* + - *pkg-config* + - *portaudio-v19* + - *zlib* + 2. *Optional*: + - *doxygen >= 1.8* + - *help2man* + - *libSDL* + - *libFLAC* + - *libsndfile* + 3. Run: + + svn checkout http://svn.code.sf.net/p/modplug/code/trunk/OpenMPT/ openmpt-trunk + cd openmpt-trunk + make TEST=1 + make TEST=1 check + make clean + make + make doc + sudo make install + sudo make install-doc + openmpt123 $SOMEMODULE ### Windows 1. Checkout `http://svn.code.sf.net/p/modplug/code/trunk/OpenMPT/` . - 2. Open `openmpt123\openmpt123.sln` or `libopenmpt\libopenmpt.sln` in *Microsoft Visual Studio 2010*. - 3. Select appropriate configuration and build. Binaries are generated in `bin\` - 4. Drag a module onto `openmpt123.exe` or copy the player plugin DLLs (`in_openmpt.dll`, `xmp-openmpt.dll` or `foo_openmpt.dll`) and `libopenmpt_settings.dll` into the respective player directory. + 2. *Optional*: Get dependencies: + - *Winamp SDK* + - *XMPlay SDK* + 3. Open `openmpt123\openmpt123.sln` or `libopenmpt\libopenmpt.sln` in *Microsoft Visual Studio 2010*. + 4. Select appropriate configuration and build. Binaries are generated in `bin\` + 5. Drag a module onto `openmpt123.exe` or copy the player plugin DLLs (`in_openmpt.dll`, `xmp-openmpt.dll` or `foo_openmpt.dll`) and `libopenmpt_settings.dll` into the respective player directory. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |