support for GNU build tools

git-svn-id: http://svn.osgeo.org/qgis/trunk@286 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
gsherman 2003-09-27 21:30:26 +00:00
parent 231583295f
commit d54a8c32f9
20 changed files with 28618 additions and 26 deletions

12
Makefile.am Normal file
View File

@ -0,0 +1,12 @@
# Copyright (C) 2003 Gary Sherman <sherman at mrcc.com>
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#EXTRA_DIST = reconf configure
SUBDIRS = src

542
Makefile.in Normal file
View File

@ -0,0 +1,542 @@
# Makefile.in generated by automake 1.7.2 from Makefile.am.
# @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
# Copyright (C) 2003 Gary Sherman <sherman at mrcc.com>
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = .
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_triplet = @host@
ACLOCAL = @ACLOCAL@
AMDEP_FALSE = @AMDEP_FALSE@
AMDEP_TRUE = @AMDEP_TRUE@
AMTAR = @AMTAR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
ECHO = @ECHO@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
GDAL_CFLAGS = @GDAL_CFLAGS@
GDAL_LIB = @GDAL_LIB@
GRASS_INC = @GRASS_INC@
GRASS_LIB = @GRASS_LIB@
HAVE_GRASS = @HAVE_GRASS@
HAVE_PG = @HAVE_PG@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MOC = @MOC@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PG_CONFIG = @PG_CONFIG@
PG_INC = @PG_INC@
PG_LIB = @PG_LIB@
POSTGRESDB_FALSE = @POSTGRESDB_FALSE@
POSTGRESDB_TRUE = @POSTGRESDB_TRUE@
QASSISTANTCLIENT_LDADD = @QASSISTANTCLIENT_LDADD@
QEMBED = @QEMBED@
QT_CXXFLAGS = @QT_CXXFLAGS@
QT_GUILINK = @QT_GUILINK@
QT_LDADD = @QT_LDADD@
RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
UIC = @UIC@
VERSION = @VERSION@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_RANLIB = @ac_ct_RANLIB@
ac_ct_STRIP = @ac_ct_STRIP@
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
am__include = @am__include@
am__quote = @am__quote@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
datadir = @datadir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localstatedir = @localstatedir@
mandir = @mandir@
oldincludedir = @oldincludedir@
prefix = @prefix@
program_transform_name = @program_transform_name@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
#EXTRA_DIST = reconf configure
SUBDIRS = src
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
DIST_SOURCES =
RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
ps-recursive install-info-recursive uninstall-info-recursive \
all-recursive install-data-recursive install-exec-recursive \
installdirs-recursive install-recursive uninstall-recursive \
check-recursive installcheck-recursive
DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
Makefile.in NEWS TODO acinclude.m4 aclocal.m4 config.guess \
config.sub configure configure.in depcomp install-sh ltmain.sh \
missing mkinstalldirs
DIST_SUBDIRS = $(SUBDIRS)
all: all-recursive
.SUFFIXES:
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): configure.in acinclude.m4
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
distclean-libtool:
-rm -f libtool
uninstall-info-am:
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
# (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
@set fnord $$MAKEFLAGS; amf=$$2; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive:
@set fnord $$MAKEFLAGS; amf=$$2; \
dot_seen=no; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
*) list='$(SUBDIRS)' ;; \
esac; \
rev=''; for subdir in $$list; do \
if test "$$subdir" = "."; then :; else \
rev="$$subdir $$rev"; \
fi; \
done; \
rev="$$rev ."; \
target=`echo $@ | sed s/-recursive//`; \
for subdir in $$rev; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$$fail"
tags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
done
ctags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
done
ETAGS = etags
ETAGSFLAGS =
CTAGS = ctags
CTAGSFLAGS =
tags: TAGS
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
mkid -fID $$unique
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
fi; \
done; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(ETAGS_ARGS)$$tags$$unique" \
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$tags $$unique
ctags: CTAGS
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$tags $$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& cd $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) $$here
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
top_distdir = .
distdir = $(PACKAGE)-$(VERSION)
am__remove_distdir = \
{ test ! -d $(distdir) \
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
&& rm -fr $(distdir); }; }
GZIP_ENV = --best
distuninstallcheck_listfiles = find . -type f -print
distcleancheck_listfiles = find . -type f -print
distdir: $(DISTFILES)
$(am__remove_distdir)
mkdir $(distdir)
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
list='$(DISTFILES)'; for file in $$list; do \
case $$file in \
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
esac; \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
$(mkinstalldirs) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
if test -d $$d/$$file; then \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test -d $(distdir)/$$subdir \
|| mkdir $(distdir)/$$subdir \
|| exit 1; \
(cd $$subdir && \
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$(top_distdir)" \
distdir=../$(distdir)/$$subdir \
distdir) \
|| exit 1; \
fi; \
done
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r $(distdir)
dist-gzip: distdir
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
dist dist-all: distdir
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
$(am__remove_distdir)
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
chmod -R a-w $(distdir); chmod a+w $(distdir)
mkdir $(distdir)/=build
mkdir $(distdir)/=inst
chmod a-w $(distdir)
dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
&& cd $(distdir)/=build \
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
$(DISTCHECK_CONFIGURE_FLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
distuninstallcheck \
&& chmod -R a-w "$$dc_install_base" \
&& ({ \
(cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
} || { rm -rf "$$dc_destdir"; exit 1; }) \
&& rm -rf "$$dc_destdir" \
&& $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
&& rm -f $(distdir).tar.gz \
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
$(am__remove_distdir)
@echo "$(distdir).tar.gz is ready for distribution" | \
sed 'h;s/./=/g;p;x;p;x'
distuninstallcheck:
cd $(distuninstallcheck_dir) \
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|| { echo "ERROR: files left after uninstall:" ; \
if test -n "$(DESTDIR)"; then \
echo " (check DESTDIR support)"; \
fi ; \
$(distuninstallcheck_listfiles) ; \
exit 1; } >&2
distcleancheck: distclean
if test '$(srcdir)' = . ; then \
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
exit 1 ; \
fi
test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|| { echo "ERROR: files left in build directory after distclean:" ; \
$(distcleancheck_listfiles) ; \
exit 1; } >&2
check-am: all-am
check: check-recursive
all-am: Makefile
installdirs: installdirs-recursive
installdirs-am:
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-recursive
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive
clean-am: clean-generic clean-libtool mostlyclean-am
distclean: distclean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
distclean-am: clean-am distclean-generic distclean-libtool \
distclean-tags
dvi: dvi-recursive
dvi-am:
info: info-recursive
info-am:
install-data-am:
install-exec-am:
install-info: install-info-recursive
install-man:
installcheck-am:
maintainer-clean: maintainer-clean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf autom4te.cache
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-recursive
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
pdf: pdf-recursive
pdf-am:
ps: ps-recursive
ps-am:
uninstall-am: uninstall-info-am
uninstall-info: uninstall-info-recursive
.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
clean-generic clean-libtool clean-recursive ctags \
ctags-recursive dist dist-all dist-gzip distcheck distclean \
distclean-generic distclean-libtool distclean-recursive \
distclean-tags distcleancheck distdir distuninstallcheck dvi \
dvi-am dvi-recursive info info-am info-recursive install \
install-am install-data install-data-am install-data-recursive \
install-exec install-exec-am install-exec-recursive \
install-info install-info-am install-info-recursive install-man \
install-recursive install-strip installcheck installcheck-am \
installdirs installdirs-am installdirs-recursive \
maintainer-clean maintainer-clean-generic \
maintainer-clean-recursive mostlyclean mostlyclean-generic \
mostlyclean-libtool mostlyclean-recursive pdf pdf-am \
pdf-recursive ps ps-am ps-recursive tags tags-recursive \
uninstall uninstall-am uninstall-info-am \
uninstall-info-recursive uninstall-recursive
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

0
NEWS Normal file
View File

217
acinclude.m4 Normal file
View File

@ -0,0 +1,217 @@
# Check for Qt compiler flags, linker flags, and binary packages
AC_DEFUN([gw_CHECK_QT],
[
AC_REQUIRE([AC_PROG_CXX])
AC_REQUIRE([AC_PATH_X])
AC_MSG_CHECKING([QTDIR])
AC_ARG_WITH([qtdir], [ --with-qtdir=DIR Qt installation directory [default=$QTDIR]], QTDIR=$withval)
# Check that QTDIR is defined or that --with-qtdir given
if test x"$QTDIR" = x ; then
QT_SEARCH="/usr/lib/qt31 /usr/local/qt31 /usr/lib/qt3 /usr/local/qt3 /usr/lib/qt2 /usr/local/qt2 /usr/lib/qt /usr/local/qt"
for i in $QT_SEARCH; do
if test -f $i/include/qglobal.h -a x$QTDIR = x; then QTDIR=$i; fi
done
fi
if test x"$QTDIR" = x ; then
AC_MSG_ERROR([*** QTDIR must be defined, or --with-qtdir option given])
fi
AC_MSG_RESULT([$QTDIR])
# Change backslashes in QTDIR to forward slashes to prevent escaping
# problems later on in the build process, mainly for Cygwin build
# environment using MSVC as the compiler
# TODO: Use sed instead of perl
QTDIR=`echo $QTDIR | perl -p -e 's/\\\\/\\//g'`
# Figure out which version of Qt we are using
AC_MSG_CHECKING([Qt version])
QT_VER=`grep 'define.*QT_VERSION_STR\W' $QTDIR/include/qglobal.h | perl -p -e 's/\D//g'`
case "${QT_VER}" in
2*)
QT_MAJOR="2"
;;
3*)
QT_MAJOR="3"
;;
*)
AC_MSG_ERROR([*** Don't know how to handle this Qt major version])
;;
esac
AC_MSG_RESULT([$QT_VER ($QT_MAJOR)])
# Check that moc is in path
AC_CHECK_PROG(MOC, moc, moc)
if test x$MOC = x ; then
AC_MSG_ERROR([*** moc must be in path])
fi
# uic is the Qt user interface compiler
AC_CHECK_PROG(UIC, uic, uic)
if test x$UIC = x ; then
AC_MSG_ERROR([*** uic must be in path])
fi
# qembed is the Qt data embedding utility.
# It is located in $QTDIR/tools/qembed, and must be compiled and installed
# manually, we'll let it slide if it isn't present
AC_CHECK_PROG(QEMBED, qembed, qembed)
# Calculate Qt include path
QT_CXXFLAGS="-I$QTDIR/include"
QT_IS_EMBEDDED="no"
# On unix, figure out if we're doing a static or dynamic link
case "${host}" in
*-cygwin)
AC_DEFINE_UNQUOTED(WIN32, "", Defined if on Win32 platform)
if test -f "$QTDIR/lib/qt.lib" ; then
QT_LIB="qt.lib"
QT_IS_STATIC="yes"
QT_IS_MT="no"
elif test -f "$QTDIR/lib/qt-mt.lib" ; then
QT_LIB="qt-mt.lib"
QT_IS_STATIC="yes"
QT_IS_MT="yes"
elif test -f "$QTDIR/lib/qt$QT_VER.lib" ; then
QT_LIB="qt$QT_VER.lib"
QT_IS_STATIC="no"
QT_IS_MT="no"
elif test -f "$QTDIR/lib/qt-mt$QT_VER.lib" ; then
QT_LIB="qt-mt$QT_VER.lib"
QT_IS_STATIC="no"
QT_IS_MT="yes"
fi
;;
*)
QT_IS_STATIC=`ls $QTDIR/lib/*.a 2> /dev/null`
if test "x$QT_IS_STATIC" = x; then
QT_IS_STATIC="no"
else
QT_IS_STATIC="yes"
fi
if test x$QT_IS_STATIC = xno ; then
QT_IS_DYNAMIC=`ls $QTDIR/lib/*.so 2> /dev/null`
if test "x$QT_IS_DYNAMIC" = x; then
AC_MSG_ERROR([*** Couldn't find any Qt libraries])
fi
fi
if test "x`ls $QTDIR/lib/libqt.* 2> /dev/null`" != x ; then
QT_LIB="-lqt"
QT_IS_MT="no"
elif test "x`ls $QTDIR/lib/libqt-mt.* 2> /dev/null`" != x ; then
QT_LIB="-lqt-mt"
QT_IS_MT="yes"
elif test "x`ls $QTDIR/lib/libqte.* 2> /dev/null`" != x ; then
QT_LIB="-lqte"
QT_IS_MT="no"
QT_IS_EMBEDDED="yes"
elif test "x`ls $QTDIR/lib/libqte-mt.* 2> /dev/null`" != x ; then
QT_LIB="-lqte-mt"
QT_IS_MT="yes"
QT_IS_EMBEDDED="yes"
fi
;;
esac
AC_MSG_CHECKING([if Qt is static])
AC_MSG_RESULT([$QT_IS_STATIC])
AC_MSG_CHECKING([if Qt is multithreaded])
AC_MSG_RESULT([$QT_IS_MT])
AC_MSG_CHECKING([if Qt is embedded])
AC_MSG_RESULT([$QT_IS_EMBEDDED])
QT_GUILINK=""
QASSISTANTCLIENT_LDADD="-lqassistantclient"
case "${host}" in
*irix*)
QT_LIBS="$QT_LIB"
if test $QT_IS_STATIC = yes ; then
QT_LIBS="$QT_LIBS -L$x_libraries -lXext -lX11 -lm -lSM -lICE"
fi
;;
*linux*)
QT_LIBS="$QT_LIB"
if test $QT_IS_STATIC = yes && test $QT_IS_EMBEDDED = no; then
QT_LIBS="$QT_LIBS -L$x_libraries -lXext -lX11 -lm -lSM -lICE -ldl -ljpeg"
fi
;;
*osf*)
# Digital Unix (aka DGUX aka Tru64)
QT_LIBS="$QT_LIB"
if test $QT_IS_STATIC = yes ; then
QT_LIBS="$QT_LIBS -L$x_libraries -lXext -lX11 -lm -lSM -lICE"
fi
;;
*solaris*)
QT_LIBS="$QT_LIB"
if test $QT_IS_STATIC = yes ; then
QT_LIBS="$QT_LIBS -L$x_libraries -lXext -lX11 -lm -lSM -lICE -lresolv -lsocket -lnsl"
fi
;;
*win*)
# linker flag to suppress console when linking a GUI app on Win32
QT_GUILINK="/subsystem:windows"
if test $QT_MAJOR = "3" ; then
if test $QT_IS_MT = yes ; then
QT_LIBS="/nodefaultlib:libcmt"
else
QT_LIBS="/nodefaultlib:libc"
fi
fi
if test $QT_IS_STATIC = yes ; then
QT_LIBS="$QT_LIBS $QT_LIB kernel32.lib user32.lib gdi32.lib comdlg32.lib ole32.lib shell32.lib imm32.lib advapi32.lib wsock32.lib winspool.lib winmm.lib netapi32.lib"
if test $QT_MAJOR = "3" ; then
QT_LIBS="$QT_LIBS qtmain.lib"
fi
else
QT_LIBS="$QT_LIBS $QT_LIB"
if test $QT_MAJOR = "3" ; then
QT_CXXFLAGS="$QT_CXXFLAGS -DQT_DLL"
QT_LIBS="$QT_LIBS qtmain.lib qui.lib user32.lib netapi32.lib"
fi
fi
QASSISTANTCLIENT_LDADD="qassistantclient.lib"
;;
esac
if test x"$QT_IS_EMBEDDED" = "xyes" ; then
QT_CXXFLAGS="-DQWS $QT_CXXFLAGS"
fi
if test x"$QT_IS_MT" = "xyes" ; then
QT_CXXFLAGS="$QT_CXXFLAGS -D_REENTRANT -DQT_THREAD_SUPPORT"
fi
QT_LDADD="-L$QTDIR/lib $QT_LIBS"
if test x$QT_IS_STATIC = xyes ; then
OLDLIBS="$LIBS"
LIBS="$QT_LDADD"
AC_CHECK_LIB(Xft, XftFontOpen, QT_LDADD="$QT_LDADD -lXft")
LIBS="$LIBS"
fi
AC_MSG_CHECKING([QT_CXXFLAGS])
AC_MSG_RESULT([$QT_CXXFLAGS])
AC_MSG_CHECKING([QT_LDADD])
AC_MSG_RESULT([$QT_LDADD])
AC_SUBST(QT_CXXFLAGS)
AC_SUBST(QT_LDADD)
AC_SUBST(QT_GUILINK)
AC_SUBST(QASSISTANTCLIENT_LDADD)
])

4624
aclocal.m4 vendored Normal file

File diff suppressed because it is too large Load Diff

1363
config.guess vendored Executable file

File diff suppressed because it is too large Load Diff

1470
config.sub vendored Executable file

File diff suppressed because it is too large Load Diff

7835
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,11 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(configure.in)
AC_CONFIG_COMMANDS([src/Makefile], [$QTDIR/bin/qmake -o src/Makefile src/src.pro])
AM_INIT_AUTOMAKE(qgis, 0.0.13)
AC_PROG_LIBTOOL()
#AC_CONFIG_HEADERS()
#AC_CONFIG_COMMANDS([src/Makefile], [$QTDIR/bin/qmake -o src/Makefile src/src.pro])
gw_CHECK_QT
dnl ---------------------------------------------------------------------------
dnl GDAL/OGR
dnl ---------------------------------------------------------------------------
@ -32,10 +35,12 @@ fi
if test `$GDAL_CONFIG --ogr-enabled` = "no" ; then
AC_MSG_ERROR([GDAL is compiled without OGR support.])
fi
GDAL_LIB="`$GDAL_CONFIG --libs`"
GDAL_CFLAGS="`$GDAL_CONFIG --prefix`/include"
AC_MSG_RESULT(yes)
AC_MSG_CHECKING([for GDAL libs])
GDAL_LIB="`$GDAL_CONFIG --libs`"
AC_MSG_RESULT([$GDAL_LIB])
GDAL_CFLAGS="`$GDAL_CONFIG --prefix`/include"
AC_SUBST(GDAL_LIB)
AC_SUBST(GDAL_CFLAGS)
@ -66,6 +71,8 @@ else
PG_LIB="-L`$PG_CONFIG --libdir` -lpq++"
PG_INC="`$PG_CONFIG --includedir`"
AC_MSG_RESULT([yes])
AC_MSG_CHECKING([for postgreSQL libs])
AC_MSG_RESULT([$PG_LIB])
fi
AC_SUBST(HAVE_PG)
@ -112,8 +119,15 @@ fi
AC_SUBST(HAVE_GRASS)
AC_SUBST(GRASS_LIB)
AC_SUBST(GRASS_INC)
#AC_MSG_RESULT([$HAVE_PG])
AM_CONDITIONAL(POSTGRESDB, test x$HAVE_PG = x1)
dnl *** Autoconf output *****************************
AC_OUTPUT([
src/platform.pro
AC_CONFIG_FILES([
Makefile
src/Makefile
])
AC_OUTPUT
#AC_OUTPUT([
#src/platform.pro
#])

423
depcomp Executable file
View File

@ -0,0 +1,423 @@
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
# Copyright 1999, 2000 Free Software Foundation, Inc.
# 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, 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., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
echo "depcomp: Variables source, object and depmode must be set" 1>&2
exit 1
fi
# `libtool' can also be set to `yes' or `no'.
if test -z "$depfile"; then
base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'`
dir=`echo "$object" | sed 's,/.*$,/,'`
if test "$dir" = "$object"; then
dir=
fi
# FIXME: should be _deps on DOS.
depfile="$dir.deps/$base"
fi
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
rm -f "$tmpdepfile"
# Some modes work just like other modes, but use different flags. We
# parameterize here, but still list the modes in the big case below,
# to make depend.m4 easier to write. Note that we *cannot* use a case
# here, because this file can only contain one case statement.
if test "$depmode" = hp; then
# HP compiler uses -M and no extra arg.
gccflag=-M
depmode=gcc
fi
if test "$depmode" = dashXmstdout; then
# This is just like dashmstdout with a different argument.
dashmflag=-xM
depmode=dashmstdout
fi
case "$depmode" in
gcc3)
## gcc 3 implements dependency tracking that does exactly what
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
## it if -MD -MP comes after the -MF stuff. Hmm.
"$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
mv "$tmpdepfile" "$depfile"
;;
gcc)
## There are various ways to get dependency output from gcc. Here's
## why we pick this rather obscure method:
## - Don't want to use -MD because we'd like the dependencies to end
## up in a subdir. Having to rename by hand is ugly.
## (We might end up doing this anyway to support other compilers.)
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
## -MM, not -M (despite what the docs say).
## - Using -M directly means running the compiler twice (even worse
## than renaming).
if test -z "$gccflag"; then
gccflag=-MD,
fi
"$@" -Wp,"$gccflag$tmpdepfile"
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
echo "$object : \\" > "$depfile"
alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
## The second -e expression handles DOS-style file names with drive letters.
sed -e 's/^[^:]*: / /' \
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
## This next piece of magic avoids the `deleted header file' problem.
## The problem is that when a header file which appears in a .P file
## is deleted, the dependency causes make to die (because there is
## typically no way to rebuild the header). We avoid this by adding
## dummy dependencies for each header file. Too bad gcc doesn't do
## this for us directly.
tr ' ' '
' < "$tmpdepfile" |
## Some versions of gcc put a space before the `:'. On the theory
## that the space means something, we add a space to the output as
## well.
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
hp)
# This case exists only to let depend.m4 do its work. It works by
# looking at the text of this script. This case will never be run,
# since it is checked for above.
exit 1
;;
sgi)
if test "$libtool" = yes; then
"$@" "-Wp,-MDupdate,$tmpdepfile"
else
"$@" -MDupdate "$tmpdepfile"
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
echo "$object : \\" > "$depfile"
# Clip off the initial element (the dependent). Don't try to be
# clever and replace this with sed code, as IRIX sed won't handle
# lines with more than a fixed number of characters (4096 in
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
# the IRIX cc adds comments like `#:fec' to the end of the
# dependency line.
tr ' ' '
' < "$tmpdepfile" \
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
tr '
' ' ' >> $depfile
echo >> $depfile
# The second pass generates a dummy entry for each header file.
tr ' ' '
' < "$tmpdepfile" \
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
>> $depfile
else
# The sourcefile does not contain any dependencies, so just
# store a dummy comment line, to avoid errors with the Makefile
# "include basename.Plo" scheme.
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
aix)
# The C for AIX Compiler uses -M and outputs the dependencies
# in a .u file. This file always lives in the current directory.
# Also, the AIX compiler puts `$object:' at the start of each line;
# $object doesn't have directory information.
stripped=`echo "$object" | sed -e 's,^.*/,,' -e 's/\(.*\)\..*$/\1/'`
tmpdepfile="$stripped.u"
outname="$stripped.o"
if test "$libtool" = yes; then
"$@" -Wc,-M
else
"$@" -M
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
if test -f "$tmpdepfile"; then
# Each line is of the form `foo.o: dependent.h'.
# Do two passes, one to just change these to
# `$object: dependent.h' and one to simply `dependent.h:'.
sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
else
# The sourcefile does not contain any dependencies, so just
# store a dummy comment line, to avoid errors with the Makefile
# "include basename.Plo" scheme.
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
tru64)
# The Tru64 compiler uses -MD to generate dependencies as a side
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
# dependencies in `foo.d' instead, so we check for that too.
# Subdirectories are respected.
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
test "x$dir" = "x$object" && dir=
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
if test "$libtool" = yes; then
tmpdepfile1="$dir.libs/$base.lo.d"
tmpdepfile2="$dir.libs/$base.d"
"$@" -Wc,-MD
else
tmpdepfile1="$dir$base.o.d"
tmpdepfile2="$dir$base.d"
"$@" -MD
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile1" "$tmpdepfile2"
exit $stat
fi
if test -f "$tmpdepfile1"; then
tmpdepfile="$tmpdepfile1"
else
tmpdepfile="$tmpdepfile2"
fi
if test -f "$tmpdepfile"; then
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
# That's a space and a tab in the [].
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
else
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
#nosideeffect)
# This comment above is used by automake to tell side-effect
# dependency tracking mechanisms from slower ones.
dashmstdout)
# Important note: in order to support this mode, a compiler *must*
# always write the proprocessed file to stdout, regardless of -o.
"$@" || exit $?
# Remove the call to Libtool.
if test "$libtool" = yes; then
while test $1 != '--mode=compile'; do
shift
done
shift
fi
# Remove `-o $object'. We will use -o /dev/null later,
# however we can't do the remplacement now because
# `-o $object' might simply not be used
IFS=" "
for arg
do
case $arg in
-o)
shift
;;
$object)
shift
;;
*)
set fnord "$@" "$arg"
shift # fnord
shift # $arg
;;
esac
done
test -z "$dashmflag" && dashmflag=-M
"$@" -o /dev/null $dashmflag | sed 's:^[^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
rm -f "$depfile"
cat < "$tmpdepfile" > "$depfile"
tr ' ' '
' < "$tmpdepfile" | \
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
dashXmstdout)
# This case only exists to satisfy depend.m4. It is never actually
# run, as this mode is specially recognized in the preamble.
exit 1
;;
makedepend)
"$@" || exit $?
# X makedepend
shift
cleared=no
for arg in "$@"; do
case $cleared in
no)
set ""; shift
cleared=yes ;;
esac
case "$arg" in
-D*|-I*)
set fnord "$@" "$arg"; shift ;;
-*)
;;
*)
set fnord "$@" "$arg"; shift ;;
esac
done
obj_suffix="`echo $object | sed 's/^.*\././'`"
touch "$tmpdepfile"
${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
rm -f "$depfile"
cat < "$tmpdepfile" > "$depfile"
sed '1,2d' "$tmpdepfile" | tr ' ' '
' | \
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile" "$tmpdepfile".bak
;;
cpp)
# Important note: in order to support this mode, a compiler *must*
# always write the proprocessed file to stdout.
"$@" || exit $?
# Remove the call to Libtool.
if test "$libtool" = yes; then
while test $1 != '--mode=compile'; do
shift
done
shift
fi
# Remove `-o $object'.
IFS=" "
for arg
do
case $arg in
-o)
shift
;;
$object)
shift
;;
*)
set fnord "$@" "$arg"
shift # fnord
shift # $arg
;;
esac
done
"$@" -E |
sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
sed '$ s: \\$::' > "$tmpdepfile"
rm -f "$depfile"
echo "$object : \\" > "$depfile"
cat < "$tmpdepfile" >> "$depfile"
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
msvisualcpp)
# Important note: in order to support this mode, a compiler *must*
# always write the proprocessed file to stdout, regardless of -o,
# because we must use -o when running libtool.
"$@" || exit $?
IFS=" "
for arg
do
case "$arg" in
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
set fnord "$@"
shift
shift
;;
*)
set fnord "$@" "$arg"
shift
shift
;;
esac
done
"$@" -E |
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
rm -f "$depfile"
echo "$object : \\" > "$depfile"
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
echo " " >> "$depfile"
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
rm -f "$tmpdepfile"
;;
none)
exec "$@"
;;
*)
echo "Unknown depmode $depmode" 1>&2
exit 1
;;
esac
exit 0

276
install-sh Executable file
View File

@ -0,0 +1,276 @@
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
# the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation, and that the name of M.I.T. not be used in advertising or
# publicity pertaining to distribution of the software without specific,
# written prior permission. M.I.T. makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
# from scratch. It can only install one file at a time, a restriction
# shared with many OS's install programs.
# set DOITPROG to echo to test this script
# Don't use :- since 4.3BSD and earlier shells don't like it.
doit="${DOITPROG-}"
# put in absolute paths if you don't have them in your path; or use env. vars.
mvprog="${MVPROG-mv}"
cpprog="${CPPROG-cp}"
chmodprog="${CHMODPROG-chmod}"
chownprog="${CHOWNPROG-chown}"
chgrpprog="${CHGRPPROG-chgrp}"
stripprog="${STRIPPROG-strip}"
rmprog="${RMPROG-rm}"
mkdirprog="${MKDIRPROG-mkdir}"
transformbasename=""
transform_arg=""
instcmd="$mvprog"
chmodcmd="$chmodprog 0755"
chowncmd=""
chgrpcmd=""
stripcmd=""
rmcmd="$rmprog -f"
mvcmd="$mvprog"
src=""
dst=""
dir_arg=""
while [ x"$1" != x ]; do
case $1 in
-c) instcmd=$cpprog
shift
continue;;
-d) dir_arg=true
shift
continue;;
-m) chmodcmd="$chmodprog $2"
shift
shift
continue;;
-o) chowncmd="$chownprog $2"
shift
shift
continue;;
-g) chgrpcmd="$chgrpprog $2"
shift
shift
continue;;
-s) stripcmd=$stripprog
shift
continue;;
-t=*) transformarg=`echo $1 | sed 's/-t=//'`
shift
continue;;
-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
shift
continue;;
*) if [ x"$src" = x ]
then
src=$1
else
# this colon is to work around a 386BSD /bin/sh bug
:
dst=$1
fi
shift
continue;;
esac
done
if [ x"$src" = x ]
then
echo "$0: no input file specified" >&2
exit 1
else
:
fi
if [ x"$dir_arg" != x ]; then
dst=$src
src=""
if [ -d "$dst" ]; then
instcmd=:
chmodcmd=""
else
instcmd=$mkdirprog
fi
else
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
if [ -f "$src" ] || [ -d "$src" ]
then
:
else
echo "$0: $src does not exist" >&2
exit 1
fi
if [ x"$dst" = x ]
then
echo "$0: no destination specified" >&2
exit 1
else
:
fi
# If destination is a directory, append the input filename; if your system
# does not like double slashes in filenames, you may need to add some logic
if [ -d "$dst" ]
then
dst=$dst/`basename "$src"`
else
:
fi
fi
## this sed command emulates the dirname command
dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
# Make sure that the destination directory exists.
# this part is taken from Noah Friedman's mkinstalldirs script
# Skip lots of stat calls in the usual case.
if [ ! -d "$dstdir" ]; then
defaultIFS='
'
IFS="${IFS-$defaultIFS}"
oIFS=$IFS
# Some sh's can't handle IFS=/ for some reason.
IFS='%'
set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
IFS=$oIFS
pathcomp=''
while [ $# -ne 0 ] ; do
pathcomp=$pathcomp$1
shift
if [ ! -d "$pathcomp" ] ;
then
$mkdirprog "$pathcomp"
else
:
fi
pathcomp=$pathcomp/
done
fi
if [ x"$dir_arg" != x ]
then
$doit $instcmd "$dst" &&
if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dst"; else : ; fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dst"; else : ; fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dst"; else : ; fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dst"; else : ; fi
else
# If we're going to rename the final executable, determine the name now.
if [ x"$transformarg" = x ]
then
dstfile=`basename "$dst"`
else
dstfile=`basename "$dst" $transformbasename |
sed $transformarg`$transformbasename
fi
# don't allow the sed command to completely eliminate the filename
if [ x"$dstfile" = x ]
then
dstfile=`basename "$dst"`
else
:
fi
# Make a couple of temp file names in the proper directory.
dsttmp=$dstdir/#inst.$$#
rmtmp=$dstdir/#rm.$$#
# Trap to clean up temp files at exit.
trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0
trap '(exit $?); exit' 1 2 13 15
# Move or copy the file name to the temp name
$doit $instcmd "$src" "$dsttmp" &&
# and set any options; do chmod last to preserve setuid bits
# If any of these fail, we abort the whole thing. If we want to
# ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $instcmd $src $dsttmp" command.
if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp"; else :;fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp"; else :;fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dsttmp"; else :;fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; else :;fi &&
# Now remove or move aside any old file at destination location. We try this
# two ways since rm can't unlink itself on some systems and the destination
# file might be busy for other reasons. In this case, the final cleanup
# might fail but the new file should still install successfully.
{
if [ -f "$dstdir/$dstfile" ]
then
$doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null ||
$doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null ||
{
echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
(exit 1); exit
}
else
:
fi
} &&
# Now rename the file to the real destination.
$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
fi &&
# The final little trick to "correctly" pass the exit status to the exit trap.
{
(exit 0); exit
}

5351
libtool Executable file

File diff suppressed because it is too large Load Diff

5062
ltmain.sh Normal file

File diff suppressed because it is too large Load Diff

336
missing Executable file
View File

@ -0,0 +1,336 @@
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# 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, 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., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
if test $# -eq 0; then
echo 1>&2 "Try \`$0 --help' for more information"
exit 1
fi
run=:
# In the cases where this matters, `missing' is being run in the
# srcdir already.
if test -f configure.ac; then
configure_ac=configure.ac
else
configure_ac=configure.in
fi
case "$1" in
--run)
# Try to run requested program, and just exit if it succeeds.
run=
shift
"$@" && exit 0
;;
esac
# If it does not exist, or fails to run (possibly an outdated version),
# try to emulate it.
case "$1" in
-h|--h|--he|--hel|--help)
echo "\
$0 [OPTION]... PROGRAM [ARGUMENT]...
Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
error status if there is no known handling for PROGRAM.
Options:
-h, --help display this help and exit
-v, --version output version information and exit
--run try to run the given command, and emulate it if it fails
Supported PROGRAM values:
aclocal touch file \`aclocal.m4'
autoconf touch file \`configure'
autoheader touch file \`config.h.in'
automake touch all \`Makefile.in' files
bison create \`y.tab.[ch]', if possible, from existing .[ch]
flex create \`lex.yy.c', if possible, from existing .c
help2man touch the output file
lex create \`lex.yy.c', if possible, from existing .c
makeinfo touch the output file
tar try tar, gnutar, gtar, then tar without non-portable flags
yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
;;
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
echo "missing 0.4 - GNU automake"
;;
-*)
echo 1>&2 "$0: Unknown \`$1' option"
echo 1>&2 "Try \`$0 --help' for more information"
exit 1
;;
aclocal*)
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
# We have it, but it failed.
exit 1
fi
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified \`acinclude.m4' or \`${configure_ac}'. You might want
to install the \`Automake' and \`Perl' packages. Grab them from
any GNU archive site."
touch aclocal.m4
;;
autoconf)
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
# We have it, but it failed.
exit 1
fi
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified \`${configure_ac}'. You might want to install the
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
archive site."
touch configure
;;
autoheader)
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
# We have it, but it failed.
exit 1
fi
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified \`acconfig.h' or \`${configure_ac}'. You might want
to install the \`Autoconf' and \`GNU m4' packages. Grab them
from any GNU archive site."
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
test -z "$files" && files="config.h"
touch_files=
for f in $files; do
case "$f" in
*:*) touch_files="$touch_files "`echo "$f" |
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
*) touch_files="$touch_files $f.in";;
esac
done
touch $touch_files
;;
automake*)
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
# We have it, but it failed.
exit 1
fi
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
You might want to install the \`Automake' and \`Perl' packages.
Grab them from any GNU archive site."
find . -type f -name Makefile.am -print |
sed 's/\.am$/.in/' |
while read f; do touch "$f"; done
;;
autom4te)
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
# We have it, but it failed.
exit 1
fi
echo 1>&2 "\
WARNING: \`$1' is needed, and you do not seem to have it handy on your
system. You might have modified some files without having the
proper tools for further handling them.
You can get \`$1Help2man' as part of \`Autoconf' from any GNU
archive site."
file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
if test -f "$file"; then
touch $file
else
test -z "$file" || exec >$file
echo "#! /bin/sh"
echo "# Created by GNU Automake missing as a replacement of"
echo "# $ $@"
echo "exit 0"
chmod +x $file
exit 1
fi
;;
bison|yacc)
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified a \`.y' file. You may need the \`Bison' package
in order for those modifications to take effect. You can get
\`Bison' from any GNU archive site."
rm -f y.tab.c y.tab.h
if [ $# -ne 1 ]; then
eval LASTARG="\${$#}"
case "$LASTARG" in
*.y)
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
if [ -f "$SRCFILE" ]; then
cp "$SRCFILE" y.tab.c
fi
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
if [ -f "$SRCFILE" ]; then
cp "$SRCFILE" y.tab.h
fi
;;
esac
fi
if [ ! -f y.tab.h ]; then
echo >y.tab.h
fi
if [ ! -f y.tab.c ]; then
echo 'main() { return 0; }' >y.tab.c
fi
;;
lex|flex)
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified a \`.l' file. You may need the \`Flex' package
in order for those modifications to take effect. You can get
\`Flex' from any GNU archive site."
rm -f lex.yy.c
if [ $# -ne 1 ]; then
eval LASTARG="\${$#}"
case "$LASTARG" in
*.l)
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
if [ -f "$SRCFILE" ]; then
cp "$SRCFILE" lex.yy.c
fi
;;
esac
fi
if [ ! -f lex.yy.c ]; then
echo 'main() { return 0; }' >lex.yy.c
fi
;;
help2man)
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
# We have it, but it failed.
exit 1
fi
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified a dependency of a manual page. You may need the
\`Help2man' package in order for those modifications to take
effect. You can get \`Help2man' from any GNU archive site."
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
if test -z "$file"; then
file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
fi
if [ -f "$file" ]; then
touch $file
else
test -z "$file" || exec >$file
echo ".ab help2man is required to generate this page"
exit 1
fi
;;
makeinfo)
if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
# We have makeinfo, but it failed.
exit 1
fi
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified a \`.texi' or \`.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy \`make' (AIX,
DU, IRIX). You might want to install the \`Texinfo' package or
the \`GNU make' package. Grab either from any GNU archive site."
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
if test -z "$file"; then
file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
fi
touch $file
;;
tar)
shift
if test -n "$run"; then
echo 1>&2 "ERROR: \`tar' requires --run"
exit 1
fi
# We have already tried tar in the generic part.
# Look for gnutar/gtar before invocation to avoid ugly error
# messages.
if (gnutar --version > /dev/null 2>&1); then
gnutar "$@" && exit 0
fi
if (gtar --version > /dev/null 2>&1); then
gtar "$@" && exit 0
fi
firstarg="$1"
if shift; then
case "$firstarg" in
*o*)
firstarg=`echo "$firstarg" | sed s/o//`
tar "$firstarg" "$@" && exit 0
;;
esac
case "$firstarg" in
*h*)
firstarg=`echo "$firstarg" | sed s/h//`
tar "$firstarg" "$@" && exit 0
;;
esac
fi
echo 1>&2 "\
WARNING: I can't seem to be able to run \`tar' with the given arguments.
You may want to install GNU tar or Free paxutils, or check the
command line arguments."
exit 1
;;
*)
echo 1>&2 "\
WARNING: \`$1' is needed, and you do not seem to have it handy on your
system. You might have modified some files without having the
proper tools for further handling them. Check the \`README' file,
it often tells you about the needed prerequirements for installing
this package. You may also peek at any GNU archive site, in case
some other package would contain this missing \`$1' program."
exit 1
;;
esac
exit 0

111
mkinstalldirs Executable file
View File

@ -0,0 +1,111 @@
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help | --h*) # -h for help
echo "$usage" 1>&2
exit 0
;;
-m) # -m PERM arg
shift
test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
dirmode=$1
shift
;;
--) # stop option processing
shift
break
;;
-*) # unknown option
echo "$usage" 1>&2
exit 1
;;
*) # first non-opt arg
break
;;
esac
done
for file
do
if test -d "$file"; then
shift
else
break
fi
done
case $# in
0) exit 0 ;;
esac
case $dirmode in
'')
if mkdir -p -- . 2>/dev/null; then
echo "mkdir -p -- $*"
exec mkdir -p -- "$@"
fi
;;
*)
if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
echo "mkdir -m $dirmode -p -- $*"
exec mkdir -m "$dirmode" -p -- "$@"
fi
;;
esac
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
pathcomp=
for d
do
pathcomp="$pathcomp$d"
case $pathcomp in
-*) pathcomp=./$pathcomp ;;
esac
if test ! -d "$pathcomp"; then
echo "mkdir $pathcomp"
mkdir "$pathcomp" || lasterr=$?
if test ! -d "$pathcomp"; then
errstatus=$lasterr
else
if test ! -z "$dirmode"; then
echo "chmod $dirmode $pathcomp"
lasterr=""
chmod "$dirmode" "$pathcomp" || lasterr=$?
if test ! -z "$lasterr"; then
errstatus=$lasterr
fi
fi
fi
fi
pathcomp="$pathcomp/"
done
done
exit $errstatus
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# End:
# mkinstalldirs ends here

136
src/Makefile.am Normal file
View File

@ -0,0 +1,136 @@
# Copyright (C) 2003 Gary Sherman <sherman at mrcc.com>
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
bin_PROGRAMS = qgis
%.moc.cpp: %.h
$(MOC) -o $@ $<
%.h: %.ui
$(UIC) -o $@ $<
%.cpp: %.ui
$(UIC) -o $@ -impl $*.h $<
qgis_SOURCES = qgisapp.cpp \
main.cpp \
qgisiface.cpp \
qgisinterface.cpp \
qgsattributetable.cpp \
qgsattributetabledisplay.cpp \
qgscoordinatetransform.cpp \
qgscustomsymbol.cpp \
qgsdatasource.cpp \
qgsidentifyresults.cpp \
qgslayerproperties.cpp \
qgslegend.cpp \
qgslegenditem.cpp \
qgslinesymbol.cpp \
qgsmapcanvas.cpp \
qgsmaplayer.cpp \
qgsmarkersymbol.cpp \
qgspluginitem.cpp \
qgspluginmanager.cpp \
qgspoint.cpp \
qgspolygonsymbol.cpp \
qgsprojectio.cpp \
qgsrasterlayer.cpp \
qgsrect.cpp \
qgsrenderer.cpp \
qgsrenderitem.cpp \
qgsshapefilelayer.cpp \
qgssymbol.cpp\
$(qgis_UI)\
$(qgis_MOC)
qgis_MOC = qgisappbase.moc.cpp \
qgisapp.moc.cpp\
qgisinterface.moc.cpp\
qgsabout.moc.cpp\
qgsattributetablebase.moc.cpp\
qgsattributetable.moc.cpp\
qgsidentifyresultsbase.moc.cpp\
qgslayerpropertiesbase.moc.cpp\
qgslegend.moc.cpp\
qgslegenditembase.moc.cpp\
qgslegenditem.moc.cpp\
qgsmapcanvas.moc.cpp\
qgsmaplayer.moc.cpp\
qgsmaplayerinterface.moc.cpp\
qgsmessageviewer.moc.cpp\
qgspluginmanagerbase.moc.cpp\
qgsrasterlayer.moc.cpp\
qgsshapefilelayer.moc.cpp
qgis_UI = qgisappbase.h\
qgisappbase.cpp\
qgslegenditembase.h\
qgslegenditembase.cpp\
qgsabout.h\
qgsabout.cpp\
qgslayerpropertiesbase.h\
qgslayerpropertiesbase.cpp\
qgsidentifyresultsbase.h\
qgsidentifyresultsbase.cpp\
qgsattributetablebase.h\
qgsattributetablebase.cpp\
qgspluginmanagerbase.h\
qgspluginmanagerbase.cpp\
qgsmessageviewer.h\
qgsmessageviewer.cpp
# UI dependencies
qgisappbase.h: qgisappbase.ui
qgisappbase.cpp: qgisappbase.ui qgisappbase.h
qgslegenditembase.h: qgslegenditembase.ui
qgslegenditembase.cpp: qgslegenditembase.h qgslegenditembase.ui
qgslayerpropertiesbase.h: qgslayerpropertiesbase.ui
qgslayerpropertiesbase.cpp: qgslayerpropertiesbase.h qgslayerpropertiesbase.ui
qgsabout.h: qgsabout.ui
qgsabout.cpp: qgsabout.h qgsabout.ui
qgsidentifyresultsbase.h: qgsidentifyresultsbase.ui
qgsidentifyresultsbase.cpp: qgsidentifyresultsbase.h qgsidentifyresultsbase.ui
gsattributetablebase.h: qgsattributetablebase.ui
gsattributetablebase.cpp: gsattributetablebase.h qgsattributetablebase.ui
qgspluginmanagerbase.h: qgspluginmanagerbase.ui
qgspluginmanagerbase.cpp: qgspluginmanagerbase.h qgspluginmanagerbase.ui
qgsmessageviewer.h: qgsmessageviewer.ui
qgsmessageviewer.cpp: qgsmessageviewer.h qgsmessageviewer.ui
#PostgreSQL UI dependencies
qgsdbsourceselectbase.h: qgsdbsourceselectbase.ui
qgsdbsourceselectbase.cpp: qgsdbsourceselectbase.h qgsdbsourceselectbase.ui
qgsnewconnectionbase.h: qgsnewconnectionbase.ui
qgsnewconnectionbase.cpp: qgsnewconnectionbase.h qgsnewconnectionbase.ui
#PostgreSQL files
postgres_SOURCES = qgsdbsourceselect.cpp \
qgsnewconnection.cpp\
qgsdatabaselayer.cpp
postgres_UI = qgsdbsourceselectbase.h \
qgsdbsourceselectbase.cpp\
qgsnewconnectionbase.h\
qgsnewconnectionbase.cpp
postgres_MOC = qgsdbsourceselectbase.moc.cpp \
qgsdatabaselayer.moc.cpp \
qgsdbsourceselect.moc.cpp \
qgsnewconnection.moc.cpp\
qgsnewconnectionbase.moc.cpp
# if PostgreSQL support requested, add PostgreSQL files
if POSTGRESDB
qgis_SOURCES += $(postgres_SOURCES)
qgis_UI += $(postgres_UI)
qgis_MOC += $(postgres_MOC)
# add required defines for compiling PostgreSQL
PGDB = -DPOSTGRESQL -DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER -DDLLIMPORT=""
endif
BUILT_SOURCES = $(qgis_MOC) $(qgis_UI)
qgis_LDADD := $(LDADD) $(QT_LDADD) $(GDAL_LIB) $(PG_LIB)
AM_CXXFLAGS := $(PGDB) $(CXXFLAGS) $(EXTRA_CXXFLAGS) -I../include $(QT_CXXFLAGS) -I$(PG_INC)
CLEANFILES = $(BUILT_SOURCES)

786
src/Makefile.in Normal file
View File

@ -0,0 +1,786 @@
# Makefile.in generated by automake 1.7.2 from Makefile.am.
# @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_triplet = @host@
@POSTGRESDB_TRUE@am__append_1 = $(postgres_SOURCES)
@POSTGRESDB_TRUE@am__append_2 = $(postgres_UI)
@POSTGRESDB_TRUE@am__append_3 = $(postgres_MOC)
ACLOCAL = @ACLOCAL@
AMDEP_FALSE = @AMDEP_FALSE@
AMDEP_TRUE = @AMDEP_TRUE@
AMTAR = @AMTAR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
ECHO = @ECHO@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
GDAL_CFLAGS = @GDAL_CFLAGS@
GDAL_LIB = @GDAL_LIB@
GRASS_INC = @GRASS_INC@
GRASS_LIB = @GRASS_LIB@
HAVE_GRASS = @HAVE_GRASS@
HAVE_PG = @HAVE_PG@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MOC = @MOC@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PG_CONFIG = @PG_CONFIG@
PG_INC = @PG_INC@
PG_LIB = @PG_LIB@
POSTGRESDB_FALSE = @POSTGRESDB_FALSE@
POSTGRESDB_TRUE = @POSTGRESDB_TRUE@
QASSISTANTCLIENT_LDADD = @QASSISTANTCLIENT_LDADD@
QEMBED = @QEMBED@
QT_CXXFLAGS = @QT_CXXFLAGS@
QT_GUILINK = @QT_GUILINK@
QT_LDADD = @QT_LDADD@
RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
UIC = @UIC@
VERSION = @VERSION@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_RANLIB = @ac_ct_RANLIB@
ac_ct_STRIP = @ac_ct_STRIP@
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
am__include = @am__include@
am__quote = @am__quote@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
datadir = @datadir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localstatedir = @localstatedir@
mandir = @mandir@
oldincludedir = @oldincludedir@
prefix = @prefix@
program_transform_name = @program_transform_name@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
# Copyright (C) 2003 Gary Sherman <sherman at mrcc.com>
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
bin_PROGRAMS = qgis
qgis_SOURCES = qgisapp.cpp \
main.cpp \
qgisiface.cpp \
qgisinterface.cpp \
qgsattributetable.cpp \
qgsattributetabledisplay.cpp \
qgscoordinatetransform.cpp \
qgscustomsymbol.cpp \
qgsdatasource.cpp \
qgsidentifyresults.cpp \
qgslayerproperties.cpp \
qgslegend.cpp \
qgslegenditem.cpp \
qgslinesymbol.cpp \
qgsmapcanvas.cpp \
qgsmaplayer.cpp \
qgsmarkersymbol.cpp \
qgspluginitem.cpp \
qgspluginmanager.cpp \
qgspoint.cpp \
qgspolygonsymbol.cpp \
qgsprojectio.cpp \
qgsrasterlayer.cpp \
qgsrect.cpp \
qgsrenderer.cpp \
qgsrenderitem.cpp \
qgsshapefilelayer.cpp \
qgssymbol.cpp\
$(qgis_UI)\
$(qgis_MOC)\
$(am__append_1)
qgis_MOC = qgisappbase.moc.cpp \
qgisapp.moc.cpp\
qgisinterface.moc.cpp\
qgsabout.moc.cpp\
qgsattributetablebase.moc.cpp\
qgsattributetable.moc.cpp\
qgsidentifyresultsbase.moc.cpp\
qgslayerpropertiesbase.moc.cpp\
qgslegend.moc.cpp\
qgslegenditembase.moc.cpp\
qgslegenditem.moc.cpp\
qgsmapcanvas.moc.cpp\
qgsmaplayer.moc.cpp\
qgsmaplayerinterface.moc.cpp\
qgsmessageviewer.moc.cpp\
qgspluginmanagerbase.moc.cpp\
qgsrasterlayer.moc.cpp\
qgsshapefilelayer.moc.cpp\
$(am__append_3)
qgis_UI = qgisappbase.h\
qgisappbase.cpp\
qgslegenditembase.h\
qgslegenditembase.cpp\
qgsabout.h\
qgsabout.cpp\
qgslayerpropertiesbase.h\
qgslayerpropertiesbase.cpp\
qgsidentifyresultsbase.h\
qgsidentifyresultsbase.cpp\
qgsattributetablebase.h\
qgsattributetablebase.cpp\
qgspluginmanagerbase.h\
qgspluginmanagerbase.cpp\
qgsmessageviewer.h\
qgsmessageviewer.cpp\
$(am__append_2)
#PostgreSQL files
postgres_SOURCES = qgsdbsourceselect.cpp \
qgsnewconnection.cpp\
qgsdatabaselayer.cpp
postgres_UI = qgsdbsourceselectbase.h \
qgsdbsourceselectbase.cpp\
qgsnewconnectionbase.h\
qgsnewconnectionbase.cpp
postgres_MOC = qgsdbsourceselectbase.moc.cpp \
qgsdatabaselayer.moc.cpp \
qgsdbsourceselect.moc.cpp \
qgsnewconnection.moc.cpp\
qgsnewconnectionbase.moc.cpp
# add required defines for compiling PostgreSQL
@POSTGRESDB_TRUE@PGDB = -DPOSTGRESQL -DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER -DDLLIMPORT=""
BUILT_SOURCES = $(qgis_MOC) $(qgis_UI)
qgis_LDADD := $(LDADD) $(QT_LDADD) $(GDAL_LIB) $(PG_LIB)
AM_CXXFLAGS := $(PGDB) $(CXXFLAGS) $(EXTRA_CXXFLAGS) -I../include $(QT_CXXFLAGS) -I$(PG_INC)
CLEANFILES = $(BUILT_SOURCES)
subdir = src
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
bin_PROGRAMS = qgis$(EXEEXT)
PROGRAMS = $(bin_PROGRAMS)
am__qgis_SOURCES_DIST = qgisapp.cpp main.cpp qgisiface.cpp \
qgisinterface.cpp qgsattributetable.cpp \
qgsattributetabledisplay.cpp qgscoordinatetransform.cpp \
qgscustomsymbol.cpp qgsdatasource.cpp qgsidentifyresults.cpp \
qgslayerproperties.cpp qgslegend.cpp qgslegenditem.cpp \
qgslinesymbol.cpp qgsmapcanvas.cpp qgsmaplayer.cpp \
qgsmarkersymbol.cpp qgspluginitem.cpp qgspluginmanager.cpp \
qgspoint.cpp qgspolygonsymbol.cpp qgsprojectio.cpp \
qgsrasterlayer.cpp qgsrect.cpp qgsrenderer.cpp \
qgsrenderitem.cpp qgsshapefilelayer.cpp qgssymbol.cpp \
qgisappbase.h qgisappbase.cpp qgslegenditembase.h \
qgslegenditembase.cpp qgsabout.h qgsabout.cpp \
qgslayerpropertiesbase.h qgslayerpropertiesbase.cpp \
qgsidentifyresultsbase.h qgsidentifyresultsbase.cpp \
qgsattributetablebase.h qgsattributetablebase.cpp \
qgspluginmanagerbase.h qgspluginmanagerbase.cpp \
qgsmessageviewer.h qgsmessageviewer.cpp qgsdbsourceselectbase.h \
qgsdbsourceselectbase.cpp qgsnewconnectionbase.h \
qgsnewconnectionbase.cpp qgisappbase.moc.cpp qgisapp.moc.cpp \
qgisinterface.moc.cpp qgsabout.moc.cpp \
qgsattributetablebase.moc.cpp qgsattributetable.moc.cpp \
qgsidentifyresultsbase.moc.cpp qgslayerpropertiesbase.moc.cpp \
qgslegend.moc.cpp qgslegenditembase.moc.cpp \
qgslegenditem.moc.cpp qgsmapcanvas.moc.cpp qgsmaplayer.moc.cpp \
qgsmaplayerinterface.moc.cpp qgsmessageviewer.moc.cpp \
qgspluginmanagerbase.moc.cpp qgsrasterlayer.moc.cpp \
qgsshapefilelayer.moc.cpp qgsdbsourceselectbase.moc.cpp \
qgsdatabaselayer.moc.cpp qgsdbsourceselect.moc.cpp \
qgsnewconnection.moc.cpp qgsnewconnectionbase.moc.cpp \
qgsdbsourceselect.cpp qgsnewconnection.cpp qgsdatabaselayer.cpp
am__objects_1 = qgsdbsourceselectbase.$(OBJEXT) \
qgsnewconnectionbase.$(OBJEXT)
@POSTGRESDB_TRUE@am__objects_2 = $(am__objects_1)
am__objects_3 = qgisappbase.$(OBJEXT) qgslegenditembase.$(OBJEXT) \
qgsabout.$(OBJEXT) qgslayerpropertiesbase.$(OBJEXT) \
qgsidentifyresultsbase.$(OBJEXT) \
qgsattributetablebase.$(OBJEXT) qgspluginmanagerbase.$(OBJEXT) \
qgsmessageviewer.$(OBJEXT) $(am__objects_2)
am__objects_4 = qgsdbsourceselectbase.moc.$(OBJEXT) \
qgsdatabaselayer.moc.$(OBJEXT) qgsdbsourceselect.moc.$(OBJEXT) \
qgsnewconnection.moc.$(OBJEXT) \
qgsnewconnectionbase.moc.$(OBJEXT)
@POSTGRESDB_TRUE@am__objects_5 = $(am__objects_4)
am__objects_6 = qgisappbase.moc.$(OBJEXT) qgisapp.moc.$(OBJEXT) \
qgisinterface.moc.$(OBJEXT) qgsabout.moc.$(OBJEXT) \
qgsattributetablebase.moc.$(OBJEXT) \
qgsattributetable.moc.$(OBJEXT) \
qgsidentifyresultsbase.moc.$(OBJEXT) \
qgslayerpropertiesbase.moc.$(OBJEXT) qgslegend.moc.$(OBJEXT) \
qgslegenditembase.moc.$(OBJEXT) qgslegenditem.moc.$(OBJEXT) \
qgsmapcanvas.moc.$(OBJEXT) qgsmaplayer.moc.$(OBJEXT) \
qgsmaplayerinterface.moc.$(OBJEXT) \
qgsmessageviewer.moc.$(OBJEXT) \
qgspluginmanagerbase.moc.$(OBJEXT) qgsrasterlayer.moc.$(OBJEXT) \
qgsshapefilelayer.moc.$(OBJEXT) $(am__objects_5)
am__objects_7 = qgsdbsourceselect.$(OBJEXT) qgsnewconnection.$(OBJEXT) \
qgsdatabaselayer.$(OBJEXT)
@POSTGRESDB_TRUE@am__objects_8 = $(am__objects_7)
am_qgis_OBJECTS = qgisapp.$(OBJEXT) main.$(OBJEXT) qgisiface.$(OBJEXT) \
qgisinterface.$(OBJEXT) qgsattributetable.$(OBJEXT) \
qgsattributetabledisplay.$(OBJEXT) \
qgscoordinatetransform.$(OBJEXT) qgscustomsymbol.$(OBJEXT) \
qgsdatasource.$(OBJEXT) qgsidentifyresults.$(OBJEXT) \
qgslayerproperties.$(OBJEXT) qgslegend.$(OBJEXT) \
qgslegenditem.$(OBJEXT) qgslinesymbol.$(OBJEXT) \
qgsmapcanvas.$(OBJEXT) qgsmaplayer.$(OBJEXT) \
qgsmarkersymbol.$(OBJEXT) qgspluginitem.$(OBJEXT) \
qgspluginmanager.$(OBJEXT) qgspoint.$(OBJEXT) \
qgspolygonsymbol.$(OBJEXT) qgsprojectio.$(OBJEXT) \
qgsrasterlayer.$(OBJEXT) qgsrect.$(OBJEXT) \
qgsrenderer.$(OBJEXT) qgsrenderitem.$(OBJEXT) \
qgsshapefilelayer.$(OBJEXT) qgssymbol.$(OBJEXT) \
$(am__objects_3) $(am__objects_6) $(am__objects_8)
qgis_OBJECTS = $(am_qgis_OBJECTS)
qgis_DEPENDENCIES =
qgis_LDFLAGS =
DEFAULT_INCLUDES = -I. -I$(srcdir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/main.Po ./$(DEPDIR)/qgisapp.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgisapp.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgisappbase.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgisappbase.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgisiface.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgisinterface.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgisinterface.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsabout.Po ./$(DEPDIR)/qgsabout.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsattributetable.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsattributetable.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsattributetablebase.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsattributetablebase.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsattributetabledisplay.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgscoordinatetransform.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgscustomsymbol.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsdatabaselayer.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsdatabaselayer.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsdatasource.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsdbsourceselect.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsdbsourceselect.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsdbsourceselectbase.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsdbsourceselectbase.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsidentifyresults.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsidentifyresultsbase.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsidentifyresultsbase.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgslayerproperties.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgslayerpropertiesbase.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgslayerpropertiesbase.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgslegend.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgslegend.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgslegenditem.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgslegenditem.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgslegenditembase.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgslegenditembase.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgslinesymbol.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsmapcanvas.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsmapcanvas.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsmaplayer.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsmaplayer.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsmaplayerinterface.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsmarkersymbol.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsmessageviewer.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsmessageviewer.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsnewconnection.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsnewconnection.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsnewconnectionbase.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsnewconnectionbase.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgspluginitem.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgspluginmanager.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgspluginmanagerbase.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgspluginmanagerbase.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgspoint.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgspolygonsymbol.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsprojectio.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsrasterlayer.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsrasterlayer.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsrect.Po ./$(DEPDIR)/qgsrenderer.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsrenderitem.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsshapefilelayer.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgsshapefilelayer.moc.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/qgssymbol.Po
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
$(AM_CXXFLAGS) $(CXXFLAGS)
CXXLD = $(CXX)
CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
DIST_SOURCES = $(am__qgis_SOURCES_DIST)
DIST_COMMON = Makefile.am Makefile.in
SOURCES = $(qgis_SOURCES)
all: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) all-am
.SUFFIXES:
.SUFFIXES: .cpp .lo .o .obj
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu src/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(bindir)
@list='$(bin_PROGRAMS)'; for p in $$list; do \
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
if test -f $$p \
|| test -f $$p1 \
; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
else :; fi; \
done
uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
rm -f $(DESTDIR)$(bindir)/$$f; \
done
clean-binPROGRAMS:
@list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
qgis$(EXEEXT): $(qgis_OBJECTS) $(qgis_DEPENDENCIES)
@rm -f qgis$(EXEEXT)
$(CXXLINK) $(qgis_LDFLAGS) $(qgis_OBJECTS) $(qgis_LDADD) $(LIBS)
mostlyclean-compile:
-rm -f *.$(OBJEXT) core *.core
distclean-compile:
-rm -f *.tab.c
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgisapp.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgisapp.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgisappbase.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgisappbase.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgisiface.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgisinterface.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgisinterface.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsabout.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsabout.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsattributetable.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsattributetable.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsattributetablebase.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsattributetablebase.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsattributetabledisplay.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgscoordinatetransform.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgscustomsymbol.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsdatabaselayer.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsdatabaselayer.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsdatasource.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsdbsourceselect.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsdbsourceselect.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsdbsourceselectbase.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsdbsourceselectbase.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsidentifyresults.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsidentifyresultsbase.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsidentifyresultsbase.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgslayerproperties.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgslayerpropertiesbase.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgslayerpropertiesbase.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgslegend.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgslegend.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgslegenditem.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgslegenditem.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgslegenditembase.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgslegenditembase.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgslinesymbol.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsmapcanvas.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsmapcanvas.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsmaplayer.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsmaplayer.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsmaplayerinterface.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsmarkersymbol.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsmessageviewer.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsmessageviewer.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsnewconnection.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsnewconnection.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsnewconnectionbase.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsnewconnectionbase.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgspluginitem.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgspluginmanager.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgspluginmanagerbase.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgspluginmanagerbase.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgspoint.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgspolygonsymbol.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsprojectio.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsrasterlayer.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsrasterlayer.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsrect.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsrenderer.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsrenderitem.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsshapefilelayer.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgsshapefilelayer.moc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qgssymbol.Po@am__quote@
distclean-depend:
-rm -rf ./$(DEPDIR)
.cpp.o:
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
@am__fastdepCXX_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
@am__fastdepCXX_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
@am__fastdepCXX_TRUE@ fi
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
.cpp.obj:
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
@am__fastdepCXX_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
@am__fastdepCXX_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
@am__fastdepCXX_TRUE@ fi
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
.cpp.lo:
@am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
@am__fastdepCXX_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
@am__fastdepCXX_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
@am__fastdepCXX_TRUE@ fi
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
distclean-libtool:
-rm -f libtool
uninstall-info-am:
ETAGS = etags
ETAGSFLAGS =
CTAGS = ctags
CTAGSFLAGS =
tags: TAGS
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
mkid -fID $$unique
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(ETAGS_ARGS)$$tags$$unique" \
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$tags $$unique
ctags: CTAGS
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$tags $$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& cd $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) $$here
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
list='$(DISTFILES)'; for file in $$list; do \
case $$file in \
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
esac; \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
$(mkinstalldirs) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
if test -d $$d/$$file; then \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
check-am: all-am
check: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) check-am
all-am: Makefile $(PROGRAMS)
installdirs:
$(mkinstalldirs) $(DESTDIR)$(bindir)
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
clean: clean-am
clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
distclean: distclean-am
distclean-am: clean-am distclean-compile distclean-depend \
distclean-generic distclean-libtool distclean-tags
dvi: dvi-am
dvi-am:
info: info-am
info-am:
install-data-am:
install-exec-am: install-binPROGRAMS
install-info: install-info-am
install-man:
installcheck-am:
maintainer-clean: maintainer-clean-am
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
mostlyclean-libtool
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am: uninstall-binPROGRAMS uninstall-info-am
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
clean-generic clean-libtool ctags distclean distclean-compile \
distclean-depend distclean-generic distclean-libtool \
distclean-tags distdir dvi dvi-am info info-am install \
install-am install-binPROGRAMS install-data install-data-am \
install-exec install-exec-am install-info install-info-am \
install-man install-strip installcheck installcheck-am \
installdirs maintainer-clean maintainer-clean-generic \
mostlyclean mostlyclean-compile mostlyclean-generic \
mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
uninstall-am uninstall-binPROGRAMS uninstall-info-am
%.moc.cpp: %.h
$(MOC) -o $@ $<
%.h: %.ui
$(UIC) -o $@ $<
%.cpp: %.ui
$(UIC) -o $@ -impl $*.h $<
# UI dependencies
qgisappbase.h: qgisappbase.ui
qgisappbase.cpp: qgisappbase.ui qgisappbase.h
qgslegenditembase.h: qgslegenditembase.ui
qgslegenditembase.cpp: qgslegenditembase.h qgslegenditembase.ui
qgslayerpropertiesbase.h: qgslayerpropertiesbase.ui
qgslayerpropertiesbase.cpp: qgslayerpropertiesbase.h qgslayerpropertiesbase.ui
qgsabout.h: qgsabout.ui
qgsabout.cpp: qgsabout.h qgsabout.ui
qgsidentifyresultsbase.h: qgsidentifyresultsbase.ui
qgsidentifyresultsbase.cpp: qgsidentifyresultsbase.h qgsidentifyresultsbase.ui
gsattributetablebase.h: qgsattributetablebase.ui
gsattributetablebase.cpp: gsattributetablebase.h qgsattributetablebase.ui
qgspluginmanagerbase.h: qgspluginmanagerbase.ui
qgspluginmanagerbase.cpp: qgspluginmanagerbase.h qgspluginmanagerbase.ui
qgsmessageviewer.h: qgsmessageviewer.ui
qgsmessageviewer.cpp: qgsmessageviewer.h qgsmessageviewer.ui
#PostgreSQL UI dependencies
qgsdbsourceselectbase.h: qgsdbsourceselectbase.ui
qgsdbsourceselectbase.cpp: qgsdbsourceselectbase.h qgsdbsourceselectbase.ui
qgsnewconnectionbase.h: qgsnewconnectionbase.ui
qgsnewconnectionbase.cpp: qgsnewconnectionbase.h qgsnewconnectionbase.ui
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

@ -81,8 +81,8 @@ typedef QString name_t();
typedef QString description_t();
// version
static const char *qgisVersion = "0.0.12 - September 5, 2003";
static const int qgisVersionInt = 12;
static const char *qgisVersion = "0.0.13 Development - September-October 2003";
static const int qgisVersionInt = 13;
// cursors
static unsigned char zoom_in_bits[] = {
0xf8, 0x00, 0x06, 0x03, 0x22, 0x02, 0x21, 0x04, 0x21, 0x04, 0xfd, 0x05,
@ -961,7 +961,11 @@ void QgisApp::socketConnectionClosed(){
// show version message from server
versionInfo = "There is a new version of QGIS available\n";
}else{
if(qgisVersionInt > currentVersion){
versionInfo = "You are running a development version of QGIS\n";
}else{
versionInfo = "You are running the current version of QGIS\n";
}
}
if(parts.count() > 1){
versionInfo += parts[1] + "\n\nWould you like more information?";;

View File

@ -1,4 +1,4 @@
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>QgisAppBase</class>
<widget class="QMainWindow">
<property name="name">
@ -9,7 +9,7 @@
<x>0</x>
<y>0</y>
<width>610</width>
<height>456</height>
<height>459</height>
</rect>
</property>
<property name="font">
@ -52,6 +52,7 @@
</property>
<property name="font">
<font>
<family>Lucida</family>
<pointsize>10</pointsize>
</font>
</property>
@ -468,13 +469,13 @@
<data format="XPM.GZ" length="3358">789c85d5594fe3481007f0773e4534f5865635f119b756fbc07d862b1c81d53eb4dd3624100e271c61b4df7dcb5dd53d0924daf130d10ffb5f55e9b63d3f575bfd936e6bf5e7ca78a22783a255dce9bab56a5e47a3e9dffffcf56be54718b7e86f10aa56f8e38f951fa79356d13a7a7a2c1b404d80b6fd63dd6f1c05511c05d6e7d62aca22653d6e1c07713be6f33d712c066f6d5db255a0e3c69889151b9ed83ac8d9469cb031b4d671c6f5f0525c48fd0376d24eec978367b64aa4fe54ac7461f36db6eb875b8d93d0e787e2447c2ca682d6155b19ae079f6c1d883fc4323f3cb2f3b0486c3f3b5fa25d3dbc139bd4f6c31bb6bfbe23d685b1f5f61aa7344fc8fb3560a781e40b7122eeb17d3dbb3fa94e55cafdb5d88803769ef2f530124b7f3c6317a1e1f3853835f67ec2bc7127ea049dc8fa569cb061536c32f62e3b0bc42f6ceac7f32a7129f3bc7bf37a3cb0dd3c782d76f3a462cd868975eefb6d8813719bad94ecdf1adbf5c343b6fffe278db32855213f1f87eccc28ce1fb155c0c6737611cafcf7622df31f78f3fca7e2b24cadfb6c13b261df3a4f8d3c1f2f6cd71f076cdfff499cc87c77de7cff6eb3fd3c1be252d62f679b506cf747c569c2cf3f6eb395e27a78243652ff8d4df578fd34db7d1fdc17a7e213b116dbf7832ab4bc4fe096ede6c14db1dbff7567592f7b7fe83855f2fe48d9caad5797edfbbf8bcb92ebd9e79b1e06b71f6bde7c3e6197211b2e1ae77127917e376c7fff74c56e3db6d8ae3eac7b73fd37b6af6fdf87b9c902a98f6c570fb9bf31eef9d86397a9d48b1a17893f1fb37dfd57b15c0f3b622d79775e573cafbd5f0b93c9fd08576c25f369641769cecfd3319bf68bfb97de5c7fcaf6fdae9cb91f7e8a4be96fdf4f2651ae7fc62ee4fd8123b6bb1e1fd8552879fbbe35a549e5797f64fbeb876c773dde7b57366ff7bfa4e9653f6376e9eecf4aecead56cdfdfee07b573f7fb0ebb4ab93e4ec45afad9ff1fe9acec17ee8add79fb3eafaacaadd7585cf1f9d3893b1050d39163fefb77df8fdf192ce86a832556f463f0166fff2f837738a0ab8774dce3038ef0119f96a53883cff882358e7142d7bfe21bbee3074ea9cac2192553d8c4d8a63e710dd771033729b534835bb84d33ed5062973ef7a8cb3e1ee02176f108f5d2cc317d8311f518d2646b7882a778863d3cc78ba5994bfac653bafa8a7a34893e5ee30db631a0dfc2924c8811c698d04ccd547d4cb143890c1520168b3300b4ae31ae83861c0fa0c00e1828a1825bb883c1b27583214db109f7f000237884274a3cc30beec100eaa599314ce015dee01d7bf00153f8843558870d7c86fa7bcadd0794a2fd802d9a679bf6e60376601786b007fb74d48b3336750087d0a564178ee018b7287102a770f635357b5fd31c63e8418fd6316c668273b8804bb8fa9a9a7f162459f3bfd087eb452959831b68fbe3c69d5d96924c1bc710400811c494aa677a2e48b98c4f24b399c5299f49ed37a8e9b33dbf4a73a9f90cf7e840f635339352f4399b9184c6ef194935473d9359b86e5f77c0dd4792a9e78fef99b9fbe0df3f57fe03a39440ba</data>
</image>
<image name="image7">
<data format="XPM.GZ" length="3569">789c8596495364370cc7ef7c8a2e749b4a69deeae757a91cd8d786066680219583bc41b3efd0a4f2dde396d41d2639a43d97df484fb6b5fccdd72f83d3d170f0e5ebc2d3333d8ffdc05fd0e3e04b78b9b999fcfec76f7f2e2c967630fdd7b5836af1978545a8077e004dacbd3353c615e654256ad97e2a5c3b57b37d6bca6d599724fe9bccb176caab5336751da8613e136e9c13de60b64d25f1718db9cf2cf675e55af7ff26dcf6be64bbb06f0b390f54cac1cb7d22736c9d8bccbc5f5798d2737c78622e33cbf7fbccb5295c62fec1dc9a56edc8ec4dabf19699a3716abf654e8674ff72cab6e86a4fcc67ca8d77cc0573cebf3072bcbe6da215bb6136b6f296f984b9eb0a27f73f6276c690ecb7c79cbace311308f76de8d8bf9f32e5f35060ff2565abfe28dc1bf1871be67266874eb86f82e4cf3237bd0b3db3c46f678c9c3f3296243fc8f9a1fc1fbdf4c7337334a997fb733d287585f2dd945d61622ff1ee99cb6c177e542ed5ff81b99a31707e5c4b31166cffce6cfb4ecfb33d655fd9b2977ab6cc6d6f1de71bf9fede1867f97b08ccd91a3cf348394589c7f3e11d05ad27d7d77b725ef2b32eec4d947ee0f3fbe09b28f539668e14a55ff064ce729f66caa1f43e0a27e6ca5741fa95ef171a9fa2d497f31b5a1fa2ecbf291c0ab1e30bb3b5a697fc703f84bea556f6e77e0a34635a55f62ddf9f5e957348f6bf6676264f14dbd7952b23fd3554ae8dcc0bf767c8d992f3a3dc2f765527fd76281c5c92efe53e6966c777e5ba93fc1f2a379de8c750b9ed583f88e73f169de9b8ff88f52d961d75528fb172ea249f6a0f7d947a1f28c7c4fbd11b73d5c58efb876e94f57bb4c2b6b432afea6f6b2bf7bf13cef1b99e74c15ccffc6957b9b2928f77e5c6cafced281bcbf7816be5cecafc7e28f796eb4fdcbfb199db87ca33fb8e3259a9f7a6b2133d42ae776c674c5bcade727e70573958ee07da568e56f2c3fa164d5ff5524fb94f97055df45ff69f1e87e78f9e94a9977efc50f6bdf4df8b72e8653f128e6d9278fc9e65f170a20734518e32ef78254c0571ff93c427aa444f6949b926a937eb5774b95d645e0f9473c298f9fdc8c3eb48f65b530ea2b7d829e789e6fc4bbd0325927e93f30457aabe4f942bd15f647d8ad1b54efa79ac6ce4bd8637e5ce497db7957302d89ff526a67c3ce9f74be5fce3f8fc7ea6c27927fd3e510e4ef4645739cafb474e39c97b49acbfa9cee591fdee9449f5ac54ce3fb6b39ea7261441f4f59cb90dfabed0be725ecc7cde64727bc97be88573c5251eeb71eaf271e53ea4ec55afb97f930df9c7fee7ca31c87d0e9593ea91da63a1ef87532ea3cce7817215653e4999e43cc8fa9cfa58ebfbe0959b28fa1494db28fd1a954d147dba52ce03c4f19db213fd26d6e744333b1d29f7a2f708caa4efcd9a705ef23deb45cad1f43db850ce3ff6e7f94a3eff0128f390946bd13fd852d6798307e52e49fde53e213549f4ea5859fdc92b9b24fdbbaa1c92cca7d43ba65ee2e14839df80d928e706e4efa59fd2cc7ef0ac1c35de5839ffc48e80840e3d068c9f56c084e7d972816339075ee135dee02ddee13d3ee0233ee133bee02bbee17bb64ce67e1fb884cbb882abb886ebb8819bb885dbb883bb38c43ddc57bf111ee0211ee137fc8ec77882a7f803cfb0c0122bacb1c156fd0c7668b107040002071e02444818e11c2e600c97333fb8826bb8815bb883fbbc1ee0119ee0195ee015dee01d269ffc3e600996610556f35a8375d8804dd8c273d8861dd89def3b8121ecc13e8ce020af4338826ff01d8ed9effa5f7e27700a3fe00c0a28a1821a9afffaf1be2d18e8c0420f9690f2df81baefcf7e437218c8e378b60e9e35dece673f0a99726be733cc572efbf9cff7c58e2e684c977445d7ff2cc91fddccf337a2db5cc72bd8a53bbaffb41ee8919ee8795e8f4b7aa1577aa3779ad0072de9fac8b44c2bb44a6bf3784bb44e1bf04e9bb445dbbab6688776f1908670a57e63daa37d1ae1391dfc6b1dd2285b8e667effbf16fffa75e16f14084d51</data>
<data format="XPM.GZ" length="2304">789c85d4c95224371006e03b4fd141de08c73f5475d7a270f8c0363bdbac80c30795a402069a86ee669df0bb5ba5fcaba76d66c2911cf8c8944a95cae2c5dae0e86077b0f6626536b7f373377067763a58f3b7e3f1e39f7ffdf17d6535ab07f1c794837cf5b79555dc0ddc4046367776d459bea98775a39ed04e8da7ce453e5cd77a3c26c77afabe73990fb91fdea947dc0f0fc976d4af7fa52ed699ff429bc6a7e79ff57645f215ed69d7b91a9699d6a3eccdfc055da8f121b9290bd6e774bfffb8733dac32a7cfbfa40b356e3b9bd1c8d54dca9fabab8cfdba51d75c8f97c9ae2cd8df465d15ac9fab4de1f57c879d6ddccfbae48c36eccf5b75dd9f77aaeed7cb8c363ea4fa743eeb4a6374fd98f646f7bf5457199deebf192df217ea3e2fa76a1b4299f2af93bde9fb9beecb15a5a987c91beaba5f7fad36bc5fbc4ff6d6b25f6fe8407f563756df473cdd3fbf50bb522d5858dfff6b675fb89cfda8e8a07911b5cf599feec387c21436e59f68afc6a9bacc4afd7e6ed45556e9fb6ed3057da5ae0bf6ffa3daf5efd3aabd6df5fc697d28fbf5b2459b2acd1b8e694f5fabeb8cfd5ea70b7a421b9d5770bfda737e37d526d3f3c906dd9f77a88e17a2e70d74d0f342d70763382f33ba9f9f566d33ceff3dcdef013bb4e5bc1fd0819eaa9b9cf3bf4f97f4096df9ffe2561d4a9e6faf735b3681f907b5ebe76d97e6bcc9a3dae7fc1e8fe892dfd71dcdfb83a503fd491dd82f98e476916fd421e7fc3a9af30ba1fbf59ee6bca256b739e7c5d2fdfb8e166e93036dd58773baed0d814503f72c9a1816fe70aefba0c529ce708e6fb848718931ae30c1356e6266baa89b618e5bdce11e0f291ef1840d6c620bdb31b3b3a8db897e8957788d3729dee21dde63177bb1f606fb8bba83f884437cc0c77852c1277cc6177c8de73b8a99639c2ceaa65847861cc3f87bc008054a54a861b01f337b4b7513ad3b9cc7b70f029422d2f5e0e4bf75d288132f21462ba77286ea1775e7f24d2ee432c658ae64f2cbba6bb991a9cc524c652eb73faf8b3d7062bbf3f5f1d3ba2834311396e2f9fb76fddb97bbd83bbf14cffa27f7b1eb2df6e4411e97e2213ef5dff73193271ccb46bce7762966b2295b3173b03c2fb21d4f328937ff23ba79d9fe312f69fe8ee2e99a6761e25f8f207dddffc7eadfbfaffc0382012756</data>
</image>
<image name="image8">
<data format="XPM.GZ" length="691">789cbdd2bf0ac2301006f03d4f71f4b622ad163a898fa0380ae2907c2a3a5441eb20e2bbdb243d49e21f9cfce890bb1f0924d732a7c57c4a79a9cead6ef720ecf489f2f5a569aecbd5e4a6b2aaa2eeab69940d54561068763c6cecda746b1ebad892a5446d4bf812952fb52fb75ddc396f130abbbc0ab376111391beb3507cdf9880bcf41b3e8b042c22207bbe88a5bf4a721f2462fa00a1580a85d377eb8f02476ffd6c83399e0f33c27e34d378a4c56fff4122f7b17a00327caa23</data>
</image>
<image name="image9">
<data format="XPM.GZ" length="2669">789ccd94c97214490c86ef7e8a0eebe698105d7b554c70605f6d6cc0609898436ee5f6d2dedac61882771fe957d207206c732126ffeeaafa4a9929a5525977d6263b9beb93b53b2b8b7377be172661e6ce266bf1623ebffae7dfbb5f5756cb7a22bfbe9d94ab7fadac6e9d4fc264e3f82829d08900d551a5cc6f949ba90a7c04ae54e057606d35f874c90df835d8a9c015d8abe06f04471198df814791f9bf506e6b5181fe7be04e64fe3478eabca805bf000715f833388a6cfe4d70120de02fca7dd5979df91b328bc007e04664eb7f0beefbae473cfc1e3ca8c01fc04e05c6fafa500c85d9133816ae809d8e8d45889f164beed01ff6a116d9fa1db851c1be0b6ecb5062bd847c0cddd0f623ec6d6611ec87e058b9cafccf33fbcaf2d31b0f21cfff34731c6c3d0fc04985f1c88f9bd622301bbbe960f97f0c2e5d31d8fa1f822b579a9dc292112f4570edaac1e2d90777ae357fbc915904eec0bdeb723ca79945b0a39edde07a9b9f179945e08f602f8cc3c0cf327b633a5396f26a9dc58b7cfbc177ceeaa5046300b806a3a13ff6db0741ab9f7bca61aa023f07177ef456cf57c6f2c6f28ffd094da8bdc55b6416617e0277a1c9feb7c17de8cc3f63bf830fce5bfe9e80d1c08fc051d0f6cf834715ec97cab1528167e0c649034fc17d6c83f13a180583f9f0bd8831fa60fe77324b83dde64b2ad8b7c0a3b0e5e793722a54609cff54a6c2e221d447ea6211cd8ef853bf649c97342ce3477da5513cd8faee2b8f5315b801572a30f67ff42a30f22dc9e947abaf97e0a402a39e4734fbb8fe9efee4182676eca190efbf7ab27b64ab17c78947f927799fb27e7e0ae8b5cb7646bc3ccfe4ba77a39f99f4f4794c92ff3e1ff0a158ae137a5aee41733ee2633eb96154c8eb09f013f894cf78c1e7b7f2e3f3980bfe24d74bfecc57b71ef385efc1729f1ff0437e748bf5047e2c7dbf5b9ff0537e76cd7abefb79ce2ff2fb97bcce1bfc8a376f8c6d8b5f2fad6ff8ade470fbc63181dfe1fa9e77f8037fe4e9b5390879cc26175c72c53537dc72778bf504ee792026e28e1c790a14aff163f5e629d148bbf2b42d7b744933dafba1e2a4de68dfbe0b74408734171dd131eeaa133aa5337de2606fe47e480756d7bf3e59b4a0ffc1d9fe2363befdbdf21fbb0eb320</data>
<data format="XPM.GZ" length="1587">789cadd24973da301407f03b9fc20337a693806d193c9d1e0864212c01b2e1747ad06205c21ac049a0d3ef5ebff7246670e8a5ad0619fdfc7f92c0d669d119f63a4ef134b7def0cd583a72c4574e5125b3d9f6fb8f6f3f7379d777d20fab3ae5fc975cfec4914e77318f615c4ec7059ffbd2e7c02990b9acc45ce0c290119b48ce4286c56d43455c010337600116bf022ba212563c6062a82a02f80eac7ad532f1ceb28ac56343465448514e63e035d1a61dc3b08a4b950c15a53130f45de986408f18322a9e59863e30424aafea61f12d315494eef694c02190fb7ec9c7a75a23f232a5234346bcb4e4b8d400296d3a37e4c48625152ff7c4d4050a5f04c407a4b2bc37e402e7f6f754c073a06422a6f48d285de287a564c0896140737b9694b690caa62f8666a333c3988aeb7b62aa81e9b131ff684354aec2e21b64ac022a7e32e4c40b4b8507f8ca30a6b9dd3d317d04c6815df999181bae2de300c891b12d968666a92d5007dad5585c406acdb5060a434d3cf943fb97ac903e2e2e0e2e6997788eb94a9b38b8a43d969469fe9c9da715a78c8fc62fe2b071cad2c1643a9b8b6cc34c71b1282c5f8fcd4bbfc46a2d36c9dbf1ecfd4388edae7676643f51dbc18dfaae91d90fe69d27a08bcb45f279cdab26dc985ecf5b9f33d116a2d3ed346eb2bf25dd4f24bd7eb3bf9d0d8eec276eef6a93c1ac5eab65d7d49cdfb71f782bd97457e6816af58867661845d15329bd44e5a51b4522823e9499775bf2fed399f8abecd7d7dc6f5fb791e4</data>
</image>
<image name="image10">
<data format="XPM.GZ" length="1226">789cc5d3c10ac2300c00d07bbf222cb7229d6e1741fc04c5a3201e4615f430059d0711ffdd2ada364d8a3010c30e813cb2a4b4a586e56206ba54e7aee9f616ecae3981de5cdaf6ba5a4f6faaa82b705f05a362a00a0316e6c7c3f699a3cb71e8625cbf4a5fa287411f598328a1d8c485388f0ce96f244347202818b60e336917d130c24d98826f9f3f9f8c61bb894622c9398be48f465e8c190191bb81463c23660ced85c4840ac629355177afd064cda7292686c67bfe74e614f91fe6df6998fc47efbdbfb94fd403ecb0d381</data>
@ -644,10 +645,10 @@
<slot>addDatabaseLayer()</slot>
<slot>zoomIn()</slot>
<slot>zoomOut()</slot>
<slot>zoomToSelected()</slot>
<slot>init()</slot>
<slot>drawLayers()</slot>
<slot>zoomFull()</slot>
<slot>zoomToSelected()</slot>
<slot>pan()</slot>
<slot>about()</slot>
<slot>testButton()</slot>

View File

@ -1,4 +1,4 @@
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>QgsDbSourceSelectBase</class>
<widget class="QDialog">
<property name="name">
@ -8,8 +8,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>327</width>
<height>338</height>
<width>390</width>
<height>344</height>
</rect>
</property>
<property name="font">
@ -52,6 +52,11 @@
<property name="name">
<cstring>btnAdd</cstring>
</property>
<property name="font">
<font>
<family>Lucida</family>
</font>
</property>
<property name="text">
<string>Add</string>
</property>
@ -69,6 +74,11 @@
<property name="name">
<cstring>btnCancel</cstring>
</property>
<property name="font">
<font>
<family>Lucida</family>
</font>
</property>
<property name="text">
<string>Cancel</string>
</property>
@ -83,6 +93,11 @@
<property name="name">
<cstring>btnHelp</cstring>
</property>
<property name="font">
<font>
<family>Lucida</family>
</font>
</property>
<property name="text">
<string>Help</string>
</property>
@ -118,6 +133,7 @@
</property>
<property name="font">
<font>
<family>Lucida</family>
<pointsize>11</pointsize>
</font>
</property>
@ -129,6 +145,12 @@
<property name="name">
<cstring>lstTables</cstring>
</property>
<property name="font">
<font>
<family>Lucida</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="selectionMode">
<enum>Extended</enum>
</property>
@ -137,6 +159,11 @@
<property name="name">
<cstring>GroupBox1</cstring>
</property>
<property name="font">
<font>
<family>Lucida</family>
</font>
</property>
<property name="title">
<string>Connection Information</string>
</property>
@ -159,6 +186,11 @@
<property name="name">
<cstring>btnConnect</cstring>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>Connect</string>
</property>
@ -167,6 +199,11 @@
<property name="name">
<cstring>btnNew</cstring>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>New</string>
</property>
@ -175,6 +212,11 @@
<property name="name">
<cstring>btnEdit</cstring>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>Edit</string>
</property>
@ -183,6 +225,11 @@
<property name="name">
<cstring>btnDelete</cstring>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>Delete</string>
</property>