Update of /cvsroot/roadmap/roadmap_editor/src/gtk2
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv21840
Modified Files:
Makefile roadmap_main.c
Log Message:
Add FreeMap build.
Index: Makefile
===================================================================
RCS file: /cvsroot/roadmap/roadmap_editor/src/gtk2/Makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** Makefile 5 Jun 2006 09:19:54 -0000 1.8
--- Makefile 8 Oct 2006 20:04:42 -0000 1.9
***************
*** 56,59 ****
--- 56,66 ----
endif
+ RUNTIME=gtkroadmap gtkroadgps
+
+ ifeq ($(FREEMAP_IL),YES)
+ CFLAGS += -DFREEMAP_IL
+ RUNTIME=gtkroadmap
+ endif
+
CXXFLAGS = $(CFLAGS) -I/usr/include/agg2 -I/usr/include/freetype2 -I/usr/include/fribidi
# --- RoadMap sources & targets -----------------------------------
***************
*** 66,71 ****
RMLIBOBJS=$(RMLIBSRCS:.c=.o) roadmap_canvas_agg.o ../agg/roadmap_canvas.o ../agg/font_freetype/agg_font_freetype.o
- RUNTIME=gtkroadgps gtkroadmap
-
# --- Conventional targets ----------------------------------------
--- 73,76 ----
Index: roadmap_main.c
===================================================================
RCS file: /cvsroot/roadmap/roadmap_editor/src/gtk2/roadmap_main.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** roadmap_main.c 4 Sep 2006 06:54:03 -0000 1.4
--- roadmap_main.c 8 Oct 2006 20:04:42 -0000 1.5
***************
*** 45,48 ****
--- 45,49 ----
#include "roadmap_gtkcanvas.h"
#include "roadmap_gtkmain.h"
+ #include "../editor/editor_main.h"
#include "roadmap_main.h"
***************
*** 251,254 ****
--- 252,259 ----
}
RoadMapMainTitle = strdup (title);
+ #ifdef FREEMAP_IL
+ editor_main_check_map ();
+ editor_main_set (1);
+ #endif
}
|