Makefile 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. #############################################################################
  2. # Makefile for building: temp
  3. # Generated by qmake (2.01a) (Qt 4.7.0) on: Fri Jan 7 00:23:35 2011
  4. # Project: ../temp/temp.pro
  5. # Template: app
  6. # Command: /usr/bin/qmake-qt4 -spec /usr/share/qt4/mkspecs/linux-g++ CONFIG+=debug -o Makefile ../temp/temp.pro
  7. #############################################################################
  8. ####### Compiler, tools and options
  9. CC = gcc
  10. CXX = g++
  11. DEFINES = -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
  12. CFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
  13. CXXFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
  14. INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I../temp -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/local/lib -I. -I. -I../temp -I.
  15. LINK = g++
  16. LFLAGS =
  17. LIBS = $(SUBLIBS) -L/usr/lib -lgloox -lQtGui -lQtCore -lpthread
  18. AR = ar cqs
  19. RANLIB =
  20. QMAKE = /usr/bin/qmake-qt4
  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 = ../temp/main.cpp \
  41. ../temp/mainwindow.cpp \
  42. ../temp/user.cpp moc_mainwindow.cpp
  43. OBJECTS = main.o \
  44. mainwindow.o \
  45. user.o \
  46. moc_mainwindow.o
  47. DIST = /usr/share/qt4/mkspecs/common/g++.conf \
  48. /usr/share/qt4/mkspecs/common/unix.conf \
  49. /usr/share/qt4/mkspecs/common/linux.conf \
  50. /usr/share/qt4/mkspecs/qconfig.pri \
  51. /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
  52. /usr/share/qt4/mkspecs/features/qt_functions.prf \
  53. /usr/share/qt4/mkspecs/features/qt_config.prf \
  54. /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
  55. /usr/share/qt4/mkspecs/features/default_pre.prf \
  56. /usr/share/qt4/mkspecs/features/debug.prf \
  57. /usr/share/qt4/mkspecs/features/default_post.prf \
  58. /usr/share/qt4/mkspecs/features/warn_on.prf \
  59. /usr/share/qt4/mkspecs/features/qt.prf \
  60. /usr/share/qt4/mkspecs/features/unix/thread.prf \
  61. /usr/share/qt4/mkspecs/features/moc.prf \
  62. /usr/share/qt4/mkspecs/features/resources.prf \
  63. /usr/share/qt4/mkspecs/features/uic.prf \
  64. /usr/share/qt4/mkspecs/features/yacc.prf \
  65. /usr/share/qt4/mkspecs/features/lex.prf \
  66. /usr/share/qt4/mkspecs/features/include_source_dir.prf \
  67. ../temp/temp.pro
  68. QMAKE_TARGET = temp
  69. DESTDIR =
  70. TARGET = temp
  71. first: all
  72. ####### Implicit rules
  73. .SUFFIXES: .o .c .cpp .cc .cxx .C
  74. .cpp.o:
  75. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
  76. .cc.o:
  77. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
  78. .cxx.o:
  79. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
  80. .C.o:
  81. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
  82. .c.o:
  83. $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
  84. ####### Build rules
  85. all: Makefile $(TARGET)
  86. $(TARGET): ui_mainwindow.h $(OBJECTS)
  87. $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
  88. Makefile: ../temp/temp.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
  89. /usr/share/qt4/mkspecs/common/unix.conf \
  90. /usr/share/qt4/mkspecs/common/linux.conf \
  91. /usr/share/qt4/mkspecs/qconfig.pri \
  92. /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
  93. /usr/share/qt4/mkspecs/features/qt_functions.prf \
  94. /usr/share/qt4/mkspecs/features/qt_config.prf \
  95. /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
  96. /usr/share/qt4/mkspecs/features/default_pre.prf \
  97. /usr/share/qt4/mkspecs/features/debug.prf \
  98. /usr/share/qt4/mkspecs/features/default_post.prf \
  99. /usr/share/qt4/mkspecs/features/warn_on.prf \
  100. /usr/share/qt4/mkspecs/features/qt.prf \
  101. /usr/share/qt4/mkspecs/features/unix/thread.prf \
  102. /usr/share/qt4/mkspecs/features/moc.prf \
  103. /usr/share/qt4/mkspecs/features/resources.prf \
  104. /usr/share/qt4/mkspecs/features/uic.prf \
  105. /usr/share/qt4/mkspecs/features/yacc.prf \
  106. /usr/share/qt4/mkspecs/features/lex.prf \
  107. /usr/share/qt4/mkspecs/features/include_source_dir.prf \
  108. /usr/lib/libQtGui.prl \
  109. /usr/lib/libQtCore.prl
  110. $(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ CONFIG+=debug -o Makefile ../temp/temp.pro
  111. /usr/share/qt4/mkspecs/common/g++.conf:
  112. /usr/share/qt4/mkspecs/common/unix.conf:
  113. /usr/share/qt4/mkspecs/common/linux.conf:
  114. /usr/share/qt4/mkspecs/qconfig.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. /usr/share/qt4/mkspecs/features/debug.prf:
  121. /usr/share/qt4/mkspecs/features/default_post.prf:
  122. /usr/share/qt4/mkspecs/features/warn_on.prf:
  123. /usr/share/qt4/mkspecs/features/qt.prf:
  124. /usr/share/qt4/mkspecs/features/unix/thread.prf:
  125. /usr/share/qt4/mkspecs/features/moc.prf:
  126. /usr/share/qt4/mkspecs/features/resources.prf:
  127. /usr/share/qt4/mkspecs/features/uic.prf:
  128. /usr/share/qt4/mkspecs/features/yacc.prf:
  129. /usr/share/qt4/mkspecs/features/lex.prf:
  130. /usr/share/qt4/mkspecs/features/include_source_dir.prf:
  131. /usr/lib/libQtGui.prl:
  132. /usr/lib/libQtCore.prl:
  133. qmake: FORCE
  134. @$(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ CONFIG+=debug -o Makefile ../temp/temp.pro
  135. dist:
  136. @$(CHK_DIR_EXISTS) ../temp/.tmp/temp1.0.0 || $(MKDIR) ../temp/.tmp/temp1.0.0
  137. $(COPY_FILE) --parents $(SOURCES) $(DIST) ../temp/.tmp/temp1.0.0/ && $(COPY_FILE) --parents ../temp/mainwindow.h ../temp/user.h ../temp/.tmp/temp1.0.0/ && $(COPY_FILE) --parents ../temp/main.cpp ../temp/mainwindow.cpp ../temp/user.cpp ../temp/.tmp/temp1.0.0/ && $(COPY_FILE) --parents ../temp/mainwindow.ui ../temp/.tmp/temp1.0.0/ && (cd `dirname ../temp/.tmp/temp1.0.0` && $(TAR) temp1.0.0.tar temp1.0.0 && $(COMPRESS) temp1.0.0.tar) && $(MOVE) `dirname ../temp/.tmp/temp1.0.0`/temp1.0.0.tar.gz . && $(DEL_FILE) -r ../temp/.tmp/temp1.0.0
  138. clean:compiler_clean
  139. -$(DEL_FILE) $(OBJECTS)
  140. -$(DEL_FILE) *~ core *.core
  141. ####### Sub-libraries
  142. distclean: clean
  143. -$(DEL_FILE) $(TARGET)
  144. -$(DEL_FILE) Makefile
  145. check: first
  146. mocclean: compiler_moc_header_clean compiler_moc_source_clean
  147. mocables: compiler_moc_header_make_all compiler_moc_source_make_all
  148. compiler_moc_header_make_all: moc_mainwindow.cpp
  149. compiler_moc_header_clean:
  150. -$(DEL_FILE) moc_mainwindow.cpp
  151. moc_mainwindow.cpp: ../temp/mainwindow.h
  152. /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) ../temp/mainwindow.h -o moc_mainwindow.cpp
  153. compiler_rcc_make_all:
  154. compiler_rcc_clean:
  155. compiler_image_collection_make_all: qmake_image_collection.cpp
  156. compiler_image_collection_clean:
  157. -$(DEL_FILE) qmake_image_collection.cpp
  158. compiler_moc_source_make_all:
  159. compiler_moc_source_clean:
  160. compiler_uic_make_all: ui_mainwindow.h
  161. compiler_uic_clean:
  162. -$(DEL_FILE) ui_mainwindow.h
  163. ui_mainwindow.h: ../temp/mainwindow.ui
  164. /usr/bin/uic-qt4 ../temp/mainwindow.ui -o ui_mainwindow.h
  165. compiler_yacc_decl_make_all:
  166. compiler_yacc_decl_clean:
  167. compiler_yacc_impl_make_all:
  168. compiler_yacc_impl_clean:
  169. compiler_lex_make_all:
  170. compiler_lex_clean:
  171. compiler_clean: compiler_moc_header_clean compiler_uic_clean
  172. ####### Compile
  173. main.o: ../temp/main.cpp ../temp/mainwindow.h
  174. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o ../temp/main.cpp
  175. mainwindow.o: ../temp/mainwindow.cpp ../temp/mainwindow.h \
  176. ui_mainwindow.h
  177. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o ../temp/mainwindow.cpp
  178. user.o: ../temp/user.cpp ../temp/user.h
  179. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o user.o ../temp/user.cpp
  180. moc_mainwindow.o: moc_mainwindow.cpp
  181. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp
  182. ####### Install
  183. install: FORCE
  184. uninstall: FORCE
  185. FORCE: