#############################################################################
# Makefile for building: sip
# Generated by qmake (1.04a) (Qt 3.1.1) on: Fri Jul 25 00:01:32 2003
# Project:  sip.pro
# Template: subdirs
# Command: $(QMAKE) -o Makefile.in sip.pro
#############################################################################

MAKEFILE =	Makefile
QMAKE    =	qmake
DEL_FILE =    rm -f
SUBTARGETS =	 \
		sub-sipgen \
		sub-siplib

first: all

all: Makefile.in $(SUBTARGETS)

sipgen/$(MAKEFILE): 
	cd sipgen && $(QMAKE)  -o $(MAKEFILE)
sub-sipgen: sipgen/$(MAKEFILE) FORCE
	cd sipgen && $(MAKE) -f $(MAKEFILE)

siplib/$(MAKEFILE): 
	cd siplib && $(QMAKE)  -o $(MAKEFILE)
sub-siplib: siplib/$(MAKEFILE) FORCE
	cd siplib && $(MAKE) -f $(MAKEFILE)

Makefile.in: sip.pro  $(QTDIR)/mkspecs/default/qmake.conf 
	$(QMAKE) -o Makefile.in sip.pro
qmake: qmake_all
	@$(QMAKE) -o Makefile.in sip.pro

all: $(SUBTARGETS)
qmake_all: sipgen/$(MAKEFILE) siplib/$(MAKEFILE)
	 ( [ -d sipgen ] && cd sipgen ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
	 ( [ -d siplib ] && cd siplib ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
clean uninstall install uiclean mocclean lexclean yaccclean: qmake_all FORCE
	 ( [ -d sipgen ] && cd sipgen ; $(MAKE) -f $(MAKEFILE) $@; ) || true
	 ( [ -d siplib ] && cd siplib ; $(MAKE) -f $(MAKEFILE) $@; ) || true
distclean: qmake_all FORCE
	 ( [ -d sipgen ] && cd sipgen ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true
	 ( [ -d siplib ] && cd siplib ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true

FORCE:

