Fixed an error in settings dialog that caused app to segfault on arm. Changed init...
[jenirok] / src / gui / Makefile
1 #############################################################################
2 # Makefile for building: jenirok
3 # Generated by qmake (2.01a) (Qt 4.6.2) on: Thu May 27 17:38:04 2010
4 # Project:  gui.pro
5 # Template: app
6 # Command: /usr/bin/qmake -unix -o Makefile gui.pro
7 #############################################################################
8
9 ####### Compiler, tools and options
10
11 CC            = gcc
12 CXX           = g++
13 DEFINES       = -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH=1024 -DDATADIR=\"/usr/share\" -DPKGDATADIR=\"\" -DQT_NO_DEBUG -DQT_MAEMO5_LIB -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
14 CFLAGS        = -pipe -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls -I/usr/include/evolution-data-server-1.4 -I/usr/include/dbus-1.0 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/conic -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -W -D_REENTRANT $(DEFINES)
15 CXXFLAGS      = -pipe -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls -I/usr/include/evolution-data-server-1.4 -I/usr/include/dbus-1.0 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/conic -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -W -D_REENTRANT $(DEFINES)
16 INCPATH       = -I/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-maemo5 -I. -I/targets/FREMANTLE_ARMEL/usr/include/QtCore -I/targets/FREMANTLE_ARMEL/usr/include/QtNetwork -I/targets/FREMANTLE_ARMEL/usr/include/QtGui -I/targets/FREMANTLE_ARMEL/usr/include/QtSql -I/targets/FREMANTLE_ARMEL/usr/include/QtMaemo5 -I/targets/FREMANTLE_ARMEL/usr/include -I../common -I.
17 LINK          = g++
18 LFLAGS        = -Wl,-rpath-link,/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -Wl,-rpath,/usr/lib
19 LIBS          = $(SUBLIBS)  -L/usr/lib -lebook-1.2 -ledataserver-1.2 -lxml2 -lgconf-2 -ldbus-glib-1 -lconic -ldbus-1 -lgobject-2.0 -lglib-2.0 -lQtMaemo5 -L/usr/lib -L/usr/X11R6/lib -lQtSql -lQtGui -lQtNetwork -lQtDBus -lQtXml -lQtCore -lpthread 
20 AR            = ar cqs
21 RANLIB        = 
22 QMAKE         = /usr/bin/qmake
23 TAR           = tar -cf
24 COMPRESS      = gzip -9f
25 COPY          = cp -f
26 SED           = sed
27 COPY_FILE     = $(COPY)
28 COPY_DIR      = $(COPY) -r
29 STRIP         = strip
30 INSTALL_FILE  = install -m 644 -p
31 INSTALL_DIR   = $(COPY_DIR)
32 INSTALL_PROGRAM = install -m 755 -p
33 DEL_FILE      = rm -f
34 SYMLINK       = ln -f -s
35 DEL_DIR       = rmdir
36 MOVE          = mv -f
37 CHK_DIR_EXISTS= test -d
38 MKDIR         = mkdir -p
39
40 ####### Output directory
41
42 OBJECTS_DIR   = ./
43
44 ####### Files
45
46 SOURCES       = main.cpp \
47                 mainwindow.cpp \
48                 searchdialog.cpp \
49                 resultwindow.cpp \
50                 detailwindow.cpp \
51                 settingsdialog.cpp \
52                 buttonselector.cpp \
53                 daemon.cpp \
54                 ../common/eniro.cpp \
55                 ../common/contactmanager.cpp \
56                 ../common/db.cpp \
57                 ../common/settings.cpp \
58                 ../common/connectionmanager.cpp \
59                 ../common/cache.cpp moc_mainwindow.cpp \
60                 moc_searchdialog.cpp \
61                 moc_resultwindow.cpp \
62                 moc_detailwindow.cpp \
63                 moc_settingsdialog.cpp \
64                 moc_eniro.cpp \
65                 moc_connectionmanager.cpp \
66                 qrc_icons.cpp \
67                 qrc_translations.cpp
68 OBJECTS       = main.o \
69                 mainwindow.o \
70                 searchdialog.o \
71                 resultwindow.o \
72                 detailwindow.o \
73                 settingsdialog.o \
74                 buttonselector.o \
75                 daemon.o \
76                 eniro.o \
77                 contactmanager.o \
78                 db.o \
79                 settings.o \
80                 connectionmanager.o \
81                 cache.o \
82                 moc_mainwindow.o \
83                 moc_searchdialog.o \
84                 moc_resultwindow.o \
85                 moc_detailwindow.o \
86                 moc_settingsdialog.o \
87                 moc_eniro.o \
88                 moc_connectionmanager.o \
89                 qrc_icons.o \
90                 qrc_translations.o
91 DIST          = /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf \
92                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf \
93                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri \
94                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf \
95                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf \
96                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
97                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf \
98                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf \
99                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf \
100                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/link_pkgconfig.prf \
101                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf \
102                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf \
103                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf \
104                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf \
105                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf \
106                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf \
107                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf \
108                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf \
109                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf \
110                 gui.pro
111 QMAKE_TARGET  = jenirok
112 DESTDIR       = 
113 TARGET        = jenirok
114
115 first: all
116 ####### Implicit rules
117
118 .SUFFIXES: .o .c .cpp .cc .cxx .C
119
120 .cpp.o:
121         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
122
123 .cc.o:
124         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
125
126 .cxx.o:
127         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
128
129 .C.o:
130         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
131
132 .c.o:
133         $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
134
135 ####### Build rules
136
137 all: Makefile $(TARGET)
138
139 $(TARGET):  $(OBJECTS)  
140         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
141
142 Makefile: gui.pro  /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-maemo5/qmake.conf /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf \
143                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf \
144                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri \
145                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf \
146                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf \
147                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
148                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf \
149                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf \
150                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf \
151                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/link_pkgconfig.prf \
152                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf \
153                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf \
154                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf \
155                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf \
156                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf \
157                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf \
158                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf \
159                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf \
160                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf \
161                 /usr/lib/libQtMaemo5.prl \
162                 /usr/lib/libQtDBus.prl \
163                 /usr/lib/libQtXml.prl \
164                 /usr/lib/libQtCore.prl \
165                 /usr/lib/libQtGui.prl \
166                 /usr/lib/libQtSql.prl \
167                 /usr/lib/libQtNetwork.prl
168         $(QMAKE) -unix -o Makefile gui.pro
169 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf:
170 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf:
171 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri:
172 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf:
173 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf:
174 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
175 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf:
176 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf:
177 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf:
178 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/link_pkgconfig.prf:
179 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf:
180 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf:
181 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf:
182 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf:
183 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf:
184 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf:
185 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf:
186 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf:
187 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf:
188 /usr/lib/libQtMaemo5.prl:
189 /usr/lib/libQtDBus.prl:
190 /usr/lib/libQtXml.prl:
191 /usr/lib/libQtCore.prl:
192 /usr/lib/libQtGui.prl:
193 /usr/lib/libQtSql.prl:
194 /usr/lib/libQtNetwork.prl:
195 qmake:  FORCE
196         @$(QMAKE) -unix -o Makefile gui.pro
197
198 dist: 
199         @$(CHK_DIR_EXISTS) .tmp/jenirok1.0.0 || $(MKDIR) .tmp/jenirok1.0.0 
200         $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/jenirok1.0.0/ && $(COPY_FILE) --parents mainwindow.h searchdialog.h resultwindow.h detailwindow.h settingsdialog.h buttonselector.h daemon.h ../common/eniro.h ../common/contactmanager.h ../common/db.h ../common/settings.h ../common/connectionmanager.h ../common/cache.h .tmp/jenirok1.0.0/ && $(COPY_FILE) --parents icons.grc ../common/translations.grc .tmp/jenirok1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp searchdialog.cpp resultwindow.cpp detailwindow.cpp settingsdialog.cpp buttonselector.cpp daemon.cpp ../common/eniro.cpp ../common/contactmanager.cpp ../common/db.cpp ../common/settings.cpp ../common/connectionmanager.cpp ../common/cache.cpp .tmp/jenirok1.0.0/ && $(COPY_FILE) --parents ../common/translations/fi_FI.ts .tmp/jenirok1.0.0/ && (cd `dirname .tmp/jenirok1.0.0` && $(TAR) jenirok1.0.0.tar jenirok1.0.0 && $(COMPRESS) jenirok1.0.0.tar) && $(MOVE) `dirname .tmp/jenirok1.0.0`/jenirok1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/jenirok1.0.0
201
202
203 clean:compiler_clean 
204         -$(DEL_FILE) $(OBJECTS)
205         -$(DEL_FILE) *~ core *.core
206
207
208 ####### Sub-libraries
209
210 distclean: clean
211         -$(DEL_FILE) $(TARGET) 
212         -$(DEL_FILE) Makefile
213
214
215 mocclean: compiler_moc_header_clean compiler_moc_source_clean
216
217 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
218
219 compiler_moc_header_make_all: moc_mainwindow.cpp moc_searchdialog.cpp moc_resultwindow.cpp moc_detailwindow.cpp moc_settingsdialog.cpp moc_eniro.cpp moc_connectionmanager.cpp
220 compiler_moc_header_clean:
221         -$(DEL_FILE) moc_mainwindow.cpp moc_searchdialog.cpp moc_resultwindow.cpp moc_detailwindow.cpp moc_settingsdialog.cpp moc_eniro.cpp moc_connectionmanager.cpp
222 moc_mainwindow.cpp: searchdialog.h \
223                 buttonselector.h \
224                 settingsdialog.h \
225                 mainwindow.h
226         /usr/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp
227
228 moc_searchdialog.cpp: buttonselector.h \
229                 searchdialog.h
230         /usr/bin/moc $(DEFINES) $(INCPATH) searchdialog.h -o moc_searchdialog.cpp
231
232 moc_resultwindow.cpp: searchdialog.h \
233                 buttonselector.h \
234                 resultwindow.h
235         /usr/bin/moc $(DEFINES) $(INCPATH) resultwindow.h -o moc_resultwindow.cpp
236
237 moc_detailwindow.cpp: searchdialog.h \
238                 buttonselector.h \
239                 detailwindow.h
240         /usr/bin/moc $(DEFINES) $(INCPATH) detailwindow.h -o moc_detailwindow.cpp
241
242 moc_settingsdialog.cpp: buttonselector.h \
243                 settingsdialog.h
244         /usr/bin/moc $(DEFINES) $(INCPATH) settingsdialog.h -o moc_settingsdialog.cpp
245
246 moc_eniro.cpp: ../common/eniro.h
247         /usr/bin/moc $(DEFINES) $(INCPATH) ../common/eniro.h -o moc_eniro.cpp
248
249 moc_connectionmanager.cpp: ../common/connectionmanager.h
250         /usr/bin/moc $(DEFINES) $(INCPATH) ../common/connectionmanager.h -o moc_connectionmanager.cpp
251
252 compiler_rcc_make_all: qrc_icons.cpp qrc_translations.cpp
253 compiler_rcc_clean:
254         -$(DEL_FILE) qrc_icons.cpp qrc_translations.cpp
255 qrc_icons.cpp: icons.grc \
256                 icons/stop.png \
257                 icons/start.png
258         /usr/bin/rcc -name icons icons.grc -o qrc_icons.cpp
259
260 qrc_translations.cpp: ../common/translations.grc \
261                 ../common/translations/fi_FI.qm
262         /usr/bin/rcc -name translations ../common/translations.grc -o qrc_translations.cpp
263
264 compiler_image_collection_make_all: qmake_image_collection.cpp
265 compiler_image_collection_clean:
266         -$(DEL_FILE) qmake_image_collection.cpp
267 compiler_moc_source_make_all:
268 compiler_moc_source_clean:
269 compiler_uic_make_all:
270 compiler_uic_clean:
271 compiler_yacc_decl_make_all:
272 compiler_yacc_decl_clean:
273 compiler_yacc_impl_make_all:
274 compiler_yacc_impl_clean:
275 compiler_lex_make_all:
276 compiler_lex_clean:
277 compiler_clean: compiler_moc_header_clean compiler_rcc_clean 
278
279 ####### Compile
280
281 main.o: main.cpp mainwindow.h \
282                 searchdialog.h \
283                 buttonselector.h \
284                 settingsdialog.h \
285                 resultwindow.h \
286                 detailwindow.h
287         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
288
289 mainwindow.o: mainwindow.cpp mainwindow.h \
290                 searchdialog.h \
291                 buttonselector.h \
292                 settingsdialog.h \
293                 daemon.h
294         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
295
296 searchdialog.o: searchdialog.cpp searchdialog.h \
297                 buttonselector.h
298         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o searchdialog.o searchdialog.cpp
299
300 resultwindow.o: resultwindow.cpp resultwindow.h \
301                 searchdialog.h \
302                 buttonselector.h
303         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o resultwindow.o resultwindow.cpp
304
305 detailwindow.o: detailwindow.cpp detailwindow.h \
306                 searchdialog.h \
307                 buttonselector.h
308         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o detailwindow.o detailwindow.cpp
309
310 settingsdialog.o: settingsdialog.cpp settingsdialog.h \
311                 buttonselector.h \
312                 daemon.h
313         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o settingsdialog.o settingsdialog.cpp
314
315 buttonselector.o: buttonselector.cpp buttonselector.h
316         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o buttonselector.o buttonselector.cpp
317
318 daemon.o: daemon.cpp daemon.h
319         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o daemon.o daemon.cpp
320
321 eniro.o: ../common/eniro.cpp ../common/eniro.h
322         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o eniro.o ../common/eniro.cpp
323
324 contactmanager.o: ../common/contactmanager.cpp ../common/contactmanager.h
325         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o contactmanager.o ../common/contactmanager.cpp
326
327 db.o: ../common/db.cpp ../common/db.h
328         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o db.o ../common/db.cpp
329
330 settings.o: ../common/settings.cpp ../common/settings.h \
331                 ../common/db.h
332         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o settings.o ../common/settings.cpp
333
334 connectionmanager.o: ../common/connectionmanager.cpp ../common/connectionmanager.h
335         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o connectionmanager.o ../common/connectionmanager.cpp
336
337 cache.o: ../common/cache.cpp ../common/cache.h \
338                 ../common/eniro.h \
339                 ../common/db.h \
340                 ../common/settings.h
341         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o cache.o ../common/cache.cpp
342
343 moc_mainwindow.o: moc_mainwindow.cpp 
344         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp
345
346 moc_searchdialog.o: moc_searchdialog.cpp 
347         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_searchdialog.o moc_searchdialog.cpp
348
349 moc_resultwindow.o: moc_resultwindow.cpp 
350         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_resultwindow.o moc_resultwindow.cpp
351
352 moc_detailwindow.o: moc_detailwindow.cpp 
353         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_detailwindow.o moc_detailwindow.cpp
354
355 moc_settingsdialog.o: moc_settingsdialog.cpp 
356         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_settingsdialog.o moc_settingsdialog.cpp
357
358 moc_eniro.o: moc_eniro.cpp 
359         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_eniro.o moc_eniro.cpp
360
361 moc_connectionmanager.o: moc_connectionmanager.cpp 
362         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_connectionmanager.o moc_connectionmanager.cpp
363
364 qrc_icons.o: qrc_icons.cpp 
365         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_icons.o qrc_icons.cpp
366
367 qrc_translations.o: qrc_translations.cpp 
368         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_translations.o qrc_translations.cpp
369
370 ####### Install
371
372 install_target: first FORCE
373         @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/bin/ 
374         -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
375         -$(STRIP) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
376
377 uninstall_target:  FORCE
378         -$(DEL_FILE) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
379         -$(DEL_DIR) $(INSTALL_ROOT)/usr/bin/ 
380
381
382 install_desktop: first FORCE
383         @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/applications/hildon/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/applications/hildon/ 
384         -$(INSTALL_FILE) /home/maemo/workspace/jenirok/src/gui/data/jenirok.desktop $(INSTALL_ROOT)/usr/share/applications/hildon/
385
386
387 uninstall_desktop:  FORCE
388         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/applications/hildon/jenirok.desktop
389         -$(DEL_DIR) $(INSTALL_ROOT)/usr/share/applications/hildon/ 
390
391
392 install_iconxpm: first FORCE
393         @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/pixmap/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/pixmap/ 
394         -$(INSTALL_PROGRAM) /home/maemo/workspace/jenirok/src/gui/data/maemo/jenirok.xpm $(INSTALL_ROOT)/usr/share/pixmap/
395         -strip $(INSTALL_ROOT)/usr/share/pixmap/jenirok.xpm
396
397
398 uninstall_iconxpm:  FORCE
399         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/pixmap/jenirok.xpm
400         -$(DEL_DIR) $(INSTALL_ROOT)/usr/share/pixmap/ 
401
402
403 install_icon26: first FORCE
404         @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/icons/hicolor/26x26/apps/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/26x26/apps/ 
405         -$(INSTALL_FILE) /home/maemo/workspace/jenirok/src/gui/data/26x26/jenirok.png $(INSTALL_ROOT)/usr/share/icons/hicolor/26x26/apps/
406
407
408 uninstall_icon26:  FORCE
409         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/icons/hicolor/26x26/apps/jenirok.png
410         -$(DEL_DIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/26x26/apps/ 
411
412
413 install_icon48: first FORCE
414         @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/icons/hicolor/48x48/apps/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/48x48/apps/ 
415         -$(INSTALL_FILE) /home/maemo/workspace/jenirok/src/gui/data/48x48/jenirok.png $(INSTALL_ROOT)/usr/share/icons/hicolor/48x48/apps/
416
417
418 uninstall_icon48:  FORCE
419         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/icons/hicolor/48x48/apps/jenirok.png
420         -$(DEL_DIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/48x48/apps/ 
421
422
423 install_icon64: first FORCE
424         @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/ 
425         -$(INSTALL_FILE) /home/maemo/workspace/jenirok/src/gui/data/64x64/jenirok.png $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/
426
427
428 uninstall_icon64:  FORCE
429         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/jenirok.png
430         -$(DEL_DIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/ 
431
432
433 install:  install_target install_desktop install_iconxpm install_icon26 install_icon48 install_icon64  FORCE
434
435 uninstall: uninstall_target uninstall_desktop uninstall_iconxpm uninstall_icon26 uninstall_icon48 uninstall_icon64   FORCE
436
437 FORCE:
438