X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=tpsession-0.1%2Ftpsession%2FMakefile;fp=tpsession-0.1%2Ftpsession%2FMakefile;h=435c77bc117bdb26d85e22e7a94a39652aa17ba9;hb=9a48f77860a2bb996f3ca318fe3c19096110f28a;hp=0000000000000000000000000000000000000000;hpb=f116f1ac60b47e9186e4eef5f68597980518a2eb;p=tpsession diff --git a/tpsession-0.1/tpsession/Makefile b/tpsession-0.1/tpsession/Makefile new file mode 100644 index 0000000..435c77b --- /dev/null +++ b/tpsession-0.1/tpsession/Makefile @@ -0,0 +1,334 @@ +############################################################################# +# Makefile for building: libtpsession.so.0.1.0 +# Generated by qmake (2.01a) (Qt 4.6.1) on: Mon Feb 8 23:30:46 2010 +# Project: tpsession.pro +# Template: lib +# 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 +############################################################################# + +####### Compiler, tools and options + +CC = cc +CXX = g++ +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 +CFLAGS = -pipe -g -Wall -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES) +CXXFLAGS = -pipe -g -Wall -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES) +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. +LINK = g++ +LFLAGS = -Wl,-rpath-link,/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -Wl,-rpath,/opt/qt4-maemo5/lib -shared -Wl,-soname,libtpsession.so.0 +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 +AR = ar cqs +RANLIB = +QMAKE = /opt/qt4-maemo5/bin/qmake +TAR = tar -cf +COMPRESS = gzip -9f +COPY = cp -f +SED = sed +COPY_FILE = $(COPY) +COPY_DIR = $(COPY) -r +STRIP = echo +INSTALL_FILE = install -m 644 -p +INSTALL_DIR = $(COPY_DIR) +INSTALL_PROGRAM = install -m 755 -p +DEL_FILE = rm -f +SYMLINK = ln -f -s +DEL_DIR = rmdir +MOVE = mv -f +CHK_DIR_EXISTS= test -d +MKDIR = mkdir -p + +####### Output directory + +OBJECTS_DIR = ./ + +####### Files + +SOURCES = tpsession.cpp \ + tpsessionaccount.cpp \ + tpsessionchannel.cpp \ + tpsessionobserver.cpp moc_tpsession.cpp \ + moc_tpsessionaccount.cpp \ + moc_tpsessionchannel.cpp \ + moc_tpsessionobserver.cpp +OBJECTS = tpsession.o \ + tpsessionaccount.o \ + tpsessionchannel.o \ + tpsessionobserver.o \ + moc_tpsession.o \ + moc_tpsessionaccount.o \ + moc_tpsessionchannel.o \ + moc_tpsessionobserver.o +DIST = /opt/qt4-maemo5/mkspecs/common/unix.conf \ + /opt/qt4-maemo5/mkspecs/common/linux.conf \ + /opt/qt4-maemo5/mkspecs/qconfig.pri \ + /opt/qt4-maemo5/mkspecs/features/qt_functions.prf \ + /opt/qt4-maemo5/mkspecs/features/qt_config.prf \ + /opt/qt4-maemo5/mkspecs/features/exclusive_builds.prf \ + /opt/qt4-maemo5/mkspecs/features/default_pre.prf \ + /opt/qt4-maemo5/mkspecs/features/release.prf \ + /opt/qt4-maemo5/mkspecs/features/default_post.prf \ + /opt/qt4-maemo5/mkspecs/features/warn_on.prf \ + /opt/qt4-maemo5/mkspecs/features/qt.prf \ + /opt/qt4-maemo5/mkspecs/features/moc.prf \ + /opt/qt4-maemo5/mkspecs/features/dbusinterfaces.prf \ + /opt/qt4-maemo5/mkspecs/features/dbusadaptors.prf \ + /opt/qt4-maemo5/mkspecs/features/unix/thread.prf \ + /opt/qt4-maemo5/mkspecs/features/resources.prf \ + /opt/qt4-maemo5/mkspecs/features/uic.prf \ + /opt/qt4-maemo5/mkspecs/features/yacc.prf \ + /opt/qt4-maemo5/mkspecs/features/lex.prf \ + /opt/qt4-maemo5/mkspecs/features/include_source_dir.prf \ + tpsession.pro +QMAKE_TARGET = tpsession +DESTDIR = +TARGET = libtpsession.so.0.1.0 +TARGETA = libtpsession.a +TARGETD = libtpsession.so.0.1.0 +TARGET0 = libtpsession.so +TARGET1 = libtpsession.so.0 +TARGET2 = libtpsession.so.0.1 + +first: all +####### Implicit rules + +.SUFFIXES: .o .c .cpp .cc .cxx .C + +.cpp.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" + +.cc.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" + +.cxx.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" + +.C.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" + +.c.o: + $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" + +####### Build rules + +all: Makefile $(TARGET) + +$(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP) + -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) + $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP) + -ln -s $(TARGET) $(TARGET0) + -ln -s $(TARGET) $(TARGET1) + -ln -s $(TARGET) $(TARGET2) + + + +staticlib: $(TARGETA) + +$(TARGETA): $(OBJECTS) $(OBJCOMP) + -$(DEL_FILE) $(TARGETA) + $(AR) $(TARGETA) $(OBJECTS) + +Makefile: tpsession.pro /opt/qt4-maemo5/mkspecs/linux-g++-maemo5/qmake.conf /opt/qt4-maemo5/mkspecs/common/unix.conf \ + /opt/qt4-maemo5/mkspecs/common/linux.conf \ + /opt/qt4-maemo5/mkspecs/qconfig.pri \ + /opt/qt4-maemo5/mkspecs/features/qt_functions.prf \ + /opt/qt4-maemo5/mkspecs/features/qt_config.prf \ + /opt/qt4-maemo5/mkspecs/features/exclusive_builds.prf \ + /opt/qt4-maemo5/mkspecs/features/default_pre.prf \ + /opt/qt4-maemo5/mkspecs/features/release.prf \ + /opt/qt4-maemo5/mkspecs/features/default_post.prf \ + /opt/qt4-maemo5/mkspecs/features/warn_on.prf \ + /opt/qt4-maemo5/mkspecs/features/qt.prf \ + /opt/qt4-maemo5/mkspecs/features/moc.prf \ + /opt/qt4-maemo5/mkspecs/features/dbusinterfaces.prf \ + /opt/qt4-maemo5/mkspecs/features/dbusadaptors.prf \ + /opt/qt4-maemo5/mkspecs/features/unix/thread.prf \ + /opt/qt4-maemo5/mkspecs/features/resources.prf \ + /opt/qt4-maemo5/mkspecs/features/uic.prf \ + /opt/qt4-maemo5/mkspecs/features/yacc.prf \ + /opt/qt4-maemo5/mkspecs/features/lex.prf \ + /opt/qt4-maemo5/mkspecs/features/include_source_dir.prf \ + /opt/qt4-maemo5/lib/libQtDBus.prl \ + /opt/qt4-maemo5/lib/libQtXml.prl \ + /opt/qt4-maemo5/lib/libQtCore.prl \ + /opt/qt4-maemo5/lib/libQtNetwork.prl + $(QMAKE) -unix QMAKE_CC\ =\ cc QMAKE_CXX\ =\ g++ QMAKE_CFLAGS_RELEASE\ =\ \ -g\ -Wall\ -O2 QMAKE_CXXFLAGS_RELEASE\ =\ \ -g\ -Wall\ -O2 -o Makefile tpsession.pro +/opt/qt4-maemo5/mkspecs/common/unix.conf: +/opt/qt4-maemo5/mkspecs/common/linux.conf: +/opt/qt4-maemo5/mkspecs/qconfig.pri: +/opt/qt4-maemo5/mkspecs/features/qt_functions.prf: +/opt/qt4-maemo5/mkspecs/features/qt_config.prf: +/opt/qt4-maemo5/mkspecs/features/exclusive_builds.prf: +/opt/qt4-maemo5/mkspecs/features/default_pre.prf: +/opt/qt4-maemo5/mkspecs/features/release.prf: +/opt/qt4-maemo5/mkspecs/features/default_post.prf: +/opt/qt4-maemo5/mkspecs/features/warn_on.prf: +/opt/qt4-maemo5/mkspecs/features/qt.prf: +/opt/qt4-maemo5/mkspecs/features/moc.prf: +/opt/qt4-maemo5/mkspecs/features/dbusinterfaces.prf: +/opt/qt4-maemo5/mkspecs/features/dbusadaptors.prf: +/opt/qt4-maemo5/mkspecs/features/unix/thread.prf: +/opt/qt4-maemo5/mkspecs/features/resources.prf: +/opt/qt4-maemo5/mkspecs/features/uic.prf: +/opt/qt4-maemo5/mkspecs/features/yacc.prf: +/opt/qt4-maemo5/mkspecs/features/lex.prf: +/opt/qt4-maemo5/mkspecs/features/include_source_dir.prf: +/opt/qt4-maemo5/lib/libQtDBus.prl: +/opt/qt4-maemo5/lib/libQtXml.prl: +/opt/qt4-maemo5/lib/libQtCore.prl: +/opt/qt4-maemo5/lib/libQtNetwork.prl: +qmake: FORCE + @$(QMAKE) -unix QMAKE_CC\ =\ cc QMAKE_CXX\ =\ g++ QMAKE_CFLAGS_RELEASE\ =\ \ -g\ -Wall\ -O2 QMAKE_CXXFLAGS_RELEASE\ =\ \ -g\ -Wall\ -O2 -o Makefile tpsession.pro + +dist: + @$(CHK_DIR_EXISTS) .tmp/tpsession0.1 || $(MKDIR) .tmp/tpsession0.1 + $(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 + + +clean:compiler_clean + -$(DEL_FILE) $(OBJECTS) + -$(DEL_FILE) *~ core *.core + + +####### Sub-libraries + +distclean: clean + -$(DEL_FILE) $(TARGET) + -$(DEL_FILE) $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA) + -$(DEL_FILE) Makefile + + +mocclean: compiler_moc_header_clean compiler_moc_source_clean + +mocables: compiler_moc_header_make_all compiler_moc_source_make_all + +compiler_moc_header_make_all: moc_tpsession.cpp moc_tpsessionaccount.cpp moc_tpsessionchannel.cpp moc_tpsessionobserver.cpp +compiler_moc_header_clean: + -$(DEL_FILE) moc_tpsession.cpp moc_tpsessionaccount.cpp moc_tpsessionchannel.cpp moc_tpsessionobserver.cpp +moc_tpsession.cpp: tpsessionaccount.h \ + tpsessionchannel.h \ + tpsessionobserver.h \ + tpsession.h + /opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) tpsession.h -o moc_tpsession.cpp + +moc_tpsessionaccount.cpp: tpsessionchannel.h \ + tpsessionaccount.h + /opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) tpsessionaccount.h -o moc_tpsessionaccount.cpp + +moc_tpsessionchannel.cpp: tpsessionchannel.h + /opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) tpsessionchannel.h -o moc_tpsessionchannel.cpp + +moc_tpsessionobserver.cpp: tpsessionobserver.h + /opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) tpsessionobserver.h -o moc_tpsessionobserver.cpp + +compiler_dbus_interface_source_make_all: +compiler_dbus_interface_source_clean: +compiler_dbus_adaptor_source_make_all: +compiler_dbus_adaptor_source_clean: +compiler_rcc_make_all: +compiler_rcc_clean: +compiler_image_collection_make_all: qmake_image_collection.cpp +compiler_image_collection_clean: + -$(DEL_FILE) qmake_image_collection.cpp +compiler_moc_source_make_all: +compiler_moc_source_clean: +compiler_dbus_interface_header_make_all: +compiler_dbus_interface_header_clean: +compiler_dbus_interface_moc_make_all: +compiler_dbus_interface_moc_clean: +compiler_dbus_adaptor_header_make_all: +compiler_dbus_adaptor_header_clean: +compiler_dbus_adaptor_moc_make_all: +compiler_dbus_adaptor_moc_clean: +compiler_uic_make_all: +compiler_uic_clean: +compiler_yacc_decl_make_all: +compiler_yacc_decl_clean: +compiler_yacc_impl_make_all: +compiler_yacc_impl_clean: +compiler_lex_make_all: +compiler_lex_clean: +compiler_clean: compiler_moc_header_clean + +####### Compile + +tpsession.o: tpsession.cpp tpsession.h \ + tpsessionaccount.h \ + tpsessionchannel.h \ + tpsessionobserver.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tpsession.o tpsession.cpp + +tpsessionaccount.o: tpsessionaccount.cpp tpsessionaccount.h \ + tpsessionchannel.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tpsessionaccount.o tpsessionaccount.cpp + +tpsessionchannel.o: tpsessionchannel.cpp tpsessionchannel.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tpsessionchannel.o tpsessionchannel.cpp + +tpsessionobserver.o: tpsessionobserver.cpp tpsessionobserver.h \ + tpsession.h \ + tpsessionaccount.h \ + tpsessionchannel.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tpsessionobserver.o tpsessionobserver.cpp + +moc_tpsession.o: moc_tpsession.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tpsession.o moc_tpsession.cpp + +moc_tpsessionaccount.o: moc_tpsessionaccount.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tpsessionaccount.o moc_tpsessionaccount.cpp + +moc_tpsessionchannel.o: moc_tpsessionchannel.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tpsessionchannel.o moc_tpsessionchannel.cpp + +moc_tpsessionobserver.o: moc_tpsessionobserver.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tpsessionobserver.o moc_tpsessionobserver.cpp + +####### Install + +install_target: first FORCE + @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/opt/qt4-maemo5/lib/ || $(MKDIR) $(INSTALL_ROOT)/opt/qt4-maemo5/lib/ + -$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/opt/qt4-maemo5/lib/$(TARGET)" + -$(STRIP) --strip-unneeded "$(INSTALL_ROOT)/opt/qt4-maemo5/lib/$(TARGET)" + -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/opt/qt4-maemo5/lib/$(TARGET0)" + -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/opt/qt4-maemo5/lib/$(TARGET1)" + -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/opt/qt4-maemo5/lib/$(TARGET2)" + +uninstall_target: FORCE + -$(DEL_FILE) "$(INSTALL_ROOT)/opt/qt4-maemo5/lib/$(TARGET)" + -$(DEL_FILE) "$(INSTALL_ROOT)/opt/qt4-maemo5/lib/$(TARGET0)" + -$(DEL_FILE) "$(INSTALL_ROOT)/opt/qt4-maemo5/lib/$(TARGET1)" + -$(DEL_FILE) "$(INSTALL_ROOT)/opt/qt4-maemo5/lib/$(TARGET2)" + -$(DEL_DIR) $(INSTALL_ROOT)/opt/qt4-maemo5/lib/ + + +install_dev: first FORCE + @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/ || $(MKDIR) $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/ + -$(INSTALL_FILE) /home/kathy/sb/fremantle/tpsession-0.1/tpsession/tpsession.h $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/ + -$(INSTALL_FILE) /home/kathy/sb/fremantle/tpsession-0.1/tpsession/tpsessionaccount.h $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/ + -$(INSTALL_FILE) /home/kathy/sb/fremantle/tpsession-0.1/tpsession/tpsessionchannel.h $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/ + -$(INSTALL_FILE) /home/kathy/sb/fremantle/tpsession-0.1/tpsession/tpsessionobserver.h $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/ + + +uninstall_dev: FORCE + -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/tpsession.h + -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/tpsessionaccount.h + -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/tpsessionchannel.h + -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/tpsessionobserver.h + -$(DEL_DIR) $(INSTALL_ROOT)/usr/include/telepathy-1.0/tpsession/ + + +install_pkg: first FORCE + @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib/pkgconfig/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib/pkgconfig/ + -$(INSTALL_FILE) /home/kathy/sb/fremantle/tpsession-0.1/tpsession/TpSession.pc $(INSTALL_ROOT)/usr/lib/pkgconfig/ + + +uninstall_pkg: FORCE + -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/pkgconfig/TpSession.pc + -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/pkgconfig/ + + +install: install_target install_dev install_pkg FORCE + +uninstall: uninstall_target uninstall_dev uninstall_pkg FORCE + +FORCE: +