Makefile 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. #############################################################################
  2. # Makefile for building: TimeCalc
  3. # Generated by qmake (2.01a) (Qt 4.7.4) on: ?? ?? 29 05:06:06 2012
  4. # Project: TimeCalc.pro
  5. # Template: app
  6. # Command: c:/qtsdk/madde/targets/harmattan_10.2011.34-1/bin/qmake.exe -spec c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/default -unix -after OBJECTS_DIR=obj MOC_DIR=moc UI_DIR=ui RCC_DIR=rcc -o Makefile TimeCalc.pro
  7. #############################################################################
  8. ####### Compiler, tools and options
  9. CC = gcc
  10. CXX = g++
  11. DEFINES = -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
  12. CFLAGS = -pipe -O2 -g -Wno-psabi -Wall -W -D_REENTRANT $(DEFINES)
  13. CXXFLAGS = -pipe -O2 -g -Wno-psabi -Wall -W -D_REENTRANT $(DEFINES)
  14. INCPATH = -Ic:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/default -I. -Ic:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/include/qt4/QtCore -Ic:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/include/qt4/QtGui -Ic:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/include/qt4/QtDeclarative -Ic:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/include/qt4 -Iqmlapplicationviewer -Imoc
  15. LINK = g++
  16. LFLAGS = -Wl,-O1
  17. LIBS = $(SUBLIBS) -LC:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/lib -lQtDeclarative -lQtGui -lQtCore -lpthread
  18. AR = ar cqs
  19. RANLIB =
  20. QMAKE = c:/qtsdk/madde/targets/harmattan_10.2011.34-1/bin/qmake.exe
  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 = obj/
  39. ####### Files
  40. SOURCES = main.cpp \
  41. qmlapplicationviewer/qmlapplicationviewer.cpp moc/moc_qmlapplicationviewer.cpp \
  42. rcc/qrc_TimeCalc.cpp
  43. OBJECTS = obj/main.o \
  44. obj/qmlapplicationviewer.o \
  45. obj/moc_qmlapplicationviewer.o \
  46. obj/qrc_TimeCalc.o
  47. DIST = c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/common/g++.conf \
  48. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/common/unix.conf \
  49. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/common/linux.conf \
  50. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/qconfig.pri \
  51. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/qt_functions.prf \
  52. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/qt_config.prf \
  53. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
  54. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/default_pre.prf \
  55. qmlapplicationviewer/qmlapplicationviewer.pri \
  56. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/release.prf \
  57. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/default_post.prf \
  58. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/warn_on.prf \
  59. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/qt.prf \
  60. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/unix/thread.prf \
  61. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/moc.prf \
  62. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/resources.prf \
  63. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/uic.prf \
  64. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/yacc.prf \
  65. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/lex.prf \
  66. TimeCalc.pro
  67. QMAKE_TARGET = TimeCalc
  68. DESTDIR =
  69. TARGET = TimeCalc
  70. first: all
  71. ####### Implicit rules
  72. .SUFFIXES: .o .c .cpp .cc .cxx
  73. .cpp.o:
  74. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
  75. .cc.o:
  76. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
  77. .cxx.o:
  78. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
  79. .c.o:
  80. $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
  81. ####### Build rules
  82. all: Makefile $(TARGET)
  83. $(TARGET): $(OBJECTS)
  84. $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
  85. Makefile: TimeCalc.pro c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/default/qmake.conf c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/common/g++.conf \
  86. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/common/unix.conf \
  87. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/common/linux.conf \
  88. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/qconfig.pri \
  89. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/qt_functions.prf \
  90. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/qt_config.prf \
  91. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
  92. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/default_pre.prf \
  93. qmlapplicationviewer/qmlapplicationviewer.pri \
  94. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/release.prf \
  95. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/default_post.prf \
  96. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/warn_on.prf \
  97. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/qt.prf \
  98. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/unix/thread.prf \
  99. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/moc.prf \
  100. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/resources.prf \
  101. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/uic.prf \
  102. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/yacc.prf \
  103. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/lex.prf \
  104. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/lib/libQtDeclarative.prl \
  105. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/lib/libQtGui.prl \
  106. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/lib/libQtCore.prl
  107. $(QMAKE) -spec c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/default -unix -after OBJECTS_DIR=obj MOC_DIR=moc UI_DIR=ui RCC_DIR=rcc -o Makefile TimeCalc.pro
  108. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/common/g++.conf:
  109. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/common/unix.conf:
  110. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/common/linux.conf:
  111. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/qconfig.pri:
  112. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/qt_functions.prf:
  113. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/qt_config.prf:
  114. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
  115. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/default_pre.prf:
  116. qmlapplicationviewer/qmlapplicationviewer.pri:
  117. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/release.prf:
  118. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/default_post.prf:
  119. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/warn_on.prf:
  120. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/qt.prf:
  121. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/unix/thread.prf:
  122. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/moc.prf:
  123. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/resources.prf:
  124. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/uic.prf:
  125. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/yacc.prf:
  126. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/lex.prf:
  127. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/lib/libQtDeclarative.prl:
  128. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/lib/libQtGui.prl:
  129. c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/lib/libQtCore.prl:
  130. qmake: FORCE
  131. @$(QMAKE) -spec c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/default -unix -after OBJECTS_DIR=obj MOC_DIR=moc UI_DIR=ui RCC_DIR=rcc -o Makefile TimeCalc.pro
  132. dist:
  133. @$(CHK_DIR_EXISTS) obj/TimeCalc1.0.0 || $(MKDIR) obj/TimeCalc1.0.0
  134. $(COPY_FILE) --parents $(SOURCES) $(DIST) obj/TimeCalc1.0.0/ && $(COPY_FILE) --parents qmlapplicationviewer/qmlapplicationviewer.h obj/TimeCalc1.0.0/ && $(COPY_FILE) --parents qml/TimeCalc/TimeCalc.qrc obj/TimeCalc1.0.0/ && $(COPY_FILE) --parents main.cpp qmlapplicationviewer/qmlapplicationviewer.cpp obj/TimeCalc1.0.0/ && (cd `dirname obj/TimeCalc1.0.0` && $(TAR) TimeCalc1.0.0.tar TimeCalc1.0.0 && $(COMPRESS) TimeCalc1.0.0.tar) && $(MOVE) `dirname obj/TimeCalc1.0.0`/TimeCalc1.0.0.tar.gz . && $(DEL_FILE) -r obj/TimeCalc1.0.0
  135. clean:compiler_clean
  136. -$(DEL_FILE) $(OBJECTS)
  137. -$(DEL_FILE) *~ core *.core
  138. ####### Sub-libraries
  139. distclean: clean
  140. -$(DEL_FILE) $(TARGET)
  141. -$(DEL_FILE) Makefile
  142. check: first
  143. mocclean: compiler_moc_header_clean compiler_moc_source_clean
  144. mocables: compiler_moc_header_make_all compiler_moc_source_make_all
  145. compiler_moc_header_make_all: moc/moc_qmlapplicationviewer.cpp
  146. compiler_moc_header_clean:
  147. -$(DEL_FILE) moc/moc_qmlapplicationviewer.cpp
  148. moc/moc_qmlapplicationviewer.cpp: qmlapplicationviewer/qmlapplicationviewer.h
  149. C:/QtSDK/Madde/targets/harmattan_10.2011.34-1/bin/moc.exe $(DEFINES) $(INCPATH) qmlapplicationviewer/qmlapplicationviewer.h -o moc/moc_qmlapplicationviewer.cpp
  150. compiler_rcc_make_all: rcc/qrc_TimeCalc.cpp
  151. compiler_rcc_clean:
  152. -$(DEL_FILE) rcc/qrc_TimeCalc.cpp
  153. rcc/qrc_TimeCalc.cpp: qml/TimeCalc/TimeCalc.qrc \
  154. qml/TimeCalc/icon_plusminus_zhhk.png \
  155. qml/TimeCalc/zh_HK.qm \
  156. qml/TimeCalc/icon_withoutBG.png \
  157. qml/TimeCalc/icon_plusminus.png \
  158. qml/TimeCalc/icon_timediff.png \
  159. qml/TimeCalc/icon_plusminus_zhcn.png \
  160. qml/TimeCalc/icon_timediff_zhcn.png \
  161. qml/TimeCalc/icon_timediff_zhhk.png \
  162. qml/TimeCalc/zh_CN.qm
  163. c:/QtSDK/Madde/targets/harmattan_10.2011.34-1/bin/rcc.exe -name TimeCalc qml/TimeCalc/TimeCalc.qrc -o rcc/qrc_TimeCalc.cpp
  164. compiler_image_collection_make_all: ui/qmake_image_collection.cpp
  165. compiler_image_collection_clean:
  166. -$(DEL_FILE) ui/qmake_image_collection.cpp
  167. compiler_moc_source_make_all:
  168. compiler_moc_source_clean:
  169. compiler_uic_make_all:
  170. compiler_uic_clean:
  171. compiler_yacc_decl_make_all:
  172. compiler_yacc_decl_clean:
  173. compiler_yacc_impl_make_all:
  174. compiler_yacc_impl_clean:
  175. compiler_lex_make_all:
  176. compiler_lex_clean:
  177. compiler_clean: compiler_moc_header_clean compiler_rcc_clean
  178. ####### Compile
  179. obj/main.o: main.cpp
  180. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/main.o main.cpp
  181. obj/qmlapplicationviewer.o: qmlapplicationviewer/qmlapplicationviewer.cpp qmlapplicationviewer/qmlapplicationviewer.h
  182. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qmlapplicationviewer.o qmlapplicationviewer/qmlapplicationviewer.cpp
  183. obj/moc_qmlapplicationviewer.o: moc/moc_qmlapplicationviewer.cpp
  184. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_qmlapplicationviewer.o moc/moc_qmlapplicationviewer.cpp
  185. obj/qrc_TimeCalc.o: rcc/qrc_TimeCalc.cpp
  186. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qrc_TimeCalc.o rcc/qrc_TimeCalc.cpp
  187. ####### Install
  188. install_itemfolder_01: first FORCE
  189. @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/opt/TimeCalc/qml/ || $(MKDIR) $(INSTALL_ROOT)/opt/TimeCalc/qml/
  190. -$(INSTALL_DIR) c:/Users/Amanda/QtProjects/TimeCalc/1.0.0_Source/qml/TimeCalc $(INSTALL_ROOT)/opt/TimeCalc/qml/
  191. uninstall_itemfolder_01: FORCE
  192. -$(DEL_FILE) -r $(INSTALL_ROOT)/opt/TimeCalc/qml/TimeCalc
  193. -$(DEL_DIR) $(INSTALL_ROOT)/opt/TimeCalc/qml/
  194. install_icon: first FORCE
  195. @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/icons/hicolor/80x80/apps/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/80x80/apps/
  196. -$(INSTALL_FILE) c:/Users/Amanda/QtProjects/TimeCalc/1.0.0_Source/TimeCalc80.png $(INSTALL_ROOT)/usr/share/icons/hicolor/80x80/apps/
  197. uninstall_icon: FORCE
  198. -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/icons/hicolor/80x80/apps/TimeCalc80.png
  199. -$(DEL_DIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/80x80/apps/
  200. install_desktopfile: first FORCE
  201. @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/applications/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/applications/
  202. -$(INSTALL_FILE) c:/Users/Amanda/QtProjects/TimeCalc/1.0.0_Source/TimeCalc.desktop $(INSTALL_ROOT)/usr/share/applications/
  203. uninstall_desktopfile: FORCE
  204. -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/applications/TimeCalc.desktop
  205. -$(DEL_DIR) $(INSTALL_ROOT)/usr/share/applications/
  206. install_target: first FORCE
  207. @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/opt/TimeCalc/bin/ || $(MKDIR) $(INSTALL_ROOT)/opt/TimeCalc/bin/
  208. -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/opt/TimeCalc/bin/$(QMAKE_TARGET)"
  209. uninstall_target: FORCE
  210. -$(DEL_FILE) "$(INSTALL_ROOT)/opt/TimeCalc/bin/$(QMAKE_TARGET)"
  211. -$(DEL_DIR) $(INSTALL_ROOT)/opt/TimeCalc/bin/
  212. install_desktopfile: first FORCE
  213. @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/applications/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/applications/
  214. -$(INSTALL_FILE) c:/Users/Amanda/QtProjects/TimeCalc/1.0.0_Source/TimeCalc.desktop $(INSTALL_ROOT)/usr/share/applications/
  215. uninstall_desktopfile: FORCE
  216. -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/applications/TimeCalc.desktop
  217. -$(DEL_DIR) $(INSTALL_ROOT)/usr/share/applications/
  218. install: install_itemfolder_01 install_icon install_desktopfile install_target install_desktopfile FORCE
  219. uninstall: uninstall_itemfolder_01 uninstall_icon uninstall_desktopfile uninstall_target uninstall_desktopfile FORCE
  220. FORCE: