X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=Makefile;h=3683fb4d0bb9476abfd2cef343f79800f5e8829e;hb=a288fd111d1bbef66f147d3c8014126d8a1876bc;hp=2f5b2161c981875ece7b9c4a5e6a84809cf36e17;hpb=496786469533e364ff9bce99fe0dc8710ee21956;p=lichviet diff --git a/Makefile b/Makefile index 2f5b216..3683fb4 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ ############################################################################# # Makefile for building: LichViet -# Generated by qmake (2.01a) (Qt 4.7.3) on: Fri Aug 26 14:38:18 2011 +# Generated by qmake (2.01a) (Qt 4.7.3) on: Tue Sep 6 21:29:40 2011 # Project: LichViet.pro # Template: app -# Command: /opt/QtSDK/Desktop/Qt/473/gcc/bin/qmake -spec /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/linux-g++-64 -o Makefile LichViet.pro +# Command: /opt/QtSDK/Desktop/Qt/473/gcc/bin/qmake -spec /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/linux-g++-64 QMLJSDEBUGGER_PATH=/opt/qtcreator-2.1.0/share/qtcreator/qml/qmljsdebugger -o Makefile LichViet.pro ############################################################################# ####### Compiler, tools and options @@ -45,14 +45,18 @@ OBJECTS_DIR = ./ SOURCES = main.cpp \ lunarcalendar.cpp \ + controller.cpp \ qmlapplicationviewer/qmlapplicationviewer.cpp moc_qmlapplicationviewer.cpp \ moc_lunarcalendar.cpp \ + moc_controller.cpp \ qrc_lichviet.cpp OBJECTS = main.o \ lunarcalendar.o \ + controller.o \ qmlapplicationviewer.o \ moc_qmlapplicationviewer.o \ moc_lunarcalendar.o \ + moc_controller.o \ qrc_lichviet.o DIST = /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/common/g++.conf \ /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/common/unix.conf \ @@ -132,7 +136,7 @@ Makefile: LichViet.pro /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/linux-g++-64/qmake /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/yacc.prf \ /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/lex.prf \ /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/include_source_dir.prf - $(QMAKE) -spec /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/linux-g++-64 -o Makefile LichViet.pro + $(QMAKE) -spec /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/linux-g++-64 QMLJSDEBUGGER_PATH=/opt/qtcreator-2.1.0/share/qtcreator/qml/qmljsdebugger -o Makefile LichViet.pro /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/common/g++.conf: /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/common/unix.conf: /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/common/linux.conf: @@ -157,11 +161,11 @@ qmlapplicationviewer/qmlapplicationviewer.pri: /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/lex.prf: /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/include_source_dir.prf: qmake: FORCE - @$(QMAKE) -spec /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/linux-g++-64 -o Makefile LichViet.pro + @$(QMAKE) -spec /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/linux-g++-64 QMLJSDEBUGGER_PATH=/opt/qtcreator-2.1.0/share/qtcreator/qml/qmljsdebugger -o Makefile LichViet.pro dist: @$(CHK_DIR_EXISTS) .tmp/LichViet1.0.2 || $(MKDIR) .tmp/LichViet1.0.2 - $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/LichViet1.0.2/ && $(COPY_FILE) --parents qmlapplicationviewer/qmlapplicationviewer.h lunarcalendar.h .tmp/LichViet1.0.2/ && $(COPY_FILE) --parents lichviet.qrc .tmp/LichViet1.0.2/ && $(COPY_FILE) --parents main.cpp lunarcalendar.cpp qmlapplicationviewer/qmlapplicationviewer.cpp .tmp/LichViet1.0.2/ && (cd `dirname .tmp/LichViet1.0.2` && $(TAR) LichViet1.0.2.tar LichViet1.0.2 && $(COMPRESS) LichViet1.0.2.tar) && $(MOVE) `dirname .tmp/LichViet1.0.2`/LichViet1.0.2.tar.gz . && $(DEL_FILE) -r .tmp/LichViet1.0.2 + $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/LichViet1.0.2/ && $(COPY_FILE) --parents qmlapplicationviewer/qmlapplicationviewer.h lunarcalendar.h controller.h .tmp/LichViet1.0.2/ && $(COPY_FILE) --parents lichviet.qrc .tmp/LichViet1.0.2/ && $(COPY_FILE) --parents main.cpp lunarcalendar.cpp controller.cpp qmlapplicationviewer/qmlapplicationviewer.cpp .tmp/LichViet1.0.2/ && (cd `dirname .tmp/LichViet1.0.2` && $(TAR) LichViet1.0.2.tar LichViet1.0.2 && $(COMPRESS) LichViet1.0.2.tar) && $(MOVE) `dirname .tmp/LichViet1.0.2`/LichViet1.0.2.tar.gz . && $(DEL_FILE) -r .tmp/LichViet1.0.2 clean:compiler_clean @@ -179,7 +183,7 @@ distclean: clean first: $(first) copydeploymentfolders copydeploymentfolders: - @echo Copying application data... && $(MKDIR) "/home/cuongle/Garage/lichviet//" && $(COPY_DIR) "/home/cuongle/Garage/lichviet/qml/themes" "/home/cuongle/Garage/lichviet//" + @echo Copying application data... && $(MKDIR) "/home/cle/Garage/lichviet//" && $(COPY_DIR) "/home/cle/Garage/lichviet/qml/themes" "/home/cle/Garage/lichviet//" check: first @@ -187,15 +191,18 @@ mocclean: compiler_moc_header_clean compiler_moc_source_clean mocables: compiler_moc_header_make_all compiler_moc_source_make_all -compiler_moc_header_make_all: moc_qmlapplicationviewer.cpp moc_lunarcalendar.cpp +compiler_moc_header_make_all: moc_qmlapplicationviewer.cpp moc_lunarcalendar.cpp moc_controller.cpp compiler_moc_header_clean: - -$(DEL_FILE) moc_qmlapplicationviewer.cpp moc_lunarcalendar.cpp + -$(DEL_FILE) moc_qmlapplicationviewer.cpp moc_lunarcalendar.cpp moc_controller.cpp moc_qmlapplicationviewer.cpp: qmlapplicationviewer/qmlapplicationviewer.h /opt/QtSDK/Desktop/Qt/473/gcc/bin/moc $(DEFINES) $(INCPATH) qmlapplicationviewer/qmlapplicationviewer.h -o moc_qmlapplicationviewer.cpp moc_lunarcalendar.cpp: lunarcalendar.h /opt/QtSDK/Desktop/Qt/473/gcc/bin/moc $(DEFINES) $(INCPATH) lunarcalendar.h -o moc_lunarcalendar.cpp +moc_controller.cpp: controller.h + /opt/QtSDK/Desktop/Qt/473/gcc/bin/moc $(DEFINES) $(INCPATH) controller.h -o moc_controller.cpp + compiler_dbus_interface_source_make_all: compiler_dbus_interface_source_clean: compiler_dbus_adaptor_source_make_all: @@ -210,22 +217,24 @@ qrc_lichviet.cpp: lichviet.qrc \ qml/LichViet/OptionsScreen.qml \ qml/LichViet/Settings.js \ qml/LichViet/amlich-hnd.js \ - qml/LichViet/NoFeatureDialog.qml \ qml/LichViet/FullMonth.qml \ qml/LichViet/ToolBarSingle.qml \ qml/LichViet/CacNgayLeTrongNam.js \ qml/LichViet/Switch.qml \ qml/LichViet/amlich-aa98.js \ qml/LichViet/XemNgayTotXauHoangDao.qml \ + qml/LichViet/MenuButton.qml \ qml/LichViet/Themes.js \ qml/LichViet/AmDateTimeDialog.qml \ qml/LichViet/ToolBar.qml \ qml/LichViet/MultiTitleBar.qml \ + qml/LichViet/FileBrowser.qml \ qml/LichViet/main.qml \ qml/LichViet/MenuScreen.qml \ qml/LichViet/Button.qml \ qml/LichViet/xemngaytotxau.js \ qml/LichViet/TitleBar.qml \ + qml/LichViet/ScrollBar.qml \ qml/LichViet/ChangeTheme.qml \ qml/DatePicker/component/Reel.qml \ qml/DatePicker/component/Button.qml \ @@ -257,12 +266,16 @@ compiler_clean: compiler_moc_header_clean compiler_rcc_clean ####### Compile -main.o: main.cpp lunarcalendar.h +main.o: main.cpp lunarcalendar.h \ + controller.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp lunarcalendar.o: lunarcalendar.cpp lunarcalendar.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lunarcalendar.o lunarcalendar.cpp +controller.o: controller.cpp controller.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o controller.o controller.cpp + qmlapplicationviewer.o: qmlapplicationviewer/qmlapplicationviewer.cpp qmlapplicationviewer/qmlapplicationviewer.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qmlapplicationviewer.o qmlapplicationviewer/qmlapplicationviewer.cpp @@ -272,6 +285,9 @@ moc_qmlapplicationviewer.o: moc_qmlapplicationviewer.cpp moc_lunarcalendar.o: moc_lunarcalendar.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lunarcalendar.o moc_lunarcalendar.cpp +moc_controller.o: moc_controller.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_controller.o moc_controller.cpp + qrc_lichviet.o: qrc_lichviet.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_lichviet.o qrc_lichviet.cpp @@ -279,7 +295,7 @@ qrc_lichviet.o: qrc_lichviet.cpp install_itemthemes_qml: first FORCE @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/LichViet// || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/LichViet// - -$(INSTALL_DIR) /home/cuongle/Garage/lichviet/qml/themes $(INSTALL_ROOT)/usr/local/share/LichViet// + -$(INSTALL_DIR) /home/cle/Garage/lichviet/qml/themes $(INSTALL_ROOT)/usr/local/share/LichViet// uninstall_itemthemes_qml: FORCE @@ -289,7 +305,7 @@ uninstall_itemthemes_qml: FORCE install_desktopfile: first FORCE @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/applications/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/applications/ - -$(INSTALL_FILE) /home/cuongle/Garage/lichviet/LichViet.desktop $(INSTALL_ROOT)/usr/share/applications/ + -$(INSTALL_FILE) /home/cle/Garage/lichviet/LichViet.desktop $(INSTALL_ROOT)/usr/share/applications/ uninstall_desktopfile: FORCE @@ -299,7 +315,7 @@ uninstall_desktopfile: FORCE install_icon: first FORCE @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/ - -$(INSTALL_FILE) /home/cuongle/Garage/lichviet/LichViet.png $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/ + -$(INSTALL_FILE) /home/cle/Garage/lichviet/LichViet.png $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/ uninstall_icon: FORCE