You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
681 B
29 lines
681 B
QT=$(shell ls -1 | sed -n 's/\(qt-.*\)\.tar\.gz/\1/p') |
|
|
|
all: build-lin32 build |
|
|
|
maintainer-clean: clean |
|
-rm -rf ${QT} ${QT}-lin32 |
|
|
|
install: install-lin32 |
|
cd ${QT} && make install |
|
|
|
${QT}: ${QT}.tar.gz |
|
tar xzvf $< |
|
cd $@ && patch -p1 < ../patch/qt-sources-patch.diff |
|
|
|
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 build-lin32 install-lin32
|
|
|