All pastes #835227 Raw Edit

roadmap qtopia

public text v1 · immutable
#835227 ·published 2007-12-28 19:27 UTC
rendered paste body
#
# config.mk
#
# This file controls how RoadMap gets built (at least on unix
# "Makefile-based" platforms).  Try and keep your customizations
# here.  You can override these settings from the commandline
# if you wish, e.g. "make MODE=DEBUG".

# If you change settings in this file, it's quite possible that
# you'll need to do a "make clean" before trying your build again.
# (In other words, it may appear to build correctly, and in some
# cases might, but there are no guarantees.)
# Basic building mode
MODE = 		# blank for "normal" build
# MODE=DEBUG	# enables -g, disables -O, turns on mtrace leak detection
# MODE=PROFILE	# sets up for profiling with gprof

# Add any other special local CFLAGS values here
# e.g., CFLAGS += -DWGET_GOOGLE_ROUTE
# CFLAGS +=

# If you know you need other libraries for your build, you can
# add those here as well.  For example:
# LIBS +=

# Choose a desktop
# DESKTOP = GTK
# DESKTOP = GTK2
# DESKTOP = GPE
# DESKTOP = QT
#DESKTOP = QT4
# DESKTOP = QPE
DESKTOP = QPE4

# if you select WINCE, you'll need to turn off POPT, and maybe
# EXPAT as well, both below.  you'll also need the
# arm-wince-mingw32ce cross-compiler.  and even after all that,
# wroadmap probably won't work on your WinCE device.  you may
# have better luck with a windows-based devkit.  there are some
# more comments in win32/Makefile
# DESKTOP = WINCE
#CROSS=/opt/mingw32ce/bin/arm-wince-mingw32ce-
CROSS_COMPILE=arm-angstrom-linux-gnueabi-
CFLAGS += -I/home/alex/PDA/images/rootfs/usr/include
LDFLAGS += -L/home/alex/PDA/images/rootfs/usr/lib
# CFLAGS += ???  others needed?

# If you select QT or QPE above, you might also want to set QTDIR
# here.  (But it might already be set in your environment.)
# Different QT installations seem to vary quite a bit.  You
# may have to experiment to find the right combination of CFLAGS
# and LIBS settings.
#QTDIR = /usr
# QTDIR = /usr/share/qt4
#QTDIR = /usr/lib64/qt-3.3
QTOPIADIR=/home/alex/PDA/src/qtopia/qtopia_arm
QTDIR=$(QTOPIADIR)/qtopiacore/target
# CFLAGS += -I/usr/include/qt4
#CFLAGS += -DZERO_SIZE_LABELING

# If you are using a build of QT without the QPainter::rotate()
# call builtin (i.e., built with QT_NO_TRANSFORMATIONS, as in
# some Familiar builds), set QT_NO_ROTATE.
# QT_NO_ROTATE = YES

# RoadMap contains a hard-coded list of directories in which it
# will look for its system configuration files.  (see
# "unix/roadmap_path.c")  Specifying a directory here will add
# this path to the front of that list, causing it to be checked
# first.  (This search path can be set at runtime via '--config=PATH'.)
# Note!  If set, this will also be used for the config files
# during "make install".
# ROADMAP_CONFIG_DIR = /usr/local/share/roadmap

# Likewise, setting the following path will prefix the built-in
# list of locations to be searched for maps.  (This search path
# can be set at runtime by changing the value of Map.Path in the
# system (or user) "preferences" file.)
# ROADMAP_MAP_DIR = $(ROADMAP_CONFIG_DIR)/maps

# RoadMap uses the "expat" library in order to read and write xml
# for the GPX format route/track/waypoint files.  If you don't
# libexpat.a on your system, you can still use RoadMap, but you
# won't be able to import or export your route and waypoint data.
EXPAT = YES
# EXPAT = NO

# RoadMap uses the "popt" library when parsing arguments in some
# of the utility programs, primarily those concerned with
# building the maps.  If you don't have libpopt (and the popt.h),
# you can still build and run RoadMap, but not those utilities.
POPT = YES
# POPT = NO

# RoadMap users in the USA will probably use the Tiger maps from
# the US Census bureau.  These maps do not requre "shapefile"
# support when building the rdm format of the maps.  Users in
# other areas will likely be building maps from other sources,
# and will probably need shapefile support.
SHAPEFILES = NO
# SHAPEFILES = YES

# For better-looking lines and a better looking street-label
# font, RoadMap can use the "Anti-Grain Geometry" library,
# libagg.a, on some desktops.  If you don't have this library,
# RoadMap can still do street labels, but they won't look as
# nice.  (for more information on AGG, see http://antigrain.com)
# RoadMap requires version 2.4 of agg.  
# [ Note -- currently, AGG is only available with GTK2 builds.]
#
# Choose one of the options below.  This is really ugly, but unlike
# the rest of the graphics code in RoadMap, the AGG code doesn't
# autodetect what kind of display you have.  (Would someone out
# there like to fix this?  :-)  If your screen is squished or 
# stretched, 16/32 is wrong.  If you have bad colors, rgb/bgr is
# wrong.  Other values are possible -- see the AGG documention
# for pixfmt_XXX values
 AGG = NO
# AGG = rgb565	# 16bit "highcolor"
# AGG = rgba32	# 24bit+alpha "truecolor", RGB order
# AGG = bgra32	# 24bit+alpha "truecolor", BGR order
# AGG = rgb24	# 24bit "truecolor", RGB order
#AGG = bgr24	# 24bit "truecolor", BGR order

# Some languages need to present text that flows from right to to
# left.  RoadMap supports this via the "Free Implementation of
# the BiDirectional" algorithm library, (aka "FriBidi" -- for
# more information, see http://fribidi.org )  (AGG is also
# required.)
BIDI = NO
# BIDI = YES

# RoadMap internal profiling -- you probably don't want this.
# DBG_TIME = YES