-rw-r--r-- | include.pro | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include.pro b/include.pro index 4bdcaa7..ef8661c 100644 --- a/include.pro +++ b/include.pro | |||
@@ -78,38 +78,41 @@ INSTALLS += root | |||
78 | # new targets | 78 | # new targets |
79 | opie-lupdate.target = opie-lupdate | 79 | opie-lupdate.target = opie-lupdate |
80 | opie-lupdate.commands = opie-lupdate $(PRO) | 80 | opie-lupdate.commands = opie-lupdate $(PRO) |
81 | 81 | ||
82 | opie-lrelease.target = opie-lrelease | 82 | opie-lrelease.target = opie-lrelease |
83 | opie-lrelease.commands = opie-lrelease $(PRO) | 83 | opie-lrelease.commands = opie-lrelease $(PRO) |
84 | 84 | ||
85 | lupdate.target = lupdate | 85 | lupdate.target = lupdate |
86 | lupdate.commands = lupdate -noobsolete $(PRO) | 86 | lupdate.commands = lupdate -noobsolete $(PRO) |
87 | 87 | ||
88 | lrelease.target = lrelease | 88 | lrelease.target = lrelease |
89 | lrelease.commands = lrelease $(PRO) | 89 | lrelease.commands = lrelease $(PRO) |
90 | 90 | ||
91 | # new message target to get all strings from the apps with and without tr | 91 | # new message target to get all strings from the apps with and without tr |
92 | messages.target = messages | 92 | messages.target = messages |
93 | messages.commands = xgettext -C -n -ktr -kQT_TRANSLATE_NOOP $$HEADERS $$SOURCES -o '$(OPIEDIR)/messages-$(QMAKE_TARGET)-tr.po' && xgettext -C -n -a $$HEADERS $$SOURCES -o '$(OPIEDIR)/messages-$(QMAKE_TARGET)-allstrings.po' | 93 | messages.commands = xgettext -C -n -ktr -kQT_TRANSLATE_NOOP $$HEADERS $$SOURCES -o '$(OPIEDIR)/messages-$(QMAKE_TARGET)-tr.po' && xgettext -C -n -a $$HEADERS $$SOURCES -o '$(OPIEDIR)/messages-$(QMAKE_TARGET)-allstrings.po' |
94 | 94 | ||
95 | ipk.target = ipk | 95 | ipk.target = ipk |
96 | ipk.commands = tmp=`mktemp -d /tmp/ipkg-opie.XXXXXXXXXX` && ( $(MAKE) INSTALL_ROOT="$$$$tmp" install && ipkg-build $$$$tmp; rm -rf $$$$tmp; ) | 96 | ipk.commands = tmp=`mktemp -d /tmp/ipkg-opie.XXXXXXXXXX` && ( $(MAKE) INSTALL_ROOT="$$$$tmp" install && ipkg-build $$$$tmp; rm -rf $$$$tmp; ) |
97 | 97 | ||
98 | QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease ipk opie-lupdate opie-lrelease messages | 98 | QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease ipk opie-lupdate opie-lrelease messages |
99 | CONFTEST = $$system( echo $CONFIG_TARGET_MACOSX ) | 99 | CONFTEST = $$system( echo $CONFIG_TARGET_MACOSX ) |
100 | contains( CONFTEST, y ){ | 100 | contains( CONFTEST, y ){ |
101 | QMAKE_LFLAGS += -Wl | 101 | QMAKE_LFLAGS += -Wl |
102 | LIBS -= -ldl | ||
103 | LIBS -= -lcrypt | ||
104 | LIBS -= -lm | ||
102 | } | 105 | } |
103 | else { | 106 | else { |
104 | QMAKE_LFLAGS += -Wl,-rpath=$$prefix/lib | 107 | QMAKE_LFLAGS += -Wl,-rpath=$$prefix/lib |
105 | # I am not sure whether it is a good idea to change the way plugins is build | 108 | # I am not sure whether it is a good idea to change the way plugins is build |
106 | # on linux. Therefore I remove the "plugin" term, which is needed by MacOS-X | 109 | # on linux. Therefore I remove the "plugin" term, which is needed by MacOS-X |
107 | CONFIG -= plugin | 110 | CONFIG -= plugin |
108 | } | 111 | } |
109 | QMAKE_LIBDIR += $(OPIEDIR)/lib | 112 | QMAKE_LIBDIR += $(OPIEDIR)/lib |
110 | 113 | ||
111 | MOC_DIR=.moc/$(PLATFORM) | 114 | MOC_DIR=.moc/$(PLATFORM) |
112 | OBJECTS_DIR=.obj/$(PLATFORM) | 115 | OBJECTS_DIR=.obj/$(PLATFORM) |
113 | 116 | ||
114 | #was here now at thetop | 117 | #was here now at thetop |
115 | #include ( $(OPIEDIR)/gen.pro ) | 118 | #include ( $(OPIEDIR)/gen.pro ) |