1 #############################################################################
2 # Makefile for building: ameter
3 # Generated by qmake (2.01a) (Qt 4.7.0) on: Sun Aug 7 15:34:40 2011
6 # Command: /usr/bin/qmake PREFIX=/usr -o Makefile ameter.pro
7 #############################################################################
9 ####### Compiler, tools and options
13 DEFINES = -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH=1024 -DQT_NO_DEBUG -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 -I/targets/FREMANTLE_ARMEL/usr/include/QtSensors -I/targets/FREMANTLE_ARMEL/usr/include -I.
18 LFLAGS = -Wl,-rpath-link,/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -Wl,-rpath,/usr/lib
19 LIBS = $(SUBLIBS) -L/usr/lib -L/usr/lib -lQtSensors -lQtGui -L/usr/X11R6/lib -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
49 asettings.cpp moc_mainwindow.cpp \
50 moc_ameterwidget.cpp \
59 DIST = /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf \
60 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf \
61 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri \
62 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
63 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf \
64 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf \
65 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
66 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf \
68 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf \
69 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf \
70 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/mobility.prf \
71 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf \
72 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf \
73 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf \
74 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf \
75 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf \
76 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf \
77 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf \
78 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf \
79 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf \
86 ####### Implicit rules
88 .SUFFIXES: .o .c .cpp .cc .cxx .C
91 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
94 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
97 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
100 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
103 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
107 all: Makefile $(TARGET)
109 $(TARGET): $(OBJECTS)
110 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
112 Makefile: ameter.pro /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-maemo5/qmake.conf /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf \
113 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf \
114 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri \
115 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
116 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf \
117 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf \
118 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
119 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf \
121 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf \
122 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf \
123 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/mobility.prf \
124 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf \
125 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf \
126 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf \
127 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf \
128 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf \
129 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf \
130 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf \
131 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf \
132 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf \
133 /usr/lib/libQtGui.prl \
134 /usr/lib/libQtDBus.prl \
135 /usr/lib/libQtXml.prl \
136 /usr/lib/libQtCore.prl
137 $(QMAKE) PREFIX=/usr -o Makefile ameter.pro
138 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf:
139 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf:
140 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri:
141 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri:
142 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf:
143 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf:
144 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
145 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf:
147 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf:
148 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf:
149 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/mobility.prf:
150 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf:
151 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf:
152 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf:
153 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf:
154 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf:
155 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf:
156 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf:
157 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf:
158 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf:
159 /usr/lib/libQtGui.prl:
160 /usr/lib/libQtDBus.prl:
161 /usr/lib/libQtXml.prl:
162 /usr/lib/libQtCore.prl:
164 @$(QMAKE) PREFIX=/usr -o Makefile ameter.pro
167 @$(CHK_DIR_EXISTS) .tmp/ameter1.0.0 || $(MKDIR) .tmp/ameter1.0.0
168 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/ameter1.0.0/ && $(COPY_FILE) --parents mainwindow.h ameterwidget.h asettings.h .tmp/ameter1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp ameterwidget.cpp asettings.cpp .tmp/ameter1.0.0/ && (cd `dirname .tmp/ameter1.0.0` && $(TAR) ameter1.0.0.tar ameter1.0.0 && $(COMPRESS) ameter1.0.0.tar) && $(MOVE) `dirname .tmp/ameter1.0.0`/ameter1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/ameter1.0.0
172 -$(DEL_FILE) $(OBJECTS)
173 -$(DEL_FILE) *~ core *.core
176 ####### Sub-libraries
179 -$(DEL_FILE) $(TARGET)
180 -$(DEL_FILE) Makefile
185 mocclean: compiler_moc_header_clean compiler_moc_source_clean
187 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
189 compiler_moc_header_make_all: moc_mainwindow.cpp moc_ameterwidget.cpp moc_asettings.cpp
190 compiler_moc_header_clean:
191 -$(DEL_FILE) moc_mainwindow.cpp moc_ameterwidget.cpp moc_asettings.cpp
192 moc_mainwindow.cpp: ameterwidget.h \
194 /usr/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp
196 moc_ameterwidget.cpp: ameterwidget.h
197 /usr/bin/moc $(DEFINES) $(INCPATH) ameterwidget.h -o moc_ameterwidget.cpp
199 moc_asettings.cpp: asettings.h
200 /usr/bin/moc $(DEFINES) $(INCPATH) asettings.h -o moc_asettings.cpp
202 compiler_rcc_make_all:
204 compiler_image_collection_make_all: qmake_image_collection.cpp
205 compiler_image_collection_clean:
206 -$(DEL_FILE) qmake_image_collection.cpp
207 compiler_moc_source_make_all:
208 compiler_moc_source_clean:
209 compiler_uic_make_all:
211 compiler_yacc_decl_make_all:
212 compiler_yacc_decl_clean:
213 compiler_yacc_impl_make_all:
214 compiler_yacc_impl_clean:
215 compiler_lex_make_all:
217 compiler_clean: compiler_moc_header_clean
221 main.o: main.cpp mainwindow.h \
223 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
225 mainwindow.o: mainwindow.cpp mainwindow.h \
228 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
230 ameterwidget.o: ameterwidget.cpp ameterwidget.h
231 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ameterwidget.o ameterwidget.cpp
233 asettings.o: asettings.cpp asettings.h
234 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o asettings.o asettings.cpp
236 moc_mainwindow.o: moc_mainwindow.cpp
237 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp
239 moc_ameterwidget.o: moc_ameterwidget.cpp
240 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_ameterwidget.o moc_ameterwidget.cpp
242 moc_asettings.o: moc_asettings.cpp
243 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_asettings.o moc_asettings.cpp
247 install_desktopfile: first FORCE
248 @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/applications/hildon/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/applications/hildon/
249 -$(INSTALL_FILE) /home/igorinov/Projects/ameter/ameter.desktop $(INSTALL_ROOT)/usr/share/applications/hildon/
252 uninstall_desktopfile: FORCE
253 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/applications/hildon/ameter.desktop
254 -$(DEL_DIR) $(INSTALL_ROOT)/usr/share/applications/hildon/
257 install_icon: first FORCE
258 @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/
259 -$(INSTALL_FILE) /home/igorinov/Projects/ameter/ameter.png $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/
262 uninstall_icon: FORCE
263 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/ameter.png
264 -$(DEL_DIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/
267 install_target: first FORCE
268 @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/bin/
269 -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
270 -$(STRIP) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
272 uninstall_target: FORCE
273 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
274 -$(DEL_DIR) $(INSTALL_ROOT)/usr/bin/
277 install: install_desktopfile install_icon install_target FORCE
279 uninstall: uninstall_desktopfile uninstall_icon uninstall_target FORCE