diff --git a/Makefile b/Makefile index 2e405b93a9c..393cabbf310 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/Makefile.nopg b/Makefile.nopg new file mode 100644 index 00000000000..e5e43743689 --- /dev/null +++ b/Makefile.nopg @@ -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: + diff --git a/qgis_nopg.pro b/qgis_nopg.pro new file mode 100644 index 00000000000..ca4c30c06ce --- /dev/null +++ b/qgis_nopg.pro @@ -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