Changes to support building without PostgreSQL

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@160 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
gsherman 2002-11-30 20:45:52 +00:00
parent 188121675f
commit 5d6b73106c
3 changed files with 57 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#############################################################################
# Makefile for building: qgis
# Generated by qmake (1.03a) on: Sun Oct 13 13:41:57 2002
# Generated by qmake (1.03a) on: Sat Nov 30 12:46:47 2002
# Project: qgis.pro
# Template: subdirs
# Command: $(QMAKE) qgis.pro

48
Makefile.nopg Normal file
View File

@ -0,0 +1,48 @@
#############################################################################
# Makefile for building: qgis_nopg
# Generated by qmake (1.03a) on: Sat Nov 30 12:47:05 2002
# Project: qgis_nopg.pro
# Template: subdirs
# Command: $(QMAKE) -o Makefile.nopg qgis_nopg.pro
#############################################################################
MAKEFILE = Makefile.nopg
QMAKE = qmake
SUBDIRS = src \
plugins
DEL_FILE = rm -f
SUBTARGETS = \
sub-src \
sub-plugins
first: all
all: Makefile.nopg $(SUBTARGETS)
src/$(MAKEFILE):
cd src && $(QMAKE) -o $(MAKEFILE)
sub-src: src/$(MAKEFILE) FORCE
cd src && $(MAKE) -f $(MAKEFILE)
plugins/$(MAKEFILE):
cd plugins && $(QMAKE) -o $(MAKEFILE)
sub-plugins: plugins/$(MAKEFILE) FORCE
cd plugins && $(MAKE) -f $(MAKEFILE)
Makefile.nopg: qgis_nopg.pro $(QTDIR)/mkspecs/default/qmake.conf
$(QMAKE) -o Makefile.nopg qgis_nopg.pro
qmake: qmake_all
@$(QMAKE) -o Makefile.nopg qgis_nopg.pro
qmake_all: src/$(MAKEFILE) plugins/$(MAKEFILE)
for i in $(SUBDIRS); do ( if [ -d $$i ]; then cd $$i ; grep "^qmake_all:" $(MAKEFILE) 2>/dev/null >/dev/null && $(MAKE) -f $(MAKEFILE) qmake_all || true; fi; ) ; done
clean: qmake_all FORCE
for i in $(SUBDIRS); do ( if [ -d $$i ]; then cd $$i ; $(MAKE) -f $(MAKEFILE) clean; fi; ) ; done
uninstall install uiclean mocclean: qmake_all FORCE
for i in $(SUBDIRS); do ( if [ -d $$i ]; then cd $$i ; $(MAKE) -f $(MAKEFILE) $@; fi; ) ; done
distclean: qmake_all FORCE
for i in $(SUBDIRS); do ( if [ -d $$i ]; then cd $$i ; $(MAKE) -f $(MAKEFILE) $@ ; $(DEL_FILE) $(MAKEFILE) ; fi; ) ; done
FORCE:

8
qgis_nopg.pro Normal file
View File

@ -0,0 +1,8 @@
######################################################################
# Automatically generated by qmake (1.02a) Thu Jul 4 08:57:41 2002
######################################################################
CONFIG += qt thread debug
TEMPLATE = subdirs
MAKEFILE = Makefile.nopg
# Directories
SUBDIRS = src plugins