X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=Makefile;h=3683fb4d0bb9476abfd2cef343f79800f5e8829e;hb=a288fd111d1bbef66f147d3c8014126d8a1876bc;hp=d533cd3d3acf8b96045c94733ca745b91a13bed4;hpb=91ba4aedbbc9a637fd7842c2a0fd2615aedd08e3;p=lichviet diff --git a/Makefile b/Makefile index d533cd3..3683fb4 100644 --- a/Makefile +++ b/Makefile @@ -1,25 +1,25 @@ ############################################################################# # Makefile for building: LichViet -# Generated by qmake (2.01a) (Qt 4.6.2) on: Mon Aug 8 14:03:43 2011 +# Generated by qmake (2.01a) (Qt 4.7.3) on: Tue Sep 6 21:29:40 2011 # Project: LichViet.pro # Template: app -# Command: /usr/bin/qmake -unix -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 CC = gcc CXX = g++ -DEFINES = -DAPP_VERSION=\"1.0.1\" -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) -CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) -INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4 -Iqmlapplicationviewer -I. +DEFINES = -DAPP_VERSION=\"1.0.2\" -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_CORE_LIB +CFLAGS = -m64 -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) +CXXFLAGS = -m64 -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) +INCPATH = -I/opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/linux-g++-64 -I. -I/opt/QtSDK/Desktop/Qt/473/gcc/include/QtCore -I/opt/QtSDK/Desktop/Qt/473/gcc/include/QtGui -I/opt/QtSDK/Desktop/Qt/473/gcc/include/QtDBus -I/opt/QtSDK/Desktop/Qt/473/gcc/include/QtDeclarative -I/opt/QtSDK/Desktop/Qt/473/gcc/include -Iqmlapplicationviewer -I. LINK = g++ -LFLAGS = -Wl,-O1 -LIBS = $(SUBLIBS) -L/usr/lib -lQtDeclarative -lQtGui -lQtCore -lpthread +LFLAGS = -m64 -Wl,-O1 -Wl,-rpath,/opt/QtSDK/Desktop/Qt/473/gcc/lib +LIBS = $(SUBLIBS) -L/opt/QtSDK/Desktop/Qt/473/gcc/lib -lQtDeclarative -lQtDBus -lQtGui -lQtCore -lpthread AR = ar cqs RANLIB = -QMAKE = /usr/bin/qmake +QMAKE = /opt/QtSDK/Desktop/Qt/473/gcc/bin/qmake TAR = tar -cf COMPRESS = gzip -9f COPY = cp -f @@ -45,35 +45,42 @@ 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 = /usr/share/qt4/mkspecs/common/g++.conf \ - /usr/share/qt4/mkspecs/common/unix.conf \ - /usr/share/qt4/mkspecs/common/linux.conf \ - /usr/share/qt4/mkspecs/qconfig.pri \ - /usr/share/qt4/mkspecs/features/qt_functions.prf \ - /usr/share/qt4/mkspecs/features/qt_config.prf \ - /usr/share/qt4/mkspecs/features/exclusive_builds.prf \ - /usr/share/qt4/mkspecs/features/default_pre.prf \ +DIST = /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 \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/qconfig.pri \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/modules/qt_webkit_version.pri \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/qt_functions.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/qt_config.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/exclusive_builds.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/default_pre.prf \ qmlapplicationviewer/qmlapplicationviewer.pri \ - /usr/share/qt4/mkspecs/features/release.prf \ - /usr/share/qt4/mkspecs/features/default_post.prf \ - /usr/share/qt4/mkspecs/features/warn_on.prf \ - /usr/share/qt4/mkspecs/features/qt.prf \ - /usr/share/qt4/mkspecs/features/unix/thread.prf \ - /usr/share/qt4/mkspecs/features/moc.prf \ - /usr/share/qt4/mkspecs/features/resources.prf \ - /usr/share/qt4/mkspecs/features/uic.prf \ - /usr/share/qt4/mkspecs/features/yacc.prf \ - /usr/share/qt4/mkspecs/features/lex.prf \ - /usr/share/qt4/mkspecs/features/include_source_dir.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/release.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/default_post.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/warn_on.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/qt.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/moc.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/dbusinterfaces.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/dbusadaptors.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/unix/thread.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/resources.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/uic.prf \ + /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 \ LichViet.pro QMAKE_TARGET = LichViet DESTDIR = @@ -106,53 +113,59 @@ all: Makefile $(TARGET) $(TARGET): $(OBJECTS) $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) -Makefile: LichViet.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \ - /usr/share/qt4/mkspecs/common/unix.conf \ - /usr/share/qt4/mkspecs/common/linux.conf \ - /usr/share/qt4/mkspecs/qconfig.pri \ - /usr/share/qt4/mkspecs/features/qt_functions.prf \ - /usr/share/qt4/mkspecs/features/qt_config.prf \ - /usr/share/qt4/mkspecs/features/exclusive_builds.prf \ - /usr/share/qt4/mkspecs/features/default_pre.prf \ +Makefile: LichViet.pro /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/linux-g++-64/qmake.conf /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 \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/qconfig.pri \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/modules/qt_webkit_version.pri \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/qt_functions.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/qt_config.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/exclusive_builds.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/default_pre.prf \ qmlapplicationviewer/qmlapplicationviewer.pri \ - /usr/share/qt4/mkspecs/features/release.prf \ - /usr/share/qt4/mkspecs/features/default_post.prf \ - /usr/share/qt4/mkspecs/features/warn_on.prf \ - /usr/share/qt4/mkspecs/features/qt.prf \ - /usr/share/qt4/mkspecs/features/unix/thread.prf \ - /usr/share/qt4/mkspecs/features/moc.prf \ - /usr/share/qt4/mkspecs/features/resources.prf \ - /usr/share/qt4/mkspecs/features/uic.prf \ - /usr/share/qt4/mkspecs/features/yacc.prf \ - /usr/share/qt4/mkspecs/features/lex.prf \ - /usr/share/qt4/mkspecs/features/include_source_dir.prf - $(QMAKE) -unix -o Makefile LichViet.pro -/usr/share/qt4/mkspecs/common/g++.conf: -/usr/share/qt4/mkspecs/common/unix.conf: -/usr/share/qt4/mkspecs/common/linux.conf: -/usr/share/qt4/mkspecs/qconfig.pri: -/usr/share/qt4/mkspecs/features/qt_functions.prf: -/usr/share/qt4/mkspecs/features/qt_config.prf: -/usr/share/qt4/mkspecs/features/exclusive_builds.prf: -/usr/share/qt4/mkspecs/features/default_pre.prf: + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/release.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/default_post.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/warn_on.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/qt.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/moc.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/dbusinterfaces.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/dbusadaptors.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/unix/thread.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/resources.prf \ + /opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/uic.prf \ + /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 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: +/opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/qconfig.pri: +/opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/modules/qt_webkit_version.pri: +/opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/qt_functions.prf: +/opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/qt_config.prf: +/opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/exclusive_builds.prf: +/opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/default_pre.prf: qmlapplicationviewer/qmlapplicationviewer.pri: -/usr/share/qt4/mkspecs/features/release.prf: -/usr/share/qt4/mkspecs/features/default_post.prf: -/usr/share/qt4/mkspecs/features/warn_on.prf: -/usr/share/qt4/mkspecs/features/qt.prf: -/usr/share/qt4/mkspecs/features/unix/thread.prf: -/usr/share/qt4/mkspecs/features/moc.prf: -/usr/share/qt4/mkspecs/features/resources.prf: -/usr/share/qt4/mkspecs/features/uic.prf: -/usr/share/qt4/mkspecs/features/yacc.prf: -/usr/share/qt4/mkspecs/features/lex.prf: -/usr/share/qt4/mkspecs/features/include_source_dir.prf: +/opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/release.prf: +/opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/default_post.prf: +/opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/warn_on.prf: +/opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/qt.prf: +/opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/moc.prf: +/opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/dbusinterfaces.prf: +/opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/dbusadaptors.prf: +/opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/unix/thread.prf: +/opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/resources.prf: +/opt/QtSDK/Desktop/Qt/473/gcc/mkspecs/features/uic.prf: +/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: FORCE - @$(QMAKE) -unix -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.1 || $(MKDIR) .tmp/LichViet1.0.1 - $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/LichViet1.0.1/ && $(COPY_FILE) --parents qmlapplicationviewer/qmlapplicationviewer.h lunarcalendar.h .tmp/LichViet1.0.1/ && $(COPY_FILE) --parents lichviet.qrc .tmp/LichViet1.0.1/ && $(COPY_FILE) --parents main.cpp lunarcalendar.cpp qmlapplicationviewer/qmlapplicationviewer.cpp .tmp/LichViet1.0.1/ && (cd `dirname .tmp/LichViet1.0.1` && $(TAR) LichViet1.0.1.tar LichViet1.0.1 && $(COMPRESS) LichViet1.0.1.tar) && $(MOVE) `dirname .tmp/LichViet1.0.1`/LichViet1.0.1.tar.gz . && $(DEL_FILE) -r .tmp/LichViet1.0.1 + @$(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 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 @@ -170,32 +183,77 @@ distclean: clean first: $(first) copydeploymentfolders copydeploymentfolders: - @echo Copying application data... && $(MKDIR) "/home/cle/Nokia/LichViet//" && $(COPY_DIR) "/home/cle/Nokia/LichViet/themes" "/home/cle/Nokia/LichViet//" + @echo Copying application data... && $(MKDIR) "/home/cle/Garage/lichviet//" && $(COPY_DIR) "/home/cle/Garage/lichviet/qml/themes" "/home/cle/Garage/lichviet//" + +check: first 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 - /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) qmlapplicationviewer/qmlapplicationviewer.h -o moc_qmlapplicationviewer.cpp + /opt/QtSDK/Desktop/Qt/473/gcc/bin/moc $(DEFINES) $(INCPATH) qmlapplicationviewer/qmlapplicationviewer.h -o moc_qmlapplicationviewer.cpp moc_lunarcalendar.cpp: lunarcalendar.h - /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) lunarcalendar.h -o moc_lunarcalendar.cpp + /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: +compiler_dbus_adaptor_source_clean: compiler_rcc_make_all: qrc_lichviet.cpp compiler_rcc_clean: -$(DEL_FILE) qrc_lichviet.cpp -qrc_lichviet.cpp: lichviet.qrc - /usr/bin/rcc -name lichviet lichviet.qrc -o qrc_lichviet.cpp +qrc_lichviet.cpp: lichviet.qrc \ + LichViet.png \ + qml/LichViet/DateTimeDialog.qml \ + qml/LichViet/About.qml \ + qml/LichViet/OptionsScreen.qml \ + qml/LichViet/Settings.js \ + qml/LichViet/amlich-hnd.js \ + 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 \ + qml/DatePicker/component/DateReel.qml + /opt/QtSDK/Desktop/Qt/473/gcc/bin/rcc -name lichviet lichviet.qrc -o qrc_lichviet.cpp compiler_image_collection_make_all: qmake_image_collection.cpp compiler_image_collection_clean: -$(DEL_FILE) qmake_image_collection.cpp compiler_moc_source_make_all: compiler_moc_source_clean: +compiler_dbus_interface_header_make_all: +compiler_dbus_interface_header_clean: +compiler_dbus_interface_moc_make_all: +compiler_dbus_interface_moc_clean: +compiler_dbus_adaptor_header_make_all: +compiler_dbus_adaptor_header_clean: +compiler_dbus_adaptor_moc_make_all: +compiler_dbus_adaptor_moc_clean: compiler_uic_make_all: compiler_uic_clean: compiler_yacc_decl_make_all: @@ -208,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 @@ -223,24 +285,27 @@ 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 ####### Install -install_itemthemes: first FORCE +install_itemthemes_qml: first FORCE @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/LichViet// || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/LichViet// - -$(INSTALL_DIR) /home/cle/Nokia/LichViet/themes $(INSTALL_ROOT)/usr/local/share/LichViet// + -$(INSTALL_DIR) /home/cle/Garage/lichviet/qml/themes $(INSTALL_ROOT)/usr/local/share/LichViet// -uninstall_itemthemes: FORCE +uninstall_itemthemes_qml: FORCE -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/LichViet//themes -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/share/LichViet// install_desktopfile: first FORCE @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/applications/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/applications/ - -$(INSTALL_FILE) /home/cle/Nokia/LichViet/LichViet.desktop $(INSTALL_ROOT)/usr/share/applications/ + -$(INSTALL_FILE) /home/cle/Garage/lichviet/LichViet.desktop $(INSTALL_ROOT)/usr/share/applications/ uninstall_desktopfile: FORCE @@ -250,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/cle/Nokia/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 @@ -268,9 +333,9 @@ uninstall_target: FORCE -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/bin/ -install: install_itemthemes install_desktopfile install_icon install_target FORCE +install: install_itemthemes_qml install_desktopfile install_icon install_target FORCE -uninstall: uninstall_itemthemes uninstall_desktopfile uninstall_icon uninstall_target FORCE +uninstall: uninstall_itemthemes_qml uninstall_desktopfile uninstall_icon uninstall_target FORCE FORCE: