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