| 1 |
#ifndef CORELIB___MSWIN_EXPORT__H |
| 2 |
#define CORELIB___MSWIN_EXPORT__H |
| 3 |
|
| 4 |
/* $Id$ |
| 5 |
* =========================================================================== |
| 6 |
* |
| 7 |
* PUBLIC DOMAIN NOTICE |
| 8 |
* National Center for Biotechnology Information |
| 9 |
* |
| 10 |
* This software/database is a "United States Government Work" under the |
| 11 |
* terms of the United States Copyright Act. It was written as part of |
| 12 |
* the author's official duties as a United States Government employee and |
| 13 |
* thus cannot be copyrighted. This software/database is freely available |
| 14 |
* to the public for use. The National Library of Medicine and the U.S. |
| 15 |
* Government have not placed any restriction on its use or reproduction. |
| 16 |
* |
| 17 |
* Although all reasonable efforts have been taken to ensure the accuracy |
| 18 |
* and reliability of the software and data, the NLM and the U.S. |
| 19 |
* Government do not and cannot warrant the performance or results that |
| 20 |
* may be obtained by using this software or data. The NLM and the U.S. |
| 21 |
* Government disclaim all warranties, express or implied, including |
| 22 |
* warranties of performance, merchantability or fitness for any particular |
| 23 |
* purpose. |
| 24 |
* |
| 25 |
* Please cite the author in any work or product based on this material. |
| 26 |
* |
| 27 |
* =========================================================================== |
| 28 |
* |
| 29 |
* Author: Mike DiCuccio |
| 30 |
* |
| 31 |
* File Description: |
| 32 |
* Defines to provide correct exporting from DLLs in Windows. |
| 33 |
* These are necessary to compile DLLs with Visual C++ - exports must be |
| 34 |
* explicitly labeled as such. |
| 35 |
*/ |
| 36 |
|
| 37 |
#ifdef _LIB |
| 38 |
# undef NCBI_DLL_BUILD |
| 39 |
#endif |
| 40 |
|
| 41 |
|
| 42 |
#if defined(NCBI_OS_MSWIN) && defined(NCBI_DLL_BUILD) |
| 43 |
|
| 44 |
#ifndef _MSC_VER |
| 45 |
# error "This toolkit is not buildable with a compiler other than MSVC." |
| 46 |
#endif |
| 47 |
|
| 48 |
|
| 49 |
/* |
| 50 |
* Dumping ground for Windows-specific stuff |
| 51 |
*/ |
| 52 |
#pragma warning (disable : 4786 4251 4275) |
| 53 |
|
| 54 |
|
| 55 |
/* |
| 56 |
* ------------------------------------------------- |
| 57 |
* DLL clusters |
| 58 |
*/ |
| 59 |
|
| 60 |
|
| 61 |
/* |
| 62 |
* Definitions for NCBI_CORE.DLL |
| 63 |
*/ |
| 64 |
#ifdef NCBI_CORE_EXPORTS |
| 65 |
# define NCBI_XNCBI_EXPORTS |
| 66 |
# define NCBI_XSERIAL_EXPORTS |
| 67 |
# define NCBI_XUTIL_EXPORTS |
| 68 |
#endif |
| 69 |
|
| 70 |
|
| 71 |
/* |
| 72 |
* Definitions for NCBI_PUB.DLL |
| 73 |
*/ |
| 74 |
#ifdef NCBI_PUB_EXPORTS |
| 75 |
# define NCBI_BIBLIO_EXPORTS |
| 76 |
# define NCBI_MEDLINE_EXPORTS |
| 77 |
# define NCBI_MEDLARS_EXPORTS |
| 78 |
# define NCBI_MLA_EXPORTS |
| 79 |
# define NCBI_PUBMED_EXPORTS |
| 80 |
#endif |
| 81 |
|
| 82 |
|
| 83 |
/* |
| 84 |
* Definitions for NCBI_SEQ.DLL |
| 85 |
*/ |
| 86 |
#ifdef NCBI_SEQ_EXPORTS |
| 87 |
# define NCBI_SEQALIGN_EXPORTS |
| 88 |
# define NCBI_SEQBLOCK_EXPORTS |
| 89 |
# define NCBI_SEQCODE_EXPORTS |
| 90 |
# define NCBI_SEQFEAT_EXPORTS |
| 91 |
# define NCBI_SEQLOC_EXPORTS |
| 92 |
# define NCBI_SEQRES_EXPORTS |
| 93 |
# define NCBI_SEQSET_EXPORTS |
| 94 |
# define NCBI_SUBMIT_EXPORTS |
| 95 |
#endif |
| 96 |
|
| 97 |
|
| 98 |
/* |
| 99 |
* Definitions for NCBI_SEQ.DLL |
| 100 |
*/ |
| 101 |
#ifdef NCBI_SEQEXT_EXPORTS |
| 102 |
# define NCBI_BLAST_EXPORTS |
| 103 |
# define NCBI_FLAT_EXPORTS |
| 104 |
# define NCBI_ID1_EXPORTS |
| 105 |
# define NCBI_SCOREMAT_EXPORTS |
| 106 |
# define NCBI_XALNMGR_EXPORTS |
| 107 |
# define NCBI_XOBJMGR_EXPORTS |
| 108 |
# define NCBI_XOBJUTIL_EXPORTS |
| 109 |
#endif |
| 110 |
|
| 111 |
|
| 112 |
/* |
| 113 |
* Definitions for NCBI_MISC.DLL |
| 114 |
*/ |
| 115 |
#ifdef NCBI_MISC_EXPORTS |
| 116 |
# define NCBI_ACCESS_EXPORTS |
| 117 |
# define NCBI_DOCSUM_EXPORTS |
| 118 |
# define NCBI_ENTREZ2_EXPORTS |
| 119 |
# define NCBI_FEATDEF_EXPORTS |
| 120 |
# define NCBI_GBSEQ_EXPORTS |
| 121 |
# define NCBI_MIM_EXPORTS |
| 122 |
# define NCBI_OBJPRT_EXPORTS |
| 123 |
# define NCBI_TINYSEQ_EXPORTS |
| 124 |
#endif |
| 125 |
|
| 126 |
|
| 127 |
/* |
| 128 |
* Definitions for NCBI_MMDB.DLL |
| 129 |
*/ |
| 130 |
#ifdef NCBI_MMDB_EXPORTS |
| 131 |
# define NCBI_CDD_EXPORTS |
| 132 |
# define NCBI_CN3D_EXPORTS |
| 133 |
# define NCBI_MMDB1_EXPORT |
| 134 |
# define NCBI_MMDB2_EXPORT |
| 135 |
# define NCBI_MMDB3_EXPORT |
| 136 |
# define NCBI_NCBIMIME_EXPORTS |
| 137 |
#endif |
| 138 |
|
| 139 |
|
| 140 |
/* |
| 141 |
* Definitsions for GUI_UTILS.DLL |
| 142 |
*/ |
| 143 |
#ifdef NCBI_GUIUTILS_EXPORTS |
| 144 |
# define NCBI_GUIOPENGL_EXPORTS |
| 145 |
#endif |
| 146 |
|
| 147 |
|
| 148 |
/* |
| 149 |
* Definitsions for GUI_CORE.DLL |
| 150 |
*/ |
| 151 |
#ifdef NCBI_GUICORE_EXPORTS |
| 152 |
# define NCBI_XGBPLUGIN_EXPORTS |
| 153 |
#endif |
| 154 |
|
| 155 |
|
| 156 |
/* ------------------------------------------------- */ |
| 157 |
|
| 158 |
/* |
| 159 |
* Export specifier for library xncbi |
| 160 |
*/ |
| 161 |
#ifdef NCBI_XNCBI_EXPORTS |
| 162 |
# define NCBI_XNCBI_EXPORT __declspec(dllexport) |
| 163 |
#else |
| 164 |
# define NCBI_XNCBI_EXPORT __declspec(dllimport) |
| 165 |
#endif |
| 166 |
|
| 167 |
/* |
| 168 |
* Export specifier for library xconnect: |
| 169 |
* included from <connect/connect_export.h> |
| 170 |
*/ |
| 171 |
|
| 172 |
|
| 173 |
/* |
| 174 |
* Export specifier for library xutil |
| 175 |
*/ |
| 176 |
#ifdef NCBI_XUTIL_EXPORTS |
| 177 |
# define NCBI_XUTIL_EXPORT __declspec(dllexport) |
| 178 |
#else |
| 179 |
# define NCBI_XUTIL_EXPORT __declspec(dllimport) |
| 180 |
#endif |
| 181 |
|
| 182 |
/* |
| 183 |
* Export specifier for library xser |
| 184 |
*/ |
| 185 |
#ifdef NCBI_XSERIAL_EXPORTS |
| 186 |
# define NCBI_XSERIAL_EXPORT __declspec(dllexport) |
| 187 |
#else |
| 188 |
# define NCBI_XSERIAL_EXPORT __declspec(dllimport) |
| 189 |
#endif |
| 190 |
|
| 191 |
/* |
| 192 |
* Export specifier for library xalgo |
| 193 |
*/ |
| 194 |
#ifdef NCBI_XALGO_EXPORTS |
| 195 |
# define NCBI_XALGO_EXPORT __declspec(dllexport) |
| 196 |
#else |
| 197 |
# define NCBI_XALGO_EXPORT __declspec(dllimport) |
| 198 |
#endif |
| 199 |
|
| 200 |
/* |
| 201 |
* Export specifier for library objects_flat |
| 202 |
*/ |
| 203 |
#ifdef NCBI_FLAT_EXPORTS |
| 204 |
# define NCBI_FLAT_EXPORT __declspec(dllexport) |
| 205 |
#else |
| 206 |
# define NCBI_FLAT_EXPORT __declspec(dllimport) |
| 207 |
#endif |
| 208 |
|
| 209 |
/* |
| 210 |
* Export specifier for library objects_biblio |
| 211 |
*/ |
| 212 |
#ifdef NCBI_BIBLIO_EXPORTS |
| 213 |
# define NCBI_BIBLIO_EXPORT __declspec(dllexport) |
| 214 |
#else |
| 215 |
# define NCBI_BIBLIO_EXPORT __declspec(dllimport) |
| 216 |
#endif |
| 217 |
|
| 218 |
/* |
| 219 |
* Export specifier for library objects_blast |
| 220 |
*/ |
| 221 |
#ifdef NCBI_BLAST_EXPORTS |
| 222 |
# define NCBI_BLAST_EXPORT __declspec(dllexport) |
| 223 |
#else |
| 224 |
# define NCBI_BLAST_EXPORT __declspec(dllimport) |
| 225 |
#endif |
| 226 |
|
| 227 |
/* |
| 228 |
* Export specifier for library objects_scoremat |
| 229 |
*/ |
| 230 |
#ifdef NCBI_SCOREMAT_EXPORTS |
| 231 |
# define NCBI_SCOREMAT_EXPORT __declspec(dllexport) |
| 232 |
#else |
| 233 |
# define NCBI_SCOREMAT_EXPORT __declspec(dllimport) |
| 234 |
#endif |
| 235 |
|
| 236 |
/* |
| 237 |
* Export specifier for library objects_medline |
| 238 |
*/ |
| 239 |
#ifdef NCBI_MEDLINE_EXPORTS |
| 240 |
# define NCBI_MEDLINE_EXPORT __declspec(dllexport) |
| 241 |
#else |
| 242 |
# define NCBI_MEDLINE_EXPORT __declspec(dllimport) |
| 243 |
#endif |
| 244 |
|
| 245 |
/* |
| 246 |
* Export specifier for library objects_medlars |
| 247 |
*/ |
| 248 |
#ifdef NCBI_MEDLARS_EXPORTS |
| 249 |
# define NCBI_MEDLARS_EXPORT __declspec(dllexport) |
| 250 |
#else |
| 251 |
# define NCBI_MEDLARS_EXPORT __declspec(dllimport) |
| 252 |
#endif |
| 253 |
|
| 254 |
/* |
| 255 |
* Export specifier for library objects_mla |
| 256 |
*/ |
| 257 |
#ifdef NCBI_MLA_EXPORTS |
| 258 |
# define NCBI_MLA_EXPORT __declspec(dllexport) |
| 259 |
#else |
| 260 |
# define NCBI_MLA_EXPORT __declspec(dllimport) |
| 261 |
#endif |
| 262 |
|
| 263 |
/* |
| 264 |
* Export specifier for library objects_pub |
| 265 |
*/ |
| 266 |
#ifdef NCBI_PUB_EXPORTS |
| 267 |
# define NCBI_PUB_EXPORT __declspec(dllexport) |
| 268 |
#else |
| 269 |
# define NCBI_PUB_EXPORT __declspec(dllimport) |
| 270 |
#endif |
| 271 |
|
| 272 |
/* |
| 273 |
* Export specifier for library objects_pubmed |
| 274 |
*/ |
| 275 |
#ifdef NCBI_PUBMED_EXPORTS |
| 276 |
# define NCBI_PUBMED_EXPORT __declspec(dllexport) |
| 277 |
#else |
| 278 |
# define NCBI_PUBMED_EXPORT __declspec(dllimport) |
| 279 |
#endif |
| 280 |
|
| 281 |
/* |
| 282 |
* Export specifier for library objects_seqalign |
| 283 |
*/ |
| 284 |
#ifdef NCBI_SEQALIGN_EXPORTS |
| 285 |
# define NCBI_SEQALIGN_EXPORT __declspec(dllexport) |
| 286 |
#else |
| 287 |
# define NCBI_SEQALIGN_EXPORT __declspec(dllimport) |
| 288 |
#endif |
| 289 |
|
| 290 |
/* |
| 291 |
* Export specifier for library objects_seq |
| 292 |
*/ |
| 293 |
#ifdef NCBI_SEQ_EXPORTS |
| 294 |
# define NCBI_SEQ_EXPORT __declspec(dllexport) |
| 295 |
#else |
| 296 |
# define NCBI_SEQ_EXPORT __declspec(dllimport) |
| 297 |
#endif |
| 298 |
|
| 299 |
/* |
| 300 |
* Export specifier for library objects_seqcode |
| 301 |
*/ |
| 302 |
#ifdef NCBI_SEQCODE_EXPORTS |
| 303 |
# define NCBI_SEQCODE_EXPORT __declspec(dllexport) |
| 304 |
#else |
| 305 |
# define NCBI_SEQCODE_EXPORT __declspec(dllimport) |
| 306 |
#endif |
| 307 |
|
| 308 |
/* |
| 309 |
* Export specifier for library objects_seqfeat |
| 310 |
*/ |
| 311 |
#ifdef NCBI_SEQFEAT_EXPORTS |
| 312 |
# define NCBI_SEQFEAT_EXPORT __declspec(dllexport) |
| 313 |
#else |
| 314 |
# define NCBI_SEQFEAT_EXPORT __declspec(dllimport) |
| 315 |
#endif |
| 316 |
|
| 317 |
/* |
| 318 |
* Export specifier for library objects_seqloc |
| 319 |
*/ |
| 320 |
#ifdef NCBI_SEQLOC_EXPORTS |
| 321 |
# define NCBI_SEQLOC_EXPORT __declspec(dllexport) |
| 322 |
#else |
| 323 |
# define NCBI_SEQLOC_EXPORT __declspec(dllimport) |
| 324 |
#endif |
| 325 |
|
| 326 |
/* |
| 327 |
* Export specifier for library objects_seqres |
| 328 |
*/ |
| 329 |
#ifdef NCBI_SEQRES_EXPORTS |
| 330 |
# define NCBI_SEQRES_EXPORT __declspec(dllexport) |
| 331 |
#else |
| 332 |
# define NCBI_SEQRES_EXPORT __declspec(dllimport) |
| 333 |
#endif |
| 334 |
|
| 335 |
/* |
| 336 |
* Export specifier for library objects_seqset |
| 337 |
*/ |
| 338 |
#ifdef NCBI_SEQSET_EXPORTS |
| 339 |
# define NCBI_SEQSET_EXPORT __declspec(dllexport) |
| 340 |
#else |
| 341 |
# define NCBI_SEQSET_EXPORT __declspec(dllimport) |
| 342 |
#endif |
| 343 |
|
| 344 |
/* |
| 345 |
* Export specifier for library objects_seqblock |
| 346 |
*/ |
| 347 |
#ifdef NCBI_SEQBLOCK_EXPORTS |
| 348 |
# define NCBI_SEQBLOCK_EXPORT __declspec(dllexport) |
| 349 |
#else |
| 350 |
# define NCBI_SEQBLOCK_EXPORT __declspec(dllimport) |
| 351 |
#endif |
| 352 |
|
| 353 |
/* |
| 354 |
* Export specifier for library objects_id1 |
| 355 |
*/ |
| 356 |
#ifdef NCBI_ID1_EXPORTS |
| 357 |
# define NCBI_ID1_EXPORT __declspec(dllexport) |
| 358 |
#else |
| 359 |
# define NCBI_ID1_EXPORT __declspec(dllimport) |
| 360 |
#endif |
| 361 |
|
| 362 |
/* |
| 363 |
* Export specifier for library objects_xobjmgr |
| 364 |
*/ |
| 365 |
#ifdef NCBI_XOBJMGR_EXPORTS |
| 366 |
# define NCBI_XOBJMGR_EXPORT __declspec(dllexport) |
| 367 |
#else |
| 368 |
# define NCBI_XOBJMGR_EXPORT __declspec(dllimport) |
| 369 |
#endif |
| 370 |
|
| 371 |
/* |
| 372 |
* Export specifier for library objects_xalnmgr |
| 373 |
*/ |
| 374 |
#ifdef NCBI_XALNMGR_EXPORTS |
| 375 |
# define NCBI_XALNMGR_EXPORT __declspec(dllexport) |
| 376 |
#else |
| 377 |
# define NCBI_XALNMGR_EXPORT __declspec(dllimport) |
| 378 |
#endif |
| 379 |
|
| 380 |
/* |
| 381 |
* Export specifier for library objects_xobjutil |
| 382 |
*/ |
| 383 |
#ifdef NCBI_XOBJUTIL_EXPORTS |
| 384 |
# define NCBI_XOBJUTIL_EXPORT __declspec(dllexport) |
| 385 |
#else |
| 386 |
# define NCBI_XOBJUTIL_EXPORT __declspec(dllimport) |
| 387 |
#endif |
| 388 |
|
| 389 |
/* |
| 390 |
* Export specifier for library objects_objprt |
| 391 |
*/ |
| 392 |
#ifdef NCBI_OBJPRT_EXPORTS |
| 393 |
# define NCBI_OBJPRT_EXPORT __declspec(dllexport) |
| 394 |
#else |
| 395 |
# define NCBI_OBJPRT_EXPORT __declspec(dllimport) |
| 396 |
#endif |
| 397 |
|
| 398 |
/* |
| 399 |
* Export specifier for library objects_featdef |
| 400 |
*/ |
| 401 |
#ifdef NCBI_FEATDEF_EXPORTS |
| 402 |
# define NCBI_FEATDEF_EXPORT __declspec(dllexport) |
| 403 |
#else |
| 404 |
# define NCBI_FEATDEF_EXPORT __declspec(dllimport) |
| 405 |
#endif |
| 406 |
|
| 407 |
|
| 408 |
/* |
| 409 |
* Export specifier for library objects_submit |
| 410 |
*/ |
| 411 |
#ifdef NCBI_SUBMIT_EXPORTS |
| 412 |
# define NCBI_SUBMIT_EXPORT __declspec(dllexport) |
| 413 |
#else |
| 414 |
# define NCBI_SUBMIT_EXPORT __declspec(dllimport) |
| 415 |
#endif |
| 416 |
|
| 417 |
|
| 418 |
/* |
| 419 |
* Export specifier for library objects_taxon1 |
| 420 |
*/ |
| 421 |
#ifdef NCBI_TAXON1_EXPORTS |
| 422 |
# define NCBI_TAXON1_EXPORT __declspec(dllexport) |
| 423 |
#else |
| 424 |
# define NCBI_TAXON1_EXPORT __declspec(dllimport) |
| 425 |
#endif |
| 426 |
|
| 427 |
|
| 428 |
/* |
| 429 |
* Export specifier for library objects_mim |
| 430 |
*/ |
| 431 |
#ifdef NCBI_MIM_EXPORTS |
| 432 |
# define NCBI_MIM_EXPORT __declspec(dllexport) |
| 433 |
#else |
| 434 |
# define NCBI_MIM_EXPORT __declspec(dllimport) |
| 435 |
#endif |
| 436 |
|
| 437 |
/* |
| 438 |
* Export specifier for library objects_tinyseq |
| 439 |
*/ |
| 440 |
#ifdef NCBI_TINYSEQ_EXPORTS |
| 441 |
# define NCBI_TINYSEQ_EXPORT __declspec(dllexport) |
| 442 |
#else |
| 443 |
# define NCBI_TINYSEQ_EXPORT __declspec(dllimport) |
| 444 |
#endif |
| 445 |
|
| 446 |
/* |
| 447 |
* Export specifier for library objects_access |
| 448 |
*/ |
| 449 |
#ifdef NCBI_ACCESS_EXPORTS |
| 450 |
# define NCBI_ACCESS_EXPORT __declspec(dllexport) |
| 451 |
#else |
| 452 |
# define NCBI_ACCESS_EXPORT __declspec(dllimport) |
| 453 |
#endif |
| 454 |
|
| 455 |
/* |
| 456 |
* Export specifier for library objects_docsum |
| 457 |
*/ |
| 458 |
#ifdef NCBI_DOCSUM_EXPORTS |
| 459 |
# define NCBI_DOCSUM_EXPORT __declspec(dllexport) |
| 460 |
#else |
| 461 |
# define NCBI_DOCSUM_EXPORT __declspec(dllimport) |
| 462 |
#endif |
| 463 |
|
| 464 |
/* |
| 465 |
* Export specifier for library objects_entrez2 |
| 466 |
*/ |
| 467 |
#ifdef NCBI_ENTREZ2_EXPORTS |
| 468 |
# define NCBI_ENTREZ2_EXPORT __declspec(dllexport) |
| 469 |
#else |
| 470 |
# define NCBI_ENTREZ2_EXPORT __declspec(dllimport) |
| 471 |
#endif |
| 472 |
|
| 473 |
/* |
| 474 |
* Export specifier for library objects_entrezgene |
| 475 |
*/ |
| 476 |
#ifdef NCBI_ENTREZGENE_EXPORTS |
| 477 |
# define NCBI_ENTREZGENE_EXPORT __declspec(dllexport) |
| 478 |
#else |
| 479 |
# define NCBI_ENTREZGENE_EXPORT __declspec(dllimport) |
| 480 |
#endif |
| 481 |
|
| 482 |
/* |
| 483 |
* Export specifier for library objects_gbseq |
| 484 |
*/ |
| 485 |
#ifdef NCBI_GBSEQ_EXPORTS |
| 486 |
# define NCBI_GBSEQ_EXPORT __declspec(dllexport) |
| 487 |
#else |
| 488 |
# define NCBI_GBSEQ_EXPORT __declspec(dllimport) |
| 489 |
#endif |
| 490 |
|
| 491 |
/* |
| 492 |
* Export specifier for library objects_mmdb1 |
| 493 |
*/ |
| 494 |
#ifdef NCBI_MMDB1_EXPORTS |
| 495 |
# define NCBI_MMDB1_EXPORT __declspec(dllexport) |
| 496 |
#else |
| 497 |
# define NCBI_MMDB1_EXPORT __declspec(dllimport) |
| 498 |
#endif |
| 499 |
|
| 500 |
/* |
| 501 |
* Export specifier for library objects_mmdb2 |
| 502 |
*/ |
| 503 |
#ifdef NCBI_MMDB2_EXPORTS |
| 504 |
# define NCBI_MMDB2_EXPORT __declspec(dllexport) |
| 505 |
#else |
| 506 |
# define NCBI_MMDB2_EXPORT __declspec(dllimport) |
| 507 |
#endif |
| 508 |
|
| 509 |
/* |
| 510 |
* Export specifier for library objects_mmdb3 |
| 511 |
*/ |
| 512 |
#ifdef NCBI_MMDB3_EXPORTS |
| 513 |
# define NCBI_MMDB3_EXPORT __declspec(dllexport) |
| 514 |
#else |
| 515 |
# define NCBI_MMDB3_EXPORT __declspec(dllimport) |
| 516 |
#endif |
| 517 |
|
| 518 |
/* |
| 519 |
* Export specifier for library objects_cn3d |
| 520 |
*/ |
| 521 |
#ifdef NCBI_CN3D_EXPORTS |
| 522 |
# define NCBI_CN3D_EXPORT __declspec(dllexport) |
| 523 |
#else |
| 524 |
# define NCBI_CN3D_EXPORT __declspec(dllimport) |
| 525 |
#endif |
| 526 |
|
| 527 |
/* |
| 528 |
* Export specifier for library objects_cdd |
| 529 |
*/ |
| 530 |
#ifdef NCBI_CDD_EXPORTS |
| 531 |
# define NCBI_CDD_EXPORT __declspec(dllexport) |
| 532 |
#else |
| 533 |
# define NCBI_CDD_EXPORT __declspec(dllimport) |
| 534 |
#endif |
| 535 |
|
| 536 |
/* |
| 537 |
* Export specifier for library objects_mime |
| 538 |
*/ |
| 539 |
#ifdef NCBI_NCBIMIME_EXPORTS |
| 540 |
# define NCBI_NCBIMIME_EXPORT __declspec(dllexport) |
| 541 |
#else |
| 542 |
# define NCBI_NCBIMIME_EXPORT __declspec(dllimport) |
| 543 |
#endif |
| 544 |
|
| 545 |
/* |
| 546 |
* Export specifier for library objects_general |
| 547 |
*/ |
| 548 |
#ifdef NCBI_GENERAL_EXPORTS |
| 549 |
# define NCBI_GENERAL_EXPORT __declspec(dllexport) |
| 550 |
#else |
| 551 |
# define NCBI_GENERAL_EXPORT __declspec(dllimport) |
| 552 |
#endif |
| 553 |
|
| 554 |
/* |
| 555 |
* Export specifier for library dbapi_driver |
| 556 |
*/ |
| 557 |
#ifdef NCBI_DBAPIDRIVER_EXPORTS |
| 558 |
# define NCBI_DBAPIDRIVER_EXPORT __declspec(dllexport) |
| 559 |
#else |
| 560 |
# define NCBI_DBAPIDRIVER_EXPORT __declspec(dllimport) |
| 561 |
#endif |
| 562 |
|
| 563 |
/* |
| 564 |
* Export specifier for library dbapi_driver_ctlib |
| 565 |
*/ |
| 566 |
#ifdef NCBI_DBAPIDRIVER_CTLIB_EXPORTS |
| 567 |
# define NCBI_DBAPIDRIVER_CTLIB_EXPORT __declspec(dllexport) |
| 568 |
#else |
| 569 |
# define NCBI_DBAPIDRIVER_CTLIB_EXPORT __declspec(dllimport) |
| 570 |
#endif |
| 571 |
|
| 572 |
/* |
| 573 |
* Export specifier for library dbapi_driver_dblib |
| 574 |
*/ |
| 575 |
#ifdef NCBI_DBAPIDRIVER_DBLIB_EXPORTS |
| 576 |
# define NCBI_DBAPIDRIVER_DBLIB_EXPORT __declspec(dllexport) |
| 577 |
#else |
| 578 |
# define NCBI_DBAPIDRIVER_DBLIB_EXPORT __declspec(dllimport) |
| 579 |
#endif |
| 580 |
|
| 581 |
/* |
| 582 |
* Export specifier for library dbapi_driver_msdblib |
| 583 |
*/ |
| 584 |
#ifdef NCBI_DBAPIDRIVER_MSDBLIB_EXPORTS |
| 585 |
# define NCBI_DBAPIDRIVER_MSDBLIB_EXPORT __declspec(dllexport) |
| 586 |
#else |
| 587 |
# define NCBI_DBAPIDRIVER_MSDBLIB_EXPORT __declspec(dllimport) |
| 588 |
#endif |
| 589 |
|
| 590 |
/* |
| 591 |
* Export specifier for library dbapi_driver_odbc |
| 592 |
*/ |
| 593 |
#ifdef NCBI_DBAPIDRIVER_ODBC_EXPORTS |
| 594 |
# define NCBI_DBAPIDRIVER_ODBC_EXPORT __declspec(dllexport) |
| 595 |
#else |
| 596 |
# define NCBI_DBAPIDRIVER_ODBC_EXPORT __declspec(dllimport) |
| 597 |
#endif |
| 598 |
|
| 599 |
/* |
| 600 |
* Export specifier for library dbapi_driver_mysql |
| 601 |
*/ |
| 602 |
#ifdef NCBI_DBAPIDRIVER_MYSQL_EXPORTS |
| 603 |
# define NCBI_DBAPIDRIVER_MYSQL_EXPORT __declspec(dllexport) |
| 604 |
#else |
| 605 |
# define NCBI_DBAPIDRIVER_MYSQL_EXPORT __declspec(dllimport) |
| 606 |
#endif |
| 607 |
|
| 608 |
|
| 609 |
/* |
| 610 |
* Export specifier for library gui_core |
| 611 |
*/ |
| 612 |
#ifdef NCBI_GUICORE_EXPORTS |
| 613 |
# define NCBI_GUICORE_EXPORT __declspec(dllexport) |
| 614 |
#else |
| 615 |
# define NCBI_GUICORE_EXPORT __declspec(dllimport) |
| 616 |
#endif |
| 617 |
|
| 618 |
/* |
| 619 |
* Export specifier for library xgbplugin |
| 620 |
*/ |
| 621 |
#ifdef NCBI_XGBPLUGIN_EXPORTS |
| 622 |
# define NCBI_XGBPLUGIN_EXPORT __declspec(dllexport) |
| 623 |
#else |
| 624 |
# define NCBI_XGBPLUGIN_EXPORT __declspec(dllimport) |
| 625 |
#endif |
| 626 |
|
| 627 |
/* |
| 628 |
* Export specifier for library gui_utils |
| 629 |
*/ |
| 630 |
#ifdef NCBI_GUIUTILS_EXPORTS |
| 631 |
# define NCBI_GUIUTILS_EXPORT __declspec(dllexport) |
| 632 |
#else |
| 633 |
# define NCBI_GUIUTILS_EXPORT __declspec(dllimport) |
| 634 |
#endif |
| 635 |
|
| 636 |
/* |
| 637 |
* Export specifier for library gui_opengl |
| 638 |
*/ |
| 639 |
#ifdef NCBI_GUIOPENGL_EXPORTS |
| 640 |
# define NCBI_GUIOPENGL_EXPORT __declspec(dllexport) |
| 641 |
#else |
| 642 |
# define NCBI_GUIOPENGL_EXPORT __declspec(dllimport) |
| 643 |
#endif |
| 644 |
|
| 645 |
/* |
| 646 |
* Export specifier for library gui_dialogs |
| 647 |
*/ |
| 648 |
#ifdef NCBI_GUIDIALOGS_EXPORTS |
| 649 |
# define NCBI_GUIDIALOGS_EXPORT __declspec(dllexport) |
| 650 |
#else |
| 651 |
# define NCBI_GUIDIALOGS_EXPORT __declspec(dllimport) |
| 652 |
#endif |
| 653 |
|
| 654 |
/* |
| 655 |
* Export specifier for library gui_widgets |
| 656 |
*/ |
| 657 |
#ifdef NCBI_GUIWIDGETS_EXPORTS |
| 658 |
# define NCBI_GUIWIDGETS_EXPORT __declspec(dllexport) |
| 659 |
#else |
| 660 |
# define NCBI_GUIWIDGETS_EXPORT __declspec(dllimport) |
| 661 |
#endif |
| 662 |
|
| 663 |
/* |
| 664 |
* Export specifier for library objects_validator |
| 665 |
*/ |
| 666 |
#ifdef NCBI_VALIDATOR_EXPORTS |
| 667 |
# define NCBI_VALIDATOR_EXPORT __declspec(dllexport) |
| 668 |
#else |
| 669 |
# define NCBI_VALIDATOR_EXPORT __declspec(dllimport) |
| 670 |
#endif |
| 671 |
|
| 672 |
/* |
| 673 |
* Export specifier for library bdb |
| 674 |
*/ |
| 675 |
#ifdef NCBI_BDB_EXPORTS |
| 676 |
# define NCBI_BDB_EXPORT __declspec(dllexport) |
| 677 |
#else |
| 678 |
# define NCBI_BDB_EXPORT __declspec(dllimport) |
| 679 |
#endif |
| 680 |
|
| 681 |
|
| 682 |
/* |
| 683 |
* Export specifier for library lds |
| 684 |
*/ |
| 685 |
#ifdef NCBI_LDS_EXPORTS |
| 686 |
# define NCBI_LDS_EXPORT __declspec(dllexport) |
| 687 |
#else |
| 688 |
# define NCBI_LDS_EXPORT __declspec(dllimport) |
| 689 |
#endif |
| 690 |
|
| 691 |
#else /* !defined(NCBI_OS_MSWIN) || !defined(NCBI_DLL_BUILD) */ |
| 692 |
|
| 693 |
/* |
| 694 |
* NULL operations for other cases |
| 695 |
*/ |
| 696 |
|
| 697 |
# define NCBI_ACCESS_EXPORT |
| 698 |
# define NCBI_BIBLIO_EXPORT |
| 699 |
# define NCBI_BLAST_EXPORT |
| 700 |
# define NCBI_CDD_EXPORT |
| 701 |
# define NCBI_CN3D_EXPORT |
| 702 |
# define NCBI_DBAPIDRIVER_CTLIB_EXPORT |
| 703 |
# define NCBI_DBAPIDRIVER_DBLIB_EXPORT |
| 704 |
# define NCBI_DBAPIDRIVER_EXPORT |
| 705 |
# define NCBI_DBAPIDRIVER_MSDBLIB_EXPORT |
| 706 |
# define NCBI_DBAPIDRIVER_MYSQL_EXPORT |
| 707 |
# define NCBI_DBAPIDRIVER_ODBC_EXPORT |
| 708 |
# define NCBI_DOCSUM_EXPORT |
| 709 |
# define NCBI_ENTREZ2_EXPORT |
| 710 |
# define NCBI_ENTREZGENE_EXPORT |
| 711 |
# define NCBI_FEATDEF_EXPORT |
| 712 |
# define NCBI_FLAT_EXPORT |
| 713 |
# define NCBI_GBSEQ_EXPORT |
| 714 |
# define NCBI_GENERAL_EXPORT |
| 715 |
# define NCBI_GUICORE_EXPORT |
| 716 |
# define NCBI_GUIDIALOGS_EXPORT |
| 717 |
# define NCBI_GUIOPENGL_EXPORT |
| 718 |
# define NCBI_GUIUTILS_EXPORT |
| 719 |
# define NCBI_GUIWIDGETS_EXPORT |
| 720 |
# define NCBI_ID1_EXPORT |
| 721 |
# define NCBI_MEDLARS_EXPORT |
| 722 |
# define NCBI_MEDLINE_EXPORT |
| 723 |
# define NCBI_MIM_EXPORT |
| 724 |
# define NCBI_MLA_EXPORT |
| 725 |
# define NCBI_MMDB1_EXPORT |
| 726 |
# define NCBI_MMDB2_EXPORT |
| 727 |
# define NCBI_MMDB3_EXPORT |
| 728 |
# define NCBI_NCBIMIME_EXPORT |
| 729 |
# define NCBI_OBJPRT_EXPORT |
| 730 |
# define NCBI_PUBMED_EXPORT |
| 731 |
# define NCBI_PUB_EXPORT |
| 732 |
# define NCBI_SCOREMAT_EXPORT |
| 733 |
# define NCBI_SEQALIGN_EXPORT |
| 734 |
# define NCBI_SEQBLOCK_EXPORT |
| 735 |
# define NCBI_SEQCODE_EXPORT |
| 736 |
# define NCBI_SEQFEAT_EXPORT |
| 737 |
# define NCBI_SEQLOC_EXPORT |
| 738 |
# define NCBI_SEQRES_EXPORT |
| 739 |
# define NCBI_SEQSET_EXPORT |
| 740 |
# define NCBI_SEQUENCE_EXPORT |
| 741 |
# define NCBI_SEQ_EXPORT |
| 742 |
# define NCBI_SUBMIT_EXPORT |
| 743 |
# define NCBI_TAXON1_EXPORT |
| 744 |
# define NCBI_TINYSEQ_EXPORT |
| 745 |
# define NCBI_VALIDATOR_EXPORT |
| 746 |
# define NCBI_XALGO_EXPORT |
| 747 |
# define NCBI_XALNMGR_EXPORT |
| 748 |
# define NCBI_XGBPLUGIN_EXPORT |
| 749 |
# define NCBI_XNCBI_EXPORT |
| 750 |
# define NCBI_XOBJMGR_EXPORT |
| 751 |
# define NCBI_XOBJUTIL_EXPORT |
| 752 |
# define NCBI_XSERIAL_EXPORT |
| 753 |
# define NCBI_XUTIL_EXPORT |
| 754 |
# define NCBI_LDS_EXPORT |
| 755 |
# define NCBI_BDB_EXPORT |
| 756 |
|
| 757 |
#endif |
| 758 |
|
| 759 |
|
| 760 |
#endif /* CORELIB___MSWIN_EXPORT__H */ |
| 761 |
|
| 762 |
/* |
| 763 |
* ========================================================================== |
| 764 |
* $Log$ |
| 765 |
* Revision 1.25 2003/06/03 18:48:54 kuznets |
| 766 |
* + export defines for bdb and lds libraries. |
| 767 |
* |
| 768 |
* Revision 1.24 2003/06/02 16:01:29 dicuccio |
| 769 |
* Rearranged include/objects/ subtree. This includes the following shifts: |
| 770 |
* - include/objects/alnmgr --> include/objtools/alnmgr |
| 771 |
* - include/objects/cddalignview --> include/objtools/cddalignview |
| 772 |
* - include/objects/flat --> include/objtools/flat |
| 773 |
* - include/objects/objmgr/ --> include/objmgr/ |
| 774 |
* - include/objects/util/ --> include/objmgr/util/ |
| 775 |
* - include/objects/validator --> include/objtools/validator |
| 776 |
* |
| 777 |
* Revision 1.23 2003/05/23 16:19:48 ivanov |
| 778 |
* Fixed typo |
| 779 |
* |
| 780 |
* Revision 1.22 2003/05/23 15:22:40 ivanov |
| 781 |
* Added export specifier NCBI_MLA_EXPORT |
| 782 |
* |
| 783 |
* Revision 1.21 2003/04/25 21:05:02 ucko |
| 784 |
* +SCOREMAT (under SEQEXT) |
| 785 |
* |
| 786 |
* Revision 1.20 2003/04/15 16:30:38 dicuccio |
| 787 |
* Moved BLAST object files into ncbi_seqext.dll |
| 788 |
* |
| 789 |
* Revision 1.19 2003/04/14 19:37:42 ivanov |
| 790 |
* Added master export group NCBI_SEQEXT_EXPORTS. Moved a part code from NCBI_SEQ.DLL to NCBI_SEQEXT.DLLmswin_export.h |
| 791 |
* |
| 792 |
* Revision 1.18 2003/04/10 13:31:40 dicuccio |
| 793 |
* Added BLAST objects to NCBI_SEQ |
| 794 |
* |
| 795 |
* Revision 1.17 2003/04/09 16:12:05 ivanov |
| 796 |
* Fix for the previous commit |
| 797 |
* |
| 798 |
* Revision 1.16 2003/04/08 20:07:05 ivanov |
| 799 |
* Added export specifiers NCBI_BLAST_EXPORT and NCBI_ENTREZGENE_EXPORT |
| 800 |
* |
| 801 |
* Revision 1.15 2003/03/28 20:29:42 kans |
| 802 |
* define NCBI_FLAT_EXPORT at end |
| 803 |
* |
| 804 |
* Revision 1.14 2003/03/28 17:44:54 dicuccio |
| 805 |
* Added export specifier for flatfile generator library. Made this specifier |
| 806 |
* part of the NCBI_SEQ_EXPORTS master group |
| 807 |
* |
| 808 |
* Revision 1.13 2003/02/25 19:34:21 kuznets |
| 809 |
* Added NCBI_DBAPIDRIVER_MYSQL_EXPORTS |
| 810 |
* |
| 811 |
* Revision 1.12 2003/02/21 16:42:16 dicuccio |
| 812 |
* Added export specifiers for XALGO, XGBPLUGIN |
| 813 |
* |
| 814 |
* Revision 1.11 2003/02/12 22:02:29 coremake |
| 815 |
* Added export specifiers NCBI_DBAPIDRIVER_*_EXPORT for ctlib, dblib, msdblib and odbc DBAI driver libraries |
| 816 |
* |
| 817 |
* Revision 1.10 2003/02/06 18:49:58 dicuccio |
| 818 |
* Added NCBI_TAXON1_EXPORT specifier |
| 819 |
* |
| 820 |
* Revision 1.9 2003/01/17 19:44:28 lavr |
| 821 |
* Reduce dependencies |
| 822 |
* |
| 823 |
* Revision 1.8 2003/01/16 19:53:13 dicuccio |
| 824 |
* Add NCBI_GUIDIALOGS_EXPORT to the null define list... |
| 825 |
* |
| 826 |
* Revision 1.7 2003/01/16 18:23:15 dicuccio |
| 827 |
* Added export specifiers for library GUI_DIALOGS.DLL |
| 828 |
* |
| 829 |
* Revision 1.6 2003/01/07 22:17:25 lavr |
| 830 |
* Move '#include <connect/connect_export.h>' up |
| 831 |
* |
| 832 |
* Revision 1.5 2003/01/07 19:58:25 shomrat |
| 833 |
* Added NCBI_VALIDATOR_EXPORT |
| 834 |
* |
| 835 |
* Revision 1.4 2002/12/31 16:15:46 dicuccio |
| 836 |
* Added missing NCBI_SUBMIT_EXPORT to empty define list |
| 837 |
* |
| 838 |
* Revision 1.3 2002/12/31 15:08:23 dicuccio |
| 839 |
* Moved featdef and gbseq into ncbi_misc.dll |
| 840 |
* |
| 841 |
* Revision 1.2 2002/12/26 12:51:41 dicuccio |
| 842 |
* Fixed some minor niggling errors with export specifiers in the wrong places. |
| 843 |
* |
| 844 |
* Revision 1.1 2002/12/18 22:52:19 dicuccio |
| 845 |
* Initial revision. |
| 846 |
* |
| 847 |
* ========================================================================== |
| 848 |
*/ |