############################################################################# # Makefile for building: SiUSBLib # Generated by qmake (2.01a) (Qt 4.6.3) on: Mon 23. Jul 10:17:28 2012 # Project: libsiusb.pro # Template: lib ############################################################################# ####### Compiler, tools and options CC = cl CXX = cl DEFINES = -DWIN32 -DQT_LARGEFILE_SUPPORT -D__VISUALC__ -DDLL_EXPORT -D_WIN32 -DWIN32 -DNO_ERROR_MESSAGES -D_CRT_SECURE_NO_WARNINGS -D_WINDLL -DQT_THREAD_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB CFLAGS = -nologo -Zm200 -Zc:wchar_t- -O2 -MD -W3 $(DEFINES) CXXFLAGS = -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 -w34189 $(DEFINES) INCPATH = -I"c:\Qt\4.6.3\include\QtCore" -I"c:\Qt\4.6.3\include\QtGui" -I"c:\Qt\4.6.3\include" -I"." -I"..\inc" -I"include" -I"c:\Qt\4.6.3\include\ActiveQt" -I"release" -I"c:\Qt\4.6.3\mkspecs\default" LINK = link LFLAGS = /LIBPATH:"c:\Qt\4.6.3\lib" /NOLOGO /INCREMENTAL:NO /DLL /MANIFEST /MANIFESTFILE:"release\SiUSBLib.intermediate.manifest" LIBS = user32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ./libusb_windows_backend/x86/libusb-1.0.lib c:\Qt\4.6.3\lib\QtGui4.lib c:\Qt\4.6.3\lib\QtCore4.lib QMAKE = c:\Qt\4.6.3\bin\qmake.exe IDC = c:\Qt\4.6.3\bin\idc.exe IDL = midl ZIP = zip -r -9 DEF_FILE = RES_FILE = COPY = copy /y 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 = interface_libusb.cpp \ SiI2CDevice.cpp \ SiUSBDevice.cpp \ SiUSBDeviceManager.cpp \ SiUSBLib.cpp \ SiXilinxChip.cpp OBJECTS = release\interface_libusb.obj \ release\SiI2CDevice.obj \ release\SiUSBDevice.obj \ release\SiUSBDeviceManager.obj \ release\SiUSBLib.obj \ release\SiXilinxChip.obj DIST = QMAKE_TARGET = SiUSBLib DESTDIR = ..\lib\ #avoid trailing-slash linebreak TARGET = SiUSBLib.dll DESTDIR_TARGET = ..\lib\SiUSBLib.dll ####### Implicit rules .SUFFIXES: .c .cpp .cc .cxx {.}.cpp{release\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Forelease\ @<< $< << {.}.cc{release\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Forelease\ @<< $< << {.}.cxx{release\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Forelease\ @<< $< << {.}.c{release\}.obj:: $(CC) -c $(CFLAGS) $(INCPATH) -Forelease\ @<< $< << ####### Build rules first: all all: Makefile.Release $(DESTDIR_TARGET) $(DESTDIR_TARGET): $(OBJECTS) $(LINK) $(LFLAGS) /OUT:$(DESTDIR_TARGET) @<< $(OBJECTS) $(LIBS) << mt.exe -nologo -manifest "release\SiUSBLib.intermediate.manifest" -outputresource:$(DESTDIR_TARGET);2 -$(COPY_FILE) "$(DESTDIR_TARGET)" ..\bin qmake: FORCE @$(QMAKE) -win32 -o Makefile.Release libsiusb.pro dist: $(ZIP) SiUSBLib.zip $(SOURCES) $(DIST) libsiusb.pro c:\Qt\4.6.3\mkspecs\qconfig.pri c:\Qt\4.6.3\mkspecs\features\qt_functions.prf c:\Qt\4.6.3\mkspecs\features\qt_config.prf c:\Qt\4.6.3\mkspecs\features\exclusive_builds.prf c:\Qt\4.6.3\mkspecs\features\default_pre.prf c:\Qt\4.6.3\mkspecs\features\win32\default_pre.prf c:\Qt\4.6.3\mkspecs\features\release.prf c:\Qt\4.6.3\mkspecs\features\debug_and_release.prf c:\Qt\4.6.3\mkspecs\features\default_post.prf c:\Qt\4.6.3\mkspecs\features\win32\default_post.prf c:\Qt\4.6.3\mkspecs\features\build_pass.prf c:\Qt\4.6.3\mkspecs\features\win32\thread.prf c:\Qt\4.6.3\mkspecs\features\dll.prf c:\Qt\4.6.3\mkspecs\features\shared.prf c:\Qt\4.6.3\mkspecs\features\win32\rtti.prf c:\Qt\4.6.3\mkspecs\features\win32\exceptions.prf c:\Qt\4.6.3\mkspecs\features\win32\stl.prf c:\Qt\4.6.3\mkspecs\features\win32\embed_manifest_exe.prf c:\Qt\4.6.3\mkspecs\features\win32\embed_manifest_dll.prf c:\Qt\4.6.3\mkspecs\features\warn_on.prf c:\Qt\4.6.3\mkspecs\features\qt.prf c:\Qt\4.6.3\mkspecs\features\moc.prf c:\Qt\4.6.3\mkspecs\features\win32\windows.prf c:\Qt\4.6.3\mkspecs\features\resources.prf c:\Qt\4.6.3\mkspecs\features\uic.prf c:\Qt\4.6.3\mkspecs\features\yacc.prf c:\Qt\4.6.3\mkspecs\features\lex.prf c:\Qt\4.6.3\mkspecs\features\include_source_dir.prf HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES clean: compiler_clean -$(DEL_FILE) release\interface_libusb.obj release\SiI2CDevice.obj release\SiUSBDevice.obj release\SiUSBDeviceManager.obj release\SiUSBLib.obj release\SiXilinxChip.obj -$(DEL_FILE) release\SiUSBLib.intermediate.manifest ..\lib\SiUSBLib.exp 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: compiler_moc_header_clean: compiler_rcc_make_all: compiler_rcc_clean: 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: ####### Compile release\interface_libusb.obj: interface_libusb.cpp interface_libusb.h \ include\libusb.h \ interface_libusb_ioctl.h release\SiI2CDevice.obj: SiI2CDevice.cpp SiI2CDevice.h \ SiUSBDevice.h \ ..\inc\SURConstants.h \ SiXilinxChip.h \ interface_libusb.h \ include\libusb.h \ interface_libusb_ioctl.h release\SiUSBDevice.obj: SiUSBDevice.cpp ..\inc\SURConstants.h \ SiUSBDevice.h \ SiXilinxChip.h \ interface_libusb.h \ include\libusb.h \ interface_libusb_ioctl.h \ SiI2CDevice.h \ SiUSBDeviceManager.h release\SiUSBDeviceManager.obj: SiUSBDeviceManager.cpp SiUSBDeviceManager.h \ SiUSBDevice.h \ ..\inc\SURConstants.h \ SiXilinxChip.h \ interface_libusb.h \ include\libusb.h \ interface_libusb_ioctl.h release\SiUSBLib.obj: SiUSBLib.cpp ..\inc\SiUSBLib.h \ SiUSBDeviceManager.h \ SiUSBDevice.h \ ..\inc\SURConstants.h \ SiXilinxChip.h \ interface_libusb.h \ include\libusb.h \ interface_libusb_ioctl.h release\SiXilinxChip.obj: SiXilinxChip.cpp SiXilinxChip.h \ interface_libusb.h \ include\libusb.h ####### Install install: FORCE uninstall: FORCE FORCE: