#############################################################################
# Makefile for building: sql
# Generated by qmake (1.07a) (Qt 3.3.8) on: Thu Aug 16 08:27:13 2012
# Project:  sql.pro
# Template: subdirs
# Command: $(QMAKE) -spec /usr/obj/ports/qt3-3.8/qt-x11-free-3.3.8/mkspecs/openbsd-g++ -o Makefile sql.pro
#############################################################################

MAKEFILE =	Makefile
QMAKE    =	qmake
DEL_FILE =    rm -f
CHK_DIR_EXISTS= test -d
MKDIR    = mkdir -p
INSTALL_FILE= 
INSTALL_DIR = 
SUBTARGETS =	 \
		sub-overview \
		sub-sqltable \
		sub-blob

first: all

all: Makefile $(SUBTARGETS)

overview/$(MAKEFILE): 
	@$(CHK_DIR_EXISTS) "overview" || $(MKDIR) "overview"
	cd overview && $(QMAKE) overview.pro -spec /usr/obj/ports/qt3-3.8/qt-x11-free-3.3.8/mkspecs/openbsd-g++ -o $(MAKEFILE)
sub-overview: overview/$(MAKEFILE) FORCE
	cd overview && $(MAKE) -f $(MAKEFILE)

sqltable/$(MAKEFILE): 
	@$(CHK_DIR_EXISTS) "sqltable" || $(MKDIR) "sqltable"
	cd sqltable && $(QMAKE) sqltable.pro -spec /usr/obj/ports/qt3-3.8/qt-x11-free-3.3.8/mkspecs/openbsd-g++ -o $(MAKEFILE)
sub-sqltable: sqltable/$(MAKEFILE) FORCE
	cd sqltable && $(MAKE) -f $(MAKEFILE)

blob/$(MAKEFILE): 
	@$(CHK_DIR_EXISTS) "blob" || $(MKDIR) "blob"
	cd blob && $(QMAKE) blob.pro -spec /usr/obj/ports/qt3-3.8/qt-x11-free-3.3.8/mkspecs/openbsd-g++ -o $(MAKEFILE)
sub-blob: blob/$(MAKEFILE) FORCE
	cd blob && $(MAKE) -f $(MAKEFILE)

sub-sqltable: sub-overview
sub-blob: sub-sqltable

Makefile: sql.pro ../../.qmake.cache /usr/obj/ports/qt3-3.8/qt-x11-free-3.3.8/mkspecs/openbsd-g++/qmake.conf 
	$(QMAKE) -spec /usr/obj/ports/qt3-3.8/qt-x11-free-3.3.8/mkspecs/openbsd-g++ -o Makefile sql.pro
qmake: qmake_all
	@$(QMAKE) -spec /usr/obj/ports/qt3-3.8/qt-x11-free-3.3.8/mkspecs/openbsd-g++ -o Makefile sql.pro

all: $(SUBTARGETS)
qmake_all: overview/$(MAKEFILE) sqltable/$(MAKEFILE) blob/$(MAKEFILE)
	 ( [ -d overview ] && cd overview ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
	 ( [ -d sqltable ] && cd sqltable ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
	 ( [ -d blob ] && cd blob ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
clean uicables mocables uiclean mocclean lexclean yaccclean : qmake_all FORCE
	 ( [ -d overview ] && cd overview ; $(MAKE) -f $(MAKEFILE) $@; ) || true
	 ( [ -d sqltable ] && cd sqltable ; $(MAKE) -f $(MAKEFILE) $@; ) || true
	 ( [ -d blob ] && cd blob ; $(MAKE) -f $(MAKEFILE) $@; ) || true
uninstall_subdirs: qmake_all FORCE
	 ( [ -d overview ] && cd overview ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true
	 ( [ -d sqltable ] && cd sqltable ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true
	 ( [ -d blob ] && cd blob ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true
install_subdirs: qmake_all FORCE
	 ( [ -d overview ] && cd overview ; $(MAKE) -f $(MAKEFILE) install; ) || true
	 ( [ -d sqltable ] && cd sqltable ; $(MAKE) -f $(MAKEFILE) install; ) || true
	 ( [ -d blob ] && cd blob ; $(MAKE) -f $(MAKEFILE) install; ) || true
distclean: qmake_all FORCE
	 ( [ -d overview ] && cd overview ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true
	 ( [ -d sqltable ] && cd sqltable ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true
	 ( [ -d blob ] && cd blob ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true

install:  install_subdirs

uninstall:  uninstall_subdirs

FORCE:

