From 658ad4b76100b2a562a2826f02f2922e2b08b012 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Thu, 27 Jan 2011 10:03:34 +0000 Subject: [PATCH] build 32bit QT; refs #22 --- qt/makefile | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/qt/makefile b/qt/makefile index 1c545f0..edbd228 100644 --- a/qt/makefile +++ b/qt/makefile @@ -1,8 +1,6 @@ QT=$(shell ls -1 | sed -n 's/\(qt-.*\)\.tar\.gz/\1/p') -all: ${QT} - cd $< && (echo "yes" | ./configure -opensource) - cd $< && make +all: build maintainer-clean: clean -rm -rf ${QT} @@ -14,4 +12,18 @@ ${QT}: ${QT}.tar.gz tar xzvf $< cd $@ && patch -p1 < ../patch/qt-sources-patch.diff -.PHONY: maintainer-clean all \ No newline at end of file +build: ${QT} + cd $< && (echo "yes" | ./configure -opensource -prefix=/usr/local/trolltech/qt) + cd $< && make + +install-lin32: + cd ${QT}-lin32 && make install + +${QT}-lin32: ${QT} + cp -a $< $@ + +build-lin32: ${QT}-lin32 + cd $< && (echo "yes" | ./configure -opensource -platform linux-g++-32 -prefix=/usr/local/trolltech/qt-32bit) + cd $< && make + +.PHONY: maintainer-clean all build install \ No newline at end of file