]> err.no Git - mapper/commitdiff
Add
authorKaj-Michael Lang <milang@tal.org>
Thu, 22 May 2008 08:06:12 +0000 (11:06 +0300)
committerKaj-Michael Lang <milang@tal.org>
Thu, 22 May 2008 08:06:12 +0000 (11:06 +0300)
libs/Makefile.am [new file with mode: 0644]
libs/libgtkgps/Makefile.am [new file with mode: 0644]
libs/libgtkmap/Makefile.am [new file with mode: 0644]

diff --git a/libs/Makefile.am b/libs/Makefile.am
new file mode 100644 (file)
index 0000000..710bc58
--- /dev/null
@@ -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 (file)
index 0000000..8b13789
--- /dev/null
@@ -0,0 +1 @@
+
diff --git a/libs/libgtkmap/Makefile.am b/libs/libgtkmap/Makefile.am
new file mode 100644 (file)
index 0000000..21949bc
--- /dev/null
@@ -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)