From a94f7807f8eb99b5387d7f9cd973571d9f44f904 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Tue, 5 Mar 2013 07:10:39 +0200 Subject: Limited support for Suunto DM4 import Basic functionality is implemented but at least support for multiple cylinders is missing. Event/alarm support is only partial. Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2a1751f1d..405e4bd7a 100644 --- a/Makefile +++ b/Makefile @@ -120,6 +120,11 @@ ifneq ($(strip $(LIBZIP)),) ZIP = -DLIBZIP $(shell $(PKGCONFIG) --cflags libzip) endif +LIBSQLITE3 = $(shell $(PKGCONFIG) --libs sqlite3 2> /dev/null) +ifneq ($(strip $(LIBSQLITE3)),) + SQLITE3 = -DSQLITE3 $(shell $(PKGCONFIG) --cflags sqlite3) +endif + ifeq ($(UNAME), linux) LIBGCONF2 = $(shell $(PKGCONFIG) --libs gconf-2.0) GCONF2CFLAGS = $(shell $(PKGCONFIG) --cflags gconf-2.0) @@ -152,7 +157,7 @@ ifneq ($(strip $(LIBXSLT)),) XSLT=-DXSLT='"$(XSLTDIR)"' endif -LIBS = $(LIBXML2) $(LIBXSLT) $(LIBGTK) $(LIBGCONF2) $(LIBDIVECOMPUTER) $(EXTRALIBS) $(LIBZIP) -lpthread -lm $(LIBOSMGPSMAP) $(LIBSOUP) $(LIBWINSOCK) +LIBS = $(LIBXML2) $(LIBXSLT) $(LIBSQLITE3) $(LIBGTK) $(LIBGCONF2) $(LIBDIVECOMPUTER) $(EXTRALIBS) $(LIBZIP) -lpthread -lm $(LIBOSMGPSMAP) $(LIBSOUP) $(LIBWINSOCK) MSGLANGS=$(notdir $(wildcard po/*po)) MSGOBJS=$(addprefix share/locale/,$(MSGLANGS:.po=.UTF-8/LC_MESSAGES/subsurface.mo)) @@ -266,7 +271,7 @@ update-po-files: tx pull -af EXTRA_FLAGS = $(GTKCFLAGS) $(GLIB2CFLAGS) $(XML2CFLAGS) \ - $(XSLT) $(ZIP) $(LIBDIVECOMPUTERCFLAGS) \ + $(XSLT) $(ZIP) $(SQLITE3) $(LIBDIVECOMPUTERCFLAGS) \ $(LIBSOUPCFLAGS) $(OSMGPSMAPFLAGS) $(GCONF2CFLAGS) %.o: %.c -- cgit v1.2.3-70-g09d2