1 #############################################################################
2 # Makefile for building: libtpsession.so.0.1.0
3 # Generated by qmake (2.01a) (Qt 4.6.1) on: Mon Feb 8 23:30:46 2010
4 # Project: tpsession.pro
6 # Command: /opt/qt4-maemo5/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 #############################################################################
9 ####### Compiler, tools and options
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/opt/qt4-maemo5/mkspecs/linux-g++-maemo5 -I. -I/opt/qt4-maemo5/include/QtCore -I/opt/qt4-maemo5/include/QtNetwork -I/opt/qt4-maemo5/include/QtDBus -I/opt/qt4-maemo5/include -I/usr/include/telepathy-1.0 -I.
18 LFLAGS = -Wl,-rpath-link,/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -Wl,-rpath,/opt/qt4-maemo5/lib -shared -Wl,-soname,libtpsession.so.0
19 LIBS = $(SUBLIBS) -L/opt/qt4-maemo5/lib -L/opt/qt4-maemo5/lib -lQtNetwork -lgconf-2 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lQtDBus -lQtXml -lQtCore -lpthread
22 QMAKE = /opt/qt4-maemo5/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
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 \
58 moc_tpsessionaccount.o \
59 moc_tpsessionchannel.o \
60 moc_tpsessionobserver.o
61 DIST = /opt/qt4-maemo5/mkspecs/common/unix.conf \
62 /opt/qt4-maemo5/mkspecs/common/linux.conf \
63 /opt/qt4-maemo5/mkspecs/qconfig.pri \
64 /opt/qt4-maemo5/mkspecs/features/qt_functions.prf \
65 /opt/qt4-maemo5/mkspecs/features/qt_config.prf \
66 /opt/qt4-maemo5/mkspecs/features/exclusive_builds.prf \
67 /opt/qt4-maemo5/mkspecs/features/default_pre.prf \
68 /opt/qt4-maemo5/mkspecs/features/release.prf \
69 /opt/qt4-maemo5/mkspecs/features/default_post.prf \
70 /opt/qt4-maemo5/mkspecs/features/warn_on.prf \
71 /opt/qt4-maemo5/mkspecs/features/qt.prf \
72 /opt/qt4-maemo5/mkspecs/features/moc.prf \
73 /opt/qt4-maemo5/mkspecs/features/dbusinterfaces.prf \
74 /opt/qt4-maemo5/mkspecs/features/dbusadaptors.prf \
75 /opt/qt4-maemo5/mkspecs/features/unix/thread.prf \
76 /opt/qt4-maemo5/mkspecs/features/resources.prf \
77 /opt/qt4-maemo5/mkspecs/features/uic.prf \
78 /opt/qt4-maemo5/mkspecs/features/yacc.prf \
79 /opt/qt4-maemo5/mkspecs/features/lex.prf \
80 /opt/qt4-maemo5/mkspecs/features/include_source_dir.prf \
82 QMAKE_TARGET = tpsession
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
92 ####### Implicit rules
94 .SUFFIXES: .o .c .cpp .cc .cxx .C
97 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
100 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
103 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
106 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
109 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
113 all: Makefile $(TARGET)
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)
124 staticlib: $(TARGETA)
126 $(TARGETA): $(OBJECTS) $(OBJCOMP)
127 -$(DEL_FILE) $(TARGETA)
128 $(AR) $(TARGETA) $(OBJECTS)
130 Makefile: tpsession.pro /opt/qt4-maemo5/mkspecs/linux-g++-maemo5/qmake.conf /opt/qt4-maemo5/mkspecs/common/unix.conf \
131 /opt/qt4-maemo5/mkspecs/common/linux.conf \
132 /opt/qt4-maemo5/mkspecs/qconfig.pri \
133 /opt/qt4-maemo5/mkspecs/features/qt_functions.prf \
134 /opt/qt4-maemo5/mkspecs/features/qt_config.prf \
135 /opt/qt4-maemo5/mkspecs/features/exclusive_builds.prf \
136 /opt/qt4-maemo5/mkspecs/features/default_pre.prf \
137 /opt/qt4-maemo5/mkspecs/features/release.prf \
138 /opt/qt4-maemo5/mkspecs/features/default_post.prf \
139 /opt/qt4-maemo5/mkspecs/features/warn_on.prf \
140 /opt/qt4-maemo5/mkspecs/features/qt.prf \
141 /opt/qt4-maemo5/mkspecs/features/moc.prf \
142 /opt/qt4-maemo5/mkspecs/features/dbusinterfaces.prf \
143 /opt/qt4-maemo5/mkspecs/features/dbusadaptors.prf \
144 /opt/qt4-maemo5/mkspecs/features/unix/thread.prf \
145 /opt/qt4-maemo5/mkspecs/features/resources.prf \
146 /opt/qt4-maemo5/mkspecs/features/uic.prf \
147 /opt/qt4-maemo5/mkspecs/features/yacc.prf \
148 /opt/qt4-maemo5/mkspecs/features/lex.prf \
149 /opt/qt4-maemo5/mkspecs/features/include_source_dir.prf \
150 /opt/qt4-maemo5/lib/libQtDBus.prl \
151 /opt/qt4-maemo5/lib/libQtXml.prl \
152 /opt/qt4-maemo5/lib/libQtCore.prl \
153 /opt/qt4-maemo5/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 /opt/qt4-maemo5/mkspecs/common/unix.conf:
156 /opt/qt4-maemo5/mkspecs/common/linux.conf:
157 /opt/qt4-maemo5/mkspecs/qconfig.pri:
158 /opt/qt4-maemo5/mkspecs/features/qt_functions.prf:
159 /opt/qt4-maemo5/mkspecs/features/qt_config.prf:
160 /opt/qt4-maemo5/mkspecs/features/exclusive_builds.prf:
161 /opt/qt4-maemo5/mkspecs/features/default_pre.prf:
162 /opt/qt4-maemo5/mkspecs/features/release.prf:
163 /opt/qt4-maemo5/mkspecs/features/default_post.prf:
164 /opt/qt4-maemo5/mkspecs/features/warn_on.prf:
165 /opt/qt4-maemo5/mkspecs/features/qt.prf:
166 /opt/qt4-maemo5/mkspecs/features/moc.prf:
167 /opt/qt4-maemo5/mkspecs/features/dbusinterfaces.prf:
168 /opt/qt4-maemo5/mkspecs/features/dbusadaptors.prf:
169 /opt/qt4-maemo5/mkspecs/features/unix/thread.prf:
170 /opt/qt4-maemo5/mkspecs/features/resources.prf:
171 /opt/qt4-maemo5/mkspecs/features/uic.prf:
172 /opt/qt4-maemo5/mkspecs/features/yacc.prf:
173 /opt/qt4-maemo5/mkspecs/features/lex.prf:
174 /opt/qt4-maemo5/mkspecs/features/include_source_dir.prf:
175 /opt/qt4-maemo5/lib/libQtDBus.prl:
176 /opt/qt4-maemo5/lib/libQtXml.prl:
177 /opt/qt4-maemo5/lib/libQtCore.prl:
178 /opt/qt4-maemo5/lib/libQtNetwork.prl:
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
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
188 -$(DEL_FILE) $(OBJECTS)
189 -$(DEL_FILE) *~ core *.core
192 ####### Sub-libraries
195 -$(DEL_FILE) $(TARGET)
196 -$(DEL_FILE) $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA)
197 -$(DEL_FILE) Makefile
200 mocclean: compiler_moc_header_clean compiler_moc_source_clean
202 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
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 \
209 tpsessionobserver.h \
211 /opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) tpsession.h -o moc_tpsession.cpp
213 moc_tpsessionaccount.cpp: tpsessionchannel.h \
215 /opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) tpsessionaccount.h -o moc_tpsessionaccount.cpp
217 moc_tpsessionchannel.cpp: tpsessionchannel.h
218 /opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) tpsessionchannel.h -o moc_tpsessionchannel.cpp
220 moc_tpsessionobserver.cpp: tpsessionobserver.h
221 /opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) tpsessionobserver.h -o moc_tpsessionobserver.cpp
223 compiler_dbus_interface_source_make_all:
224 compiler_dbus_interface_source_clean:
225 compiler_dbus_adaptor_source_make_all:
226 compiler_dbus_adaptor_source_clean:
227 compiler_rcc_make_all:
229 compiler_image_collection_make_all: qmake_image_collection.cpp
230 compiler_image_collection_clean:
231 -$(DEL_FILE) qmake_image_collection.cpp
232 compiler_moc_source_make_all:
233 compiler_moc_source_clean:
234 compiler_dbus_interface_header_make_all:
235 compiler_dbus_interface_header_clean:
236 compiler_dbus_interface_moc_make_all:
237 compiler_dbus_interface_moc_clean:
238 compiler_dbus_adaptor_header_make_all:
239 compiler_dbus_adaptor_header_clean:
240 compiler_dbus_adaptor_moc_make_all:
241 compiler_dbus_adaptor_moc_clean:
242 compiler_uic_make_all:
244 compiler_yacc_decl_make_all:
245 compiler_yacc_decl_clean:
246 compiler_yacc_impl_make_all:
247 compiler_yacc_impl_clean:
248 compiler_lex_make_all:
250 compiler_clean: compiler_moc_header_clean
254 tpsession.o: tpsession.cpp tpsession.h \
258 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tpsession.o tpsession.cpp
260 tpsessionaccount.o: tpsessionaccount.cpp tpsessionaccount.h \
262 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tpsessionaccount.o tpsessionaccount.cpp
264 tpsessionchannel.o: tpsessionchannel.cpp tpsessionchannel.h
265 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tpsessionchannel.o tpsessionchannel.cpp
267 tpsessionobserver.o: tpsessionobserver.cpp tpsessionobserver.h \
271 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tpsessionobserver.o tpsessionobserver.cpp
273 moc_tpsession.o: moc_tpsession.cpp
274 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tpsession.o moc_tpsession.cpp
276 moc_tpsessionaccount.o: moc_tpsessionaccount.cpp
277 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tpsessionaccount.o moc_tpsessionaccount.cpp
279 moc_tpsessionchannel.o: moc_tpsessionchannel.cpp
280 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tpsessionchannel.o moc_tpsessionchannel.cpp
282 moc_tpsessionobserver.o: moc_tpsessionobserver.cpp
283 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tpsessionobserver.o moc_tpsessionobserver.cpp
287 install_target: first FORCE
288 @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/opt/qt4-maemo5/lib/ || $(MKDIR) $(INSTALL_ROOT)/opt/qt4-maemo5/lib/
289 -$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/opt/qt4-maemo5/lib/$(TARGET)"
290 -$(STRIP) --strip-unneeded "$(INSTALL_ROOT)/opt/qt4-maemo5/lib/$(TARGET)"
291 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/opt/qt4-maemo5/lib/$(TARGET0)"
292 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/opt/qt4-maemo5/lib/$(TARGET1)"
293 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/opt/qt4-maemo5/lib/$(TARGET2)"
295 uninstall_target: FORCE
296 -$(DEL_FILE) "$(INSTALL_ROOT)/opt/qt4-maemo5/lib/$(TARGET)"
297 -$(DEL_FILE) "$(INSTALL_ROOT)/opt/qt4-maemo5/lib/$(TARGET0)"
298 -$(DEL_FILE) "$(INSTALL_ROOT)/opt/qt4-maemo5/lib/$(TARGET1)"
299 -$(DEL_FILE) "$(INSTALL_ROOT)/opt/qt4-maemo5/lib/$(TARGET2)"
300 -$(DEL_DIR) $(INSTALL_ROOT)/opt/qt4-maemo5/lib/
303 install_dev: first FORCE
304 @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/ || $(MKDIR) $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/
305 -$(INSTALL_FILE) /home/kathy/sb/fremantle/tpsession-0.1/tpsession/tpsession.h $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/
306 -$(INSTALL_FILE) /home/kathy/sb/fremantle/tpsession-0.1/tpsession/tpsessionaccount.h $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/
307 -$(INSTALL_FILE) /home/kathy/sb/fremantle/tpsession-0.1/tpsession/tpsessionchannel.h $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/
308 -$(INSTALL_FILE) /home/kathy/sb/fremantle/tpsession-0.1/tpsession/tpsessionobserver.h $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/
312 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/tpsession.h
313 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/tpsessionaccount.h
314 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/tpsessionchannel.h
315 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/tpsessionobserver.h
316 -$(DEL_DIR) $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/
319 install_pkg: first FORCE
320 @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib/pkgconfig/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib/pkgconfig/
321 -$(INSTALL_FILE) /home/kathy/sb/fremantle/tpsession-0.1/tpsession/TpSession.pc $(INSTALL_ROOT)/usr/lib/pkgconfig/
325 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/pkgconfig/TpSession.pc
326 -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/pkgconfig/
329 install: install_target install_dev install_pkg FORCE
331 uninstall: uninstall_target uninstall_dev uninstall_pkg FORCE