# -*- makefile -*-
#
# Main Makefile for building the TinyQ library
SHELL=/bin/sh
init: FORCE
@$(MAKE) all
install: FORCE
@$(MAKE) qt.install
all: symlinks src-qmake sub-src
@echo
@echo "The Qt library is now built in ./lib"
@echo
@echo 'Note: be sure to set $$QTDIR to point to here or to wherever'
@echo ' you move these directories.'
@echo
@echo "Enjoy! - the Trolltech team and UWYN"
@echo
qt.install: qmake-install src-install
src-install: sub-src
cd src && $(MAKE) install
qmake-install: src-qmake
cd qmake && $(MAKE) install
src-qmake: symlinks FORCE
cd qmake && $(MAKE)
symlinks: .qmake.cache
# @cd include && rm -f q*.h; ln -s ../src/*/q*.h .; ln -s ../extensions/*/src/q*.h .; rm -f q*_p.h
sub-src: .qmake.cache FORCE
cd src && $(MAKE)
distclean clean uiclean mocclean:
cd src && $(MAKE) $@
cd qmake && $(MAKE) $@
cd config.tests/unix && $(MAKE) $@
doc: FORCE
qdoc util/qdoc/qdoc.conf
.qmake.cache:
@echo
@echo ' Qt must first be configured using the "configure" script.'
@echo
@test ! /bin/true
FORCE:
syntax highlighted by Code2HTML, v. 0.9.1