Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

Makefile 8.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. #############################################################################
  2. # Makefile for building: tests
  3. # Generated by qmake (2.01a) (Qt 4.8.2) on: mer. janv. 1 15:03:53 2014
  4. # Project: tests.pro
  5. # Template: app
  6. # Command: /usr/bin/qmake -o Makefile tests.pro
  7. #############################################################################
  8. ####### Compiler, tools and options
  9. CC = gcc
  10. CXX = g++
  11. DEFINES = -DQT_WEBKIT -DPT_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
  12. CFLAGS = -m64 -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
  13. CXXFLAGS = -m64 -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
  14. INCPATH = -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4 -I../ptsocket -I.
  15. LINK = g++
  16. LFLAGS = -m64
  17. LIBS = $(SUBLIBS) -L/usr/lib/x86_64-linux-gnu -L/pxeroot/root/share/libptsocket/tests/../ptsocket/ -lptsocket -lQtNetwork -lQtCore -lpthread
  18. AR = ar cqs
  19. RANLIB =
  20. QMAKE = /usr/bin/qmake
  21. TAR = tar -cf
  22. COMPRESS = gzip -9f
  23. COPY = cp -f
  24. SED = sed
  25. COPY_FILE = $(COPY)
  26. COPY_DIR = $(COPY) -r
  27. STRIP = strip
  28. INSTALL_FILE = install -m 644 -p
  29. INSTALL_DIR = $(COPY_DIR)
  30. INSTALL_PROGRAM = install -m 755 -p
  31. DEL_FILE = rm -f
  32. SYMLINK = ln -f -s
  33. DEL_DIR = rmdir
  34. MOVE = mv -f
  35. CHK_DIR_EXISTS= test -d
  36. MKDIR = mkdir -p
  37. ####### Output directory
  38. OBJECTS_DIR = ./
  39. ####### Files
  40. SOURCES = main.cpp \
  41. test.cpp moc_test.cpp
  42. OBJECTS = main.o \
  43. test.o \
  44. moc_test.o
  45. DIST = /usr/share/qt4/mkspecs/common/unix.conf \
  46. /usr/share/qt4/mkspecs/common/linux.conf \
  47. /usr/share/qt4/mkspecs/common/gcc-base.conf \
  48. /usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
  49. /usr/share/qt4/mkspecs/common/g++-base.conf \
  50. /usr/share/qt4/mkspecs/common/g++-unix.conf \
  51. /usr/share/qt4/mkspecs/qconfig.pri \
  52. /usr/share/qt4/mkspecs/modules/qt_phonon.pri \
  53. /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
  54. /usr/share/qt4/mkspecs/features/qt_functions.prf \
  55. /usr/share/qt4/mkspecs/features/qt_config.prf \
  56. /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
  57. /usr/share/qt4/mkspecs/features/default_pre.prf \
  58. ../commons.pri \
  59. /usr/share/qt4/mkspecs/features/debug.prf \
  60. /usr/share/qt4/mkspecs/features/default_post.prf \
  61. /usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
  62. /usr/share/qt4/mkspecs/features/warn_on.prf \
  63. /usr/share/qt4/mkspecs/features/qt.prf \
  64. /usr/share/qt4/mkspecs/features/unix/thread.prf \
  65. /usr/share/qt4/mkspecs/features/moc.prf \
  66. /usr/share/qt4/mkspecs/features/resources.prf \
  67. /usr/share/qt4/mkspecs/features/uic.prf \
  68. /usr/share/qt4/mkspecs/features/yacc.prf \
  69. /usr/share/qt4/mkspecs/features/lex.prf \
  70. /usr/share/qt4/mkspecs/features/include_source_dir.prf \
  71. tests.pro
  72. QMAKE_TARGET = tests
  73. DESTDIR =
  74. TARGET = tests
  75. first: all
  76. ####### Implicit rules
  77. .SUFFIXES: .o .c .cpp .cc .cxx .C
  78. .cpp.o:
  79. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
  80. .cc.o:
  81. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
  82. .cxx.o:
  83. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
  84. .C.o:
  85. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
  86. .c.o:
  87. $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
  88. ####### Build rules
  89. all: Makefile $(TARGET)
  90. $(TARGET): $(OBJECTS)
  91. $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
  92. { test -n "$(DESTDIR)" && DESTDIR="$(DESTDIR)" || DESTDIR=.; } && test $$(gdb --version | sed -e 's,[^0-9]\+\([0-9]\)\.\([0-9]\).*,\1\2,;q') -gt 72 && gdb --nx --batch --quiet -ex 'set confirm off' -ex "save gdb-index $$DESTDIR" -ex quit '$(TARGET)' && test -f $(TARGET).gdb-index && objcopy --add-section '.gdb_index=$(TARGET).gdb-index' --set-section-flags '.gdb_index=readonly' '$(TARGET)' '$(TARGET)' && rm -f $(TARGET).gdb-index || true
  93. Makefile: tests.pro /usr/share/qt4/mkspecs/linux-g++-64/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
  94. /usr/share/qt4/mkspecs/common/linux.conf \
  95. /usr/share/qt4/mkspecs/common/gcc-base.conf \
  96. /usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
  97. /usr/share/qt4/mkspecs/common/g++-base.conf \
  98. /usr/share/qt4/mkspecs/common/g++-unix.conf \
  99. /usr/share/qt4/mkspecs/qconfig.pri \
  100. /usr/share/qt4/mkspecs/modules/qt_phonon.pri \
  101. /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
  102. /usr/share/qt4/mkspecs/features/qt_functions.prf \
  103. /usr/share/qt4/mkspecs/features/qt_config.prf \
  104. /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
  105. /usr/share/qt4/mkspecs/features/default_pre.prf \
  106. ../commons.pri \
  107. /usr/share/qt4/mkspecs/features/debug.prf \
  108. /usr/share/qt4/mkspecs/features/default_post.prf \
  109. /usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
  110. /usr/share/qt4/mkspecs/features/warn_on.prf \
  111. /usr/share/qt4/mkspecs/features/qt.prf \
  112. /usr/share/qt4/mkspecs/features/unix/thread.prf \
  113. /usr/share/qt4/mkspecs/features/moc.prf \
  114. /usr/share/qt4/mkspecs/features/resources.prf \
  115. /usr/share/qt4/mkspecs/features/uic.prf \
  116. /usr/share/qt4/mkspecs/features/yacc.prf \
  117. /usr/share/qt4/mkspecs/features/lex.prf \
  118. /usr/share/qt4/mkspecs/features/include_source_dir.prf \
  119. /usr/lib/x86_64-linux-gnu/libQtNetwork.prl \
  120. /usr/lib/x86_64-linux-gnu/libQtCore.prl
  121. $(QMAKE) -o Makefile tests.pro
  122. /usr/share/qt4/mkspecs/common/unix.conf:
  123. /usr/share/qt4/mkspecs/common/linux.conf:
  124. /usr/share/qt4/mkspecs/common/gcc-base.conf:
  125. /usr/share/qt4/mkspecs/common/gcc-base-unix.conf:
  126. /usr/share/qt4/mkspecs/common/g++-base.conf:
  127. /usr/share/qt4/mkspecs/common/g++-unix.conf:
  128. /usr/share/qt4/mkspecs/qconfig.pri:
  129. /usr/share/qt4/mkspecs/modules/qt_phonon.pri:
  130. /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri:
  131. /usr/share/qt4/mkspecs/features/qt_functions.prf:
  132. /usr/share/qt4/mkspecs/features/qt_config.prf:
  133. /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
  134. /usr/share/qt4/mkspecs/features/default_pre.prf:
  135. ../commons.pri:
  136. /usr/share/qt4/mkspecs/features/debug.prf:
  137. /usr/share/qt4/mkspecs/features/default_post.prf:
  138. /usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
  139. /usr/share/qt4/mkspecs/features/warn_on.prf:
  140. /usr/share/qt4/mkspecs/features/qt.prf:
  141. /usr/share/qt4/mkspecs/features/unix/thread.prf:
  142. /usr/share/qt4/mkspecs/features/moc.prf:
  143. /usr/share/qt4/mkspecs/features/resources.prf:
  144. /usr/share/qt4/mkspecs/features/uic.prf:
  145. /usr/share/qt4/mkspecs/features/yacc.prf:
  146. /usr/share/qt4/mkspecs/features/lex.prf:
  147. /usr/share/qt4/mkspecs/features/include_source_dir.prf:
  148. /usr/lib/x86_64-linux-gnu/libQtNetwork.prl:
  149. /usr/lib/x86_64-linux-gnu/libQtCore.prl:
  150. qmake: FORCE
  151. @$(QMAKE) -o Makefile tests.pro
  152. dist:
  153. @$(CHK_DIR_EXISTS) .tmp/tests1.0.0 || $(MKDIR) .tmp/tests1.0.0
  154. $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/tests1.0.0/ && $(COPY_FILE) --parents test.h .tmp/tests1.0.0/ && $(COPY_FILE) --parents main.cpp test.cpp .tmp/tests1.0.0/ && (cd `dirname .tmp/tests1.0.0` && $(TAR) tests1.0.0.tar tests1.0.0 && $(COMPRESS) tests1.0.0.tar) && $(MOVE) `dirname .tmp/tests1.0.0`/tests1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/tests1.0.0
  155. clean:compiler_clean
  156. -$(DEL_FILE) $(OBJECTS)
  157. -$(DEL_FILE) *~ core *.core
  158. ####### Sub-libraries
  159. distclean: clean
  160. -$(DEL_FILE) $(TARGET)
  161. -$(DEL_FILE) Makefile
  162. check: first
  163. mocclean: compiler_moc_header_clean compiler_moc_source_clean
  164. mocables: compiler_moc_header_make_all compiler_moc_source_make_all
  165. compiler_moc_header_make_all: moc_test.cpp
  166. compiler_moc_header_clean:
  167. -$(DEL_FILE) moc_test.cpp
  168. moc_test.cpp: ../ptsocket/ptserver.h \
  169. ../ptsocket/libptsocket_global.h \
  170. ../ptsocket/ptsocket.h \
  171. test.h
  172. /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) test.h -o moc_test.cpp
  173. compiler_rcc_make_all:
  174. compiler_rcc_clean:
  175. compiler_image_collection_make_all: qmake_image_collection.cpp
  176. compiler_image_collection_clean:
  177. -$(DEL_FILE) qmake_image_collection.cpp
  178. compiler_moc_source_make_all:
  179. compiler_moc_source_clean:
  180. compiler_uic_make_all:
  181. compiler_uic_clean:
  182. compiler_yacc_decl_make_all:
  183. compiler_yacc_decl_clean:
  184. compiler_yacc_impl_make_all:
  185. compiler_yacc_impl_clean:
  186. compiler_lex_make_all:
  187. compiler_lex_clean:
  188. compiler_clean: compiler_moc_header_clean
  189. ####### Compile
  190. main.o: main.cpp test.h \
  191. ../ptsocket/ptserver.h \
  192. ../ptsocket/libptsocket_global.h \
  193. ../ptsocket/ptsocket.h
  194. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
  195. test.o: test.cpp test.h \
  196. ../ptsocket/ptserver.h \
  197. ../ptsocket/libptsocket_global.h \
  198. ../ptsocket/ptsocket.h
  199. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o test.o test.cpp
  200. moc_test.o: moc_test.cpp
  201. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_test.o moc_test.cpp
  202. ####### Install
  203. install: FORCE
  204. uninstall: FORCE
  205. FORCE: