diff options
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 41 |
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 = *~ |