############################################################################# # Makefile for building: libbitdht.a # Generated by qmake (2.01a) (Qt 4.8.2) on: Thu Jun 14 18:45:54 2012 # Project: libbitdht.pro # Template: lib # Command: /usr/bin/qmake-qt4 -o Makefile.libbitdht libbitdht.pro ############################################################################# ####### Compiler, tools and options CC = g++ CXX = g++ DEFINES = CFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -O2 -fPIC -Wall -W $(DEFINES) CXXFLAGS = -pipe -Wall -DBE_DEBUG -g -fno-omit-frame-pointer -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -O2 -fPIC -Wall -W $(DEFINES) INCPATH = -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I. AR = ar cqs RANLIB = QMAKE = /usr/bin/qmake-qt4 TAR = tar -cf COMPRESS = gzip -9f COPY = cp -f SED = sed COPY_FILE = $(COPY) COPY_DIR = $(COPY) -r 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 = temp/linux-g++/obj/ ####### Files SOURCES = bitdht/bencode.c \ bitdht/bdobj.cc \ bitdht/bdmsgs.cc \ bitdht/bdpeer.cc \ bitdht/bdquery.cc \ bitdht/bdhash.cc \ bitdht/bdstore.cc \ bitdht/bdnode.cc \ bitdht/bdmanager.cc \ bitdht/bdstddht.cc \ bitdht/bdhistory.cc \ util/bdnet.cc \ util/bdthreads.cc \ util/bdrandom.cc \ util/bdstring.cc \ udp/udplayer.cc \ udp/udpstack.cc \ udp/udpbitdht.cc \ bitdht/bdconnection.cc \ bitdht/bdfilter.cc \ bitdht/bdaccount.cc \ bitdht/bdquerymgr.cc \ util/bdbloom.cc \ bitdht/bdfriendlist.cc OBJECTS = temp/linux-g++/obj/bencode.o \ temp/linux-g++/obj/bdobj.o \ temp/linux-g++/obj/bdmsgs.o \ temp/linux-g++/obj/bdpeer.o \ temp/linux-g++/obj/bdquery.o \ temp/linux-g++/obj/bdhash.o \ temp/linux-g++/obj/bdstore.o \ temp/linux-g++/obj/bdnode.o \ temp/linux-g++/obj/bdmanager.o \ temp/linux-g++/obj/bdstddht.o \ temp/linux-g++/obj/bdhistory.o \ temp/linux-g++/obj/bdnet.o \ temp/linux-g++/obj/bdthreads.o \ temp/linux-g++/obj/bdrandom.o \ temp/linux-g++/obj/bdstring.o \ temp/linux-g++/obj/udplayer.o \ temp/linux-g++/obj/udpstack.o \ temp/linux-g++/obj/udpbitdht.o \ temp/linux-g++/obj/bdconnection.o \ temp/linux-g++/obj/bdfilter.o \ temp/linux-g++/obj/bdaccount.o \ temp/linux-g++/obj/bdquerymgr.o \ temp/linux-g++/obj/bdbloom.o \ temp/linux-g++/obj/bdfriendlist.o DIST = /usr/lib/qt4/mkspecs/common/unix.conf \ /usr/lib/qt4/mkspecs/common/linux.conf \ /usr/lib/qt4/mkspecs/common/gcc-base.conf \ /usr/lib/qt4/mkspecs/common/gcc-base-unix.conf \ /usr/lib/qt4/mkspecs/common/g++-base.conf \ /usr/lib/qt4/mkspecs/common/g++-unix.conf \ /usr/lib/qt4/mkspecs/qconfig.pri \ /usr/lib/qt4/mkspecs/modules/qt_phonon.pri \ /usr/lib/qt4/mkspecs/modules/qt_webkit_version.pri \ /usr/lib/qt4/mkspecs/features/qt_functions.prf \ /usr/lib/qt4/mkspecs/features/qt_config.prf \ /usr/lib/qt4/mkspecs/features/exclusive_builds.prf \ /usr/lib/qt4/mkspecs/features/default_pre.prf \ /usr/lib/qt4/mkspecs/features/release.prf \ /usr/lib/qt4/mkspecs/features/default_post.prf \ /usr/lib/qt4/mkspecs/features/staticlib.prf \ /usr/lib/qt4/mkspecs/features/static.prf \ /usr/lib/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ /usr/lib/qt4/mkspecs/features/warn_on.prf \ /usr/lib/qt4/mkspecs/features/resources.prf \ /usr/lib/qt4/mkspecs/features/uic.prf \ /usr/lib/qt4/mkspecs/features/yacc.prf \ /usr/lib/qt4/mkspecs/features/lex.prf \ /usr/lib/qt4/mkspecs/features/include_source_dir.prf \ libbitdht.pro QMAKE_TARGET = bitdht DESTDIR = lib/ TARGET = libbitdht.a 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.libbitdht lib/$(TARGET) staticlib: lib/$(TARGET) lib/$(TARGET): $(OBJECTS) $(OBJCOMP) @$(CHK_DIR_EXISTS) lib/ || $(MKDIR) lib/ -$(DEL_FILE) $(TARGET) $(AR) $(TARGET) $(OBJECTS) -$(DEL_FILE) lib/$(TARGET) -$(MOVE) $(TARGET) lib/ Makefile.libbitdht: libbitdht.pro /usr/lib/qt4/mkspecs/linux-g++/qmake.conf /usr/lib/qt4/mkspecs/common/unix.conf \ /usr/lib/qt4/mkspecs/common/linux.conf \ /usr/lib/qt4/mkspecs/common/gcc-base.conf \ /usr/lib/qt4/mkspecs/common/gcc-base-unix.conf \ /usr/lib/qt4/mkspecs/common/g++-base.conf \ /usr/lib/qt4/mkspecs/common/g++-unix.conf \ /usr/lib/qt4/mkspecs/qconfig.pri \ /usr/lib/qt4/mkspecs/modules/qt_phonon.pri \ /usr/lib/qt4/mkspecs/modules/qt_webkit_version.pri \ /usr/lib/qt4/mkspecs/features/qt_functions.prf \ /usr/lib/qt4/mkspecs/features/qt_config.prf \ /usr/lib/qt4/mkspecs/features/exclusive_builds.prf \ /usr/lib/qt4/mkspecs/features/default_pre.prf \ /usr/lib/qt4/mkspecs/features/release.prf \ /usr/lib/qt4/mkspecs/features/default_post.prf \ /usr/lib/qt4/mkspecs/features/staticlib.prf \ /usr/lib/qt4/mkspecs/features/static.prf \ /usr/lib/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ /usr/lib/qt4/mkspecs/features/warn_on.prf \ /usr/lib/qt4/mkspecs/features/resources.prf \ /usr/lib/qt4/mkspecs/features/uic.prf \ /usr/lib/qt4/mkspecs/features/yacc.prf \ /usr/lib/qt4/mkspecs/features/lex.prf \ /usr/lib/qt4/mkspecs/features/include_source_dir.prf $(QMAKE) -o Makefile.libbitdht libbitdht.pro /usr/lib/qt4/mkspecs/common/unix.conf: /usr/lib/qt4/mkspecs/common/linux.conf: /usr/lib/qt4/mkspecs/common/gcc-base.conf: /usr/lib/qt4/mkspecs/common/gcc-base-unix.conf: /usr/lib/qt4/mkspecs/common/g++-base.conf: /usr/lib/qt4/mkspecs/common/g++-unix.conf: /usr/lib/qt4/mkspecs/qconfig.pri: /usr/lib/qt4/mkspecs/modules/qt_phonon.pri: /usr/lib/qt4/mkspecs/modules/qt_webkit_version.pri: /usr/lib/qt4/mkspecs/features/qt_functions.prf: /usr/lib/qt4/mkspecs/features/qt_config.prf: /usr/lib/qt4/mkspecs/features/exclusive_builds.prf: /usr/lib/qt4/mkspecs/features/default_pre.prf: /usr/lib/qt4/mkspecs/features/release.prf: /usr/lib/qt4/mkspecs/features/default_post.prf: /usr/lib/qt4/mkspecs/features/staticlib.prf: /usr/lib/qt4/mkspecs/features/static.prf: /usr/lib/qt4/mkspecs/features/unix/gdb_dwarf_index.prf: /usr/lib/qt4/mkspecs/features/warn_on.prf: /usr/lib/qt4/mkspecs/features/resources.prf: /usr/lib/qt4/mkspecs/features/uic.prf: /usr/lib/qt4/mkspecs/features/yacc.prf: /usr/lib/qt4/mkspecs/features/lex.prf: /usr/lib/qt4/mkspecs/features/include_source_dir.prf: qmake: FORCE @$(QMAKE) -o Makefile.libbitdht libbitdht.pro dist: @$(CHK_DIR_EXISTS) temp/linux-g++/obj/bitdht1.0.0 || $(MKDIR) temp/linux-g++/obj/bitdht1.0.0 $(COPY_FILE) --parents $(SOURCES) $(DIST) temp/linux-g++/obj/bitdht1.0.0/ && (cd `dirname temp/linux-g++/obj/bitdht1.0.0` && $(TAR) bitdht1.0.0.tar bitdht1.0.0 && $(COMPRESS) bitdht1.0.0.tar) && $(MOVE) `dirname temp/linux-g++/obj/bitdht1.0.0`/bitdht1.0.0.tar.gz . && $(DEL_FILE) -r temp/linux-g++/obj/bitdht1.0.0 clean:compiler_clean -$(DEL_FILE) $(OBJECTS) -$(DEL_FILE) *~ core *.core ####### Sub-libraries distclean: clean -$(DEL_FILE) $(TARGET) -$(DEL_FILE) Makefile.libbitdht check: first compiler_rcc_make_all: compiler_rcc_clean: compiler_uic_make_all: compiler_uic_clean: compiler_image_collection_make_all: qmake_image_collection.cpp compiler_image_collection_clean: -$(DEL_FILE) qmake_image_collection.cpp 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: ####### Compile temp/linux-g++/obj/bencode.o: bitdht/bencode.c util/bdstring.h \ bitdht/bencode.h $(CC) -c $(CFLAGS) $(INCPATH) -o temp/linux-g++/obj/bencode.o bitdht/bencode.c temp/linux-g++/obj/bdobj.o: bitdht/bdobj.cc bitdht/bdobj.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/bdobj.o bitdht/bdobj.cc temp/linux-g++/obj/bdmsgs.o: bitdht/bdmsgs.cc bitdht/bencode.h \ bitdht/bdmsgs.h \ bitdht/bdobj.h \ bitdht/bdpeer.h \ bitdht/bdiface.h \ util/bdnet.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/bdmsgs.o bitdht/bdmsgs.cc temp/linux-g++/obj/bdpeer.o: bitdht/bdpeer.cc bitdht/bdpeer.h \ bitdht/bdiface.h \ util/bdnet.h \ util/bdrandom.h \ util/bdthreads.h \ util/bdstring.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/bdpeer.o bitdht/bdpeer.cc temp/linux-g++/obj/bdquery.o: bitdht/bdquery.cc bitdht/bdquery.h \ bitdht/bdiface.h \ util/bdnet.h \ bitdht/bdpeer.h \ bitdht/bdobj.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/bdquery.o bitdht/bdquery.cc temp/linux-g++/obj/bdhash.o: bitdht/bdhash.cc bitdht/bdhash.h \ bitdht/bdpeer.h \ bitdht/bdiface.h \ util/bdnet.h \ bitdht/bdstddht.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/bdhash.o bitdht/bdhash.cc temp/linux-g++/obj/bdstore.o: bitdht/bdstore.cc bitdht/bdstore.h \ bitdht/bdiface.h \ util/bdnet.h \ bitdht/bdpeer.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/bdstore.o bitdht/bdstore.cc temp/linux-g++/obj/bdnode.o: bitdht/bdnode.cc bitdht/bdnode.h \ bitdht/bdpeer.h \ bitdht/bdiface.h \ util/bdnet.h \ bitdht/bdquery.h \ bitdht/bdobj.h \ bitdht/bdstore.h \ bitdht/bdhash.h \ bitdht/bdhistory.h \ bitdht/bdconnection.h \ bitdht/bdaccount.h \ bitdht/bdfriendlist.h \ bitdht/bencode.h \ bitdht/bdmsgs.h \ bitdht/bdquerymgr.h \ bitdht/bdfilter.h \ util/bdrandom.h \ util/bdthreads.h \ util/bdstring.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/bdnode.o bitdht/bdnode.cc temp/linux-g++/obj/bdmanager.o: bitdht/bdmanager.cc bitdht/bdiface.h \ util/bdnet.h \ bitdht/bdstddht.h \ bitdht/bdmanager.h \ bitdht/bdnode.h \ bitdht/bdpeer.h \ bitdht/bdquery.h \ bitdht/bdobj.h \ bitdht/bdstore.h \ bitdht/bdhash.h \ bitdht/bdhistory.h \ bitdht/bdconnection.h \ bitdht/bdaccount.h \ bitdht/bdfriendlist.h \ util/bdbloom.h \ bitdht/bdmsgs.h \ bitdht/bencode.h \ bitdht/bdquerymgr.h \ bitdht/bdfilter.h \ util/bdrandom.h \ util/bdthreads.h \ util/bdstring.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/bdmanager.o bitdht/bdmanager.cc temp/linux-g++/obj/bdstddht.o: bitdht/bdstddht.cc bitdht/bdstddht.h \ bitdht/bdiface.h \ util/bdnet.h \ bitdht/bdpeer.h \ util/bdrandom.h \ util/bdthreads.h \ util/bdstring.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/bdstddht.o bitdht/bdstddht.cc temp/linux-g++/obj/bdhistory.o: bitdht/bdhistory.cc bitdht/bdhistory.h \ bitdht/bdpeer.h \ bitdht/bdiface.h \ util/bdnet.h \ bitdht/bdobj.h \ bitdht/bdstddht.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/bdhistory.o bitdht/bdhistory.cc temp/linux-g++/obj/bdnet.o: util/bdnet.cc util/bdnet.h \ util/bdstring.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/bdnet.o util/bdnet.cc temp/linux-g++/obj/bdthreads.o: util/bdthreads.cc util/bdthreads.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/bdthreads.o util/bdthreads.cc temp/linux-g++/obj/bdrandom.o: util/bdrandom.cc util/bdrandom.h \ util/bdthreads.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/bdrandom.o util/bdrandom.cc temp/linux-g++/obj/bdstring.o: util/bdstring.cc util/bdstring.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/bdstring.o util/bdstring.cc temp/linux-g++/obj/udplayer.o: udp/udplayer.cc udp/udplayer.h \ util/bdthreads.h \ util/bdnet.h \ util/bdrandom.h \ util/bdstring.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/udplayer.o udp/udplayer.cc temp/linux-g++/obj/udpstack.o: udp/udpstack.cc udp/udpstack.h \ util/bdthreads.h \ util/bdnet.h \ udp/udplayer.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/udpstack.o udp/udpstack.cc temp/linux-g++/obj/udpbitdht.o: udp/udpbitdht.cc udp/udpbitdht.h \ udp/udpstack.h \ util/bdthreads.h \ util/bdnet.h \ udp/udplayer.h \ bitdht/bdiface.h \ bitdht/bdmanager.h \ bitdht/bdnode.h \ bitdht/bdpeer.h \ bitdht/bdquery.h \ bitdht/bdobj.h \ bitdht/bdstore.h \ bitdht/bdhash.h \ bitdht/bdhistory.h \ bitdht/bdconnection.h \ bitdht/bdaccount.h \ bitdht/bdfriendlist.h \ util/bdbloom.h \ bitdht/bdmsgs.h \ bitdht/bencode.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/udpbitdht.o udp/udpbitdht.cc temp/linux-g++/obj/bdconnection.o: bitdht/bdconnection.cc bitdht/bdiface.h \ util/bdnet.h \ bitdht/bdnode.h \ bitdht/bdpeer.h \ bitdht/bdquery.h \ bitdht/bdobj.h \ bitdht/bdstore.h \ bitdht/bdhash.h \ bitdht/bdhistory.h \ bitdht/bdconnection.h \ bitdht/bdaccount.h \ bitdht/bdfriendlist.h \ bitdht/bdquerymgr.h \ bitdht/bdmsgs.h \ bitdht/bencode.h \ bitdht/bdstddht.h \ util/bdrandom.h \ util/bdthreads.h \ util/bdstring.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/bdconnection.o bitdht/bdconnection.cc temp/linux-g++/obj/bdfilter.o: bitdht/bdfilter.cc bitdht/bdfilter.h \ bitdht/bdiface.h \ util/bdnet.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/bdfilter.o bitdht/bdfilter.cc temp/linux-g++/obj/bdaccount.o: bitdht/bdaccount.cc bitdht/bdaccount.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/bdaccount.o bitdht/bdaccount.cc temp/linux-g++/obj/bdquerymgr.o: bitdht/bdquerymgr.cc bitdht/bdquerymgr.h \ bitdht/bdquery.h \ bitdht/bdiface.h \ util/bdnet.h \ bitdht/bdpeer.h \ bitdht/bdobj.h \ bitdht/bdnode.h \ bitdht/bdstore.h \ bitdht/bdhash.h \ bitdht/bdhistory.h \ bitdht/bdconnection.h \ bitdht/bdaccount.h \ bitdht/bdfriendlist.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/bdquerymgr.o bitdht/bdquerymgr.cc temp/linux-g++/obj/bdbloom.o: util/bdbloom.cc util/bdbloom.h \ util/bdstring.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/bdbloom.o util/bdbloom.cc temp/linux-g++/obj/bdfriendlist.o: bitdht/bdfriendlist.cc bitdht/bdfriendlist.h \ bitdht/bdiface.h \ util/bdnet.h \ bitdht/bdstddht.h \ bitdht/bdpeer.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o temp/linux-g++/obj/bdfriendlist.o bitdht/bdfriendlist.cc ####### Install install: FORCE uninstall: FORCE FORCE: