選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

Makefile 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. #############################################################################
  2. # Makefile for building: libptsocket.so.1.5.0
  3. # Generated by qmake (2.01a) (Qt 4.8.2) on: jeu. janv. 2 17:22:55 2014
  4. # Project: ptsocket.pro
  5. # Template: lib
  6. # Command: /usr/bin/qmake -o Makefile ptsocket.pro
  7. #############################################################################
  8. ####### Compiler, tools and options
  9. CC = gcc
  10. CXX = g++
  11. DEFINES = -DQT_WEBKIT -DLIBPTSOCKET_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
  12. CFLAGS = -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
  13. CXXFLAGS = -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC $(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.
  15. LINK = g++
  16. LFLAGS = -m64 -Wl,-O1 -shared -Wl,-soname,libptsocket.so.1
  17. LIBS = $(SUBLIBS) -L/usr/lib/x86_64-linux-gnu -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 = ptsocket.cpp \
  41. ptserver.cpp \
  42. broadcast.cpp moc_ptsocket.cpp \
  43. moc_ptserver.cpp \
  44. moc_broadcast.cpp
  45. OBJECTS = ptsocket.o \
  46. ptserver.o \
  47. broadcast.o \
  48. moc_ptsocket.o \
  49. moc_ptserver.o \
  50. moc_broadcast.o
  51. DIST = /usr/share/qt4/mkspecs/common/unix.conf \
  52. /usr/share/qt4/mkspecs/common/linux.conf \
  53. /usr/share/qt4/mkspecs/common/gcc-base.conf \
  54. /usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
  55. /usr/share/qt4/mkspecs/common/g++-base.conf \
  56. /usr/share/qt4/mkspecs/common/g++-unix.conf \
  57. /usr/share/qt4/mkspecs/qconfig.pri \
  58. /usr/share/qt4/mkspecs/modules/qt_phonon.pri \
  59. /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
  60. /usr/share/qt4/mkspecs/features/qt_functions.prf \
  61. /usr/share/qt4/mkspecs/features/qt_config.prf \
  62. /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
  63. /usr/share/qt4/mkspecs/features/default_pre.prf \
  64. ../commons.pri \
  65. /usr/share/qt4/mkspecs/features/release.prf \
  66. /usr/share/qt4/mkspecs/features/default_post.prf \
  67. /usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
  68. /usr/share/qt4/mkspecs/features/warn_on.prf \
  69. /usr/share/qt4/mkspecs/features/qt.prf \
  70. /usr/share/qt4/mkspecs/features/unix/thread.prf \
  71. /usr/share/qt4/mkspecs/features/moc.prf \
  72. /usr/share/qt4/mkspecs/features/resources.prf \
  73. /usr/share/qt4/mkspecs/features/uic.prf \
  74. /usr/share/qt4/mkspecs/features/yacc.prf \
  75. /usr/share/qt4/mkspecs/features/lex.prf \
  76. /usr/share/qt4/mkspecs/features/include_source_dir.prf \
  77. ptsocket.pro
  78. QMAKE_TARGET = ptsocket
  79. DESTDIR =
  80. TARGET = libptsocket.so.1.5.0
  81. TARGETA = libptsocket.a
  82. TARGETD = libptsocket.so.1.5.0
  83. TARGET0 = libptsocket.so
  84. TARGET1 = libptsocket.so.1
  85. TARGET2 = libptsocket.so.1.5
  86. first: all
  87. ####### Implicit rules
  88. .SUFFIXES: .o .c .cpp .cc .cxx .C
  89. .cpp.o:
  90. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
  91. .cc.o:
  92. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
  93. .cxx.o:
  94. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
  95. .C.o:
  96. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
  97. .c.o:
  98. $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
  99. ####### Build rules
  100. all: Makefile $(TARGET)
  101. $(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP)
  102. -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
  103. $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
  104. -ln -s $(TARGET) $(TARGET0)
  105. -ln -s $(TARGET) $(TARGET1)
  106. -ln -s $(TARGET) $(TARGET2)
  107. staticlib: $(TARGETA)
  108. $(TARGETA): $(OBJECTS) $(OBJCOMP)
  109. -$(DEL_FILE) $(TARGETA)
  110. $(AR) $(TARGETA) $(OBJECTS)
  111. Makefile: ptsocket.pro /usr/share/qt4/mkspecs/linux-g++-64/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
  112. /usr/share/qt4/mkspecs/common/linux.conf \
  113. /usr/share/qt4/mkspecs/common/gcc-base.conf \
  114. /usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
  115. /usr/share/qt4/mkspecs/common/g++-base.conf \
  116. /usr/share/qt4/mkspecs/common/g++-unix.conf \
  117. /usr/share/qt4/mkspecs/qconfig.pri \
  118. /usr/share/qt4/mkspecs/modules/qt_phonon.pri \
  119. /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
  120. /usr/share/qt4/mkspecs/features/qt_functions.prf \
  121. /usr/share/qt4/mkspecs/features/qt_config.prf \
  122. /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
  123. /usr/share/qt4/mkspecs/features/default_pre.prf \
  124. ../commons.pri \
  125. /usr/share/qt4/mkspecs/features/release.prf \
  126. /usr/share/qt4/mkspecs/features/default_post.prf \
  127. /usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
  128. /usr/share/qt4/mkspecs/features/warn_on.prf \
  129. /usr/share/qt4/mkspecs/features/qt.prf \
  130. /usr/share/qt4/mkspecs/features/unix/thread.prf \
  131. /usr/share/qt4/mkspecs/features/moc.prf \
  132. /usr/share/qt4/mkspecs/features/resources.prf \
  133. /usr/share/qt4/mkspecs/features/uic.prf \
  134. /usr/share/qt4/mkspecs/features/yacc.prf \
  135. /usr/share/qt4/mkspecs/features/lex.prf \
  136. /usr/share/qt4/mkspecs/features/include_source_dir.prf \
  137. /usr/lib/x86_64-linux-gnu/libQtNetwork.prl \
  138. /usr/lib/x86_64-linux-gnu/libQtCore.prl
  139. $(QMAKE) -o Makefile ptsocket.pro
  140. /usr/share/qt4/mkspecs/common/unix.conf:
  141. /usr/share/qt4/mkspecs/common/linux.conf:
  142. /usr/share/qt4/mkspecs/common/gcc-base.conf:
  143. /usr/share/qt4/mkspecs/common/gcc-base-unix.conf:
  144. /usr/share/qt4/mkspecs/common/g++-base.conf:
  145. /usr/share/qt4/mkspecs/common/g++-unix.conf:
  146. /usr/share/qt4/mkspecs/qconfig.pri:
  147. /usr/share/qt4/mkspecs/modules/qt_phonon.pri:
  148. /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri:
  149. /usr/share/qt4/mkspecs/features/qt_functions.prf:
  150. /usr/share/qt4/mkspecs/features/qt_config.prf:
  151. /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
  152. /usr/share/qt4/mkspecs/features/default_pre.prf:
  153. ../commons.pri:
  154. /usr/share/qt4/mkspecs/features/release.prf:
  155. /usr/share/qt4/mkspecs/features/default_post.prf:
  156. /usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
  157. /usr/share/qt4/mkspecs/features/warn_on.prf:
  158. /usr/share/qt4/mkspecs/features/qt.prf:
  159. /usr/share/qt4/mkspecs/features/unix/thread.prf:
  160. /usr/share/qt4/mkspecs/features/moc.prf:
  161. /usr/share/qt4/mkspecs/features/resources.prf:
  162. /usr/share/qt4/mkspecs/features/uic.prf:
  163. /usr/share/qt4/mkspecs/features/yacc.prf:
  164. /usr/share/qt4/mkspecs/features/lex.prf:
  165. /usr/share/qt4/mkspecs/features/include_source_dir.prf:
  166. /usr/lib/x86_64-linux-gnu/libQtNetwork.prl:
  167. /usr/lib/x86_64-linux-gnu/libQtCore.prl:
  168. qmake: FORCE
  169. @$(QMAKE) -o Makefile ptsocket.pro
  170. dist:
  171. @$(CHK_DIR_EXISTS) .tmp/ptsocket1.5.0 || $(MKDIR) .tmp/ptsocket1.5.0
  172. $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/ptsocket1.5.0/ && $(COPY_FILE) --parents ptsocket.h libptsocket_global.h ptserver.h broadcast.h .tmp/ptsocket1.5.0/ && $(COPY_FILE) --parents ptsocket.cpp ptserver.cpp broadcast.cpp .tmp/ptsocket1.5.0/ && (cd `dirname .tmp/ptsocket1.5.0` && $(TAR) ptsocket1.5.0.tar ptsocket1.5.0 && $(COMPRESS) ptsocket1.5.0.tar) && $(MOVE) `dirname .tmp/ptsocket1.5.0`/ptsocket1.5.0.tar.gz . && $(DEL_FILE) -r .tmp/ptsocket1.5.0
  173. clean:compiler_clean
  174. -$(DEL_FILE) $(OBJECTS)
  175. -$(DEL_FILE) *~ core *.core
  176. ####### Sub-libraries
  177. distclean: clean
  178. -$(DEL_FILE) $(TARGET)
  179. -$(DEL_FILE) $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA)
  180. -$(DEL_FILE) Makefile
  181. check: first
  182. mocclean: compiler_moc_header_clean compiler_moc_source_clean
  183. mocables: compiler_moc_header_make_all compiler_moc_source_make_all
  184. compiler_moc_header_make_all: moc_ptsocket.cpp moc_ptserver.cpp moc_broadcast.cpp
  185. compiler_moc_header_clean:
  186. -$(DEL_FILE) moc_ptsocket.cpp moc_ptserver.cpp moc_broadcast.cpp
  187. moc_ptsocket.cpp: libptsocket_global.h \
  188. ptsocket.h
  189. /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) ptsocket.h -o moc_ptsocket.cpp
  190. moc_ptserver.cpp: libptsocket_global.h \
  191. ptsocket.h \
  192. ptserver.h
  193. /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) ptserver.h -o moc_ptserver.cpp
  194. moc_broadcast.cpp: ptsocket.h \
  195. libptsocket_global.h \
  196. broadcast.h
  197. /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) broadcast.h -o moc_broadcast.cpp
  198. compiler_rcc_make_all:
  199. compiler_rcc_clean:
  200. compiler_image_collection_make_all: qmake_image_collection.cpp
  201. compiler_image_collection_clean:
  202. -$(DEL_FILE) qmake_image_collection.cpp
  203. compiler_moc_source_make_all:
  204. compiler_moc_source_clean:
  205. compiler_uic_make_all:
  206. compiler_uic_clean:
  207. compiler_yacc_decl_make_all:
  208. compiler_yacc_decl_clean:
  209. compiler_yacc_impl_make_all:
  210. compiler_yacc_impl_clean:
  211. compiler_lex_make_all:
  212. compiler_lex_clean:
  213. compiler_clean: compiler_moc_header_clean
  214. ####### Compile
  215. ptsocket.o: ptsocket.cpp ptsocket.h \
  216. libptsocket_global.h
  217. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ptsocket.o ptsocket.cpp
  218. ptserver.o: ptserver.cpp ptserver.h \
  219. libptsocket_global.h \
  220. ptsocket.h
  221. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ptserver.o ptserver.cpp
  222. broadcast.o: broadcast.cpp broadcast.h \
  223. ptsocket.h \
  224. libptsocket_global.h
  225. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o broadcast.o broadcast.cpp
  226. moc_ptsocket.o: moc_ptsocket.cpp
  227. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_ptsocket.o moc_ptsocket.cpp
  228. moc_ptserver.o: moc_ptserver.cpp
  229. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_ptserver.o moc_ptserver.cpp
  230. moc_broadcast.o: moc_broadcast.cpp
  231. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_broadcast.o moc_broadcast.cpp
  232. ####### Install
  233. install_headers: first FORCE
  234. @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/include/ptsocket/ || $(MKDIR) $(INSTALL_ROOT)/usr/include/ptsocket/
  235. -$(INSTALL_FILE) /home/robin/libptsocket/ptsocket/ptsocket.h $(INSTALL_ROOT)/usr/include/ptsocket/
  236. -$(INSTALL_FILE) /home/robin/libptsocket/ptsocket/libptsocket_global.h $(INSTALL_ROOT)/usr/include/ptsocket/
  237. -$(INSTALL_FILE) /home/robin/libptsocket/ptsocket/ptserver.h $(INSTALL_ROOT)/usr/include/ptsocket/
  238. -$(INSTALL_FILE) /home/robin/libptsocket/ptsocket/broadcast.h $(INSTALL_ROOT)/usr/include/ptsocket/
  239. uninstall_headers: FORCE
  240. -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/ptsocket/ptsocket.h
  241. -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/ptsocket/libptsocket_global.h
  242. -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/ptsocket/ptserver.h
  243. -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/ptsocket/broadcast.h
  244. -$(DEL_DIR) $(INSTALL_ROOT)/usr/include/ptsocket/
  245. install_target: first FORCE
  246. @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib/
  247. -$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/$(TARGET)"
  248. -$(STRIP) --strip-unneeded "$(INSTALL_ROOT)/usr/lib/$(TARGET)"
  249. -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/$(TARGET0)"
  250. -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/$(TARGET1)"
  251. -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/$(TARGET2)"
  252. uninstall_target: FORCE
  253. -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/$(TARGET)"
  254. -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/$(TARGET0)"
  255. -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/$(TARGET1)"
  256. -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/$(TARGET2)"
  257. -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/
  258. install: install_headers install_target FORCE
  259. uninstall: uninstall_headers uninstall_target FORCE
  260. FORCE: