Lines Matching refs:FILE
5 * file name: pkgdata.c
85 * some platforms use a single c code file for all of
93 /* Need to fix the file seperator character when using MinGW. */
157 { "dll", "library", "Generates one common data file and one shared library, <package>.dll"},
158 { "common", "archive", "Generates just the common file, <package>.dat"},
164 { "common", "archive", "Generates one common data file, <package>.dat" },
247 "Add package to all file names if not present",
249 "Quite mode. (e.g. Do not output a readme file for static libraries)"
327 "\tpackageFile is a text file containing the list of files to package.\n",
392 #if !defined(WINDOWS_WITH_MSVC) || defined(USING_CYGWIN) /* on UNIX, we'll just include the file... */
437 /* OK options are set up. Now the file lists. */
446 fprintf(stderr, "error loading input file lists: %s\n", u_errorName(status));
570 fprintf(stdout, "# Writing package file %s ..\n", datFileNamePath);
574 fprintf(stderr,"Error writing package dat file.\n");
586 fprintf(stderr, "Unable to remove old dat file: %s\n", targetFileNamePath);
591 /* Move the dat file created to the target directory. */
595 fprintf(stdout, "# Moving package file to %s ..\n", targetFileNamePath);
598 fprintf(stderr, "Unable to move dat file (%s) to target location (%s).\n", datFileNamePath, targetFileNamePath);
631 /* Using the base libName and version number, generate the library file names. */
635 /* Check to see if a previous built data library file exists and check if it is the latest. */
714 fprintf(stdout, "# Creating data archive library file ..\n");
718 fprintf(stderr, "Error creating data archive library file.\n");
722 /* Create symbolic links for the final library file. */
725 fprintf(stderr, "Error creating symbolic links of the data library file.\n");
736 fprintf(stdout, "# Installing library file to %s ..\n", o->install);
750 /* Initialize the pkgDataFlags with the option file given. */
784 /* Read in options file. */
786 fprintf(stdout, "# Reading options file %s\n", o->options);
796 fprintf(stderr,"Unable to open or read \"%s\" option file. status = %s\n", o->options, u_errorName(status));
816 * Given the base libName and version numbers, generate the libary file names and store it in libFileNames.
882 /* Create the symbolic links for the final library file. */
886 char name1[SMALL_BUFFER_MAX_SIZE]; /* symlink file name */
887 char name2[SMALL_BUFFER_MAX_SIZE]; /* file name to symlink */
1007 fprintf(stderr, "Failed to install data file with command: %s\n", cmd);
1048 fprintf(stderr, "Failed to install data file with command: %s\n", cmd);
1053 fprintf(stderr, "Failed to read line from file: %s\n", fileListName);
1062 fprintf(stderr, "Unable to open list file: %s\n", fileListName);
1068 fprintf(stderr, "Failed to install data file with command: %s\n", cmd);
1075 /* Archiving of the library file may be needed depending on the platform and options given.
1076 * If archiving is not needed, copy over the library file name.
1083 * archive file suffix is the same, then the final library needs to be archived.
1115 /* Remove unneeded library file. */
1134 * Using the compiler information from the configuration file set by -O option, generate the library file.
1213 /* Generate the library file. */
1231 /* Remove the ending .s and replace it with .o for the new object file. */
1243 /* Generate the object file. */
1261 * Generation of the data library without assembly code needs to compile each data file
1304 /* Remove previous icudtall.c file. */
1306 fprintf(stderr, "Unable to remove old icudtall file: %s\n", icudtAll);
1328 const char *file ;
1357 file = list->str;
1391 writeCCode(file, o->tmpDir, dataName[0] != 0 ? dataName : o->shortName, newName[0] != 0 ? newName : NULL, gencmnFile);
1399 /* Remove the c code file after concatenating it to icudtall.c file. */
1401 fprintf(stderr, "Unable to remove c code file: %s\n", gencmnFile);
1451 /* Generate the library file. */
1524 /* Check if dll file and lib file exists and that it is not newer than genc file. */
1549 /* AIX needs a map file. */
1604 fprintf(stderr,"Unable to create map file: %s.\n", mapFile);
1736 /* add the file */
1759 } /* for each file list file */
1762 /* Try calling icu-config directly to get the option file. */
1765 FILE *p = NULL;