2003-09-27 21:30:26 +00:00
|
|
|
# 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.
|
|
|
|
|
2004-02-14 17:28:18 +00:00
|
|
|
EXTRA_DIST = doc \
|
|
|
|
AUTHORS \
|
|
|
|
ChangeLog \
|
|
|
|
README \
|
|
|
|
BUGS \
|
|
|
|
INSTALL \
|
|
|
|
TODO \
|
|
|
|
COPYING \
|
|
|
|
NEWS \
|
2004-03-05 23:40:59 +00:00
|
|
|
qgis.spec \
|
2004-03-30 22:23:08 +00:00
|
|
|
qgsconfig.h.in
|
2004-02-14 17:28:18 +00:00
|
|
|
|
2004-04-17 22:07:13 +00:00
|
|
|
SUBDIRS = src providers plugins doc tools i18n
|
2004-02-07 04:05:50 +00:00
|
|
|
|
- s/config.h/qgsconfig.h [0]
- qgsconfig.h now has header sentinals
- now will install headers in $(prefix)/qgis/include and libqis.* library in
$(prefix)/lib [1]
- "src/Makefile" no longer relies on explicit dependencies and uses better
naming scheme for created source files [2]
Notes:
[0] To eliminate any file namespace collisions. Unfortunately there will
still be some macro name collisions. These are harmless, though annoying.
What needs to happen is that all header file references to "qgsconfig.h"
be moved to implementation files, thus breaking any include dependencies
for external software.
[1] There currently does not exist a way to make this optional; these will
always install. In the future, this might be something toggleable by a
configure script option. Moreover, there does not currently exist a
"qgis-config" script for getting command line options for external,
dependant software; there might be one in a future release.
I decided to err on including too many header files; almost certainly some
of the header files that are currently installed can be culled from the
"to install" list.
The new make file has two targets: the old qgis application target, and a
second one for the library. As plug-ins are developed, there may be a
need to add more source files to the library to link against. I just
added in the bare minimum for the current set of plug-ins. If more
sources need to be added, just add them to libqgis_la_SOURCES, near the
bottom of "src/Makefile.am".
[2] All *.ui files will create corresponding *.uic.h and *.uic.cpp files.
Since these also need MOC files, *.moc.uic.cpp files are also
automatically created.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1056 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-22 20:00:55 +00:00
|
|
|
pkginclude_HEADERS = qgsconfig.h
|
|
|
|
|
2004-02-14 17:28:18 +00:00
|
|
|
release: distdir
|
|
|
|
-chmod -R a+r $(distdir)
|
|
|
|
GZIP=$(GZIP_ENV) $(AMTAR)$(TAR) chozf $(distdir).tar.gz $(distdir)
|
2004-02-18 18:49:54 +00:00
|
|
|
rm -f $(distdir)/qgis.spec
|
|
|
|
sed '/^Source:/s/\.tar\.gz$$/\.tar\.bz2/' qgis.spec \
|
|
|
|
> $(distdir)/qgis.spec
|
2004-02-14 17:28:18 +00:00
|
|
|
BZIP2=$(BZIP2_ENV) $(AMTAR)$(TAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir)
|
|
|
|
-rm -rf $(distdir)
|