Added missing build dependency to control file and fixed connection handling in gui.
[jenirok] / src / gui / Makefile
1 #############################################################################
2 # Makefile for building: jenirok
3 # Generated by qmake (2.01a) (Qt 4.6.2) on: Thu Jun 3 11:01:00 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 -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 -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 -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                 aboutdialog.cpp \
53                 buttonselector.cpp \
54                 daemon.cpp \
55                 ../common/eniro.cpp \
56                 ../common/contactmanager.cpp \
57                 ../common/db.cpp \
58                 ../common/settings.cpp \
59                 ../common/connectionmanager.cpp \
60                 ../common/cache.cpp moc_mainwindow.cpp \
61                 moc_searchdialog.cpp \
62                 moc_resultwindow.cpp \
63                 moc_detailwindow.cpp \
64                 moc_settingsdialog.cpp \
65                 moc_aboutdialog.cpp \
66                 moc_eniro.cpp \
67                 moc_connectionmanager.cpp \
68                 qrc_icons.cpp \
69                 qrc_translations.cpp
70 OBJECTS       = main.o \
71                 mainwindow.o \
72                 searchdialog.o \
73                 resultwindow.o \
74                 detailwindow.o \
75                 settingsdialog.o \
76                 aboutdialog.o \
77                 buttonselector.o \
78                 daemon.o \
79                 eniro.o \
80                 contactmanager.o \
81                 db.o \
82                 settings.o \
83                 connectionmanager.o \
84                 cache.o \
85                 moc_mainwindow.o \
86                 moc_searchdialog.o \
87                 moc_resultwindow.o \
88                 moc_detailwindow.o \
89                 moc_settingsdialog.o \
90                 moc_aboutdialog.o \
91                 moc_eniro.o \
92                 moc_connectionmanager.o \
93                 qrc_icons.o \
94                 qrc_translations.o
95 DIST          = /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf \
96                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf \
97                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri \
98                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf \
99                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf \
100                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
101                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf \
102                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf \
103                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf \
104                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/link_pkgconfig.prf \
105                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf \
106                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf \
107                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf \
108                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf \
109                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf \
110                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf \
111                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf \
112                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf \
113                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf \
114                 gui.pro
115 QMAKE_TARGET  = jenirok
116 DESTDIR       = 
117 TARGET        = jenirok
118
119 first: all
120 ####### Implicit rules
121
122 .SUFFIXES: .o .c .cpp .cc .cxx .C
123
124 .cpp.o:
125         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
126
127 .cc.o:
128         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
129
130 .cxx.o:
131         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
132
133 .C.o:
134         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
135
136 .c.o:
137         $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
138
139 ####### Build rules
140
141 all: Makefile $(TARGET)
142
143 $(TARGET):  $(OBJECTS)  
144         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
145
146 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 \
147                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf \
148                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri \
149                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf \
150                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf \
151                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
152                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf \
153                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf \
154                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf \
155                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/link_pkgconfig.prf \
156                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf \
157                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf \
158                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf \
159                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf \
160                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf \
161                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf \
162                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf \
163                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf \
164                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf \
165                 /usr/lib/libQtMaemo5.prl \
166                 /usr/lib/libQtDBus.prl \
167                 /usr/lib/libQtXml.prl \
168                 /usr/lib/libQtCore.prl \
169                 /usr/lib/libQtGui.prl \
170                 /usr/lib/libQtSql.prl \
171                 /usr/lib/libQtNetwork.prl
172         $(QMAKE) -unix -o Makefile gui.pro
173 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf:
174 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf:
175 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri:
176 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf:
177 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf:
178 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
179 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf:
180 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf:
181 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf:
182 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/link_pkgconfig.prf:
183 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf:
184 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf:
185 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf:
186 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf:
187 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf:
188 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf:
189 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf:
190 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf:
191 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf:
192 /usr/lib/libQtMaemo5.prl:
193 /usr/lib/libQtDBus.prl:
194 /usr/lib/libQtXml.prl:
195 /usr/lib/libQtCore.prl:
196 /usr/lib/libQtGui.prl:
197 /usr/lib/libQtSql.prl:
198 /usr/lib/libQtNetwork.prl:
199 qmake:  FORCE
200         @$(QMAKE) -unix -o Makefile gui.pro
201
202 dist: 
203         @$(CHK_DIR_EXISTS) .tmp/jenirok1.0.0 || $(MKDIR) .tmp/jenirok1.0.0 
204         $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/jenirok1.0.0/ && $(COPY_FILE) --parents mainwindow.h searchdialog.h resultwindow.h detailwindow.h settingsdialog.h aboutdialog.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 aboutdialog.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
205
206
207 clean:compiler_clean 
208         -$(DEL_FILE) $(OBJECTS)
209         -$(DEL_FILE) *~ core *.core
210
211
212 ####### Sub-libraries
213
214 distclean: clean
215         -$(DEL_FILE) $(TARGET) 
216         -$(DEL_FILE) Makefile
217
218
219 mocclean: compiler_moc_header_clean compiler_moc_source_clean
220
221 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
222
223 compiler_moc_header_make_all: moc_mainwindow.cpp moc_searchdialog.cpp moc_resultwindow.cpp moc_detailwindow.cpp moc_settingsdialog.cpp moc_aboutdialog.cpp moc_eniro.cpp moc_connectionmanager.cpp
224 compiler_moc_header_clean:
225         -$(DEL_FILE) moc_mainwindow.cpp moc_searchdialog.cpp moc_resultwindow.cpp moc_detailwindow.cpp moc_settingsdialog.cpp moc_aboutdialog.cpp moc_eniro.cpp moc_connectionmanager.cpp
226 moc_mainwindow.cpp: searchdialog.h \
227                 buttonselector.h \
228                 settingsdialog.h \
229                 aboutdialog.h \
230                 mainwindow.h
231         /usr/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp
232
233 moc_searchdialog.cpp: buttonselector.h \
234                 searchdialog.h
235         /usr/bin/moc $(DEFINES) $(INCPATH) searchdialog.h -o moc_searchdialog.cpp
236
237 moc_resultwindow.cpp: searchdialog.h \
238                 buttonselector.h \
239                 resultwindow.h
240         /usr/bin/moc $(DEFINES) $(INCPATH) resultwindow.h -o moc_resultwindow.cpp
241
242 moc_detailwindow.cpp: searchdialog.h \
243                 buttonselector.h \
244                 detailwindow.h
245         /usr/bin/moc $(DEFINES) $(INCPATH) detailwindow.h -o moc_detailwindow.cpp
246
247 moc_settingsdialog.cpp: buttonselector.h \
248                 settingsdialog.h
249         /usr/bin/moc $(DEFINES) $(INCPATH) settingsdialog.h -o moc_settingsdialog.cpp
250
251 moc_aboutdialog.cpp: aboutdialog.h
252         /usr/bin/moc $(DEFINES) $(INCPATH) aboutdialog.h -o moc_aboutdialog.cpp
253
254 moc_eniro.cpp: ../common/eniro.h
255         /usr/bin/moc $(DEFINES) $(INCPATH) ../common/eniro.h -o moc_eniro.cpp
256
257 moc_connectionmanager.cpp: ../common/connectionmanager.h
258         /usr/bin/moc $(DEFINES) $(INCPATH) ../common/connectionmanager.h -o moc_connectionmanager.cpp
259
260 compiler_rcc_make_all: qrc_icons.cpp qrc_translations.cpp
261 compiler_rcc_clean:
262         -$(DEL_FILE) qrc_icons.cpp qrc_translations.cpp
263 qrc_icons.cpp: icons.grc \
264                 icons/stop.png \
265                 icons/start.png \
266                 icons/icon.png
267         /usr/bin/rcc -name icons icons.grc -o qrc_icons.cpp
268
269 qrc_translations.cpp: ../common/translations.grc \
270                 ../common/translations/fi_FI.qm
271         /usr/bin/rcc -name translations ../common/translations.grc -o qrc_translations.cpp
272
273 compiler_image_collection_make_all: qmake_image_collection.cpp
274 compiler_image_collection_clean:
275         -$(DEL_FILE) qmake_image_collection.cpp
276 compiler_moc_source_make_all:
277 compiler_moc_source_clean:
278 compiler_uic_make_all:
279 compiler_uic_clean:
280 compiler_yacc_decl_make_all:
281 compiler_yacc_decl_clean:
282 compiler_yacc_impl_make_all:
283 compiler_yacc_impl_clean:
284 compiler_lex_make_all:
285 compiler_lex_clean:
286 compiler_clean: compiler_moc_header_clean compiler_rcc_clean 
287
288 ####### Compile
289
290 main.o: main.cpp mainwindow.h \
291                 searchdialog.h \
292                 buttonselector.h \
293                 settingsdialog.h \
294                 aboutdialog.h \
295                 resultwindow.h \
296                 detailwindow.h
297         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
298
299 mainwindow.o: mainwindow.cpp mainwindow.h \
300                 searchdialog.h \
301                 buttonselector.h \
302                 settingsdialog.h \
303                 aboutdialog.h \
304                 daemon.h
305         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
306
307 searchdialog.o: searchdialog.cpp searchdialog.h \
308                 buttonselector.h
309         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o searchdialog.o searchdialog.cpp
310
311 resultwindow.o: resultwindow.cpp resultwindow.h \
312                 searchdialog.h \
313                 buttonselector.h
314         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o resultwindow.o resultwindow.cpp
315
316 detailwindow.o: detailwindow.cpp detailwindow.h \
317                 searchdialog.h \
318                 buttonselector.h
319         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o detailwindow.o detailwindow.cpp
320
321 settingsdialog.o: settingsdialog.cpp settingsdialog.h \
322                 buttonselector.h \
323                 daemon.h
324         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o settingsdialog.o settingsdialog.cpp
325
326 aboutdialog.o: aboutdialog.cpp aboutdialog.h
327         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o aboutdialog.o aboutdialog.cpp
328
329 buttonselector.o: buttonselector.cpp buttonselector.h
330         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o buttonselector.o buttonselector.cpp
331
332 daemon.o: daemon.cpp daemon.h
333         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o daemon.o daemon.cpp
334
335 eniro.o: ../common/eniro.cpp ../common/eniro.h
336         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o eniro.o ../common/eniro.cpp
337
338 contactmanager.o: ../common/contactmanager.cpp ../common/contactmanager.h
339         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o contactmanager.o ../common/contactmanager.cpp
340
341 db.o: ../common/db.cpp ../common/db.h
342         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o db.o ../common/db.cpp
343
344 settings.o: ../common/settings.cpp ../common/settings.h \
345                 ../common/db.h
346         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o settings.o ../common/settings.cpp
347
348 connectionmanager.o: ../common/connectionmanager.cpp ../common/connectionmanager.h
349         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o connectionmanager.o ../common/connectionmanager.cpp
350
351 cache.o: ../common/cache.cpp ../common/cache.h \
352                 ../common/eniro.h \
353                 ../common/db.h \
354                 ../common/settings.h
355         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o cache.o ../common/cache.cpp
356
357 moc_mainwindow.o: moc_mainwindow.cpp 
358         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp
359
360 moc_searchdialog.o: moc_searchdialog.cpp 
361         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_searchdialog.o moc_searchdialog.cpp
362
363 moc_resultwindow.o: moc_resultwindow.cpp 
364         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_resultwindow.o moc_resultwindow.cpp
365
366 moc_detailwindow.o: moc_detailwindow.cpp 
367         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_detailwindow.o moc_detailwindow.cpp
368
369 moc_settingsdialog.o: moc_settingsdialog.cpp 
370         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_settingsdialog.o moc_settingsdialog.cpp
371
372 moc_aboutdialog.o: moc_aboutdialog.cpp 
373         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_aboutdialog.o moc_aboutdialog.cpp
374
375 moc_eniro.o: moc_eniro.cpp 
376         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_eniro.o moc_eniro.cpp
377
378 moc_connectionmanager.o: moc_connectionmanager.cpp 
379         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_connectionmanager.o moc_connectionmanager.cpp
380
381 qrc_icons.o: qrc_icons.cpp 
382         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_icons.o qrc_icons.cpp
383
384 qrc_translations.o: qrc_translations.cpp 
385         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_translations.o qrc_translations.cpp
386
387 ####### Install
388
389 install_target: first FORCE
390         @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/bin/ 
391         -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
392         -$(STRIP) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
393
394 uninstall_target:  FORCE
395         -$(DEL_FILE) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
396         -$(DEL_DIR) $(INSTALL_ROOT)/usr/bin/ 
397
398
399 install_desktop: first FORCE
400         @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/applications/hildon/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/applications/hildon/ 
401         -$(INSTALL_FILE) /home/maemo/workspace/jenirok/src/gui/data/jenirok.desktop $(INSTALL_ROOT)/usr/share/applications/hildon/
402
403
404 uninstall_desktop:  FORCE
405         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/applications/hildon/jenirok.desktop
406         -$(DEL_DIR) $(INSTALL_ROOT)/usr/share/applications/hildon/ 
407
408
409 install_iconxpm: first FORCE
410         @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/pixmap/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/pixmap/ 
411         -$(INSTALL_PROGRAM) /home/maemo/workspace/jenirok/src/gui/data/maemo/jenirok.xpm $(INSTALL_ROOT)/usr/share/pixmap/
412         -strip $(INSTALL_ROOT)/usr/share/pixmap/jenirok.xpm
413
414
415 uninstall_iconxpm:  FORCE
416         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/pixmap/jenirok.xpm
417         -$(DEL_DIR) $(INSTALL_ROOT)/usr/share/pixmap/ 
418
419
420 install_icon26: first FORCE
421         @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/icons/hicolor/26x26/apps/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/26x26/apps/ 
422         -$(INSTALL_FILE) /home/maemo/workspace/jenirok/src/gui/data/26x26/jenirok.png $(INSTALL_ROOT)/usr/share/icons/hicolor/26x26/apps/
423
424
425 uninstall_icon26:  FORCE
426         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/icons/hicolor/26x26/apps/jenirok.png
427         -$(DEL_DIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/26x26/apps/ 
428
429
430 install_icon48: first FORCE
431         @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/icons/hicolor/48x48/apps/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/48x48/apps/ 
432         -$(INSTALL_FILE) /home/maemo/workspace/jenirok/src/gui/data/48x48/jenirok.png $(INSTALL_ROOT)/usr/share/icons/hicolor/48x48/apps/
433
434
435 uninstall_icon48:  FORCE
436         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/icons/hicolor/48x48/apps/jenirok.png
437         -$(DEL_DIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/48x48/apps/ 
438
439
440 install_icon64: first FORCE
441         @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/ 
442         -$(INSTALL_FILE) /home/maemo/workspace/jenirok/src/gui/data/64x64/jenirok.png $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/
443
444
445 uninstall_icon64:  FORCE
446         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/jenirok.png
447         -$(DEL_DIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/ 
448
449
450 install:  install_target install_desktop install_iconxpm install_icon26 install_icon48 install_icon64  FORCE
451
452 uninstall: uninstall_target uninstall_desktop uninstall_iconxpm uninstall_icon26 uninstall_icon48 uninstall_icon64   FORCE
453
454 FORCE:
455