1 #############################################################################
2 # Makefile for building: bootscreen
3 # Generated by qmake (2.01a) (Qt 4.6.2) on: Mon Feb 22 01:04:53 2010
4 # Project: bootscreen.pro
6 # Command: /opt/qt4-maemo5/bin/qmake-qt4 -unix -o Makefile bootscreen.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_MAEMO5_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/opt/qt4-maemo5/mkspecs/linux-g++-maemo5 -I. -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include/QtCore -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include/QtGui -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include/QtMaemo5 -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include -I.
18 LFLAGS = -Wl,-rpath-link,/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -Wl,-rpath,/opt/qt4-maemo5/lib
19 LIBS = $(SUBLIBS) -L/opt/qt4-maemo5/lib -lQtMaemo5 -L/opt/qt4-maemo5/lib -L/usr/X11R6/lib -lQtDBus -lQtXml -lQtGui -lQtCore -lpthread
22 QMAKE = /opt/qt4-maemo5/bin/qmake-qt4
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
46 SOURCES = bootscreen.cpp \
48 bootscreenR.cpp moc_bootscreen.cpp
49 OBJECTS = bootscreen.o \
53 DIST = /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/common/unix.conf \
54 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/common/linux.conf \
55 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/qconfig.pri \
56 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/qt_functions.prf \
57 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/qt_config.prf \
58 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/exclusive_builds.prf \
59 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/default_pre.prf \
60 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/release.prf \
61 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/default_post.prf \
62 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/warn_on.prf \
63 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/qt.prf \
64 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/unix/thread.prf \
65 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/moc.prf \
66 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/resources.prf \
67 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/uic.prf \
68 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/yacc.prf \
69 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/lex.prf \
70 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/include_source_dir.prf \
72 QMAKE_TARGET = bootscreen
77 ####### Implicit rules
79 .SUFFIXES: .o .c .cpp .cc .cxx .C
82 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
85 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
88 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
91 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
94 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
98 all: Makefile $(TARGET)
100 $(TARGET): $(OBJECTS)
101 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
103 Makefile: bootscreen.pro /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/linux-g++-maemo5/qmake.conf /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/common/unix.conf \
104 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/common/linux.conf \
105 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/qconfig.pri \
106 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/qt_functions.prf \
107 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/qt_config.prf \
108 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/exclusive_builds.prf \
109 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/default_pre.prf \
110 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/release.prf \
111 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/default_post.prf \
112 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/warn_on.prf \
113 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/qt.prf \
114 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/unix/thread.prf \
115 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/moc.prf \
116 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/resources.prf \
117 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/uic.prf \
118 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/yacc.prf \
119 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/lex.prf \
120 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/include_source_dir.prf \
121 /opt/qt4-maemo5/lib/libQtMaemo5.prl \
122 /opt/qt4-maemo5/lib/libQtDBus.prl \
123 /opt/qt4-maemo5/lib/libQtXml.prl \
124 /opt/qt4-maemo5/lib/libQtCore.prl \
125 /opt/qt4-maemo5/lib/libQtGui.prl
126 $(QMAKE) -unix -o Makefile bootscreen.pro
127 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/common/unix.conf:
128 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/common/linux.conf:
129 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/qconfig.pri:
130 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/qt_functions.prf:
131 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/qt_config.prf:
132 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/exclusive_builds.prf:
133 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/default_pre.prf:
134 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/release.prf:
135 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/default_post.prf:
136 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/warn_on.prf:
137 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/qt.prf:
138 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/unix/thread.prf:
139 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/moc.prf:
140 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/resources.prf:
141 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/uic.prf:
142 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/yacc.prf:
143 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/lex.prf:
144 /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/include_source_dir.prf:
145 /opt/qt4-maemo5/lib/libQtMaemo5.prl:
146 /opt/qt4-maemo5/lib/libQtDBus.prl:
147 /opt/qt4-maemo5/lib/libQtXml.prl:
148 /opt/qt4-maemo5/lib/libQtCore.prl:
149 /opt/qt4-maemo5/lib/libQtGui.prl:
151 @$(QMAKE) -unix -o Makefile bootscreen.pro
154 @$(CHK_DIR_EXISTS) .tmp/bootscreen1.0.0 || $(MKDIR) .tmp/bootscreen1.0.0
155 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/bootscreen1.0.0/ && $(COPY_FILE) --parents bootscreen.h bootscreenR.h .tmp/bootscreen1.0.0/ && $(COPY_FILE) --parents bootscreen.cpp main.cpp bootscreenR.cpp .tmp/bootscreen1.0.0/ && (cd `dirname .tmp/bootscreen1.0.0` && $(TAR) bootscreen1.0.0.tar bootscreen1.0.0 && $(COMPRESS) bootscreen1.0.0.tar) && $(MOVE) `dirname .tmp/bootscreen1.0.0`/bootscreen1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/bootscreen1.0.0
159 -$(DEL_FILE) $(OBJECTS)
160 -$(DEL_FILE) *~ core *.core
163 ####### Sub-libraries
166 -$(DEL_FILE) $(TARGET)
167 -$(DEL_FILE) Makefile
170 install: $(TARGET) install_app install_dsk install_sd install_evd install_scr
173 $(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)/opt/bootscreen/$(QMAKE_TARGET)
176 $(INSTALL_FILE) data/$(QMAKE_TARGET).desktop $(DESTDIR)/usr/share/applications/hildon/$(QMAKE_TARGET).desktop
179 $(INSTALL_FILE) data/$(QMAKE_TARGET).sudoers $(DESTDIR)/etc/sudoers.d/$(QMAKE_TARGET).sudoers
182 $(INSTALL_FILE) data/$(QMAKE_TARGET) $(DESTDIR)/etc/event.d/$(QMAKE_TARGET)
185 $(INSTALL_FILE) script/$(QMAKE_TARGET) $(DESTDIR)/usr/bin/$(QMAKE_TARGET)
187 mocclean: compiler_moc_header_clean compiler_moc_source_clean
189 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
191 compiler_moc_header_make_all: moc_bootscreen.cpp
192 compiler_moc_header_clean:
193 -$(DEL_FILE) moc_bootscreen.cpp
194 moc_bootscreen.cpp: bootscreen.h
195 /opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) bootscreen.h -o moc_bootscreen.cpp
197 compiler_rcc_make_all:
199 compiler_image_collection_make_all: qmake_image_collection.cpp
200 compiler_image_collection_clean:
201 -$(DEL_FILE) qmake_image_collection.cpp
202 compiler_moc_source_make_all:
203 compiler_moc_source_clean:
204 compiler_uic_make_all:
206 compiler_yacc_decl_make_all:
207 compiler_yacc_decl_clean:
208 compiler_yacc_impl_make_all:
209 compiler_yacc_impl_clean:
210 compiler_lex_make_all:
212 compiler_clean: compiler_moc_header_clean
216 bootscreen.o: bootscreen.cpp bootscreen.h
217 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o bootscreen.o bootscreen.cpp
219 main.o: main.cpp bootscreen.h \
221 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
223 bootscreenR.o: bootscreenR.cpp bootscreenR.h
224 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o bootscreenR.o bootscreenR.cpp
226 moc_bootscreen.o: moc_bootscreen.cpp
227 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_bootscreen.o moc_bootscreen.cpp