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