From: Kaj-Michael Lang Date: Thu, 22 May 2008 08:06:12 +0000 (+0300) Subject: Add X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26c62a589b5c1063add0901a3660ac284d2eb035;p=mapper Add --- diff --git a/libs/Makefile.am b/libs/Makefile.am new file mode 100644 index 0000000..710bc58 --- /dev/null +++ b/libs/Makefile.am @@ -0,0 +1,21 @@ +# +# This file is part of mapper +# +# Copyright (C) 2008 Kaj-Michael Lang. +# +# 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 2 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, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# + +SUBDIRS = libgtkmap libgtkgps diff --git a/libs/libgtkgps/Makefile.am b/libs/libgtkgps/Makefile.am new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/libs/libgtkgps/Makefile.am @@ -0,0 +1 @@ + diff --git a/libs/libgtkmap/Makefile.am b/libs/libgtkmap/Makefile.am new file mode 100644 index 0000000..21949bc --- /dev/null +++ b/libs/libgtkmap/Makefile.am @@ -0,0 +1,46 @@ +# +# This file is part of mapper +# +# Copyright (C) 2008 Kaj-Michael Lang +# +# 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 2 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, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# + +INCLUDES = -DDATADIR=\""$(datadir)"\" -DDBUS_API_SUBJECT_TO_CHANGE + +TOPDIR=../../src + +bin_PROGRAMS = map_widget_test +lib_LTLIBRARIES = libgtkmap.la + +libgtkmap_la_SOURCES = gtkmap.c gtkmap.h gtkmap-marshal.c gtkmap-marshal.h $(TOPDIR)/latlon.c $(TOPDIR)/image-cache.c +libgtkmap_la_CFLAGS = $(GLIBGTK_CFLAGS) $(GTKGLEXT_CFLAGS) $(defines) +libgtkmap_la_LIBADD = $(GLIBGTK_LIBS) $(GTKGLEXT_LIBS) +libgtkmap_la_LDFLAGS = -lm -no-undefined + +map_widget_test_SOURCES = map-widget-test.c $(TOPDIR)/map-tile-repo.c +map_widget_test_LDADD = $(GLIBGTK_LIBS) $(GTKHTML_LIBS) $(CAIRO_LIBS) $(GTKGLEXT_LIBS) -lm libgtkmap.la +map_widget_test_CFLAGS = $(GLIBGTK_CFLAGS) $(GTKHTML_CFLAGS) $(CAIRO_CFLAGS) $(GTKGLEXT_CFLAGS) + +EXTRA_DIST = gtkmap-marshal.list +BUILT_SOURCES = gtkmap-marshal.c gtkmap-marshal.h + +gtkmap-marshal.c: gtkmap-marshal.list + glib-genmarshal --prefix _gtkamp --body $< > $@ + +gtkmap-marshal.h: gtkmap-marshal.list + glib-genmarshal --prefix _gtkamp --header $< > $@ + +CLEANFILES = $(BUILT_SOURCES)