/**************************MAIN*******************************/ int main(int argc, char **argv) { char *sys="solaris"; if (argc>1) sys=argv[1]; printf( "Makemake reads master_program_list, and the make \n" "fragment in this directory (makestart) to generate\n" "the top-level Makefile. It's working its magic now...\n\n"); if (NULL==(master=fopen("master_program_list","r"))) {printf("Can't open './master_program_list'.\n");exit(1);} parseMasterList(); findLibraries(); printf("\nA total of %i libraries and %i programs\n",numLibs,numProgs); makeMakefile(sys); if (0==system("test -x ../../release/autotar")) {/*Autotar directory exists-- so fill it.*/ printf("\n\nCreating autotar directory (slowly...)\n"); updateAutotar(); printf("Autotar directory updated!\n\n"); } printf("Makemake Complete\n"); return 0; }
bool MingwMakefileGenerator::findLibraries() { return findLibraries("QMAKE_LIBS") && findLibraries("QMAKE_LIBS_PRIVATE"); }