channelDestroyed hadling, TPSESSION_DEBUG env
[tpsession] / tpsession-0.1 / tpsession / Makefile
1 #############################################################################
2 # Makefile for building: libtpsession.so.0.1.0
3 # Generated by qmake (2.01a) (Qt 4.6.2) on: Wed Jun 2 16:52:09 2010
4 # Project:  tpsession.pro
5 # Template: lib
6 # Command: /usr/bin/qmake -unix QMAKE_CC\ =\ cc QMAKE_CXX\ =\ g++ QMAKE_CFLAGS_RELEASE\ =\ \ -g\ -Wall\ -O2 QMAKE_CXXFLAGS_RELEASE\ =\ \ -g\ -Wall\ -O2 -o Makefile tpsession.pro
7 #############################################################################
8
9 ####### Compiler, tools and options
10
11 CC            = cc
12 CXX           = g++
13 DEFINES       = -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH=1024 -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
14 CFLAGS        = -pipe -g -Wall -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
15 CXXFLAGS      = -pipe -g -Wall -O2 -Wall -W -D_REENTRANT -fPIC $(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/QtNetwork -I/targets/FREMANTLE_ARMEL/usr/include/QtDBus -I/targets/FREMANTLE_ARMEL/usr/include -I/usr/include/telepathy-1.0 -I.
17 LINK          = g++
18 LFLAGS        = -Wl,-rpath-link,/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -Wl,-rpath,/usr/lib -shared -Wl,-soname,libtpsession.so.0
19 LIBS          = $(SUBLIBS)  -L/usr/lib -L/usr/lib -lQtNetwork -lQtDBus -lQtXml -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         = echo
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       = tpsession.cpp \
47                 tpsessionaccount.cpp \
48                 tpsessionchannel.cpp \
49                 tpsessionobserver.cpp moc_tpsession.cpp \
50                 moc_tpsessionaccount.cpp \
51                 moc_tpsessionchannel.cpp \
52                 moc_tpsessionobserver.cpp
53 OBJECTS       = tpsession.o \
54                 tpsessionaccount.o \
55                 tpsessionchannel.o \
56                 tpsessionobserver.o \
57                 moc_tpsession.o \
58                 moc_tpsessionaccount.o \
59                 moc_tpsessionchannel.o \
60                 moc_tpsessionobserver.o
61 DIST          = /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf \
62                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf \
63                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri \
64                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf \
65                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf \
66                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
67                 /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/warn_on.prf \
71                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf \
72                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf \
73                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/dbusinterfaces.prf \
74                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/dbusadaptors.prf \
75                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf \
76                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf \
77                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf \
78                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf \
79                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf \
80                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf \
81                 tpsession.pro
82 QMAKE_TARGET  = tpsession
83 DESTDIR       = 
84 TARGET        = libtpsession.so.0.1.0
85 TARGETA       = libtpsession.a
86 TARGETD       = libtpsession.so.0.1.0
87 TARGET0       = libtpsession.so
88 TARGET1       = libtpsession.so.0
89 TARGET2       = libtpsession.so.0.1
90
91 first: all
92 ####### Implicit rules
93
94 .SUFFIXES: .o .c .cpp .cc .cxx .C
95
96 .cpp.o:
97         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
98
99 .cc.o:
100         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
101
102 .cxx.o:
103         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
104
105 .C.o:
106         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
107
108 .c.o:
109         $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
110
111 ####### Build rules
112
113 all: Makefile  $(TARGET)
114
115 $(TARGET):  $(OBJECTS) $(SUBLIBS) $(OBJCOMP)  
116         -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
117         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
118         -ln -s $(TARGET) $(TARGET0)
119         -ln -s $(TARGET) $(TARGET1)
120         -ln -s $(TARGET) $(TARGET2)
121
122
123
124 staticlib: $(TARGETA)
125
126 $(TARGETA):  $(OBJECTS) $(OBJCOMP) 
127         -$(DEL_FILE) $(TARGETA) 
128         $(AR) $(TARGETA) $(OBJECTS)
129
130 Makefile: tpsession.pro  /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-maemo5/qmake.conf /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf \
131                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf \
132                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri \
133                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf \
134                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf \
135                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
136                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf \
137                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf \
138                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf \
139                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf \
140                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf \
141                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf \
142                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/dbusinterfaces.prf \
143                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/dbusadaptors.prf \
144                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf \
145                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf \
146                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf \
147                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf \
148                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf \
149                 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf \
150                 /usr/lib/libQtDBus.prl \
151                 /usr/lib/libQtXml.prl \
152                 /usr/lib/libQtCore.prl \
153                 /usr/lib/libQtNetwork.prl
154         $(QMAKE) -unix QMAKE_CC\ =\ cc QMAKE_CXX\ =\ g++ QMAKE_CFLAGS_RELEASE\ =\ \ -g\ -Wall\ -O2 QMAKE_CXXFLAGS_RELEASE\ =\ \ -g\ -Wall\ -O2 -o Makefile tpsession.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/libQtDBus.prl:
176 /usr/lib/libQtXml.prl:
177 /usr/lib/libQtCore.prl:
178 /usr/lib/libQtNetwork.prl:
179 qmake:  FORCE
180         @$(QMAKE) -unix QMAKE_CC\ =\ cc QMAKE_CXX\ =\ g++ QMAKE_CFLAGS_RELEASE\ =\ \ -g\ -Wall\ -O2 QMAKE_CXXFLAGS_RELEASE\ =\ \ -g\ -Wall\ -O2 -o Makefile tpsession.pro
181
182 dist: 
183         @$(CHK_DIR_EXISTS) .tmp/tpsession0.1 || $(MKDIR) .tmp/tpsession0.1 
184         $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/tpsession0.1/ && $(COPY_FILE) --parents tpsession.h tpsessionaccount.h tpsessionchannel.h tpsessionobserver.h .tmp/tpsession0.1/ && $(COPY_FILE) --parents tpsession.cpp tpsessionaccount.cpp tpsessionchannel.cpp tpsessionobserver.cpp .tmp/tpsession0.1/ && (cd `dirname .tmp/tpsession0.1` && $(TAR) tpsession0.1.tar tpsession0.1 && $(COMPRESS) tpsession0.1.tar) && $(MOVE) `dirname .tmp/tpsession0.1`/tpsession0.1.tar.gz . && $(DEL_FILE) -r .tmp/tpsession0.1
185
186
187 clean:compiler_clean 
188         -$(DEL_FILE) $(OBJECTS)
189         -$(DEL_FILE) *~ core *.core
190
191
192 ####### Sub-libraries
193
194 distclean: clean
195         -$(DEL_FILE) $(TARGET) 
196         -$(DEL_FILE) $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA)
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_tpsession.cpp moc_tpsessionaccount.cpp moc_tpsessionchannel.cpp moc_tpsessionobserver.cpp
205 compiler_moc_header_clean:
206         -$(DEL_FILE) moc_tpsession.cpp moc_tpsessionaccount.cpp moc_tpsessionchannel.cpp moc_tpsessionobserver.cpp
207 moc_tpsession.cpp: tpsessionaccount.h \
208                 tpsession.h \
209                 tpsessionobserver.h \
210                 tpsessionchannel.h \
211                 tpsession.h
212         /usr/bin/moc $(DEFINES) $(INCPATH) tpsession.h -o moc_tpsession.cpp
213
214 moc_tpsessionaccount.cpp: tpsession.h \
215                 tpsessionaccount.h \
216                 tpsessionchannel.h \
217                 tpsessionobserver.h \
218                 tpsessionaccount.h
219         /usr/bin/moc $(DEFINES) $(INCPATH) tpsessionaccount.h -o moc_tpsessionaccount.cpp
220
221 moc_tpsessionchannel.cpp: tpsession.h \
222                 tpsessionaccount.h \
223                 tpsessionchannel.h \
224                 tpsessionobserver.h \
225                 tpsessionchannel.h
226         /usr/bin/moc $(DEFINES) $(INCPATH) tpsessionchannel.h -o moc_tpsessionchannel.cpp
227
228 moc_tpsessionobserver.cpp: tpsessionobserver.h
229         /usr/bin/moc $(DEFINES) $(INCPATH) tpsessionobserver.h -o moc_tpsessionobserver.cpp
230
231 compiler_dbus_interface_source_make_all:
232 compiler_dbus_interface_source_clean:
233 compiler_dbus_adaptor_source_make_all:
234 compiler_dbus_adaptor_source_clean:
235 compiler_rcc_make_all:
236 compiler_rcc_clean:
237 compiler_image_collection_make_all: qmake_image_collection.cpp
238 compiler_image_collection_clean:
239         -$(DEL_FILE) qmake_image_collection.cpp
240 compiler_moc_source_make_all:
241 compiler_moc_source_clean:
242 compiler_dbus_interface_header_make_all:
243 compiler_dbus_interface_header_clean:
244 compiler_dbus_interface_moc_make_all:
245 compiler_dbus_interface_moc_clean:
246 compiler_dbus_adaptor_header_make_all:
247 compiler_dbus_adaptor_header_clean:
248 compiler_dbus_adaptor_moc_make_all:
249 compiler_dbus_adaptor_moc_clean:
250 compiler_uic_make_all:
251 compiler_uic_clean:
252 compiler_yacc_decl_make_all:
253 compiler_yacc_decl_clean:
254 compiler_yacc_impl_make_all:
255 compiler_yacc_impl_clean:
256 compiler_lex_make_all:
257 compiler_lex_clean:
258 compiler_clean: compiler_moc_header_clean 
259
260 ####### Compile
261
262 tpsession.o: tpsession.cpp tpsession.h \
263                 tpsessionaccount.h \
264                 tpsessionchannel.h \
265                 tpsessionobserver.h
266         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tpsession.o tpsession.cpp
267
268 tpsessionaccount.o: tpsessionaccount.cpp tpsessionaccount.h \
269                 tpsession.h \
270                 tpsessionobserver.h \
271                 tpsessionchannel.h
272         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tpsessionaccount.o tpsessionaccount.cpp
273
274 tpsessionchannel.o: tpsessionchannel.cpp tpsessionchannel.h \
275                 tpsession.h \
276                 tpsessionaccount.h \
277                 tpsessionobserver.h
278         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tpsessionchannel.o tpsessionchannel.cpp
279
280 tpsessionobserver.o: tpsessionobserver.cpp tpsessionobserver.h \
281                 tpsession.h \
282                 tpsessionaccount.h \
283                 tpsessionchannel.h
284         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tpsessionobserver.o tpsessionobserver.cpp
285
286 moc_tpsession.o: moc_tpsession.cpp 
287         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tpsession.o moc_tpsession.cpp
288
289 moc_tpsessionaccount.o: moc_tpsessionaccount.cpp 
290         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tpsessionaccount.o moc_tpsessionaccount.cpp
291
292 moc_tpsessionchannel.o: moc_tpsessionchannel.cpp 
293         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tpsessionchannel.o moc_tpsessionchannel.cpp
294
295 moc_tpsessionobserver.o: moc_tpsessionobserver.cpp 
296         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tpsessionobserver.o moc_tpsessionobserver.cpp
297
298 ####### Install
299
300 install_target: first FORCE
301         @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib/ 
302         -$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/$(TARGET)"
303         -$(STRIP) --strip-unneeded "$(INSTALL_ROOT)/usr/lib/$(TARGET)"
304         -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/$(TARGET0)"
305         -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/$(TARGET1)"
306         -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/$(TARGET2)"
307
308 uninstall_target:  FORCE
309         -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/$(TARGET)" 
310          -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/$(TARGET0)" 
311          -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/$(TARGET1)" 
312          -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/$(TARGET2)"
313         -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/ 
314
315
316 install_dev: first FORCE
317         @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/ || $(MKDIR) $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/ 
318         -$(INSTALL_FILE) /home/kathy/sb/fremantle/tpsession/tpsession-0.1/tpsession/tpsession.h $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/
319         -$(INSTALL_FILE) /home/kathy/sb/fremantle/tpsession/tpsession-0.1/tpsession/tpsessionaccount.h $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/
320         -$(INSTALL_FILE) /home/kathy/sb/fremantle/tpsession/tpsession-0.1/tpsession/tpsessionchannel.h $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/
321         -$(INSTALL_FILE) /home/kathy/sb/fremantle/tpsession/tpsession-0.1/tpsession/tpsessionobserver.h $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/
322
323
324 uninstall_dev:  FORCE
325         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/tpsession.h 
326          -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/tpsessionaccount.h 
327          -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/tpsessionchannel.h 
328          -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/tpsessionobserver.h
329         -$(DEL_DIR) $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/ 
330
331
332 install_pkg: first FORCE
333         @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib/pkgconfig/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib/pkgconfig/ 
334         -$(INSTALL_FILE) /home/kathy/sb/fremantle/tpsession/tpsession-0.1/tpsession/TpSession.pc $(INSTALL_ROOT)/usr/lib/pkgconfig/
335
336
337 uninstall_pkg:  FORCE
338         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/pkgconfig/TpSession.pc
339         -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/pkgconfig/ 
340
341
342 install:  install_target install_dev install_pkg  FORCE
343
344 uninstall: uninstall_target uninstall_dev uninstall_pkg   FORCE
345
346 FORCE:
347