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