1 #############################################################################
2 # Makefile for building: ../confmgr
3 # Generated by qmake (2.01a) (Qt 4.7.0) on: Wed Nov 17 15:43:23 2010
6 # Command: /usr/bin/qmake -o Makefile src.pro
7 #############################################################################
9 ####### Compiler, tools and options
13 DEFINES = -DDATADIR=\"/usr/local/share\" -DPKGDATADIR=\"\" -DQT_NO_DEBUG -DQT_MAEMO5_LIB -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
14 CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
15 CXXFLAGS = -pipe -O2 -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/QtGui -I/targets/FREMANTLE_X86/usr/include/QtXml -I/targets/FREMANTLE_X86/usr/include/QtDBus -I/targets/FREMANTLE_X86/usr/include/QtMaemo5 -I/targets/FREMANTLE_X86/usr/include -I. -I.
19 LIBS = $(SUBLIBS) -L/usr/lib -lQtMaemo5 -L/usr/lib -L/usr/X11R6/lib -lQtGui -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
55 aboutdialog.cpp moc_mainwindow.cpp \
81 DIST = /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/g++.conf \
82 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/unix.conf \
83 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/linux.conf \
84 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/qconfig.pri \
85 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
86 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt_functions.prf \
87 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt_config.prf \
88 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
89 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/default_pre.prf \
90 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/release.prf \
91 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/default_post.prf \
92 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/warn_on.prf \
93 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt.prf \
94 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/moc.prf \
95 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/dbusinterfaces.prf \
96 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/dbusadaptors.prf \
97 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/unix/thread.prf \
98 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/resources.prf \
99 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/uic.prf \
100 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/yacc.prf \
101 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/lex.prf \
102 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/include_source_dir.prf \
104 QMAKE_TARGET = confmgr
109 ####### Implicit rules
111 .SUFFIXES: .o .c .cpp .cc .cxx .C
114 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
117 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
120 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
123 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
126 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
130 all: Makefile $(TARGET)
132 $(TARGET): ui_mainwindow.h ui_addprofile.h ui_addstep.h ui_aboutdialog.h $(OBJECTS)
133 @$(CHK_DIR_EXISTS) ../ || $(MKDIR) ../
134 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
136 Makefile: src.pro /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/linux-g++/qmake.conf /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/g++.conf \
137 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/unix.conf \
138 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/linux.conf \
139 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/qconfig.pri \
140 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
141 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt_functions.prf \
142 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt_config.prf \
143 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
144 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/default_pre.prf \
145 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/release.prf \
146 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/default_post.prf \
147 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/warn_on.prf \
148 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt.prf \
149 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/moc.prf \
150 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/dbusinterfaces.prf \
151 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/dbusadaptors.prf \
152 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/unix/thread.prf \
153 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/resources.prf \
154 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/uic.prf \
155 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/yacc.prf \
156 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/lex.prf \
157 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/include_source_dir.prf \
158 /usr/lib/libQtMaemo5.prl \
159 /usr/lib/libQtGui.prl \
160 /usr/lib/libQtDBus.prl \
161 /usr/lib/libQtXml.prl \
162 /usr/lib/libQtCore.prl
163 $(QMAKE) -o Makefile src.pro
164 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/g++.conf:
165 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/unix.conf:
166 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/linux.conf:
167 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/qconfig.pri:
168 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri:
169 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt_functions.prf:
170 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt_config.prf:
171 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
172 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/default_pre.prf:
173 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/release.prf:
174 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/default_post.prf:
175 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/warn_on.prf:
176 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt.prf:
177 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/moc.prf:
178 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/dbusinterfaces.prf:
179 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/dbusadaptors.prf:
180 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/unix/thread.prf:
181 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/resources.prf:
182 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/uic.prf:
183 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/yacc.prf:
184 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/lex.prf:
185 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/include_source_dir.prf:
186 /usr/lib/libQtMaemo5.prl:
187 /usr/lib/libQtGui.prl:
188 /usr/lib/libQtDBus.prl:
189 /usr/lib/libQtXml.prl:
190 /usr/lib/libQtCore.prl:
192 @$(QMAKE) -o Makefile src.pro
195 @$(CHK_DIR_EXISTS) .tmp/confmgr1.0.0 || $(MKDIR) .tmp/confmgr1.0.0
196 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/confmgr1.0.0/ && $(COPY_FILE) --parents mainwindow.h xmlutil.h profile.h config.h addprofile.h addstep.h dbusutility.h confmanager.h aboutdialog.h .tmp/confmgr1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp xmlutil.cpp profile.cpp config.cpp addprofile.cpp addstep.cpp dbusutility.cpp confmanager.cpp aboutdialog.cpp .tmp/confmgr1.0.0/ && $(COPY_FILE) --parents mainwindow.ui addprofile.ui addstep.ui aboutdialog.ui .tmp/confmgr1.0.0/ && (cd `dirname .tmp/confmgr1.0.0` && $(TAR) confmgr1.0.0.tar confmgr1.0.0 && $(COMPRESS) confmgr1.0.0.tar) && $(MOVE) `dirname .tmp/confmgr1.0.0`/confmgr1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/confmgr1.0.0
200 -$(DEL_FILE) $(OBJECTS)
201 -$(DEL_FILE) *~ core *.core
204 ####### Sub-libraries
207 -$(DEL_FILE) $(TARGET)
208 -$(DEL_FILE) Makefile
213 mocclean: compiler_moc_header_clean compiler_moc_source_clean
215 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
217 compiler_moc_header_make_all: moc_mainwindow.cpp moc_xmlutil.cpp moc_profile.cpp moc_config.cpp moc_addprofile.cpp moc_addstep.cpp moc_confmanager.cpp moc_aboutdialog.cpp
218 compiler_moc_header_clean:
219 -$(DEL_FILE) moc_mainwindow.cpp moc_xmlutil.cpp moc_profile.cpp moc_config.cpp moc_addprofile.cpp moc_addstep.cpp moc_confmanager.cpp moc_aboutdialog.cpp
220 moc_mainwindow.cpp: config.h \
227 /usr/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp
229 moc_xmlutil.cpp: profile.h \
231 /usr/bin/moc $(DEFINES) $(INCPATH) xmlutil.h -o moc_xmlutil.cpp
233 moc_profile.cpp: profile.h
234 /usr/bin/moc $(DEFINES) $(INCPATH) profile.h -o moc_profile.cpp
236 moc_config.cpp: profile.h \
238 /usr/bin/moc $(DEFINES) $(INCPATH) config.h -o moc_config.cpp
240 moc_addprofile.cpp: addstep.h \
243 /usr/bin/moc $(DEFINES) $(INCPATH) addprofile.h -o moc_addprofile.cpp
245 moc_addstep.cpp: profile.h \
247 /usr/bin/moc $(DEFINES) $(INCPATH) addstep.h -o moc_addstep.cpp
249 moc_confmanager.cpp: profile.h \
252 /usr/bin/moc $(DEFINES) $(INCPATH) confmanager.h -o moc_confmanager.cpp
254 moc_aboutdialog.cpp: aboutdialog.h
255 /usr/bin/moc $(DEFINES) $(INCPATH) aboutdialog.h -o moc_aboutdialog.cpp
257 compiler_dbus_interface_source_make_all:
258 compiler_dbus_interface_source_clean:
259 compiler_dbus_adaptor_source_make_all:
260 compiler_dbus_adaptor_source_clean:
261 compiler_rcc_make_all:
263 compiler_image_collection_make_all: qmake_image_collection.cpp
264 compiler_image_collection_clean:
265 -$(DEL_FILE) qmake_image_collection.cpp
266 compiler_moc_source_make_all:
267 compiler_moc_source_clean:
268 compiler_dbus_interface_header_make_all:
269 compiler_dbus_interface_header_clean:
270 compiler_dbus_interface_moc_make_all:
271 compiler_dbus_interface_moc_clean:
272 compiler_dbus_adaptor_header_make_all:
273 compiler_dbus_adaptor_header_clean:
274 compiler_dbus_adaptor_moc_make_all:
275 compiler_dbus_adaptor_moc_clean:
276 compiler_uic_make_all: ui_mainwindow.h ui_addprofile.h ui_addstep.h ui_aboutdialog.h
278 -$(DEL_FILE) ui_mainwindow.h ui_addprofile.h ui_addstep.h ui_aboutdialog.h
279 ui_mainwindow.h: mainwindow.ui
280 /usr/bin/uic mainwindow.ui -o ui_mainwindow.h
282 ui_addprofile.h: addprofile.ui
283 /usr/bin/uic addprofile.ui -o ui_addprofile.h
285 ui_addstep.h: addstep.ui
286 /usr/bin/uic addstep.ui -o ui_addstep.h
288 ui_aboutdialog.h: aboutdialog.ui
289 /usr/bin/uic aboutdialog.ui -o ui_aboutdialog.h
291 compiler_yacc_decl_make_all:
292 compiler_yacc_decl_clean:
293 compiler_yacc_impl_make_all:
294 compiler_yacc_impl_clean:
295 compiler_lex_make_all:
297 compiler_clean: compiler_moc_header_clean compiler_uic_clean
301 main.o: main.cpp mainwindow.h \
308 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
310 mainwindow.o: mainwindow.cpp mainwindow.h \
320 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
322 xmlutil.o: xmlutil.cpp xmlutil.h \
324 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o xmlutil.o xmlutil.cpp
326 profile.o: profile.cpp profile.h \
328 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o profile.o profile.cpp
330 config.o: config.cpp config.h \
333 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o config.o config.cpp
335 addprofile.o: addprofile.cpp addprofile.h \
339 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o addprofile.o addprofile.cpp
341 addstep.o: addstep.cpp addstep.h \
344 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o addstep.o addstep.cpp
346 dbusutility.o: dbusutility.cpp dbusutility.h
347 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o dbusutility.o dbusutility.cpp
349 confmanager.o: confmanager.cpp confmanager.h \
352 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o confmanager.o confmanager.cpp
354 aboutdialog.o: aboutdialog.cpp aboutdialog.h \
356 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o aboutdialog.o aboutdialog.cpp
358 moc_mainwindow.o: moc_mainwindow.cpp
359 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp
361 moc_xmlutil.o: moc_xmlutil.cpp
362 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_xmlutil.o moc_xmlutil.cpp
364 moc_profile.o: moc_profile.cpp
365 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_profile.o moc_profile.cpp
367 moc_config.o: moc_config.cpp
368 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_config.o moc_config.cpp
370 moc_addprofile.o: moc_addprofile.cpp
371 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_addprofile.o moc_addprofile.cpp
373 moc_addstep.o: moc_addstep.cpp
374 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_addstep.o moc_addstep.cpp
376 moc_confmanager.o: moc_confmanager.cpp
377 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_confmanager.o moc_confmanager.cpp
379 moc_aboutdialog.o: moc_aboutdialog.cpp
380 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_aboutdialog.o moc_aboutdialog.cpp
384 install_target: first FORCE
385 @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/bin/
386 -$(INSTALL_PROGRAM) "../$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
387 -$(STRIP) "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
389 uninstall_target: FORCE
390 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
391 -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/bin/
394 install_desktop: first FORCE
395 @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/applications/hildon/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/applications/hildon/
396 -$(INSTALL_FILE) /home/naresh/dev/confmgr-0.1/src/confmgr.desktop $(INSTALL_ROOT)/usr/local/share/applications/hildon/
399 uninstall_desktop: FORCE
400 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/applications/hildon/confmgr.desktop
401 -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/share/applications/hildon/
404 install: install_target install_desktop FORCE
406 uninstall: uninstall_target uninstall_desktop FORCE