You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 10KB

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