Removed *.user files
[bootcreen] / Makefile
1 #############################################################################
2 # Makefile for building: bootscreen
3 # Generated by qmake (2.01a) (Qt 4.6.2) on: Sun Feb 28 16:52:17 2010
4 # Project:  bootscreen.pro
5 # Template: app
6 # Command: /opt/qt4-maemo5/bin/qmake-qt4 -unix -o Makefile bootscreen.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_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.
17 LINK          = g++
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 
20 AR            = ar cqs
21 RANLIB        = 
22 QMAKE         = /opt/qt4-maemo5/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       = bootscreen.cpp \
47                 main.cpp \
48                 bootscreenR.cpp moc_bootscreen.cpp
49 OBJECTS       = bootscreen.o \
50                 main.o \
51                 bootscreenR.o \
52                 moc_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 \
71                 bootscreen.pro
72 QMAKE_TARGET  = bootscreen
73 DESTDIR       = 
74 TARGET        = bootscreen
75
76 first: all
77 ####### Implicit rules
78
79 .SUFFIXES: .o .c .cpp .cc .cxx .C
80
81 .cpp.o:
82         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
83
84 .cc.o:
85         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
86
87 .cxx.o:
88         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
89
90 .C.o:
91         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
92
93 .c.o:
94         $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
95
96 ####### Build rules
97
98 all: Makefile $(TARGET)
99
100 $(TARGET):  $(OBJECTS)  
101         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
102
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:
150 qmake:  FORCE
151         @$(QMAKE) -unix -o Makefile bootscreen.pro
152
153 dist: 
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
156
157
158 clean:compiler_clean 
159         -$(DEL_FILE) $(OBJECTS)
160         -$(DEL_FILE) *~ core *.core
161
162
163 ####### Sub-libraries
164
165 distclean: clean
166         -$(DEL_FILE) $(TARGET) 
167         -$(DEL_FILE) Makefile
168
169
170 install: $(TARGET) install_app install_dsk install_sd install_evd install_scr
171
172 install_app:
173         $(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)/opt/bootscreen/$(QMAKE_TARGET)
174
175 install_dsk:
176         $(INSTALL_FILE) data/$(QMAKE_TARGET).desktop $(DESTDIR)/usr/share/applications/hildon/$(QMAKE_TARGET).desktop
177
178 install_sd:
179         $(INSTALL_FILE) data/$(QMAKE_TARGET).sudoers $(DESTDIR)/etc/sudoers.d/$(QMAKE_TARGET).sudoers
180
181 install_evd:
182         $(INSTALL_FILE) data/$(QMAKE_TARGET) $(DESTDIR)/etc/event.d/$(QMAKE_TARGET)
183
184 install_scr:
185         $(INSTALL_FILE) script/$(QMAKE_TARGET) $(DESTDIR)/usr/bin/$(QMAKE_TARGET)
186
187 mocclean: compiler_moc_header_clean compiler_moc_source_clean
188
189 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
190
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
196
197 compiler_rcc_make_all:
198 compiler_rcc_clean:
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:
205 compiler_uic_clean:
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:
211 compiler_lex_clean:
212 compiler_clean: compiler_moc_header_clean 
213
214 ####### Compile
215
216 bootscreen.o: bootscreen.cpp bootscreen.h
217         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o bootscreen.o bootscreen.cpp
218
219 main.o: main.cpp bootscreen.h \
220                 bootscreenR.h
221         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
222
223 bootscreenR.o: bootscreenR.cpp bootscreenR.h
224         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o bootscreenR.o bootscreenR.cpp
225
226 moc_bootscreen.o: moc_bootscreen.cpp 
227         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_bootscreen.o moc_bootscreen.cpp
228
229 ####### Install
230
231 install:   FORCE
232
233 uninstall:   FORCE
234
235 FORCE:
236