This repository has been archived on 2020-09-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
libs/touch_widgets/Makefile.Release
Бычков Андрей ba8bc27298 1
git-svn-id: svn://db.shs.com.ru/libs@1 a8b55f48-bf90-11e4-a774-851b48703e85
2015-02-28 21:28:53 +00:00

205 lines
9.1 KiB
Makefile

#############################################################################
# Makefile for building: touch_widgets_plugin
# Generated by qmake (2.01a) (Qt 4.8.6) on: ?? 29. ??? 17:50:10 2014
# Project: touch_widgets.pro
# Template: lib
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = g++
DEFINES = -DUNICODE -DQT_DLL -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQDESIGNER_EXPORT_WIDGETS -DQT_THREAD_SUPPORT
CFLAGS = -pipe -fno-keep-inline-dllexport -O2 -Wall -Wextra $(DEFINES)
CXXFLAGS = -pipe -fno-keep-inline-dllexport -O2 -frtti -fexceptions -mthreads -Wall -Wextra $(DEFINES)
INCPATH = -I"..\..\Qt\4.8.6\include\QtDesigner" -I"..\..\Qt\4.8.6\include\QtCore" -I"..\..\Qt\4.8.6\include\QtGui" -I"..\..\Qt\4.8.6\include\QtXml" -I"..\..\Qt\4.8.6\include\QtScript" -I"..\..\Qt\4.8.6\include" -I"..\..\Qt\4.8.6\include\ActiveQt" -I"release" -I"..\..\Qt\4.8.6\mkspecs\default"
LINK = g++
LFLAGS = -Wl,-s -mthreads -shared -Wl,--out-implib,release\libtouch_widgets_plugin.a
LIBS = -L"c:\Qt\4.8.6\lib" -L. -ltouch_widgets -lQtScript4 -lQtXml4 -lQtGui4 -lQtCore4 -lQtDesigner4
QMAKE = c:\Qt\4.8.6\bin\qmake.exe
IDC = c:\Qt\4.8.6\bin\idc.exe
IDL = midl
ZIP = zip -r -9
DEF_FILE =
RES_FILE =
COPY = copy /y
SED =
COPY_FILE = $(COPY)
COPY_DIR = xcopy /s /q /y /i
DEL_FILE = del
DEL_DIR = rmdir
MOVE = move
CHK_DIR_EXISTS= if not exist
MKDIR = mkdir
INSTALL_FILE = $(COPY_FILE)
INSTALL_PROGRAM = $(COPY_FILE)
INSTALL_DIR = $(COPY_DIR)
####### Output directory
OBJECTS_DIR = release
####### Files
SOURCES = touchsliderplugin.cpp \
touchbuttframeplugin.cpp \
tw.cpp \
touchbuttonplugin.cpp release\moc_touchsliderplugin.cpp \
release\moc_touchbuttframeplugin.cpp \
release\moc_tw.cpp \
release\moc_touchbuttonplugin.cpp \
release\qrc_touch_widgets.cpp
OBJECTS = release/touchsliderplugin.o \
release/touchbuttframeplugin.o \
release/tw.o \
release/touchbuttonplugin.o \
release/moc_touchsliderplugin.o \
release/moc_touchbuttframeplugin.o \
release/moc_tw.o \
release/moc_touchbuttonplugin.o \
release/qrc_touch_widgets.o
DIST =
QMAKE_TARGET = touch_widgets_plugin
DESTDIR = release\ #avoid trailing-slash linebreak
TARGET = touch_widgets_plugin.dll
DESTDIR_TARGET = release\touch_widgets_plugin.dll
####### Implicit rules
.SUFFIXES: .cpp .cc .cxx .c
.cpp.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cc.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cxx.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.c.o:
$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
####### Build rules
first: all
all: Makefile.Release $(DESTDIR_TARGET)
$(DESTDIR_TARGET): $(OBJECTS)
$(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) $(OBJECTS) $(LIBS)
qmake: FORCE
@$(QMAKE) -o Makefile.Release touch_widgets.pro
dist:
$(ZIP) touch_widgets_plugin.zip $(SOURCES) $(DIST) touch_widgets.pro ..\..\Qt\4.8.6\mkspecs\features\device_config.prf ..\..\Qt\4.8.6\mkspecs\qconfig.pri ..\..\Qt\4.8.6\mkspecs\modules\qt_webkit_version.pri ..\..\Qt\4.8.6\mkspecs\features\qt_functions.prf ..\..\Qt\4.8.6\mkspecs\features\qt_config.prf ..\..\Qt\4.8.6\mkspecs\win32-g++\qmake.conf ..\..\Qt\4.8.6\mkspecs\win32-g++-4.6\qmake.conf ..\..\Qt\4.8.6\mkspecs\features\exclusive_builds.prf ..\..\Qt\4.8.6\mkspecs\features\default_pre.prf ..\..\Qt\4.8.6\mkspecs\features\win32\default_pre.prf ..\..\Qt\4.8.6\mkspecs\features\release.prf ..\..\Qt\4.8.6\mkspecs\features\debug_and_release.prf ..\..\Qt\4.8.6\mkspecs\features\default_post.prf ..\..\Qt\4.8.6\mkspecs\features\win32\default_post.prf ..\..\Qt\4.8.6\mkspecs\features\build_pass.prf ..\..\Qt\4.8.6\mkspecs\features\qt.prf ..\..\Qt\4.8.6\mkspecs\features\designer.prf ..\..\Qt\4.8.6\mkspecs\features\win32\thread.prf ..\..\Qt\4.8.6\mkspecs\features\moc.prf ..\..\Qt\4.8.6\mkspecs\features\win32\rtti.prf ..\..\Qt\4.8.6\mkspecs\features\win32\exceptions.prf ..\..\Qt\4.8.6\mkspecs\features\win32\stl.prf ..\..\Qt\4.8.6\mkspecs\features\shared.prf ..\..\Qt\4.8.6\mkspecs\features\dll.prf ..\..\Qt\4.8.6\mkspecs\features\warn_on.prf ..\..\Qt\4.8.6\mkspecs\features\win32\windows.prf ..\..\Qt\4.8.6\mkspecs\features\resources.prf ..\..\Qt\4.8.6\mkspecs\features\uic.prf ..\..\Qt\4.8.6\mkspecs\features\yacc.prf ..\..\Qt\4.8.6\mkspecs\features\lex.prf ..\..\Qt\4.8.6\mkspecs\features\include_source_dir.prf HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES
clean: compiler_clean
-$(DEL_FILE) release\touchsliderplugin.o release\touchbuttframeplugin.o release\tw.o release\touchbuttonplugin.o release\moc_touchsliderplugin.o release\moc_touchbuttframeplugin.o release\moc_tw.o release\moc_touchbuttonplugin.o release\qrc_touch_widgets.o
-$(DEL_FILE) release\libtouch_widgets_plugin.a
distclean: clean
-$(DEL_FILE) $(DESTDIR_TARGET)
-$(DEL_FILE) Makefile.Release
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: release/moc_touchsliderplugin.cpp release/moc_touchbuttframeplugin.cpp release/moc_tw.cpp release/moc_touchbuttonplugin.cpp
compiler_moc_header_clean:
-$(DEL_FILE) release\moc_touchsliderplugin.cpp release\moc_touchbuttframeplugin.cpp release\moc_tw.cpp release\moc_touchbuttonplugin.cpp
release/moc_touchsliderplugin.cpp: touchsliderplugin.h
C:\Qt\4.8.6\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 touchsliderplugin.h -o release\moc_touchsliderplugin.cpp
release/moc_touchbuttframeplugin.cpp: touchbuttframeplugin.h
C:\Qt\4.8.6\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 touchbuttframeplugin.h -o release\moc_touchbuttframeplugin.cpp
release/moc_tw.cpp: tw.h
C:\Qt\4.8.6\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 tw.h -o release\moc_tw.cpp
release/moc_touchbuttonplugin.cpp: touchbuttonplugin.h
C:\Qt\4.8.6\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 touchbuttonplugin.h -o release\moc_touchbuttonplugin.cpp
compiler_rcc_make_all: release/qrc_touch_widgets.cpp
compiler_rcc_clean:
-$(DEL_FILE) release\qrc_touch_widgets.cpp
release/qrc_touch_widgets.cpp: touch_widgets.qrc \
icons/touchslider.png \
icons/touchbutton.png \
icons/touchbuttframe.png
c:\Qt\4.8.6\bin\rcc.exe -name touch_widgets touch_widgets.qrc -o release\qrc_touch_widgets.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_uic_make_all:
compiler_uic_clean:
compiler_yacc_decl_make_all:
compiler_yacc_decl_clean:
compiler_yacc_impl_make_all:
compiler_yacc_impl_clean:
compiler_lex_make_all:
compiler_lex_clean:
compiler_clean: compiler_moc_header_clean compiler_rcc_clean
####### Compile
release/touchsliderplugin.o: touchsliderplugin.cpp touchslider.h \
touchsliderplugin.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\touchsliderplugin.o touchsliderplugin.cpp
release/touchbuttframeplugin.o: touchbuttframeplugin.cpp touchbuttframe.h \
touchbutton.h \
touchbuttframeplugin.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\touchbuttframeplugin.o touchbuttframeplugin.cpp
release/tw.o: tw.cpp touchsliderplugin.h \
touchbuttframeplugin.h \
touchbuttonplugin.h \
tw.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\tw.o tw.cpp
release/touchbuttonplugin.o: touchbuttonplugin.cpp touchbutton.h \
touchbuttonplugin.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\touchbuttonplugin.o touchbuttonplugin.cpp
release/moc_touchsliderplugin.o: release/moc_touchsliderplugin.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_touchsliderplugin.o release\moc_touchsliderplugin.cpp
release/moc_touchbuttframeplugin.o: release/moc_touchbuttframeplugin.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_touchbuttframeplugin.o release\moc_touchbuttframeplugin.cpp
release/moc_tw.o: release/moc_tw.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_tw.o release\moc_tw.cpp
release/moc_touchbuttonplugin.o: release/moc_touchbuttonplugin.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_touchbuttonplugin.o release\moc_touchbuttonplugin.cpp
release/qrc_touch_widgets.o: release/qrc_touch_widgets.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\qrc_touch_widgets.o release\qrc_touch_widgets.cpp
####### Install
install_target: first FORCE
@$(CHK_DIR_EXISTS) c:$(INSTALL_ROOT)\Qt\4.8.6\plugins\designer $(MKDIR) c:$(INSTALL_ROOT)\Qt\4.8.6\plugins\designer
-$(INSTALL_FILE) "$(DESTDIR_TARGET)" "c:$(INSTALL_ROOT)\Qt\4.8.6\plugins\designer\$(TARGET)"
uninstall_target: FORCE
-$(DEL_FILE) "c:$(INSTALL_ROOT)\Qt\4.8.6\plugins\designer\$(TARGET)"
-$(DEL_DIR) c:$(INSTALL_ROOT)\Qt\4.8.6\plugins\designer
install: install_target FORCE
uninstall: uninstall_target FORCE
FORCE: