1 #############################################################################
2 # Makefile for building: jenirokd
3 # Generated by qmake (2.01a) (Qt 4.6.2) on: Thu Jun 3 11:01:33 2010
6 # Command: /usr/bin/qmake -unix -o Makefile daemon.pro
7 #############################################################################
9 ####### Compiler, tools and options
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.
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
22 QMAKE = /usr/bin/qmake
30 INSTALL_FILE = install -m 644 -p
31 INSTALL_DIR = $(COPY_DIR)
32 INSTALL_PROGRAM = install -m 755 -p
37 CHK_DIR_EXISTS= test -d
40 ####### Output directory
50 ../common/contactmanager.cpp \
52 ../common/settings.cpp \
53 ../common/connectionmanager.cpp \
54 ../common/cache.cpp moc_calllistener.cpp \
55 moc_informationbox.cpp \
57 moc_connectionmanager.cpp \
69 moc_informationbox.o \
71 moc_connectionmanager.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 \
96 QMAKE_TARGET = jenirokd
101 ####### Implicit rules
103 .SUFFIXES: .o .c .cpp .cc .cxx .C
106 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
109 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
112 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
115 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
118 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
122 all: Makefile $(TARGET)
124 $(TARGET): $(OBJECTS)
125 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
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:
187 @$(QMAKE) -unix -o Makefile daemon.pro
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
195 -$(DEL_FILE) $(OBJECTS)
196 -$(DEL_FILE) *~ core *.core
199 ####### Sub-libraries
202 -$(DEL_FILE) $(TARGET)
203 -$(DEL_FILE) Makefile
206 mocclean: compiler_moc_header_clean compiler_moc_source_clean
208 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
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 \
215 /usr/bin/moc $(DEFINES) $(INCPATH) calllistener.h -o moc_calllistener.cpp
217 moc_informationbox.cpp: informationbox.h
218 /usr/bin/moc $(DEFINES) $(INCPATH) informationbox.h -o moc_informationbox.cpp
220 moc_eniro.cpp: ../common/eniro.h
221 /usr/bin/moc $(DEFINES) $(INCPATH) ../common/eniro.h -o moc_eniro.cpp
223 moc_connectionmanager.cpp: ../common/connectionmanager.h
224 /usr/bin/moc $(DEFINES) $(INCPATH) ../common/connectionmanager.h -o moc_connectionmanager.cpp
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
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
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:
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:
258 compiler_clean: compiler_moc_header_clean compiler_rcc_clean
262 main.o: main.cpp calllistener.h \
264 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
266 calllistener.o: calllistener.cpp calllistener.h \
268 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o calllistener.o calllistener.cpp
270 informationbox.o: informationbox.cpp informationbox.h
271 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o informationbox.o informationbox.cpp
273 eniro.o: ../common/eniro.cpp ../common/eniro.h
274 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o eniro.o ../common/eniro.cpp
276 contactmanager.o: ../common/contactmanager.cpp ../common/contactmanager.h
277 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o contactmanager.o ../common/contactmanager.cpp
279 db.o: ../common/db.cpp ../common/db.h
280 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o db.o ../common/db.cpp
282 settings.o: ../common/settings.cpp ../common/settings.h \
284 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o settings.o ../common/settings.cpp
286 connectionmanager.o: ../common/connectionmanager.cpp ../common/connectionmanager.h
287 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o connectionmanager.o ../common/connectionmanager.cpp
289 cache.o: ../common/cache.cpp ../common/cache.h \
293 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o cache.o ../common/cache.cpp
295 moc_calllistener.o: moc_calllistener.cpp
296 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_calllistener.o moc_calllistener.cpp
298 moc_informationbox.o: moc_informationbox.cpp
299 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_informationbox.o moc_informationbox.cpp
301 moc_eniro.o: moc_eniro.cpp
302 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_eniro.o moc_eniro.cpp
304 moc_connectionmanager.o: moc_connectionmanager.cpp
305 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_connectionmanager.o moc_connectionmanager.cpp
307 qrc_translations.o: qrc_translations.cpp
308 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_translations.o qrc_translations.cpp
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)"
317 uninstall_target: FORCE
318 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
319 -$(DEL_DIR) $(INSTALL_ROOT)/usr/bin/
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
328 uninstall_init: FORCE
329 -$(DEL_FILE) -r $(INSTALL_ROOT)/etc/init.d/jenirokd
330 -$(DEL_DIR) $(INSTALL_ROOT)/etc/init.d/
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/
338 uninstall_event: FORCE
339 -$(DEL_FILE) -r $(INSTALL_ROOT)/etc/event.d/jenirokd
340 -$(DEL_DIR) $(INSTALL_ROOT)/etc/event.d/
343 install: install_target install_init install_event FORCE
345 uninstall: uninstall_target uninstall_init uninstall_event FORCE