git-svn-id: svn://db.shs.com.ru/libs@1 a8b55f48-bf90-11e4-a774-851b48703e85
205 lines
8.9 KiB
Makefile
205 lines
8.9 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_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 -g -Wall -Wextra $(DEFINES)
|
|
CXXFLAGS = -pipe -fno-keep-inline-dllexport -g -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"debug" -I"..\..\Qt\4.8.6\mkspecs\default"
|
|
LINK = g++
|
|
LFLAGS = -mthreads -shared -Wl,--out-implib,debug\libtouch_widgets_plugin.a
|
|
LIBS = -L"c:\Qt\4.8.6\lib" -L. -ltouch_widgets -lQtScriptd4 -lQtXmld4 -lQtGuid4 -lQtCored4 -lQtDesignerd4
|
|
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 = debug
|
|
|
|
####### Files
|
|
|
|
SOURCES = touchsliderplugin.cpp \
|
|
touchbuttframeplugin.cpp \
|
|
tw.cpp \
|
|
touchbuttonplugin.cpp debug\moc_touchsliderplugin.cpp \
|
|
debug\moc_touchbuttframeplugin.cpp \
|
|
debug\moc_tw.cpp \
|
|
debug\moc_touchbuttonplugin.cpp \
|
|
debug\qrc_touch_widgets.cpp
|
|
OBJECTS = debug/touchsliderplugin.o \
|
|
debug/touchbuttframeplugin.o \
|
|
debug/tw.o \
|
|
debug/touchbuttonplugin.o \
|
|
debug/moc_touchsliderplugin.o \
|
|
debug/moc_touchbuttframeplugin.o \
|
|
debug/moc_tw.o \
|
|
debug/moc_touchbuttonplugin.o \
|
|
debug/qrc_touch_widgets.o
|
|
DIST =
|
|
QMAKE_TARGET = touch_widgets_plugin
|
|
DESTDIR = debug\ #avoid trailing-slash linebreak
|
|
TARGET = touch_widgets_plugin.dll
|
|
DESTDIR_TARGET = debug\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.Debug $(DESTDIR_TARGET)
|
|
|
|
$(DESTDIR_TARGET): $(OBJECTS)
|
|
$(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) $(OBJECTS) $(LIBS)
|
|
|
|
qmake: FORCE
|
|
@$(QMAKE) -o Makefile.Debug 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\debug.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) debug\touchsliderplugin.o debug\touchbuttframeplugin.o debug\tw.o debug\touchbuttonplugin.o debug\moc_touchsliderplugin.o debug\moc_touchbuttframeplugin.o debug\moc_tw.o debug\moc_touchbuttonplugin.o debug\qrc_touch_widgets.o
|
|
-$(DEL_FILE) debug\libtouch_widgets_plugin.a
|
|
|
|
distclean: clean
|
|
-$(DEL_FILE) $(DESTDIR_TARGET)
|
|
-$(DEL_FILE) Makefile.Debug
|
|
|
|
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: debug/moc_touchsliderplugin.cpp debug/moc_touchbuttframeplugin.cpp debug/moc_tw.cpp debug/moc_touchbuttonplugin.cpp
|
|
compiler_moc_header_clean:
|
|
-$(DEL_FILE) debug\moc_touchsliderplugin.cpp debug\moc_touchbuttframeplugin.cpp debug\moc_tw.cpp debug\moc_touchbuttonplugin.cpp
|
|
debug/moc_touchsliderplugin.cpp: touchsliderplugin.h
|
|
C:\Qt\4.8.6\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 touchsliderplugin.h -o debug\moc_touchsliderplugin.cpp
|
|
|
|
debug/moc_touchbuttframeplugin.cpp: touchbuttframeplugin.h
|
|
C:\Qt\4.8.6\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 touchbuttframeplugin.h -o debug\moc_touchbuttframeplugin.cpp
|
|
|
|
debug/moc_tw.cpp: tw.h
|
|
C:\Qt\4.8.6\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 tw.h -o debug\moc_tw.cpp
|
|
|
|
debug/moc_touchbuttonplugin.cpp: touchbuttonplugin.h
|
|
C:\Qt\4.8.6\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 touchbuttonplugin.h -o debug\moc_touchbuttonplugin.cpp
|
|
|
|
compiler_rcc_make_all: debug/qrc_touch_widgets.cpp
|
|
compiler_rcc_clean:
|
|
-$(DEL_FILE) debug\qrc_touch_widgets.cpp
|
|
debug/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 debug\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
|
|
|
|
debug/touchsliderplugin.o: touchsliderplugin.cpp touchslider.h \
|
|
touchsliderplugin.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\touchsliderplugin.o touchsliderplugin.cpp
|
|
|
|
debug/touchbuttframeplugin.o: touchbuttframeplugin.cpp touchbuttframe.h \
|
|
touchbutton.h \
|
|
touchbuttframeplugin.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\touchbuttframeplugin.o touchbuttframeplugin.cpp
|
|
|
|
debug/tw.o: tw.cpp touchsliderplugin.h \
|
|
touchbuttframeplugin.h \
|
|
touchbuttonplugin.h \
|
|
tw.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\tw.o tw.cpp
|
|
|
|
debug/touchbuttonplugin.o: touchbuttonplugin.cpp touchbutton.h \
|
|
touchbuttonplugin.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\touchbuttonplugin.o touchbuttonplugin.cpp
|
|
|
|
debug/moc_touchsliderplugin.o: debug/moc_touchsliderplugin.cpp
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_touchsliderplugin.o debug\moc_touchsliderplugin.cpp
|
|
|
|
debug/moc_touchbuttframeplugin.o: debug/moc_touchbuttframeplugin.cpp
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_touchbuttframeplugin.o debug\moc_touchbuttframeplugin.cpp
|
|
|
|
debug/moc_tw.o: debug/moc_tw.cpp
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_tw.o debug\moc_tw.cpp
|
|
|
|
debug/moc_touchbuttonplugin.o: debug/moc_touchbuttonplugin.cpp
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_touchbuttonplugin.o debug\moc_touchbuttonplugin.cpp
|
|
|
|
debug/qrc_touch_widgets.o: debug/qrc_touch_widgets.cpp
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\qrc_touch_widgets.o debug\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:
|
|
|