435c77bc117bdb26d85e22e7a94a39652aa17ba9
[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.1) on: Mon Feb 8 23:30:46 2010
4 # Project:  tpsession.pro
5 # Template: lib
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 #############################################################################
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/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.
17 LINK          = g++
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 
20 AR            = ar cqs
21 RANLIB        = 
22 QMAKE         = /opt/qt4-maemo5/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          = /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 \
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  /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:
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                 tpsessionchannel.h \
209                 tpsessionobserver.h \
210                 tpsession.h
211         /opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) tpsession.h -o moc_tpsession.cpp
212
213 moc_tpsessionaccount.cpp: tpsessionchannel.h \
214                 tpsessionaccount.h
215         /opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) tpsessionaccount.h -o moc_tpsessionaccount.cpp
216
217 moc_tpsessionchannel.cpp: tpsessionchannel.h
218         /opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) tpsessionchannel.h -o moc_tpsessionchannel.cpp
219
220 moc_tpsessionobserver.cpp: tpsessionobserver.h
221         /opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) tpsessionobserver.h -o moc_tpsessionobserver.cpp
222
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:
228 compiler_rcc_clean:
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:
243 compiler_uic_clean:
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:
249 compiler_lex_clean:
250 compiler_clean: compiler_moc_header_clean 
251
252 ####### Compile
253
254 tpsession.o: tpsession.cpp tpsession.h \
255                 tpsessionaccount.h \
256                 tpsessionchannel.h \
257                 tpsessionobserver.h
258         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tpsession.o tpsession.cpp
259
260 tpsessionaccount.o: tpsessionaccount.cpp tpsessionaccount.h \
261                 tpsessionchannel.h
262         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tpsessionaccount.o tpsessionaccount.cpp
263
264 tpsessionchannel.o: tpsessionchannel.cpp tpsessionchannel.h
265         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tpsessionchannel.o tpsessionchannel.cpp
266
267 tpsessionobserver.o: tpsessionobserver.cpp tpsessionobserver.h \
268                 tpsession.h \
269                 tpsessionaccount.h \
270                 tpsessionchannel.h
271         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tpsessionobserver.o tpsessionobserver.cpp
272
273 moc_tpsession.o: moc_tpsession.cpp 
274         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tpsession.o moc_tpsession.cpp
275
276 moc_tpsessionaccount.o: moc_tpsessionaccount.cpp 
277         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tpsessionaccount.o moc_tpsessionaccount.cpp
278
279 moc_tpsessionchannel.o: moc_tpsessionchannel.cpp 
280         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tpsessionchannel.o moc_tpsessionchannel.cpp
281
282 moc_tpsessionobserver.o: moc_tpsessionobserver.cpp 
283         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tpsessionobserver.o moc_tpsessionobserver.cpp
284
285 ####### Install
286
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)"
294
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/ 
301
302
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/
309
310
311 uninstall_dev:  FORCE
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/ 
317
318
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/
322
323
324 uninstall_pkg:  FORCE
325         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/pkgconfig/TpSession.pc
326         -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/pkgconfig/ 
327
328
329 install:  install_target install_dev install_pkg  FORCE
330
331 uninstall: uninstall_target uninstall_dev uninstall_pkg   FORCE
332
333 FORCE:
334