X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=website%2Farchive%2Fbinaries%2Fmac%2Fsrc%2Fmuscle%2Fmain.cpp;fp=website%2Farchive%2Fbinaries%2Fmac%2Fsrc%2Fmuscle%2Fmain.cpp;h=0000000000000000000000000000000000000000;hb=fb21789ba11ae9b9f6abed1b01d4542e54abfe34;hp=7993c7be06d7ba69a44ae0a01e7313acb00efc06;hpb=7d68cf3489c816b2ed7afb1925a6de2168eccf4a;p=jabaws.git diff --git a/website/archive/binaries/mac/src/muscle/main.cpp b/website/archive/binaries/mac/src/muscle/main.cpp deleted file mode 100644 index 7993c7b..0000000 --- a/website/archive/binaries/mac/src/muscle/main.cpp +++ /dev/null @@ -1,72 +0,0 @@ -//@@TODO reconcile /muscle with /muscle3.6 - -#include "muscle.h" -#include -#ifdef WIN32 -#include // for SetPriorityClass() -#include // for isatty() -#else -#include // for isatty() -#endif - -const char *MUSCLE_LONG_VERSION = "MUSCLE v" SHORT_VERSION "." -#include "svnversion.h" -" by Robert C. Edgar"; - -int g_argc; -char **g_argv; - -int main(int argc, char **argv) - { -#if WIN32 -// Multi-tasking does not work well in CPU-bound -// console apps running under Win32. -// Reducing the process priority allows GUI apps -// to run responsively in parallel. - SetPriorityClass(GetCurrentProcess(), BELOW_NORMAL_PRIORITY_CLASS); -#endif - g_argc = argc; - g_argv = argv; - - SetNewHandler(); - SetStartTime(); - ProcessArgVect(argc - 1, argv + 1); - SetParams(); - SetLogFile(); - - //extern void TestSubFams(const char *); - //TestSubFams(g_pstrInFileName); - //return 0; - - if (g_bVersion) - { - printf("%s\n", MUSCLE_LONG_VERSION); - exit(EXIT_SUCCESS); - } - - if (!g_bQuiet) - Credits(); - - if (MissingCommand() && isatty(0)) - { - Usage(); - exit(EXIT_SUCCESS); - } - - if (g_bCatchExceptions) - { - try - { - Run(); - } - catch (...) - { - OnException(); - exit(EXIT_Except); - } - } - else - Run(); - - exit(EXIT_Success); - }