X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=tpsession-0.1%2Ftests%2Fsyncsms%2FMakefile;fp=tpsession-0.1%2Ftests%2Fsyncsms%2FMakefile;h=2b4475c08491ec01d0cb3627f5ae850f7e0e9140;hb=9a48f77860a2bb996f3ca318fe3c19096110f28a;hp=0000000000000000000000000000000000000000;hpb=f116f1ac60b47e9186e4eef5f68597980518a2eb;p=tpsession diff --git a/tpsession-0.1/tests/syncsms/Makefile b/tpsession-0.1/tests/syncsms/Makefile new file mode 100644 index 0000000..2b4475c --- /dev/null +++ b/tpsession-0.1/tests/syncsms/Makefile @@ -0,0 +1,229 @@ +############################################################################# +# Makefile for building: syncsms +# Generated by qmake (2.01a) (Qt 4.6.1) on: Mon Feb 8 23:30:54 2010 +# Project: syncsms.pro +# Template: app +# 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 syncsms.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 $(DEFINES) +CXXFLAGS = -pipe -g -Wall -O2 -Wall -W -D_REENTRANT $(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../../tpsession -I. +LINK = g++ +LFLAGS = -Wl,-rpath-link,/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -Wl,-rpath,/opt/qt4-maemo5/lib +LIBS = $(SUBLIBS) -L/opt/qt4-maemo5/lib -ltelepathy-qt4 -L../../tpsession -ltpsession -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 = strip +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 = main.cpp \ + testprog.cpp moc_testprog.cpp +OBJECTS = main.o \ + testprog.o \ + moc_testprog.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 \ + syncsms.pro +QMAKE_TARGET = syncsms +DESTDIR = +TARGET = syncsms + +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) + $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) + +Makefile: syncsms.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 syncsms.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 syncsms.pro + +dist: + @$(CHK_DIR_EXISTS) .tmp/syncsms1.0.0 || $(MKDIR) .tmp/syncsms1.0.0 + $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/syncsms1.0.0/ && $(COPY_FILE) --parents testprog.h .tmp/syncsms1.0.0/ && $(COPY_FILE) --parents main.cpp testprog.cpp .tmp/syncsms1.0.0/ && (cd `dirname .tmp/syncsms1.0.0` && $(TAR) syncsms1.0.0.tar syncsms1.0.0 && $(COMPRESS) syncsms1.0.0.tar) && $(MOVE) `dirname .tmp/syncsms1.0.0`/syncsms1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/syncsms1.0.0 + + +clean:compiler_clean + -$(DEL_FILE) $(OBJECTS) + -$(DEL_FILE) *~ core *.core + + +####### Sub-libraries + +distclean: clean + -$(DEL_FILE) $(TARGET) + -$(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_testprog.cpp +compiler_moc_header_clean: + -$(DEL_FILE) moc_testprog.cpp +moc_testprog.cpp: testprog.h + /opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) testprog.h -o moc_testprog.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 + +main.o: main.cpp testprog.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp + +testprog.o: testprog.cpp testprog.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o testprog.o testprog.cpp + +moc_testprog.o: moc_testprog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_testprog.o moc_testprog.cpp + +####### Install + +install: FORCE + +uninstall: FORCE + +FORCE: +