Ready to be packaged
[kitchenalert] / src / Makefile
1 #############################################################################
2 # Makefile for building: KitchenAlert
3 # Generated by qmake (2.01a) (Qt 4.6.2) on: su kesä 27 19:46:29 2010
4 # Project:  KitchenAlert.pro
5 # Template: app
6 # Command: /usr/bin/qmake-qt4 -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile KitchenAlert.pro
7 #############################################################################
8
9 ####### Compiler, tools and options
10
11 CC            = gcc
12 CXX           = g++
13 DEFINES       = -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
14 CFLAGS        = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
15 CXXFLAGS      = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
16 INCPATH       = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/phonon -I/usr/include/qt4 -I/usr/include/qt4/phonon_compat -I. -I.
17 LINK          = g++
18 LFLAGS        = 
19 LIBS          = $(SUBLIBS)  -L/usr/lib -lphonon -lQtGui -lQtCore -lpthread 
20 AR            = ar cqs
21 RANLIB        = 
22 QMAKE         = /usr/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       = main.cpp \
47                 kitchenalertmainwindow.cpp \
48                 choosetimersequencedialog.cpp \
49                 createtimersequencedialog.cpp \
50                 timer.cpp \
51                 currentalertstablemodel.cpp \
52                 alertsound.cpp moc_kitchenalertmainwindow.cpp \
53                 moc_choosetimersequencedialog.cpp \
54                 moc_createtimersequencedialog.cpp \
55                 moc_timer.cpp \
56                 moc_currentalertstablemodel.cpp \
57                 moc_alertsound.cpp
58 OBJECTS       = main.o \
59                 kitchenalertmainwindow.o \
60                 choosetimersequencedialog.o \
61                 createtimersequencedialog.o \
62                 timer.o \
63                 currentalertstablemodel.o \
64                 alertsound.o \
65                 moc_kitchenalertmainwindow.o \
66                 moc_choosetimersequencedialog.o \
67                 moc_createtimersequencedialog.o \
68                 moc_timer.o \
69                 moc_currentalertstablemodel.o \
70                 moc_alertsound.o
71 DIST          = /usr/share/qt4/mkspecs/common/g++.conf \
72                 /usr/share/qt4/mkspecs/common/unix.conf \
73                 /usr/share/qt4/mkspecs/common/linux.conf \
74                 /usr/share/qt4/mkspecs/qconfig.pri \
75                 /usr/share/qt4/mkspecs/features/qt_functions.prf \
76                 /usr/share/qt4/mkspecs/features/qt_config.prf \
77                 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
78                 /usr/share/qt4/mkspecs/features/default_pre.prf \
79                 /usr/share/qt4/mkspecs/features/debug.prf \
80                 /usr/share/qt4/mkspecs/features/default_post.prf \
81                 /usr/share/qt4/mkspecs/features/warn_on.prf \
82                 /usr/share/qt4/mkspecs/features/qt.prf \
83                 /usr/share/qt4/mkspecs/features/unix/thread.prf \
84                 /usr/share/qt4/mkspecs/features/moc.prf \
85                 /usr/share/qt4/mkspecs/features/resources.prf \
86                 /usr/share/qt4/mkspecs/features/uic.prf \
87                 /usr/share/qt4/mkspecs/features/yacc.prf \
88                 /usr/share/qt4/mkspecs/features/lex.prf \
89                 /usr/share/qt4/mkspecs/features/include_source_dir.prf \
90                 KitchenAlert.pro
91 QMAKE_TARGET  = KitchenAlert
92 DESTDIR       = 
93 TARGET        = KitchenAlert
94
95 first: all
96 ####### Implicit rules
97
98 .SUFFIXES: .o .c .cpp .cc .cxx .C
99
100 .cpp.o:
101         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
102
103 .cc.o:
104         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
105
106 .cxx.o:
107         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
108
109 .C.o:
110         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
111
112 .c.o:
113         $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
114
115 ####### Build rules
116
117 all: Makefile $(TARGET)
118
119 $(TARGET): ui_kitchenalertmainwindow.h ui_choosetimersequencedialog.h ui_createtimersequencedialog.h $(OBJECTS)  
120         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
121
122 Makefile: KitchenAlert.pro  /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
123                 /usr/share/qt4/mkspecs/common/unix.conf \
124                 /usr/share/qt4/mkspecs/common/linux.conf \
125                 /usr/share/qt4/mkspecs/qconfig.pri \
126                 /usr/share/qt4/mkspecs/features/qt_functions.prf \
127                 /usr/share/qt4/mkspecs/features/qt_config.prf \
128                 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
129                 /usr/share/qt4/mkspecs/features/default_pre.prf \
130                 /usr/share/qt4/mkspecs/features/debug.prf \
131                 /usr/share/qt4/mkspecs/features/default_post.prf \
132                 /usr/share/qt4/mkspecs/features/warn_on.prf \
133                 /usr/share/qt4/mkspecs/features/qt.prf \
134                 /usr/share/qt4/mkspecs/features/unix/thread.prf \
135                 /usr/share/qt4/mkspecs/features/moc.prf \
136                 /usr/share/qt4/mkspecs/features/resources.prf \
137                 /usr/share/qt4/mkspecs/features/uic.prf \
138                 /usr/share/qt4/mkspecs/features/yacc.prf \
139                 /usr/share/qt4/mkspecs/features/lex.prf \
140                 /usr/share/qt4/mkspecs/features/include_source_dir.prf \
141                 /usr/lib/libQtGui.prl \
142                 /usr/lib/libQtCore.prl
143         $(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile KitchenAlert.pro
144 /usr/share/qt4/mkspecs/common/g++.conf:
145 /usr/share/qt4/mkspecs/common/unix.conf:
146 /usr/share/qt4/mkspecs/common/linux.conf:
147 /usr/share/qt4/mkspecs/qconfig.pri:
148 /usr/share/qt4/mkspecs/features/qt_functions.prf:
149 /usr/share/qt4/mkspecs/features/qt_config.prf:
150 /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
151 /usr/share/qt4/mkspecs/features/default_pre.prf:
152 /usr/share/qt4/mkspecs/features/debug.prf:
153 /usr/share/qt4/mkspecs/features/default_post.prf:
154 /usr/share/qt4/mkspecs/features/warn_on.prf:
155 /usr/share/qt4/mkspecs/features/qt.prf:
156 /usr/share/qt4/mkspecs/features/unix/thread.prf:
157 /usr/share/qt4/mkspecs/features/moc.prf:
158 /usr/share/qt4/mkspecs/features/resources.prf:
159 /usr/share/qt4/mkspecs/features/uic.prf:
160 /usr/share/qt4/mkspecs/features/yacc.prf:
161 /usr/share/qt4/mkspecs/features/lex.prf:
162 /usr/share/qt4/mkspecs/features/include_source_dir.prf:
163 /usr/lib/libQtGui.prl:
164 /usr/lib/libQtCore.prl:
165 qmake:  FORCE
166         @$(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile KitchenAlert.pro
167
168 dist: 
169         @$(CHK_DIR_EXISTS) .tmp/KitchenAlert1.0.0 || $(MKDIR) .tmp/KitchenAlert1.0.0 
170         $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/KitchenAlert1.0.0/ && $(COPY_FILE) --parents kitchenalertmainwindow.h choosetimersequencedialog.h createtimersequencedialog.h timer.h currentalertstablemodel.h alertsound.h .tmp/KitchenAlert1.0.0/ && $(COPY_FILE) --parents main.cpp kitchenalertmainwindow.cpp choosetimersequencedialog.cpp createtimersequencedialog.cpp timer.cpp currentalertstablemodel.cpp alertsound.cpp .tmp/KitchenAlert1.0.0/ && $(COPY_FILE) --parents kitchenalertmainwindow.ui choosetimersequencedialog.ui createtimersequencedialog.ui .tmp/KitchenAlert1.0.0/ && (cd `dirname .tmp/KitchenAlert1.0.0` && $(TAR) KitchenAlert1.0.0.tar KitchenAlert1.0.0 && $(COMPRESS) KitchenAlert1.0.0.tar) && $(MOVE) `dirname .tmp/KitchenAlert1.0.0`/KitchenAlert1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/KitchenAlert1.0.0
171
172
173 clean:compiler_clean 
174         -$(DEL_FILE) $(OBJECTS)
175         -$(DEL_FILE) *~ core *.core
176
177
178 ####### Sub-libraries
179
180 distclean: clean
181         -$(DEL_FILE) $(TARGET) 
182         -$(DEL_FILE) Makefile
183
184
185 mocclean: compiler_moc_header_clean compiler_moc_source_clean
186
187 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
188
189 compiler_moc_header_make_all: moc_kitchenalertmainwindow.cpp moc_choosetimersequencedialog.cpp moc_createtimersequencedialog.cpp moc_timer.cpp moc_currentalertstablemodel.cpp moc_alertsound.cpp
190 compiler_moc_header_clean:
191         -$(DEL_FILE) moc_kitchenalertmainwindow.cpp moc_choosetimersequencedialog.cpp moc_createtimersequencedialog.cpp moc_timer.cpp moc_currentalertstablemodel.cpp moc_alertsound.cpp
192 moc_kitchenalertmainwindow.cpp: timer.h \
193                 currentalertstablemodel.h \
194                 alertsound.h \
195                 kitchenalertmainwindow.h
196         /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) kitchenalertmainwindow.h -o moc_kitchenalertmainwindow.cpp
197
198 moc_choosetimersequencedialog.cpp: timerschedule.h \
199                 choosetimersequencedialog.h
200         /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) choosetimersequencedialog.h -o moc_choosetimersequencedialog.cpp
201
202 moc_createtimersequencedialog.cpp: timer.h \
203                 createtimersequencedialog.h
204         /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) createtimersequencedialog.h -o moc_createtimersequencedialog.cpp
205
206 moc_timer.cpp: timer.h
207         /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) timer.h -o moc_timer.cpp
208
209 moc_currentalertstablemodel.cpp: timer.h \
210                 currentalertstablemodel.h
211         /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) currentalertstablemodel.h -o moc_currentalertstablemodel.cpp
212
213 moc_alertsound.cpp: alertsound.h
214         /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) alertsound.h -o moc_alertsound.cpp
215
216 compiler_rcc_make_all:
217 compiler_rcc_clean:
218 compiler_image_collection_make_all: qmake_image_collection.cpp
219 compiler_image_collection_clean:
220         -$(DEL_FILE) qmake_image_collection.cpp
221 compiler_moc_source_make_all:
222 compiler_moc_source_clean:
223 compiler_uic_make_all: ui_kitchenalertmainwindow.h ui_choosetimersequencedialog.h ui_createtimersequencedialog.h
224 compiler_uic_clean:
225         -$(DEL_FILE) ui_kitchenalertmainwindow.h ui_choosetimersequencedialog.h ui_createtimersequencedialog.h
226 ui_kitchenalertmainwindow.h: kitchenalertmainwindow.ui
227         /usr/bin/uic-qt4 kitchenalertmainwindow.ui -o ui_kitchenalertmainwindow.h
228
229 ui_choosetimersequencedialog.h: choosetimersequencedialog.ui
230         /usr/bin/uic-qt4 choosetimersequencedialog.ui -o ui_choosetimersequencedialog.h
231
232 ui_createtimersequencedialog.h: createtimersequencedialog.ui
233         /usr/bin/uic-qt4 createtimersequencedialog.ui -o ui_createtimersequencedialog.h
234
235 compiler_yacc_decl_make_all:
236 compiler_yacc_decl_clean:
237 compiler_yacc_impl_make_all:
238 compiler_yacc_impl_clean:
239 compiler_lex_make_all:
240 compiler_lex_clean:
241 compiler_clean: compiler_moc_header_clean compiler_uic_clean 
242
243 ####### Compile
244
245 main.o: main.cpp kitchenalertmainwindow.h \
246                 timer.h \
247                 currentalertstablemodel.h \
248                 alertsound.h
249         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
250
251 kitchenalertmainwindow.o: kitchenalertmainwindow.cpp kitchenalertmainwindow.h \
252                 timer.h \
253                 currentalertstablemodel.h \
254                 alertsound.h \
255                 ui_kitchenalertmainwindow.h \
256                 choosetimersequencedialog.h \
257                 timerschedule.h \
258                 createtimersequencedialog.h
259         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o kitchenalertmainwindow.o kitchenalertmainwindow.cpp
260
261 choosetimersequencedialog.o: choosetimersequencedialog.cpp choosetimersequencedialog.h \
262                 timerschedule.h \
263                 ui_choosetimersequencedialog.h
264         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o choosetimersequencedialog.o choosetimersequencedialog.cpp
265
266 createtimersequencedialog.o: createtimersequencedialog.cpp createtimersequencedialog.h \
267                 timer.h \
268                 ui_createtimersequencedialog.h
269         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o createtimersequencedialog.o createtimersequencedialog.cpp
270
271 timer.o: timer.cpp timer.h \
272                 currentalertstablemodel.h
273         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o timer.o timer.cpp
274
275 currentalertstablemodel.o: currentalertstablemodel.cpp currentalertstablemodel.h \
276                 timer.h
277         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o currentalertstablemodel.o currentalertstablemodel.cpp
278
279 alertsound.o: alertsound.cpp alertsound.h
280         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o alertsound.o alertsound.cpp
281
282 moc_kitchenalertmainwindow.o: moc_kitchenalertmainwindow.cpp 
283         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_kitchenalertmainwindow.o moc_kitchenalertmainwindow.cpp
284
285 moc_choosetimersequencedialog.o: moc_choosetimersequencedialog.cpp 
286         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_choosetimersequencedialog.o moc_choosetimersequencedialog.cpp
287
288 moc_createtimersequencedialog.o: moc_createtimersequencedialog.cpp 
289         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_createtimersequencedialog.o moc_createtimersequencedialog.cpp
290
291 moc_timer.o: moc_timer.cpp 
292         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_timer.o moc_timer.cpp
293
294 moc_currentalertstablemodel.o: moc_currentalertstablemodel.cpp 
295         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_currentalertstablemodel.o moc_currentalertstablemodel.cpp
296
297 moc_alertsound.o: moc_alertsound.cpp 
298         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_alertsound.o moc_alertsound.cpp
299
300 ####### Install
301
302 install:   FORCE
303
304 uninstall:   FORCE
305
306 FORCE:
307