Mercurial > mxe-octave
annotate src/qt.mk @ 468:f826746491e6
build the native Qt tools from unpatched sources
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Mon, 05 Oct 2009 10:43:48 +0200 |
parents | c2462319a112 |
children | a07d9f69e2ee |
rev | line source |
---|---|
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
1 # Copyright (C) 2009 Mark Brand |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
2 # Volker Grabsch |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 # |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 # Permission is hereby granted, free of charge, to any person obtaining |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 # a copy of this software and associated documentation files (the |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
6 # "Software"), to deal in the Software without restriction, including |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
7 # without limitation the rights to use, copy, modify, merge, publish, |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
8 # distribute, sublicense, and/or sell copies of the Software, and to |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 # permit persons to whom the Software is furnished to do so, subject |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 # to the following conditions: |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 # |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 # The above copyright notice and this permission notice shall be |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 # included in all copies or substantial portions of the Software. |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 # |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 # Qt |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 PKG := qt |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 $(PKG)_IGNORE := |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 $(PKG)_VERSION := 4.6.0-tp1 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 $(PKG)_CHECKSUM := 4394bea076279ea090549d3caa00cc1f5e33a22b |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
28 $(PKG)_SUBDIR := $(PKG)-everywhere-opensource-src-$($(PKG)_VERSION) |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 $(PKG)_FILE := $(PKG)-everywhere-opensource-src-$($(PKG)_VERSION).tar.gz |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 $(PKG)_WEBSITE := http://qt.nokia.com/ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 $(PKG)_URL := http://get.qt.nokia.com/qt/source/$($(PKG)_FILE) |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
32 $(PKG)_DEPS := gcc |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
33 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
34 define $(PKG)_UPDATE |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
35 wget -q -O- 'http://qt.gitorious.org/qt/qt/commits' | \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
36 grep '<li><a href="/qt/qt/commit/' | \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
37 $(SED) -n 's,.*<a[^>]*>v\([0-9][^>]*\)<.*,\1,p' | \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
38 tail -1 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
39 endef |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
40 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
41 define $(PKG)_BUILD |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
42 |
468
f826746491e6
build the native Qt tools from unpatched sources
Volker Grabsch <vog@notjusthosting.com>
parents:
466
diff
changeset
|
43 # Native, unpatched build of Qt for moc, rcc, uic and qmake |
f826746491e6
build the native Qt tools from unpatched sources
Volker Grabsch <vog@notjusthosting.com>
parents:
466
diff
changeset
|
44 cd '$(1)' && $(call UNPACK_PKG_ARCHIVE,qt) |
f826746491e6
build the native Qt tools from unpatched sources
Volker Grabsch <vog@notjusthosting.com>
parents:
466
diff
changeset
|
45 mv '$(1)/$(qt_SUBDIR)' '$(1).native' |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
46 cd '$(1)'.native && ./configure \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
47 -opensource \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
48 -confirm-license \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
49 -prefix '$(PREFIX)/$(TARGET)' \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
50 -prefix-install \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
51 -fast \ |
466
c2462319a112
simplify the native build in package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
464
diff
changeset
|
52 -no-exceptions \ |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
53 -nomake demos \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
54 -nomake examples \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
55 -nomake libs \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
56 -nomake tools \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
57 -nomake docs \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
58 -nomake translations |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
59 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
60 $(MAKE) -C '$(1)'.native -j $(JOBS) sub-tools-bootstrap |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
61 $(MAKE) -C '$(1)'.native -j $(JOBS) sub-moc |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
62 $(MAKE) -C '$(1)'.native -j $(JOBS) sub-rcc |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
63 $(MAKE) -C '$(1)'.native -j $(JOBS) sub-uic |
464
0174ea97b91d
several bugfixes for package qt to ensure that "i686-pc-mingw32-qmake ; make" will work
Volker Grabsch <vog@notjusthosting.com>
parents:
455
diff
changeset
|
64 |
0174ea97b91d
several bugfixes for package qt to ensure that "i686-pc-mingw32-qmake ; make" will work
Volker Grabsch <vog@notjusthosting.com>
parents:
455
diff
changeset
|
65 # install the native tools manually |
0174ea97b91d
several bugfixes for package qt to ensure that "i686-pc-mingw32-qmake ; make" will work
Volker Grabsch <vog@notjusthosting.com>
parents:
455
diff
changeset
|
66 $(INSTALL) -m755 '$(1)'.native/bin/moc '$(PREFIX)/bin/$(TARGET)-moc' |
0174ea97b91d
several bugfixes for package qt to ensure that "i686-pc-mingw32-qmake ; make" will work
Volker Grabsch <vog@notjusthosting.com>
parents:
455
diff
changeset
|
67 $(INSTALL) -m755 '$(1)'.native/bin/rcc '$(PREFIX)/bin/$(TARGET)-rcc' |
0174ea97b91d
several bugfixes for package qt to ensure that "i686-pc-mingw32-qmake ; make" will work
Volker Grabsch <vog@notjusthosting.com>
parents:
455
diff
changeset
|
68 $(INSTALL) -m755 '$(1)'.native/bin/uic '$(PREFIX)/bin/$(TARGET)-uic' |
0174ea97b91d
several bugfixes for package qt to ensure that "i686-pc-mingw32-qmake ; make" will work
Volker Grabsch <vog@notjusthosting.com>
parents:
455
diff
changeset
|
69 $(INSTALL) -m755 '$(1)'.native/bin/qmake '$(PREFIX)/bin/$(TARGET)-qmake' |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
70 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
71 # Trick the build system into using native tools |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
72 ln -s '$(1)'.native/bin/{moc,rcc,uic,qmake} '$(1)'/bin/ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
73 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
74 # Make sure we don't build the tools again |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
75 echo 'qmake:' >'$(1)'/qmake/Makefile.unix |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
76 for f in `ls -1 '$(1)'/src/tools`; \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
77 do echo TEMPLATE = subdirs >'$(1)'/src/tools/"$$f"/"$$f".pro; \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
78 done |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
79 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
80 # Trick the buildsystem into using win32 feature files: |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
81 mv '$(1)'/mkspecs/features/unix '$(1)'/mkspecs/features/unix.orig |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
82 ln -s win32 '$(1)'/mkspecs/features/unix |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
83 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
84 # Adjust the mkspec values that contain the TARGET platform prefix |
455
5ba19c633370
adjusted package qt to the current coding style
Volker Grabsch <vog@notjusthosting.com>
parents:
452
diff
changeset
|
85 $(SED) 's,HOSTPLATFORMPREFIX-,$(TARGET)-,g' -i '$(1)'/mkspecs/win32-g++/qmake.conf |
5ba19c633370
adjusted package qt to the current coding style
Volker Grabsch <vog@notjusthosting.com>
parents:
452
diff
changeset
|
86 $(SED) 's,HOSTPLATFORMINCLUDE,$(PREFIX)/$(TARGET)/include,g' -i '$(1)'/mkspecs/win32-g++/qmake.conf |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
87 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
88 # Make sure qmake doesn't use compilation paths meant for unix |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
89 find '$(1)'/src -name '*.pr[oi]' -exec \ |
455
5ba19c633370
adjusted package qt to the current coding style
Volker Grabsch <vog@notjusthosting.com>
parents:
452
diff
changeset
|
90 $(SED) 's,\(^\|[^_/]\)unix,\1linux,g' -i {} \; |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
91 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
92 # Make qmake use compilation paths meant for Windows |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
93 find '$(1)'/src -name '*.pr[oi]' -exec \ |
455
5ba19c633370
adjusted package qt to the current coding style
Volker Grabsch <vog@notjusthosting.com>
parents:
452
diff
changeset
|
94 $(SED) 's,\(^\|[^_/]\)win32\([^-]\|$$\),\1unix\2,g' -i {} \; |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
95 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
96 # Fix-ups for files not found during configure |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
97 # Probably errors in QT 4.6 Technology Preview 1 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
98 ln -s ../WebKit.pri '$(1)'/src/3rdparty/webkit/WebKit |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
99 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
100 # Fix-ups for files not found during make |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
101 # Probably errors in QT 4.6 Technology Preview 1 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
102 mkdir '$(1)'/src/3rdparty/webkit/JavaScriptCore/generated/release |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
103 ln -s ../chartables.c '$(1)'/src/3rdparty/webkit/JavaScriptCore/generated/release/ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
104 ln -s ../Grammar.cpp '$(1)'/src/3rdparty/webkit/JavaScriptCore/generated/release/ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
105 mkdir '$(1)'/src/3rdparty/webkit/JavaScriptCore/generated/debug |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
106 ln -s ../chartables.c '$(1)'/src/3rdparty/webkit/JavaScriptCore/generated/debug/ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
107 ln -s ../Grammar.cpp '$(1)'/src/3rdparty/webkit/JavaScriptCore/generated/debug/ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
108 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
109 # Fix case of filename |
455
5ba19c633370
adjusted package qt to the current coding style
Volker Grabsch <vog@notjusthosting.com>
parents:
452
diff
changeset
|
110 $(SED) 's,QWidget\.h,qwidget.h,g' -i '$(1)'/src/3rdparty/webkit/WebCore/plugins/win/PluginViewWin.cpp |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
111 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
112 # Configure Qt for MinGW target |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
113 cd '$(1)' && ./configure \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
114 -opensource \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
115 -confirm-license \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
116 -xplatform win32-g++ \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
117 -host-arch i386 \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
118 -little-endian \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
119 -exceptions \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
120 -static \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
121 -prefix '$(PREFIX)/$(TARGET)' \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
122 -prefix-install \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
123 -bindir '$(1)'/bindirsink \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
124 -plugin-sql-odbc \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
125 -plugin-sql-psql \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
126 -plugin-sql-sqlite \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
127 -plugin-sql-mysql \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
128 -script \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
129 -webkit \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
130 -phonon \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
131 -no-phonon-backend \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
132 -accessibility \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
133 -no-reduce-exports \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
134 -no-rpath \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
135 -make libs \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
136 -nomake demos \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
137 -nomake docs \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
138 -nomake examples \ |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
139 -continue |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
140 |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
141 $(MAKE) -C '$(1)' -j '$(JOBS)' |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
142 $(TARGET)-ranlib '$(1)'/lib/*.a |
464
0174ea97b91d
several bugfixes for package qt to ensure that "i686-pc-mingw32-qmake ; make" will work
Volker Grabsch <vog@notjusthosting.com>
parents:
455
diff
changeset
|
143 rm -rf '$(PREFIX)/$(TARGET)/mkspecs' |
452
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
144 $(MAKE) -C '$(1)' install |
ade2c475c772
new package: qt (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
145 endef |