############################################################################# # 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_GUI_LIB -DQT_CORE_LIB CFLAGS = -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -W3 $(DEFINES) CXXFLAGS = -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -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"debug" -I"c:\Qt\4.6.3\mkspecs\default" LINK = link LFLAGS = /LIBPATH:"c:\Qt\4.6.3\lib" /NOLOGO /DEBUG /DLL /MANIFEST /MANIFESTFILE:"debug\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\QtGuid4.lib c:\Qt\4.6.3\lib\QtCored4.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 = debug ####### Files SOURCES = interface_libusb.cpp \ SiI2CDevice.cpp \ SiUSBDevice.cpp \ SiUSBDeviceManager.cpp \ SiUSBLib.cpp \ SiXilinxChip.cpp OBJECTS = debug\interface_libusb.obj \ debug\SiI2CDevice.obj \ debug\SiUSBDevice.obj \ debug\SiUSBDeviceManager.obj \ debug\SiUSBLib.obj \ debug\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{debug\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<< $< << {.}.cc{debug\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<< $< << {.}.cxx{debug\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<< $< << {.}.c{debug\}.obj:: $(CC) -c $(CFLAGS) $(INCPATH) -Fodebug\ @<< $< << ####### Build rules first: all all: Makefile.Debug $(DESTDIR_TARGET) $(DESTDIR_TARGET): $(OBJECTS) $(LINK) $(LFLAGS) /OUT:$(DESTDIR_TARGET) @<< $(OBJECTS) $(LIBS) << mt.exe -nologo -manifest "debug\SiUSBLib.intermediate.manifest" -outputresource:$(DESTDIR_TARGET);2 -$(COPY_FILE) "$(DESTDIR_TARGET)" ..\bin qmake: FORCE @$(QMAKE) -win32 -o Makefile.Debug 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\debug.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) debug\interface_libusb.obj debug\SiI2CDevice.obj debug\SiUSBDevice.obj debug\SiUSBDeviceManager.obj debug\SiUSBLib.obj debug\SiXilinxChip.obj -$(DEL_FILE) debug\SiUSBLib.intermediate.manifest ..\lib\SiUSBLib.exp ..\lib\SiUSBLib.pdb ..\lib\SiUSBLib.ilk vc*.pdb vc*.idb 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: 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 debug\interface_libusb.obj: interface_libusb.cpp interface_libusb.h \ include\libusb.h \ interface_libusb_ioctl.h debug\SiI2CDevice.obj: SiI2CDevice.cpp SiI2CDevice.h \ SiUSBDevice.h \ ..\inc\SURConstants.h \ SiXilinxChip.h \ interface_libusb.h \ include\libusb.h \ interface_libusb_ioctl.h debug\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 debug\SiUSBDeviceManager.obj: SiUSBDeviceManager.cpp SiUSBDeviceManager.h \ SiUSBDevice.h \ ..\inc\SURConstants.h \ SiXilinxChip.h \ interface_libusb.h \ include\libusb.h \ interface_libusb_ioctl.h debug\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 debug\SiXilinxChip.obj: SiXilinxChip.cpp SiXilinxChip.h \ interface_libusb.h \ include\libusb.h ####### Install install: FORCE uninstall: FORCE FORCE: