Added About Dialog, Updated UI, Fixed Bug 6669
[confmgr] / src / Makefile
1 #############################################################################
2 # Makefile for building: ../confmgr
3 # Generated by qmake (2.01a) (Qt 4.7.0) on: Wed Nov 17 15:43:23 2010
4 # Project:  src.pro
5 # Template: app
6 # Command: /usr/bin/qmake -o Makefile src.pro
7 #############################################################################
8
9 ####### Compiler, tools and options
10
11 CC            = gcc
12 CXX           = g++
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.
17 LINK          = g++
18 LFLAGS        = -Wl,-O1
19 LIBS          = $(SUBLIBS)  -L/usr/lib -lQtMaemo5 -L/usr/lib -L/usr/X11R6/lib -lQtGui -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                 mainwindow.cpp \
48                 xmlutil.cpp \
49                 profile.cpp \
50                 config.cpp \
51                 addprofile.cpp \
52                 addstep.cpp \
53                 dbusutility.cpp \
54                 confmanager.cpp \
55                 aboutdialog.cpp moc_mainwindow.cpp \
56                 moc_xmlutil.cpp \
57                 moc_profile.cpp \
58                 moc_config.cpp \
59                 moc_addprofile.cpp \
60                 moc_addstep.cpp \
61                 moc_confmanager.cpp \
62                 moc_aboutdialog.cpp
63 OBJECTS       = main.o \
64                 mainwindow.o \
65                 xmlutil.o \
66                 profile.o \
67                 config.o \
68                 addprofile.o \
69                 addstep.o \
70                 dbusutility.o \
71                 confmanager.o \
72                 aboutdialog.o \
73                 moc_mainwindow.o \
74                 moc_xmlutil.o \
75                 moc_profile.o \
76                 moc_config.o \
77                 moc_addprofile.o \
78                 moc_addstep.o \
79                 moc_confmanager.o \
80                 moc_aboutdialog.o
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 \
103                 src.pro
104 QMAKE_TARGET  = confmgr
105 DESTDIR       = ../
106 TARGET        = ../confmgr
107
108 first: all
109 ####### Implicit rules
110
111 .SUFFIXES: .o .c .cpp .cc .cxx .C
112
113 .cpp.o:
114         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
115
116 .cc.o:
117         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
118
119 .cxx.o:
120         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
121
122 .C.o:
123         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
124
125 .c.o:
126         $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
127
128 ####### Build rules
129
130 all: Makefile $(TARGET)
131
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)
135
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:
191 qmake:  FORCE
192         @$(QMAKE) -o Makefile src.pro
193
194 dist: 
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
197
198
199 clean:compiler_clean 
200         -$(DEL_FILE) $(OBJECTS)
201         -$(DEL_FILE) *~ core *.core
202
203
204 ####### Sub-libraries
205
206 distclean: clean
207         -$(DEL_FILE) $(TARGET) 
208         -$(DEL_FILE) Makefile
209
210
211 check: first
212
213 mocclean: compiler_moc_header_clean compiler_moc_source_clean
214
215 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
216
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 \
221                 profile.h \
222                 addprofile.h \
223                 addstep.h \
224                 confmanager.h \
225                 dbusutility.h \
226                 mainwindow.h
227         /usr/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp
228
229 moc_xmlutil.cpp: profile.h \
230                 xmlutil.h
231         /usr/bin/moc $(DEFINES) $(INCPATH) xmlutil.h -o moc_xmlutil.cpp
232
233 moc_profile.cpp: profile.h
234         /usr/bin/moc $(DEFINES) $(INCPATH) profile.h -o moc_profile.cpp
235
236 moc_config.cpp: profile.h \
237                 config.h
238         /usr/bin/moc $(DEFINES) $(INCPATH) config.h -o moc_config.cpp
239
240 moc_addprofile.cpp: addstep.h \
241                 profile.h \
242                 addprofile.h
243         /usr/bin/moc $(DEFINES) $(INCPATH) addprofile.h -o moc_addprofile.cpp
244
245 moc_addstep.cpp: profile.h \
246                 addstep.h
247         /usr/bin/moc $(DEFINES) $(INCPATH) addstep.h -o moc_addstep.cpp
248
249 moc_confmanager.cpp: profile.h \
250                 dbusutility.h \
251                 confmanager.h
252         /usr/bin/moc $(DEFINES) $(INCPATH) confmanager.h -o moc_confmanager.cpp
253
254 moc_aboutdialog.cpp: aboutdialog.h
255         /usr/bin/moc $(DEFINES) $(INCPATH) aboutdialog.h -o moc_aboutdialog.cpp
256
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:
262 compiler_rcc_clean:
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
277 compiler_uic_clean:
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
281
282 ui_addprofile.h: addprofile.ui
283         /usr/bin/uic addprofile.ui -o ui_addprofile.h
284
285 ui_addstep.h: addstep.ui
286         /usr/bin/uic addstep.ui -o ui_addstep.h
287
288 ui_aboutdialog.h: aboutdialog.ui
289         /usr/bin/uic aboutdialog.ui -o ui_aboutdialog.h
290
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:
296 compiler_lex_clean:
297 compiler_clean: compiler_moc_header_clean compiler_uic_clean 
298
299 ####### Compile
300
301 main.o: main.cpp mainwindow.h \
302                 config.h \
303                 profile.h \
304                 addprofile.h \
305                 addstep.h \
306                 confmanager.h \
307                 dbusutility.h
308         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
309
310 mainwindow.o: mainwindow.cpp mainwindow.h \
311                 config.h \
312                 profile.h \
313                 addprofile.h \
314                 addstep.h \
315                 confmanager.h \
316                 dbusutility.h \
317                 ui_mainwindow.h \
318                 xmlutil.h \
319                 aboutdialog.h
320         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
321
322 xmlutil.o: xmlutil.cpp xmlutil.h \
323                 profile.h
324         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o xmlutil.o xmlutil.cpp
325
326 profile.o: profile.cpp profile.h \
327                 xmlutil.h
328         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o profile.o profile.cpp
329
330 config.o: config.cpp config.h \
331                 profile.h \
332                 xmlutil.h
333         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o config.o config.cpp
334
335 addprofile.o: addprofile.cpp addprofile.h \
336                 addstep.h \
337                 profile.h \
338                 ui_addprofile.h
339         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o addprofile.o addprofile.cpp
340
341 addstep.o: addstep.cpp addstep.h \
342                 profile.h \
343                 ui_addstep.h
344         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o addstep.o addstep.cpp
345
346 dbusutility.o: dbusutility.cpp dbusutility.h
347         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o dbusutility.o dbusutility.cpp
348
349 confmanager.o: confmanager.cpp confmanager.h \
350                 profile.h \
351                 dbusutility.h
352         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o confmanager.o confmanager.cpp
353
354 aboutdialog.o: aboutdialog.cpp aboutdialog.h \
355                 ui_aboutdialog.h
356         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o aboutdialog.o aboutdialog.cpp
357
358 moc_mainwindow.o: moc_mainwindow.cpp 
359         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp
360
361 moc_xmlutil.o: moc_xmlutil.cpp 
362         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_xmlutil.o moc_xmlutil.cpp
363
364 moc_profile.o: moc_profile.cpp 
365         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_profile.o moc_profile.cpp
366
367 moc_config.o: moc_config.cpp 
368         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_config.o moc_config.cpp
369
370 moc_addprofile.o: moc_addprofile.cpp 
371         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_addprofile.o moc_addprofile.cpp
372
373 moc_addstep.o: moc_addstep.cpp 
374         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_addstep.o moc_addstep.cpp
375
376 moc_confmanager.o: moc_confmanager.cpp 
377         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_confmanager.o moc_confmanager.cpp
378
379 moc_aboutdialog.o: moc_aboutdialog.cpp 
380         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_aboutdialog.o moc_aboutdialog.cpp
381
382 ####### Install
383
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)"
388
389 uninstall_target:  FORCE
390         -$(DEL_FILE) "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
391         -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/bin/ 
392
393
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/
397
398
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/ 
402
403
404 install:  install_target install_desktop  FORCE
405
406 uninstall: uninstall_target uninstall_desktop   FORCE
407
408 FORCE:
409