blob: 7f8eaf4e5c39aebc8c9c7f4fbafa7851e8a5f1d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
prefix = /usr
bindir = $(prefix)/bin
TOOLS = assistant \
designer \
lconvert \
linguist \
lrelease \
lupdate \
moc \
pixeltool \
qcollectiongenerator \
qdbus \
qdbuscpp2xml \
qdbusviewer \
qdbusxml2cpp \
qglinfo \
qhelpconverter \
qhelpgenerator \
qmake \
qml1plugindump \
qmlbundle \
qmlmin \
qmlplugindump \
qmlprofiler \
qmlscene \
qmltestrunner \
qmlviewer \
qtconfig \
rcc \
uic \
uic3 \
xmlpatterns \
xmlpatternsvalidator \
# keep the above line empty
all:
cd src/qtchooser && $(MAKE)
clean:
-cd src/qtchooser && $(MAKE) clean
-cd tests/auto && $(MAKE) clean
distclean:
-cd src/qtchooser && $(MAKE) distclean
-cd tests/auto && $(MAKE) distclean
install:
cd src/qtchooser && $(MAKE) install
for tool in $(TOOLS); do ln -sf qtchooser "$(INSTALL_ROOT)$(bindir)/$$tool"; done
uninstall:
cd src/qtchooser && $(MAKE) uninstall
-for tool in $(TOOLS); do rm -f "$(INSTALL_ROOT)$(bindir)/$$tool"; done
tests/auto/Makefile: tests/auto/auto.pro
cd tests/auto && qmake -o Makefile auto.pro
check: tests/auto/Makefile
cd src/qtchooser && $(MAKE) check
cd tests/auto && $(MAKE) check
.PHONY: all install uninstall check clean distclean
|