Added About Dialog, Updated UI, Fixed Bug 6669
[confmgr] / Makefile
1 #############################################################################
2 # Makefile for building: confmgr
3 # Generated by qmake (2.01a) (Qt 4.7.0) on: Thu Nov 11 12:50:51 2010
4 # Project:  confmgr.pro
5 # Template: app
6 # Command: /usr/bin/qmake-qt4 -o Makefile confmgr.pro
7 #############################################################################
8
9 ####### Compiler, tools and options
10
11 CC            = gcc
12 CXX           = g++
13 DEFINES       = -DQT_NO_DEBUG -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/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -I. -I.
17 LINK          = g++
18 LFLAGS        = -Wl,-O1
19 LIBS          = $(SUBLIBS)  -L/usr/lib -lQtDBus -lQtXml -lQtGui -lQtCore -lpthread 
20 AR            = ar cqs
21 RANLIB        = 
22 QMAKE         = /usr/bin/qmake-qt4
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 moc_mainwindow.cpp \
55                 moc_xmlutil.cpp \
56                 moc_profile.cpp \
57                 moc_config.cpp \
58                 moc_addprofile.cpp \
59                 moc_addstep.cpp \
60                 moc_confmanager.cpp
61 OBJECTS       = main.o \
62                 mainwindow.o \
63                 xmlutil.o \
64                 profile.o \
65                 config.o \
66                 addprofile.o \
67                 addstep.o \
68                 dbusutility.o \
69                 confmanager.o \
70                 moc_mainwindow.o \
71                 moc_xmlutil.o \
72                 moc_profile.o \
73                 moc_config.o \
74                 moc_addprofile.o \
75                 moc_addstep.o \
76                 moc_confmanager.o
77 DIST          = /usr/share/qt4/mkspecs/common/g++.conf \
78                 /usr/share/qt4/mkspecs/common/unix.conf \
79                 /usr/share/qt4/mkspecs/common/linux.conf \
80                 /usr/share/qt4/mkspecs/qconfig.pri \
81                 /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
82                 /usr/share/qt4/mkspecs/features/qt_functions.prf \
83                 /usr/share/qt4/mkspecs/features/qt_config.prf \
84                 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
85                 /usr/share/qt4/mkspecs/features/default_pre.prf \
86                 /usr/share/qt4/mkspecs/features/release.prf \
87                 /usr/share/qt4/mkspecs/features/default_post.prf \
88                 /usr/share/qt4/mkspecs/features/warn_on.prf \
89                 /usr/share/qt4/mkspecs/features/qt.prf \
90                 /usr/share/qt4/mkspecs/features/moc.prf \
91                 /usr/share/qt4/mkspecs/features/dbusinterfaces.prf \
92                 /usr/share/qt4/mkspecs/features/dbusadaptors.prf \
93                 /usr/share/qt4/mkspecs/features/unix/thread.prf \
94                 /usr/share/qt4/mkspecs/features/resources.prf \
95                 /usr/share/qt4/mkspecs/features/uic.prf \
96                 /usr/share/qt4/mkspecs/features/yacc.prf \
97                 /usr/share/qt4/mkspecs/features/lex.prf \
98                 /usr/share/qt4/mkspecs/features/include_source_dir.prf \
99                 confmgr.pro
100 QMAKE_TARGET  = confmgr
101 DESTDIR       = 
102 TARGET        = confmgr
103
104 first: all
105 ####### Implicit rules
106
107 .SUFFIXES: .o .c .cpp .cc .cxx .C
108
109 .cpp.o:
110         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
111
112 .cc.o:
113         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
114
115 .cxx.o:
116         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
117
118 .C.o:
119         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
120
121 .c.o:
122         $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
123
124 ####### Build rules
125
126 all: Makefile $(TARGET)
127
128 $(TARGET): ui_mainwindow.h ui_addprofile.h ui_addstep.h $(OBJECTS)  
129         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
130
131 Makefile: confmgr.pro  /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
132                 /usr/share/qt4/mkspecs/common/unix.conf \
133                 /usr/share/qt4/mkspecs/common/linux.conf \
134                 /usr/share/qt4/mkspecs/qconfig.pri \
135                 /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
136                 /usr/share/qt4/mkspecs/features/qt_functions.prf \
137                 /usr/share/qt4/mkspecs/features/qt_config.prf \
138                 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
139                 /usr/share/qt4/mkspecs/features/default_pre.prf \
140                 /usr/share/qt4/mkspecs/features/release.prf \
141                 /usr/share/qt4/mkspecs/features/default_post.prf \
142                 /usr/share/qt4/mkspecs/features/warn_on.prf \
143                 /usr/share/qt4/mkspecs/features/qt.prf \
144                 /usr/share/qt4/mkspecs/features/moc.prf \
145                 /usr/share/qt4/mkspecs/features/dbusinterfaces.prf \
146                 /usr/share/qt4/mkspecs/features/dbusadaptors.prf \
147                 /usr/share/qt4/mkspecs/features/unix/thread.prf \
148                 /usr/share/qt4/mkspecs/features/resources.prf \
149                 /usr/share/qt4/mkspecs/features/uic.prf \
150                 /usr/share/qt4/mkspecs/features/yacc.prf \
151                 /usr/share/qt4/mkspecs/features/lex.prf \
152                 /usr/share/qt4/mkspecs/features/include_source_dir.prf \
153                 /usr/lib/libQtDBus.prl \
154                 /usr/lib/libQtXml.prl \
155                 /usr/lib/libQtGui.prl \
156                 /usr/lib/libQtCore.prl
157         $(QMAKE) -o Makefile confmgr.pro
158 /usr/share/qt4/mkspecs/common/g++.conf:
159 /usr/share/qt4/mkspecs/common/unix.conf:
160 /usr/share/qt4/mkspecs/common/linux.conf:
161 /usr/share/qt4/mkspecs/qconfig.pri:
162 /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri:
163 /usr/share/qt4/mkspecs/features/qt_functions.prf:
164 /usr/share/qt4/mkspecs/features/qt_config.prf:
165 /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
166 /usr/share/qt4/mkspecs/features/default_pre.prf:
167 /usr/share/qt4/mkspecs/features/release.prf:
168 /usr/share/qt4/mkspecs/features/default_post.prf:
169 /usr/share/qt4/mkspecs/features/warn_on.prf:
170 /usr/share/qt4/mkspecs/features/qt.prf:
171 /usr/share/qt4/mkspecs/features/moc.prf:
172 /usr/share/qt4/mkspecs/features/dbusinterfaces.prf:
173 /usr/share/qt4/mkspecs/features/dbusadaptors.prf:
174 /usr/share/qt4/mkspecs/features/unix/thread.prf:
175 /usr/share/qt4/mkspecs/features/resources.prf:
176 /usr/share/qt4/mkspecs/features/uic.prf:
177 /usr/share/qt4/mkspecs/features/yacc.prf:
178 /usr/share/qt4/mkspecs/features/lex.prf:
179 /usr/share/qt4/mkspecs/features/include_source_dir.prf:
180 /usr/lib/libQtDBus.prl:
181 /usr/lib/libQtXml.prl:
182 /usr/lib/libQtGui.prl:
183 /usr/lib/libQtCore.prl:
184 qmake:  FORCE
185         @$(QMAKE) -o Makefile confmgr.pro
186
187 dist: 
188         @$(CHK_DIR_EXISTS) .tmp/confmgr1.0.0 || $(MKDIR) .tmp/confmgr1.0.0 
189         $(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 .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 .tmp/confmgr1.0.0/ && $(COPY_FILE) --parents mainwindow.ui addprofile.ui addstep.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
190
191
192 clean:compiler_clean 
193         -$(DEL_FILE) $(OBJECTS)
194         -$(DEL_FILE) *~ core *.core
195
196
197 ####### Sub-libraries
198
199 distclean: clean
200         -$(DEL_FILE) $(TARGET) 
201         -$(DEL_FILE) Makefile
202
203
204 check: first
205
206 mocclean: compiler_moc_header_clean compiler_moc_source_clean
207
208 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
209
210 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
211 compiler_moc_header_clean:
212         -$(DEL_FILE) moc_mainwindow.cpp moc_xmlutil.cpp moc_profile.cpp moc_config.cpp moc_addprofile.cpp moc_addstep.cpp moc_confmanager.cpp
213 moc_mainwindow.cpp: config.h \
214                 profile.h \
215                 addprofile.h \
216                 addstep.h \
217                 confmanager.h \
218                 dbusutility.h \
219                 mainwindow.h
220         /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp
221
222 moc_xmlutil.cpp: profile.h \
223                 xmlutil.h
224         /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) xmlutil.h -o moc_xmlutil.cpp
225
226 moc_profile.cpp: profile.h
227         /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) profile.h -o moc_profile.cpp
228
229 moc_config.cpp: profile.h \
230                 config.h
231         /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) config.h -o moc_config.cpp
232
233 moc_addprofile.cpp: addstep.h \
234                 profile.h \
235                 addprofile.h
236         /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) addprofile.h -o moc_addprofile.cpp
237
238 moc_addstep.cpp: profile.h \
239                 addstep.h
240         /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) addstep.h -o moc_addstep.cpp
241
242 moc_confmanager.cpp: profile.h \
243                 dbusutility.h \
244                 confmanager.h
245         /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) confmanager.h -o moc_confmanager.cpp
246
247 compiler_dbus_interface_source_make_all:
248 compiler_dbus_interface_source_clean:
249 compiler_dbus_adaptor_source_make_all:
250 compiler_dbus_adaptor_source_clean:
251 compiler_rcc_make_all:
252 compiler_rcc_clean:
253 compiler_image_collection_make_all: qmake_image_collection.cpp
254 compiler_image_collection_clean:
255         -$(DEL_FILE) qmake_image_collection.cpp
256 compiler_moc_source_make_all:
257 compiler_moc_source_clean:
258 compiler_dbus_interface_header_make_all:
259 compiler_dbus_interface_header_clean:
260 compiler_dbus_interface_moc_make_all:
261 compiler_dbus_interface_moc_clean:
262 compiler_dbus_adaptor_header_make_all:
263 compiler_dbus_adaptor_header_clean:
264 compiler_dbus_adaptor_moc_make_all:
265 compiler_dbus_adaptor_moc_clean:
266 compiler_uic_make_all: ui_mainwindow.h ui_addprofile.h ui_addstep.h
267 compiler_uic_clean:
268         -$(DEL_FILE) ui_mainwindow.h ui_addprofile.h ui_addstep.h
269 ui_mainwindow.h: mainwindow.ui
270         /usr/bin/uic-qt4 mainwindow.ui -o ui_mainwindow.h
271
272 ui_addprofile.h: addprofile.ui
273         /usr/bin/uic-qt4 addprofile.ui -o ui_addprofile.h
274
275 ui_addstep.h: addstep.ui
276         /usr/bin/uic-qt4 addstep.ui -o ui_addstep.h
277
278 compiler_yacc_decl_make_all:
279 compiler_yacc_decl_clean:
280 compiler_yacc_impl_make_all:
281 compiler_yacc_impl_clean:
282 compiler_lex_make_all:
283 compiler_lex_clean:
284 compiler_clean: compiler_moc_header_clean compiler_uic_clean 
285
286 ####### Compile
287
288 main.o: main.cpp mainwindow.h \
289                 config.h \
290                 profile.h \
291                 addprofile.h \
292                 addstep.h \
293                 confmanager.h \
294                 dbusutility.h
295         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
296
297 mainwindow.o: mainwindow.cpp mainwindow.h \
298                 config.h \
299                 profile.h \
300                 addprofile.h \
301                 addstep.h \
302                 confmanager.h \
303                 dbusutility.h \
304                 ui_mainwindow.h \
305                 xmlutil.h
306         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
307
308 xmlutil.o: xmlutil.cpp xmlutil.h \
309                 profile.h
310         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o xmlutil.o xmlutil.cpp
311
312 profile.o: profile.cpp profile.h \
313                 xmlutil.h
314         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o profile.o profile.cpp
315
316 config.o: config.cpp config.h \
317                 profile.h \
318                 xmlutil.h
319         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o config.o config.cpp
320
321 addprofile.o: addprofile.cpp addprofile.h \
322                 addstep.h \
323                 profile.h \
324                 ui_addprofile.h
325         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o addprofile.o addprofile.cpp
326
327 addstep.o: addstep.cpp addstep.h \
328                 profile.h \
329                 ui_addstep.h
330         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o addstep.o addstep.cpp
331
332 dbusutility.o: dbusutility.cpp dbusutility.h
333         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o dbusutility.o dbusutility.cpp
334
335 confmanager.o: confmanager.cpp confmanager.h \
336                 profile.h \
337                 dbusutility.h
338         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o confmanager.o confmanager.cpp
339
340 moc_mainwindow.o: moc_mainwindow.cpp 
341         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp
342
343 moc_xmlutil.o: moc_xmlutil.cpp 
344         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_xmlutil.o moc_xmlutil.cpp
345
346 moc_profile.o: moc_profile.cpp 
347         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_profile.o moc_profile.cpp
348
349 moc_config.o: moc_config.cpp 
350         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_config.o moc_config.cpp
351
352 moc_addprofile.o: moc_addprofile.cpp 
353         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_addprofile.o moc_addprofile.cpp
354
355 moc_addstep.o: moc_addstep.cpp 
356         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_addstep.o moc_addstep.cpp
357
358 moc_confmanager.o: moc_confmanager.cpp 
359         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_confmanager.o moc_confmanager.cpp
360
361 ####### Install
362
363 install:   FORCE
364
365 uninstall:   FORCE
366
367 FORCE:
368