|
|
|
@ -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 |
|
|
|
|
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 |