~ubuntu-branches/ubuntu/maverick/ncbi-tools6/maverick

« back to all changes in this revision

Viewing changes to make/msvc_prj/all_ncbi.bat

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2005-03-27 12:00:15 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050327120015-embhesp32nj73p9r
Tags: 6.1.20041020-3
* Fix FTBFS under GCC 4.0 caused by inconsistent use of "static" on
  functions.  (Closes: #295110.)
* Add a watch file, now that we can.  (Upstream's layout needs version=3.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@ECHO OFF
 
2
REM $Id: all_ncbi.bat,v 1.4 2004/03/11 16:48:32 ivanov Exp $
 
3
REM ===========================================================================
 
4
REM 
 
5
REM                            PUBLIC DOMAIN NOTICE
 
6
REM               National Center for Biotechnology Information
 
7
REM 
 
8
REM  This software/database is a "United States Government Work" under the
 
9
REM  terms of the United States Copyright Act.  It was written as part of
 
10
REM  the author's official duties as a United States Government employee and
 
11
REM  thus cannot be copyrighted.  This software/database is freely available
 
12
REM  to the public for use. The National Library of Medicine and the U.S.
 
13
REM  Government have not placed any restriction on its use or reproduction.
 
14
REM 
 
15
REM  Although all reasonable efforts have been taken to ensure the accuracy
 
16
REM  and reliability of the software and data, the NLM and the U.S.
 
17
REM  Government do not and cannot warrant the performance or results that
 
18
REM  may be obtained by using this software or data. The NLM and the U.S.
 
19
REM  Government disclaim all warranties, express or implied, including
 
20
REM  warranties of performance, merchantability or fitness for any particular
 
21
REM  purpose.
 
22
REM 
 
23
REM  Please cite the author in any work or product based on this material.
 
24
REM  
 
25
REM ===========================================================================
 
26
REM 
 
27
REM Author:  Anton Lavrentiev
 
28
REM
 
29
REM Build NCBI C Toolkit under Windows
 
30
REM
 
31
REM ---------------------------------------------------------------------------
 
32
REM $Log: all_ncbi.bat,v $
 
33
REM Revision 1.4  2004/03/11 16:48:32  ivanov
 
34
REM Disable @ECHO
 
35
REM
 
36
REM Revision 1.3  2004/03/09 19:33:56  ivanov
 
37
REM Enable @ECHO for script debug purposes
 
38
REM
 
39
REM Revision 1.2  2002/09/03 16:18:11  lavr
 
40
REM Message corrected
 
41
REM
 
42
REM Revision 1.1  2002/08/31 23:38:20  lavr
 
43
REM Initial revision: copied from all.bat and slightly tweaked
 
44
REM
 
45
REM ===========================================================================
 
46
 
 
47
IF _%1% == _ GOTO DEFAULT
 
48
SET CFG=%1%
 
49
GOTO ARGLOOP
 
50
:DEFAULT
 
51
SET CFG=ALL
 
52
 
 
53
:ARGLOOP
 
54
IF %CFG% == ALL GOTO CONTINUE
 
55
IF %CFG% == Debug GOTO CONTINUE
 
56
IF %CFG% == DebugMT GOTO CONTINUE
 
57
IF %CFG% == DebugDLL GOTO CONTINUE
 
58
IF %CFG% == Release GOTO CONTINUE
 
59
IF %CFG% == ReleaseMT GOTO CONTINUE
 
60
IF %CFG% == ReleaseDLL GOTO CONTINUE
 
61
ECHO INFO: The following configuration names are recognized:
 
62
ECHO       Debug DebugMT DebugDLL Release ReleaseMT ReleaseDLL ALL
 
63
ECHO FATAL: Unknown configuration name %CFG%. Please correct.
 
64
GOTO EXIT
 
65
 
 
66
:CONTINUE
 
67
ECHO INFO: Building "all_ncbi - %CFG%"
 
68
msdev.exe ./ncbi.dsw /MAKE "all_ncbi - %CFG%"
 
69
IF ERRORLEVEL 1 GOTO ABORT
 
70
 
 
71
IF %CFG% == ALL GOTO COMPLETE
 
72
SHIFT
 
73
IF _%1% == _ GOTO COMPLETE
 
74
SET CFG=%1%
 
75
GOTO ARGLOOP
 
76
 
 
77
:ABORT
 
78
ECHO INFO: Build failed.
 
79
GOTO EXIT
 
80
:COMPLETE
 
81
ECHO INFO: Build complete.
 
82
:EXIT