#13795: Initial commit for sflphone-android
includes: libexpat libyaml libdbus-c++ commoncpp ccrtp
libdbus (from android-4.0.4 sources)
TODO:
- git ignores "/jni/sflphone", sflphone repo should be cloned.
- sflphone-android only needs daemon directory. Ideally it should be possible
to clone it without cloning the whole sflphone project.
into sfl-android (commit 6a0fa7a "#13961: Fix cipher handling" has been used here)
- add pjsip-android project as a git submodule
- sflphone-android needs pjsip android project. Ideally daemon git repository
should not embed pjsip. Instead pjsip should be clone from official repositories.
Considering this, structure should have three distincts git repos:
sflphone-android/.git
sflphone-android/jni/ccrtp-1.8.0-android
sflphone-android/jni/commoncpp2-1.8.1-android
sflphone-android/jni/dbus
sflphone-android/jni/libdbus-c++-0.9.0-android
sflphone-android/jni/libexpat
sflphone-android/jni/libyaml
sflphone-android/jni/sflphone-daemon/.git
sflphone-android/jni/sflphone-daemon/src/audio
sflphone-android/jni/sflphone-daemon/src/config
sflphone-android/jni/sflphone-daemon/src/dbus
sflphone-android/jni/sflphone-daemon/src/history
sflphone-android/jni/sflphone-daemon/src/hooks
sflphone-android/jni/sflphone-daemon/src/iax
sflphone-android/jni/sflphone-daemon/src/sip
sflphone-android/jni/sflphone-daemon/src/video
sflphone-android/jni/pjsip-android/.git
Signed-off-by: Emeric Vigier <emeric.vigier@savoirfairelinux.com>
diff --git a/jni/libexpat/Makefile.MPW b/jni/libexpat/Makefile.MPW
new file mode 100644
index 0000000..046af00
--- /dev/null
+++ b/jni/libexpat/Makefile.MPW
@@ -0,0 +1,206 @@
+# File: Makefile.MPW
+# Targets: All, Dynamic, Static (and Clean, Clean-All)
+# Created: Tuesday, July 02, 2002
+#
+# MPW Makefile for building expat under the "classic" (i.e. pre-X) Mac OS
+# Copyright © 2002 Daryle Walker
+# Portions Copyright © 2002 Thomas Wegner
+# See the COPYING file for distribution information
+#
+# Description:
+# This Makefile lets you build static, dynamic (i.e. shared) and stub
+# versions of the expat library as well as the elements.c and outline.c
+# examples (built as tools for MPW). This is for PPC only; it should be
+# no problem to build a 68K version of the expat library, though.
+#
+# Usage:
+# Buildprogram All
+# or Buildprogram Dynamic
+# or Buildprogram Static
+#
+# Note: You first have to rename this file to "Makefile", or the Buildprogram
+# commando will not recognize it.
+#
+
+MAKEFILE = Makefile
+¥MondoBuild¥ = {MAKEFILE} # Make blank to avoid rebuilds when makefile is modified
+
+ObjDir = :
+SrcDir = :
+HdrDir = :
+
+ToolDir = ::examples:
+
+Includes = -i {HdrDir}
+
+Sym-PPC = -sym off
+
+Defines = -d MACOS_CLASSIC
+
+PPCCOptions = {Includes} {Sym-PPC} -w 35 {Defines}
+
+FragName = libexpat
+
+
+### Source Files ###
+
+SrcFiles = ¶
+ "{SrcDir}xmlparse.c" ¶
+ "{SrcDir}xmlrole.c" ¶
+ "{SrcDir}xmltok.c"
+
+ToolSrcFiles = ¶
+ "{ToolDir}elements.c" ¶
+ "{ToolDir}outline.c"
+
+
+### Object Files ###
+
+ObjFiles-PPC = ¶
+ "{ObjDir}xmlparse.c.o" ¶
+ "{ObjDir}xmlrole.c.o" ¶
+ "{ObjDir}xmltok.c.o"
+
+ElementToolObjFile = "{ObjDir}elements.c.o"
+
+OutlineToolObjFile = "{ObjDir}outline.c.o"
+
+
+### Libraries ###
+
+StLibFiles-PPC = ¶
+ "{PPCLibraries}StdCRuntime.o" ¶
+ "{PPCLibraries}PPCCRuntime.o" ¶
+ "{PPCLibraries}PPCToolLibs.o"
+
+ShLibFiles-PPC = ¶
+ "{SharedLibraries}InterfaceLib" ¶
+ "{SharedLibraries}StdCLib" ¶
+ "{SharedLibraries}MathLib"
+
+LibFiles-PPC = ¶
+ {StLibFiles-PPC} ¶
+ {ShLibFiles-PPC}
+
+
+### Special Files ###
+
+ExportFile = "{ObjDir}{FragName}.exp"
+
+StLibFile = "{ObjDir}{FragName}.MrC.o"
+
+ShLibFile = "{ObjDir}{FragName}"
+
+StubFile = "{ObjDir}{FragName}.stub"
+
+ElementsTool = "{ToolDir}elements"
+
+OutlineTool = "{ToolDir}outline"
+
+
+### Default Rules ###
+
+.c.o Ä .c {¥MondoBuild¥}
+ {PPCC} {depDir}{default}.c -o {targDir}{default}.c.o {PPCCOptions}
+
+
+### Build Rules ###
+
+All Ä Dynamic {ElementsTool} {OutlineTool}
+
+Static Ä {StLibFile}
+
+Dynamic Ä Static {ShLibFile} {StubFile}
+
+{StLibFile} ÄÄ {ObjFiles-PPC} {StLibFiles-PPC} {¥MondoBuild¥}
+ PPCLink ¶
+ -o {Targ} ¶
+ {ObjFiles-PPC} ¶
+ {StLibFiles-PPC} ¶
+ {Sym-PPC} ¶
+ -mf -d ¶
+ -t 'XCOF' ¶
+ -c 'MPS ' ¶
+ -xm l
+
+{ShLibFile} ÄÄ {StLibFile} {ShLibFiles-PPC} {ExportFile} {¥MondoBuild¥}
+ PPCLink ¶
+ -o {Targ} ¶
+ {StLibFile} ¶
+ {ShLibFiles-PPC} ¶
+ {Sym-PPC} ¶
+ -@export {ExportFile} ¶
+ -fragname {FragName} ¶
+ -mf -d ¶
+ -t 'shlb' ¶
+ -c '????' ¶
+ -xm s
+
+{StubFile} ÄÄ {ShLibFile} {¥MondoBuild¥}
+ shlb2stub -o {Targ} {ShLibFile}
+
+{ElementsTool} ÄÄ {ElementToolObjFile} {StubFile} {LibFiles-PPC} {¥MondoBuild¥}
+ PPCLink ¶
+ -o {Targ} ¶
+ {ElementToolObjFile} ¶
+ {StLibFile} ¶
+ {LibFiles-PPC} ¶
+ {Sym-PPC} ¶
+ -mf -d ¶
+ -t 'MPST' ¶
+ -c 'MPS '
+
+{OutlineTool} ÄÄ {OutlineToolObjFile} {StubFile} {LibFiles-PPC} {¥MondoBuild¥}
+ PPCLink ¶
+ -o {Targ} ¶
+ {OutlineToolObjFile} ¶
+ {StLibFile} ¶
+ {LibFiles-PPC} ¶
+ {Sym-PPC} ¶
+ -mf -d ¶
+ -t 'MPST' ¶
+ -c 'MPS '
+
+
+### Special Rules ###
+
+{ExportFile} ÄÄ "{HdrDir}expat.h" {¥MondoBuild¥}
+ StreamEdit -d ¶
+ -e "/¥('XMLPARSEAPI('Å') ')Ç0,1È'XML_'([A-Za-z0-9_]+)¨1'('/ Print 'XML_' ¨1" ¶
+ "{HdrDir}expat.h" > {Targ}
+
+
+### Required Dependencies ###
+
+"{ObjDir}xmlparse.c.o" Ä "{SrcDir}xmlparse.c"
+"{ObjDir}xmlrole.c.o" Ä "{SrcDir}xmlrole.c"
+"{ObjDir}xmltok.c.o" Ä "{SrcDir}xmltok.c"
+
+"{ObjDir}elements.c.o" Ä "{ToolDir}elements.c"
+"{ObjDir}outline.c.o" Ä "{ToolDir}outline.c"
+
+
+### Optional Dependencies ###
+### Build this target to clean out generated intermediate files. ###
+
+Clean Ä
+ Delete {ObjFiles-PPC} {ExportFile} {ElementToolObjFile} {OutlineToolObjFile}
+
+### Build this target to clean out all generated files. ###
+
+Clean-All Ä Clean
+ Delete {StLibFile} {ShLibFile} {StubFile} {ElementsTool} {OutlineTool}
+
+### Build this target to generate "include file" dependencies. ###
+
+Dependencies Ä $OutOfDate
+ MakeDepend ¶
+ -append {MAKEFILE} ¶
+ -ignore "{CIncludes}" ¶
+ -objdir "{ObjDir}" ¶
+ -objext .o ¶
+ {Defines} ¶
+ {Includes} ¶
+ {SrcFiles}
+
+