1 #############################################################################
2 # Makefile for building: jenirokd
3 # Generated by qmake (2.01a) (Qt 4.6.2) on: Sat Apr 17 16:35:57 2010
6 # Command: /usr/bin/qmake -unix -o Makefile daemon.pro
7 #############################################################################
9 ####### Compiler, tools and options
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.
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
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_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 \
97 QMAKE_TARGET = jenirokd
102 ####### Implicit rules
104 .SUFFIXES: .o .c .cpp .cc .cxx .C
107 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
110 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
113 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
116 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
119 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
123 all: Makefile $(TARGET)
125 $(TARGET): $(OBJECTS)
126 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
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:
190 @$(QMAKE) -unix -o Makefile daemon.pro
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
198 -$(DEL_FILE) $(OBJECTS)
199 -$(DEL_FILE) *~ core *.core
202 ####### Sub-libraries
205 -$(DEL_FILE) $(TARGET)
206 -$(DEL_FILE) Makefile
209 mocclean: compiler_moc_header_clean compiler_moc_source_clean
211 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
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 \
218 /usr/bin/moc $(DEFINES) $(INCPATH) calllistener.h -o moc_calllistener.cpp
220 moc_informationbox.cpp: informationbox.h
221 /usr/bin/moc $(DEFINES) $(INCPATH) informationbox.h -o moc_informationbox.cpp
223 moc_eniro.cpp: ../common/eniro.h
224 /usr/bin/moc $(DEFINES) $(INCPATH) ../common/eniro.h -o moc_eniro.cpp
226 moc_connectionmanager.cpp: ../common/connectionmanager.h
227 /usr/bin/moc $(DEFINES) $(INCPATH) ../common/connectionmanager.h -o moc_connectionmanager.cpp
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
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
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:
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:
261 compiler_clean: compiler_moc_header_clean compiler_rcc_clean
265 main.o: main.cpp calllistener.h \
267 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
269 calllistener.o: calllistener.cpp calllistener.h \
271 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o calllistener.o calllistener.cpp
273 informationbox.o: informationbox.cpp informationbox.h
274 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o informationbox.o informationbox.cpp
276 eniro.o: ../common/eniro.cpp ../common/eniro.h
277 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o eniro.o ../common/eniro.cpp
279 contactmanager.o: ../common/contactmanager.cpp ../common/contactmanager.h
280 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o contactmanager.o ../common/contactmanager.cpp
282 db.o: ../common/db.cpp ../common/db.h
283 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o db.o ../common/db.cpp
285 settings.o: ../common/settings.cpp ../common/settings.h \
287 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o settings.o ../common/settings.cpp
289 connectionmanager.o: ../common/connectionmanager.cpp ../common/connectionmanager.h
290 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o connectionmanager.o ../common/connectionmanager.cpp
292 cache.o: ../common/cache.cpp ../common/cache.h \
296 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o cache.o ../common/cache.cpp
298 moc_calllistener.o: moc_calllistener.cpp
299 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_calllistener.o moc_calllistener.cpp
301 moc_informationbox.o: moc_informationbox.cpp
302 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_informationbox.o moc_informationbox.cpp
304 moc_eniro.o: moc_eniro.cpp
305 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_eniro.o moc_eniro.cpp
307 moc_connectionmanager.o: moc_connectionmanager.cpp
308 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_connectionmanager.o moc_connectionmanager.cpp
310 qrc_translations.o: qrc_translations.cpp
311 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_translations.o qrc_translations.cpp
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)"
320 uninstall_target: FORCE
321 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
322 -$(DEL_DIR) $(INSTALL_ROOT)/usr/bin/
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/jenirokd $(INSTALL_ROOT)/etc/init.d/
328 -strip $(INSTALL_ROOT)/etc/init.d/jenirokd
331 uninstall_init: FORCE
332 -$(DEL_FILE) -r $(INSTALL_ROOT)/etc/init.d/jenirokd
333 -$(DEL_DIR) $(INSTALL_ROOT)/etc/init.d/
336 install: install_target install_init FORCE
338 uninstall: uninstall_target uninstall_init FORCE