📄 gbench_install.mak
字号:
# $Id: gbench_install.mak,v 1000.1 2004/06/11 23:21:49 vakatov Exp $################################################################### Main Installation makefile for Genome Workbench## Author: Mike DiCuccio##################################################################################################################################### Overridable variables# These can be modified on the NMAKE command line### Tag defining prefixes for a number of pathsMSVC = msvc7## This is the main path for installation. It can be overridden# on the command-lineINSTALL = ..\..\..\..\compilers\msvc710_prj\dll\bin################################################################### Do not override any of the variables below on the NMAKE command# line#!IF "$(INTDIR)" == ".\DebugDLL"INTDIR = DebugDLL!ELSEIF "$(INTDIR)" == ".\ReleaseDLL"INTDIR = ReleaseDLL!ENDIF## Alias for the bin directory#DLLBIN = $(INSTALL)\$(INTDIR)## Alias for the genome workbench path#GBENCH = $(DLLBIN)\gbench## Third-party DLLs' installation path and rules#!IF "$(MSVC)" == "msvc6"!ELSEINSTALL_BINPATH = $(GBENCH)\binTHIRDPARTY_MAKEFILES_DIR = ..\..\..\..\compilers\msvc710_prj\dll!include $(THIRDPARTY_MAKEFILES_DIR)\Makefile.mk!ENDIF## Alias for the source tree#SRCDIR = ..\..\..\..\src## Alias for the local installation of third party libs#THIRDPARTYLIB = ..\..\..\..\..\lib\$(INTDIR)## Core Libraries#CORELIBS = \ $(GBENCH)\bin\dbapi_driver_dblib.dll \ $(GBENCH)\bin\gui_config.dll \ $(GBENCH)\bin\gui_core.dll \ $(GBENCH)\bin\gui_dialogs.dll \ $(GBENCH)\bin\gui_graph.dll \ $(GBENCH)\bin\gui_utils.dll \ $(GBENCH)\bin\gui_widgets.dll \ $(GBENCH)\bin\gui_widgets_aln.dll \ $(GBENCH)\bin\gui_widgets_misc.dll \ $(GBENCH)\bin\gui_widgets_seq.dll \ $(GBENCH)\bin\ncbi_algo.dll \ $(GBENCH)\bin\ncbi_bdb.dll \ $(GBENCH)\bin\ncbi_core.dll \ $(GBENCH)\bin\ncbi_dbapi.dll \ $(GBENCH)\bin\ncbi_dbapi_driver.dll \ $(GBENCH)\bin\ncbi_general.dll \ $(GBENCH)\bin\ncbi_image.dll \ $(GBENCH)\bin\ncbi_lds.dll \ $(GBENCH)\bin\ncbi_misc.dll \ $(GBENCH)\bin\ncbi_mmdb.dll \ $(GBENCH)\bin\ncbi_pub.dll \ $(GBENCH)\bin\ncbi_seq.dll \ $(GBENCH)\bin\ncbi_seqext.dll \ $(GBENCH)\bin\ncbi_sqlite.dll \ $(GBENCH)\bin\ncbi_validator.dll \ $(GBENCH)\bin\ncbi_web.dll \ $(GBENCH)\bin\ncbi_xloader_cdd.dll \ $(GBENCH)\bin\ncbi_xloader_genbank.dll \ $(GBENCH)\bin\ncbi_xloader_lds.dll \ $(GBENCH)\bin\ncbi_xloader_table.dll \ $(GBENCH)\bin\ncbi_xreader.dll \ $(GBENCH)\bin\ncbi_xreader_id1.dll \ $(GBENCH)\bin\ncbi_xreader_pubseqos.dll## Plugins#PLUGINS = \ $(GBENCH)\plugins\algo_align.dll \ $(GBENCH)\plugins\algo_basic.dll \ $(GBENCH)\plugins\algo_cn3d.dll \ $(GBENCH)\plugins\algo_external.dll \ $(GBENCH)\plugins\algo_gnomon.dll \ $(GBENCH)\plugins\algo_init.dll \ $(GBENCH)\plugins\algo_linkout.dll \ $(GBENCH)\plugins\algo_phylo.dll \ $(GBENCH)\plugins\algo_validator.dll \ $(GBENCH)\plugins\dload_basic.dll \ $(GBENCH)\plugins\dload_table.dll \ $(GBENCH)\plugins\view_align.dll \ $(GBENCH)\plugins\view_graphic.dll \ $(GBENCH)\plugins\view_phylotree.dll \ $(GBENCH)\plugins\view_table.dll \ $(GBENCH)\plugins\view_taxplot.dll \ $(GBENCH)\plugins\view_text.dll \ $(GBENCH)\plugins\view_validator.dll## Internal-only plugins#PLUGINS_INTERNAL =## Resource files#RESOURCES = \ $(GBENCH)\share\check.png \ $(GBENCH)\share\radio.png \ $(GBENCH)\share\zoom_all.png \ $(GBENCH)\share\zoom_in.png \ $(GBENCH)\share\zoom_out.png \ $(GBENCH)\share\zoom_sel.png## Third-Party Libraries# These may depend on the build mode#!IF "$(MSVC)" == "msvc6"THIRD_PARTY_LIBS = \ libbdb-$(INTDIR) \ libfltk-$(INTDIR) \ libsqlite-$(INTDIR)!ELSETHIRD_PARTY_LIBS = \ install_fltk \ install_berkeleydb \ install_sqlite !ENDIF## Pattern Files#PATTERNS = \ $(GBENCH)\etc\patterns\kozak.ini### Main Targets#all : dirs \ $(CORELIBS) \ $(THIRD_PARTY_LIBS) \ $(PLUGINS) \ $(RESOURCES) \ $(PATTERNS) \ config-files \ $(GBENCH)/plugins/plugin-cacheclean : @echo Removing Genome Workbench Installation... @rmdir /S /Q $(GBENCH)################################################################# Target: Create our directory structure#dirs : @echo Creating directory structure... @if not exist $(GBENCH) mkdir $(GBENCH) @if not exist $(GBENCH)\bin mkdir $(GBENCH)\bin @if not exist $(GBENCH)\etc mkdir $(GBENCH)\etc @if not exist $(GBENCH)\plugins mkdir $(GBENCH)\plugins @if not exist $(GBENCH)\etc\patterns mkdir $(GBENCH)\etc\patterns @if not exist $(GBENCH)\share mkdir $(GBENCH)\share################################################################# Target: Copy the core libraries#$(CORELIBS) : $(DLLBIN)\$(*B).dll @if exist $** echo Updating $(*B).dll... @if exist $(DLLBIN)\$(*B).pdb copy $(DLLBIN)\$(*B).pdb $(GBENCH)\bin > NUL @if exist $(DLLBIN)\$(*B).exp copy $(DLLBIN)\$(*B).exp $(GBENCH)\bin > NUL @if exist $** copy $** $(GBENCH)\bin > NUL################################################################# Target: Copy the plugins#$(PLUGINS) : $(DLLBIN)\$(*B).dll @if exist $** echo Updating $(*B).dll... @if exist $** copy $** $(GBENCH)\plugins > NUL################################################################# Target: Copy the resources#$(RESOURCES) : $(SRCDIR)\gui\res\$(*B).png @if exist $** echo Updating $(*B).png... @if exist $** copy $** $(GBENCH)\share > NUL################################################################# Target: Copy the pattern files#$(PATTERNS) : $(SRCDIR)\gui\gbench\patterns\$(*B).ini @if exist $** echo Updating $(*B).ini... @if exist $** copy $** $(GBENCH)\etc\patterns > NUL!IF "$(MSVC)" == "msvc6"################################################################# Target: Copy fltkdll.dll#libfltk-DebugDLL libfltk-ReleaseDLL : $(GBENCH)\bin\fltkdll.dll$(GBENCH)\bin\fltkdll.dll : \\DIZZY\public\lib\$(INTDIR)\$(*B).dll @echo Copying third-party library: $(*B).dll @copy \\DIZZY\public\lib\$(INTDIR)\$(*B).dll $(GBENCH)\bin > NUL################################################################# Target: Copy sqlite.dll#libsqlite-DebugDLL libsqlite-ReleaseDLL : $(GBENCH)\bin\sqlite.dll$(GBENCH)\bin\sqlite.dll : \\DIZZY\public\lib\$(INTDIR)\$(*B).dll @echo Copying third-party library: $(*B).dll @copy \\DIZZY\public\lib\$(INTDIR)\$(*B).dll $(GBENCH)\bin > NUL################################################################# Target: Copy libbdb.dll# We have different targets here, depending on which build mode# we're pursuing#libbdb-DebugDLL libbdb-ReleaseDLL : $(GBENCH)\bin\libdb41.dll$(GBENCH)\bin\libdb41.dll : \\DIZZY\public\lib\DebugDLL\$(*B).dll @echo Copying third-party library: $(*B).dll @copy \\DIZZY\public\lib\DebugDLL\$(*B).dll $(GBENCH)\bin\$(*B).dll > NUL!ENDIF################################################################# Target: Copy configuration files#config-files : @echo Copying config files... @copy $(SRCDIR)\gui\gbench\gbench.ini $(GBENCH)\etc > NUL @copy $(SRCDIR)\gui\gbench\news.ini $(GBENCH)\etc > NUL @copy $(SRCDIR)\gui\gbench\algo_urls $(GBENCH)\etc > NUL################################################################# Target: Update the plugin cache, if necessary#$(GBENCH)/plugins/plugin-cache : $(PLUGINS) $(GBENCH)\bin\gbench_plugin_scan.exe @echo Creating plugin cache file... @$(GBENCH)\bin\gbench_plugin_scan -strict $(GBENCH)\plugins
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -