Changelog updated to newest version.
[jenirok] / src / daemon / Makefile
1 #############################################################################
2 # Makefile for building: jenirokd
3 # Generated by qmake (2.01a) (Qt 4.6.2) on: Thu Jun 3 11:01:33 2010
4 # Project:  daemon.pro
5 # Template: app
6 # Command: /usr/bin/qmake -unix -o Makefile daemon.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/targets/FREMANTLE_ARMEL/usr/include/QtDBus -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 -L/usr/lib -lQtMaemo5 -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                 calllistener.cpp \
48                 informationbox.cpp \
49                 ../common/eniro.cpp \
50                 ../common/contactmanager.cpp \
51                 ../common/db.cpp \
52                 ../common/settings.cpp \
53                 ../common/connectionmanager.cpp \
54                 ../common/cache.cpp moc_calllistener.cpp \
55                 moc_informationbox.cpp \
56                 moc_eniro.cpp \
57                 moc_connectionmanager.cpp \
58                 qrc_translations.cpp
59 OBJECTS       = main.o \
60                 calllistener.o \
61                 informationbox.o \
62                 eniro.o \
63                 contactmanager.o \
64                 db.o \
65                 settings.o \
66                 connectionmanager.o \
67                 cache.o \
68                 moc_calllistener.o \
69                 moc_informationbox.o \
70                 moc_eniro.o \
71                 moc_connectionmanager.o \
72                 qrc_translations.o
73 DIST          = /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf \
74                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf \
75                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri \
76                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf \
77                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf \
78                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
79                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf \
80                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf \
81                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf \
82                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/link_pkgconfig.prf \
83                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qdbus.prf \
84                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf \
85                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/dbusinterfaces.prf \
86                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/dbusadaptors.prf \
87                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf \
88                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf \
89                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf \
90                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf \
91                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf \
92                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf \
93                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf \
94                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf \
95                 daemon.pro
96 QMAKE_TARGET  = jenirokd
97 DESTDIR       = 
98 TARGET        = jenirokd
99
100 first: all
101 ####### Implicit rules
102
103 .SUFFIXES: .o .c .cpp .cc .cxx .C
104
105 .cpp.o:
106         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
107
108 .cc.o:
109         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
110
111 .cxx.o:
112         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
113
114 .C.o:
115         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
116
117 .c.o:
118         $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
119
120 ####### Build rules
121
122 all: Makefile $(TARGET)
123
124 $(TARGET):  $(OBJECTS)  
125         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
126
127 Makefile: daemon.pro  /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-maemo5/qmake.conf /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf \
128                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf \
129                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri \
130                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf \
131                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf \
132                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
133                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf \
134                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf \
135                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf \
136                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/link_pkgconfig.prf \
137                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qdbus.prf \
138                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf \
139                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/dbusinterfaces.prf \
140                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/dbusadaptors.prf \
141                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf \
142                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf \
143                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf \
144                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf \
145                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf \
146                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf \
147                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf \
148                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf \
149                 /usr/lib/libQtDBus.prl \
150                 /usr/lib/libQtXml.prl \
151                 /usr/lib/libQtCore.prl \
152                 /usr/lib/libQtMaemo5.prl \
153                 /usr/lib/libQtGui.prl \
154                 /usr/lib/libQtSql.prl \
155                 /usr/lib/libQtNetwork.prl
156         $(QMAKE) -unix -o Makefile daemon.pro
157 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf:
158 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf:
159 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri:
160 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf:
161 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf:
162 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
163 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf:
164 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf:
165 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf:
166 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/link_pkgconfig.prf:
167 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qdbus.prf:
168 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf:
169 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/dbusinterfaces.prf:
170 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/dbusadaptors.prf:
171 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf:
172 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf:
173 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf:
174 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf:
175 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf:
176 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf:
177 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf:
178 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf:
179 /usr/lib/libQtDBus.prl:
180 /usr/lib/libQtXml.prl:
181 /usr/lib/libQtCore.prl:
182 /usr/lib/libQtMaemo5.prl:
183 /usr/lib/libQtGui.prl:
184 /usr/lib/libQtSql.prl:
185 /usr/lib/libQtNetwork.prl:
186 qmake:  FORCE
187         @$(QMAKE) -unix -o Makefile daemon.pro
188
189 dist: 
190         @$(CHK_DIR_EXISTS) .tmp/jenirokd1.0.0 || $(MKDIR) .tmp/jenirokd1.0.0 
191         $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/jenirokd1.0.0/ && $(COPY_FILE) --parents calllistener.h informationbox.h ../common/eniro.h ../common/contactmanager.h ../common/db.h ../common/settings.h ../common/connectionmanager.h ../common/cache.h .tmp/jenirokd1.0.0/ && $(COPY_FILE) --parents ../common/translations.grc .tmp/jenirokd1.0.0/ && $(COPY_FILE) --parents main.cpp calllistener.cpp informationbox.cpp ../common/eniro.cpp ../common/contactmanager.cpp ../common/db.cpp ../common/settings.cpp ../common/connectionmanager.cpp ../common/cache.cpp .tmp/jenirokd1.0.0/ && $(COPY_FILE) --parents ../common/translations/fi_FI.ts .tmp/jenirokd1.0.0/ && (cd `dirname .tmp/jenirokd1.0.0` && $(TAR) jenirokd1.0.0.tar jenirokd1.0.0 && $(COMPRESS) jenirokd1.0.0.tar) && $(MOVE) `dirname .tmp/jenirokd1.0.0`/jenirokd1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/jenirokd1.0.0
192
193
194 clean:compiler_clean 
195         -$(DEL_FILE) $(OBJECTS)
196         -$(DEL_FILE) *~ core *.core
197
198
199 ####### Sub-libraries
200
201 distclean: clean
202         -$(DEL_FILE) $(TARGET) 
203         -$(DEL_FILE) Makefile
204
205
206 mocclean: compiler_moc_header_clean compiler_moc_source_clean
207
208 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
209
210 compiler_moc_header_make_all: moc_calllistener.cpp moc_informationbox.cpp moc_eniro.cpp moc_connectionmanager.cpp
211 compiler_moc_header_clean:
212         -$(DEL_FILE) moc_calllistener.cpp moc_informationbox.cpp moc_eniro.cpp moc_connectionmanager.cpp
213 moc_calllistener.cpp: informationbox.h \
214                 calllistener.h
215         /usr/bin/moc $(DEFINES) $(INCPATH) calllistener.h -o moc_calllistener.cpp
216
217 moc_informationbox.cpp: informationbox.h
218         /usr/bin/moc $(DEFINES) $(INCPATH) informationbox.h -o moc_informationbox.cpp
219
220 moc_eniro.cpp: ../common/eniro.h
221         /usr/bin/moc $(DEFINES) $(INCPATH) ../common/eniro.h -o moc_eniro.cpp
222
223 moc_connectionmanager.cpp: ../common/connectionmanager.h
224         /usr/bin/moc $(DEFINES) $(INCPATH) ../common/connectionmanager.h -o moc_connectionmanager.cpp
225
226 compiler_dbus_interface_source_make_all:
227 compiler_dbus_interface_source_clean:
228 compiler_dbus_adaptor_source_make_all:
229 compiler_dbus_adaptor_source_clean:
230 compiler_rcc_make_all: qrc_translations.cpp
231 compiler_rcc_clean:
232         -$(DEL_FILE) qrc_translations.cpp
233 qrc_translations.cpp: ../common/translations.grc \
234                 ../common/translations/fi_FI.qm
235         /usr/bin/rcc -name translations ../common/translations.grc -o qrc_translations.cpp
236
237 compiler_image_collection_make_all: qmake_image_collection.cpp
238 compiler_image_collection_clean:
239         -$(DEL_FILE) qmake_image_collection.cpp
240 compiler_moc_source_make_all:
241 compiler_moc_source_clean:
242 compiler_dbus_interface_header_make_all:
243 compiler_dbus_interface_header_clean:
244 compiler_dbus_interface_moc_make_all:
245 compiler_dbus_interface_moc_clean:
246 compiler_dbus_adaptor_header_make_all:
247 compiler_dbus_adaptor_header_clean:
248 compiler_dbus_adaptor_moc_make_all:
249 compiler_dbus_adaptor_moc_clean:
250 compiler_uic_make_all:
251 compiler_uic_clean:
252 compiler_yacc_decl_make_all:
253 compiler_yacc_decl_clean:
254 compiler_yacc_impl_make_all:
255 compiler_yacc_impl_clean:
256 compiler_lex_make_all:
257 compiler_lex_clean:
258 compiler_clean: compiler_moc_header_clean compiler_rcc_clean 
259
260 ####### Compile
261
262 main.o: main.cpp calllistener.h \
263                 informationbox.h
264         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
265
266 calllistener.o: calllistener.cpp calllistener.h \
267                 informationbox.h
268         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o calllistener.o calllistener.cpp
269
270 informationbox.o: informationbox.cpp informationbox.h
271         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o informationbox.o informationbox.cpp
272
273 eniro.o: ../common/eniro.cpp ../common/eniro.h
274         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o eniro.o ../common/eniro.cpp
275
276 contactmanager.o: ../common/contactmanager.cpp ../common/contactmanager.h
277         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o contactmanager.o ../common/contactmanager.cpp
278
279 db.o: ../common/db.cpp ../common/db.h
280         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o db.o ../common/db.cpp
281
282 settings.o: ../common/settings.cpp ../common/settings.h \
283                 ../common/db.h
284         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o settings.o ../common/settings.cpp
285
286 connectionmanager.o: ../common/connectionmanager.cpp ../common/connectionmanager.h
287         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o connectionmanager.o ../common/connectionmanager.cpp
288
289 cache.o: ../common/cache.cpp ../common/cache.h \
290                 ../common/eniro.h \
291                 ../common/db.h \
292                 ../common/settings.h
293         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o cache.o ../common/cache.cpp
294
295 moc_calllistener.o: moc_calllistener.cpp 
296         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_calllistener.o moc_calllistener.cpp
297
298 moc_informationbox.o: moc_informationbox.cpp 
299         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_informationbox.o moc_informationbox.cpp
300
301 moc_eniro.o: moc_eniro.cpp 
302         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_eniro.o moc_eniro.cpp
303
304 moc_connectionmanager.o: moc_connectionmanager.cpp 
305         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_connectionmanager.o moc_connectionmanager.cpp
306
307 qrc_translations.o: qrc_translations.cpp 
308         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_translations.o qrc_translations.cpp
309
310 ####### Install
311
312 install_target: first FORCE
313         @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/bin/ 
314         -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
315         -$(STRIP) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
316
317 uninstall_target:  FORCE
318         -$(DEL_FILE) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
319         -$(DEL_DIR) $(INSTALL_ROOT)/usr/bin/ 
320
321
322 install_init: first FORCE
323         @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/etc/init.d/ || $(MKDIR) $(INSTALL_ROOT)/etc/init.d/ 
324         -$(INSTALL_PROGRAM) /home/maemo/workspace/jenirok/src/daemon/data/init.d/jenirokd $(INSTALL_ROOT)/etc/init.d/
325         -strip $(INSTALL_ROOT)/etc/init.d/jenirokd
326
327
328 uninstall_init:  FORCE
329         -$(DEL_FILE) -r $(INSTALL_ROOT)/etc/init.d/jenirokd
330         -$(DEL_DIR) $(INSTALL_ROOT)/etc/init.d/ 
331
332
333 install_event: first FORCE
334         @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/etc/event.d/ || $(MKDIR) $(INSTALL_ROOT)/etc/event.d/ 
335         -$(INSTALL_FILE) /home/maemo/workspace/jenirok/src/daemon/data/event.d/jenirokd $(INSTALL_ROOT)/etc/event.d/
336
337
338 uninstall_event:  FORCE
339         -$(DEL_FILE) -r $(INSTALL_ROOT)/etc/event.d/jenirokd
340         -$(DEL_DIR) $(INSTALL_ROOT)/etc/event.d/ 
341
342
343 install:  install_target install_init install_event  FORCE
344
345 uninstall: uninstall_target uninstall_init uninstall_event   FORCE
346
347 FORCE:
348