aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
authorAlexander Chemeris <Alexander.Chemeris@gmail.com>2013-06-16 14:29:54 +0400
committerAlexander Chemeris <Alexander.Chemeris@gmail.com>2013-06-16 14:29:54 +0400
commit040b3057899ab523861f1225f629d5c8c7d5820b (patch)
tree7efcd5478959967da43ade5e3c174967900d521f /Makefile.common
parentfc40a84d9ba3d798ff51c15d6197ad49e29b3d57 (diff)
Checking in build system for the Transceiver.
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common41
1 files changed, 41 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
new file mode 100644
index 0000000..0766dd1
--- /dev/null
+++ b/Makefile.common
@@ -0,0 +1,41 @@
+#
+# Copyright 2008 Free Software Foundation, Inc.
+#
+# This software is distributed under the terms of the GNU Public License.
+# See the COPING file in the main directory for details.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
+#hack to get around symlink svn:externals in git -kurtis
+top_srcdir = $(abs_top_srcdir)
+top_builddir = $(abs_top_builddir)
+
+COMMON_INCLUDEDIR = $(top_srcdir)/CommonLibs
+GSM_INCLUDEDIR = $(top_srcdir)/GSM
+SQLITE_INCLUDEDIR = $(top_srcdir)/sqlite3
+
+SVNDEV = -D'SVN_REV="$(shell svnversion -n $(top_builddir))"'
+
+STD_DEFINES_AND_INCLUDES = \
+ $(SVNDEV) \
+ -I$(COMMON_INCLUDEDIR) \
+ -I$(GSM_INCLUDEDIR) \
+ -I$(SQLITE_INCLUDEDIR)
+
+COMMON_LA = $(top_builddir)/CommonLibs/libcommon.la
+GSM_LA = $(top_builddir)/GSM/libGSM.la
+SQLITE_LA = $(top_builddir)/sqlite3/libsqlite.la -ldl
+
+MOSTLYCLEANFILES = *~