author | llornkcor <llornkcor> | 2003-07-09 13:25:29 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-07-09 13:25:29 (UTC) |
commit | 11aca2c8441a25c0979c30c0461873e5d089b858 (patch) (unidiff) | |
tree | 4028a15be94a3b63767537531495ac6e2b5b49eb /include.pro | |
parent | 04ee3c01c1d048f3f35077a17d1505781071f6db (diff) | |
download | opie-11aca2c8441a25c0979c30c0461873e5d089b858.zip opie-11aca2c8441a25c0979c30c0461873e5d089b858.tar.gz opie-11aca2c8441a25c0979c30c0461873e5d089b858.tar.bz2 |
added MOC_DIR=.moc/$(PLATFORM) and OBJECTS_DIR=.obj/$(PLATFORM)
-rw-r--r-- | include.pro | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include.pro b/include.pro index 8503aa0..3ba8776 100644 --- a/include.pro +++ b/include.pro | |||
@@ -1,77 +1,80 @@ | |||
1 | # make install | 1 | # make install |
2 | 2 | ||
3 | # base opie install path | 3 | # base opie install path |
4 | prefix = /opt/QtPalmtop | 4 | prefix = /opt/QtPalmtop |
5 | 5 | ||
6 | contains( TEMPLATE, lib ) { | 6 | contains( TEMPLATE, lib ) { |
7 | target.path = $$prefix/lib | 7 | target.path = $$prefix/lib |
8 | } | 8 | } |
9 | !contains( TEMPLATE, lib ) { | 9 | !contains( TEMPLATE, lib ) { |
10 | target.path = $$prefix/bin | 10 | target.path = $$prefix/bin |
11 | } | 11 | } |
12 | INSTALLS += target | 12 | INSTALLS += target |
13 | 13 | ||
14 | # ipkg control files | 14 | # ipkg control files |
15 | control.path = /CONTROL | 15 | control.path = /CONTROL |
16 | control.files = control postinst prerm postrm preinst conffiles | 16 | control.files = control postinst prerm postrm preinst conffiles |
17 | INSTALLS += control | 17 | INSTALLS += control |
18 | 18 | ||
19 | # images, default is $$prefix/pics/$$TARGET | 19 | # images, default is $$prefix/pics/$$TARGET |
20 | pics.path = $$prefix/pics/$$TARGET | 20 | pics.path = $$prefix/pics/$$TARGET |
21 | pics.files = pics/* | 21 | pics.files = pics/* |
22 | INSTALLS += pics | 22 | INSTALLS += pics |
23 | 23 | ||
24 | # sounds, default path is $$prefix/sounds/$$TARGET | 24 | # sounds, default path is $$prefix/sounds/$$TARGET |
25 | sounds.path = $$prefix/sounds/$$TARGET | 25 | sounds.path = $$prefix/sounds/$$TARGET |
26 | sounds.files = sounds/* | 26 | sounds.files = sounds/* |
27 | INSTALLS += sounds | 27 | INSTALLS += sounds |
28 | 28 | ||
29 | # init scripts, default path is /etc/init.d | 29 | # init scripts, default path is /etc/init.d |
30 | init.path = /etc/init.d | 30 | init.path = /etc/init.d |
31 | init.files = init.d/* | 31 | init.files = init.d/* |
32 | INSTALLS += init | 32 | INSTALLS += init |
33 | 33 | ||
34 | # data, default path is /usr/share/$$TARGET | 34 | # data, default path is /usr/share/$$TARGET |
35 | data.path = /usr/share/$$TARGET | 35 | data.path = /usr/share/$$TARGET |
36 | data.files = share/* | 36 | data.files = share/* |
37 | INSTALLS += data | 37 | INSTALLS += data |
38 | 38 | ||
39 | etc.path = $$prefix/etc/ | 39 | etc.path = $$prefix/etc/ |
40 | etc.files = etc/* | 40 | etc.files = etc/* |
41 | INSTALLS += etc | 41 | INSTALLS += etc |
42 | 42 | ||
43 | apps.path = $$prefix/apps/ | 43 | apps.path = $$prefix/apps/ |
44 | apps.files = apps/* | 44 | apps.files = apps/* |
45 | INSTALLS += apps | 45 | INSTALLS += apps |
46 | 46 | ||
47 | # sounds, default path is $$prefix/sounds/$$TARGET | 47 | # sounds, default path is $$prefix/sounds/$$TARGET |
48 | sounds.path = $$prefix/sounds/$$TARGET | 48 | sounds.path = $$prefix/sounds/$$TARGET |
49 | sounds.files = sounds/* | 49 | sounds.files = sounds/* |
50 | INSTALLS += sounds | 50 | INSTALLS += sounds |
51 | 51 | ||
52 | # anything in nonstandard paths | 52 | # anything in nonstandard paths |
53 | root.path = / | 53 | root.path = / |
54 | root.files = root/* | 54 | root.files = root/* |
55 | INSTALLS += root | 55 | INSTALLS += root |
56 | 56 | ||
57 | # new targets | 57 | # new targets |
58 | opie-lupdate.target = opie-lupdate | 58 | opie-lupdate.target = opie-lupdate |
59 | opie-lupdate.commands = opie-lupdate -noobsolete $(PRO) | 59 | opie-lupdate.commands = opie-lupdate -noobsolete $(PRO) |
60 | 60 | ||
61 | opie-lrelease.target = opie-lrelease | 61 | opie-lrelease.target = opie-lrelease |
62 | opie-lrelease.commands = opie-lrelease $(PRO) | 62 | opie-lrelease.commands = opie-lrelease $(PRO) |
63 | 63 | ||
64 | lupdate.target = lupdate | 64 | lupdate.target = lupdate |
65 | lupdate.commands = lupdate -noobsolete $(PRO) | 65 | lupdate.commands = lupdate -noobsolete $(PRO) |
66 | 66 | ||
67 | lrelease.target = lrelease | 67 | lrelease.target = lrelease |
68 | lrelease.commands = lrelease $(PRO) | 68 | lrelease.commands = lrelease $(PRO) |
69 | 69 | ||
70 | ipk.target = ipk | 70 | ipk.target = ipk |
71 | ipk.commands = tmp=`mktemp -d /tmp/ipkg-opie.XXXXXXXXXX` && ( $(MAKE) INSTALL_ROOT="$$$$tmp" install && ipkg-build $$$$tmp; rm -rf $$$$tmp; ) | 71 | ipk.commands = tmp=`mktemp -d /tmp/ipkg-opie.XXXXXXXXXX` && ( $(MAKE) INSTALL_ROOT="$$$$tmp" install && ipkg-build $$$$tmp; rm -rf $$$$tmp; ) |
72 | 72 | ||
73 | QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease ipk opie-lupdate opie-lrelease | 73 | QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease ipk opie-lupdate opie-lrelease |
74 | QMAKE_LFLAGS += -Wl,-rpath=$$prefix/lib | 74 | QMAKE_LFLAGS += -Wl,-rpath=$$prefix/lib |
75 | QMAKE_LIBDIR += $(OPIEDIR)/lib | 75 | QMAKE_LIBDIR += $(OPIEDIR)/lib |
76 | 76 | ||
77 | MOC_DIR=.moc/$(PLATFORM) | ||
78 | OBJECTS_DIR=.obj/$(PLATFORM) | ||
79 | |||
77 | include ( $(OPIEDIR)/gen.pro ) | 80 | include ( $(OPIEDIR)/gen.pro ) |