]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Build from the root directory
authorTravis Cross <tc@traviscross.com>
Tue, 26 Jun 2012 17:58:07 +0000 (17:58 +0000)
committerTravis Cross <tc@traviscross.com>
Mon, 11 Feb 2013 16:41:43 +0000 (16:41 +0000)
Move all the GNU build files to the root directory so that we look
like a normal *NIX-centric project.

Thanks to Viktor Krikrun for an initial patch here.  For this commit,
I ended up redoing the move from scratch to separate out this move
from other changes.

16 files changed:
libs/libzrtp/.gitignore
libs/libzrtp/COPYING [moved from libs/libzrtp/projects/gnu/COPYING with 100% similarity]
libs/libzrtp/INSTALL [moved from libs/libzrtp/projects/gnu/INSTALL with 100% similarity]
libs/libzrtp/Makefile.am [moved from libs/libzrtp/projects/gnu/Makefile.am with 90% similarity]
libs/libzrtp/NEWS [moved from libs/libzrtp/projects/gnu/NEWS with 100% similarity]
libs/libzrtp/acinclude.m4 [moved from libs/libzrtp/projects/gnu/acinclude.m4 with 100% similarity]
libs/libzrtp/bootstrap.sh [moved from libs/libzrtp/projects/gnu/bootstrap.sh with 77% similarity]
libs/libzrtp/build/Makefile.am [moved from libs/libzrtp/projects/gnu/build/Makefile.am with 98% similarity]
libs/libzrtp/build/test/Makefile.am [moved from libs/libzrtp/projects/gnu/build/test/Makefile.am with 98% similarity]
libs/libzrtp/configure.in [moved from libs/libzrtp/projects/gnu/configure.in with 96% similarity]
libs/libzrtp/create_docs.sh [moved from libs/libzrtp/projects/gnu/create_docs.sh with 81% similarity]
libs/libzrtp/create_pack.pl [moved from libs/libzrtp/projects/gnu/create_pack.pl with 100% similarity]
libs/libzrtp/projects/gnu/.gitignore [deleted file]
libs/libzrtp/projects/gnu/AUTHORS [deleted file]
libs/libzrtp/projects/gnu/ChangeLog [deleted file]
libs/libzrtp/projects/gnu/README [deleted file]

index 89bab134d93a4139cbfa3b65c9c548d47cd6856d..ea9c7b1f3d3ce2c8df34226f511760212f1b4efd 100644 (file)
@@ -1,4 +1,8 @@
 # -*- mode:conf -*-
 /.cproject
 /.project
+/Makefile
+/Makefile.in
+/_configs.sed
+/config/
 /include/zrtp_config_unix.h
similarity index 90%
rename from libs/libzrtp/projects/gnu/Makefile.am
rename to libs/libzrtp/Makefile.am
index 48b8c578a5bec468f165ea030b71a0276a3b39cb..d4916e3cf840b9a5a82cf157bf843db45db6080e 100644 (file)
@@ -5,9 +5,9 @@
 # Viktor Krikun <v.krikun@soft-industry.com> <v.krikun@gmail.com>
 #
 
-TEST_DIR=$(top_srcdir)/../../test
-TOP_SRCDIR=$(top_srcdir)/../../include
-THIRD_DIR=$(top_srcdir)/../../third_party
+TEST_DIR=$(top_srcdir)/test
+TOP_SRCDIR=$(top_srcdir)/include
+THIRD_DIR=$(top_srcdir)/third_party
 
 libzrtp_includedir=$(includedir)/libzrtp
 
@@ -49,7 +49,7 @@ if ZRTP_BUILD_ENTERPRISE
 libzrtp_include_HEADERS += $(TOP_SRCDIR)/zrtp_ec.h
 endif
 
-SUBDIRS =  ../../third_party/bnlib
+SUBDIRS =  third_party/bnlib
 SUBDIRS += build
 
 uninstall:
similarity index 77%
rename from libs/libzrtp/projects/gnu/bootstrap.sh
rename to libs/libzrtp/bootstrap.sh
index 1559388ad1e0ba59d899bab281a6f625140bbf03..dfa3cc36521a55f36c92eba59caf29942f286ee5 100755 (executable)
@@ -9,6 +9,6 @@ reconf () {
   automake --no-force --add-missing --copy
 }
 
-(cd ../../third_party/bnlib && ./bootstrap.sh)
+(cd third_party/bnlib && ./bootstrap.sh)
 reconf
 
similarity index 98%
rename from libs/libzrtp/projects/gnu/build/Makefile.am
rename to libs/libzrtp/build/Makefile.am
index 8d6e0a0a45785dd79381b30a1b8570c72661a394..4252e672ecbe7bd16641ae2b4ea49d9d50051eb0 100644 (file)
@@ -5,7 +5,7 @@
 # Viktor Krikun <v.krikun@soft-industry.com> <v.krikun@gmail.com>
 #
 
-TOP_SRCDIR=$(top_srcdir)/../..
+TOP_SRCDIR=$(top_srcdir)
 INCLUDES =     -I$(TOP_SRCDIR)/include \
                        -I$(TOP_SRCDIR)/. \
                        -I$(TOP_SRCDIR)/third_party/bgaes \
similarity index 98%
rename from libs/libzrtp/projects/gnu/build/test/Makefile.am
rename to libs/libzrtp/build/test/Makefile.am
index 558b2b9e5af66db2891229914d05d92e44c0658a..b8f9a9abb9d7663f60c50ec911b6ad9b159900a1 100644 (file)
@@ -7,7 +7,7 @@
 
 
 
-TOP_SRCDIR=$(top_srcdir)/../..
+TOP_SRCDIR=$(top_srcdir)
 INCLUDES =     -I$(TOP_SRCDIR)/include \
                        -I$(TOP_SRCDIR)/include/enterprise \
                        -I$(TOP_SRCDIR)/. \
similarity index 96%
rename from libs/libzrtp/projects/gnu/configure.in
rename to libs/libzrtp/configure.in
index 7d97319a767e275edf3dfaa0f8985bf8b59f4b76..34feb59a9137555a22a07e1b705d522765ae72a5 100644 (file)
@@ -33,15 +33,15 @@ esac
 
 
 AM_INIT_AUTOMAKE([libzrtp], [1.15])
-AX_PREFIX_CONFIG_H(../../include/zrtp_config_unix.h,ZRTP,config/config.h)
+AX_PREFIX_CONFIG_H(include/zrtp_config_unix.h,ZRTP,config/config.h)
 
 CFLAGS="$CFLAGS -Wno-unused-parameter -fno-strict-aliasing -fPIC -DZRTP_AUTOMAKE=1"
 
 # Configuring external libraries
 echo "========================= configuring bnlib =============================="
-cd ./../../third_party/bnlib
+cd third_party/bnlib
 ./configure CFLAGS="$CFLAGS"
-cd ../../projects/gnu
+cd ../..
 echo "================================ done  ==================================="
 
 # Checks for programs.
similarity index 81%
rename from libs/libzrtp/projects/gnu/create_docs.sh
rename to libs/libzrtp/create_docs.sh
index 1999a1b14aba3a831439b4941818dbe5c7e7d5a4..a30c7c256b7d7853a1b7d6e718864c5f445f3431 100755 (executable)
@@ -7,5 +7,3 @@ mkdir libzrtp-doc
 cp -Rf ./out/html/* ./libzrtp-doc
 tar -zcvf ./libzrtp-doc.tar.gz ./libzrtp-doc >> /dev/null
 rm -rf libzrtp-doc
-mv libzrtp-doc.tar.gz ../projects/gnu
-cd ../projects/gnu
diff --git a/libs/libzrtp/projects/gnu/.gitignore b/libs/libzrtp/projects/gnu/.gitignore
deleted file mode 100644 (file)
index 0920c73..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-# -*- mode:conf -*-
-/Makefile
-/Makefile.in
-/_configs.sed
-/build/Makefile
-/build/Makefile.in
-/build/test/Makefile
-/build/test/Makefile.in
-/config/config.h
-/config/stamp-h1
diff --git a/libs/libzrtp/projects/gnu/AUTHORS b/libs/libzrtp/projects/gnu/AUTHORS
deleted file mode 100644 (file)
index 5d67c09..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-libzrtp betta
-Copyright (c) 2005-2008 Philip Zimmermann.  All rights reserved.
-Contact Phil at: www.philzimmermann.com
-Visit the Zfone Project Home Page http://zfoneproject.com/
-Report bugs via the Zfone Bugs Page http://zfoneproject.com/bugs.html
-
-Created by Phil Zimmermann.
-
-Developers:
-       Viktor Krikun <v.krikun@soft-industry.com> <v.krikun@gmail.com>
-       Nikolay Popok
-       Vitaly Rozhkov
-       Andrey Rozinko
-       Bryce Wilcox-O'Hearn
-       
-Thanks to:
-       Alan Johnston
-       Jon Callas
-       Hal Finney
-       Colin Plumb
-       Sagar Pai
-       Werner Dittmann
-       L. Amber Wilcox-O'Hearn
-       Ariel Boston
-       Donovan Preston
-
-Software development services provided by Svitla Systems and http://www.soft-industry.com/en.
-
-Portions of this software are available under open source licenses from other authors.
-Notably, Brian Gladman's AES implementation, and David McGrew's libSRTP package.
diff --git a/libs/libzrtp/projects/gnu/ChangeLog b/libs/libzrtp/projects/gnu/ChangeLog
deleted file mode 100644 (file)
index 709dcbe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Change Log is available at [https://developers.zfoneproject.com/libzrtp/wiki/LibzrtpChangeLog]
\ No newline at end of file
diff --git a/libs/libzrtp/projects/gnu/README b/libs/libzrtp/projects/gnu/README
deleted file mode 100644 (file)
index e69de29..0000000