Home | History | Annotate | Download | only in pkgdata

Lines Matching refs:pkgDataFlags

194 static char **pkgDataFlags = NULL;
455 if (pkgDataFlags != NULL) {
457 if (pkgDataFlags[n] != NULL) {
458 uprv_free(pkgDataFlags[n]);
461 uprv_free(pkgDataFlags);
642 if (pkgDataFlags[LIB_EXT_ORDER][uprv_strlen(pkgDataFlags[LIB_EXT_ORDER])-1] == pkgDataFlags[SO_EXT][uprv_strlen(pkgDataFlags[SO_EXT])-1]) {
679 if (!o->withoutAssembly && pkgDataFlags[GENCCODE_ASSEMBLY_TYPE][0] != 0) {
680 const char* genccodeAssembly = pkgDataFlags[GENCCODE_ASSEMBLY_TYPE];
789 /* Initialize the pkgDataFlags with the option file given. */
796 /* Initialize pkgdataFlags */
797 pkgDataFlags = (char**)uprv_malloc(sizeof(char*) * PKGDATA_FLAGS_SIZE);
803 if (pkgDataFlags != NULL) {
805 pkgDataFlags[i] = (char*)uprv_malloc(sizeof(char) * currentBufferSize);
806 if (pkgDataFlags[i] != NULL) {
807 pkgDataFlags[i][0] = 0;
809 fprintf(stderr,"Error allocating memory for pkgDataFlags.\n");
814 fprintf(stderr,"Error allocating memory for pkgDataFlags.\n");
828 tmpResult = parseFlagsFile(o->options, pkgDataFlags, currentBufferSize, FLAG_NAMES, (int32_t)PKGDATA_FLAGS_SIZE, &status);
831 uprv_free(pkgDataFlags[i]);
840 fprintf(stdout, "# pkgDataFlags=\n");
842 fprintf(stdout, " [%d] %s: %s\n", i, FLAG_NAMES[i], pkgDataFlags[i]);
865 pkgDataFlags[LIBPREFIX],
870 pkgDataFlags[LIBPREFIX],
879 sprintf(libFileNames[LIB_FILE_MINGW], "%s%s.lib", pkgDataFlags[LIBPREFIX], libName);
883 pkgDataFlags[SO_EXT]);
887 pkgDataFlags[SO_EXT]);
889 uprv_strcat(pkgDataFlags[SO_EXT], ".");
890 uprv_strcat(pkgDataFlags[SO_EXT], pkgDataFlags[A_EXT]);
894 pkgDataFlags[SOBJ_EXT]);
904 pkgDataFlags[LIB_EXT_ORDER][0] == '.' ? "." : "",
905 reverseExt ? version : pkgDataFlags[SOBJ_EXT],
906 reverseExt ? pkgDataFlags[SOBJ_EXT] : version);
912 pkgDataFlags[LIB_EXT_ORDER][0] == '.' ? "." : "",
913 pkgDataFlags[SOBJ_EXT]);
917 pkgDataFlags[LIB_EXT_ORDER][0] == '.' ? "." : "",
918 reverseExt ? version : pkgDataFlags[SOBJ_EXT],
919 reverseExt ? pkgDataFlags[SOBJ_EXT] : version);
925 pkgDataFlags[LIB_EXT_ORDER][0] == '.' ? "." : "",
926 pkgDataFlags[SO_EXT]);
930 pkgDataFlags[LIB_EXT_ORDER][0] == '.' ? "." : "",
931 pkgDataFlags[SO_EXT]);
935 pkgDataFlags[LIB_EXT_ORDER][0] == '.' ? "." : "",
936 reverseExt ? version_major : pkgDataFlags[SO_EXT],
937 reverseExt ? pkgDataFlags[SO_EXT] : version_major);
941 pkgDataFlags[LIB_EXT_ORDER][0] == '.' ? "." : "",
942 reverseExt ? version : pkgDataFlags[SO_EXT],
943 reverseExt ? pkgDataFlags[SO_EXT] : version);
956 sprintf(libFileNames[LIB_FILE_VERSION], "%s.%s", libFileNames[LIB_FILE], pkgDataFlags[A_EXT]);
1003 sprintf(name1, "%s.%s", libFileNames[LIB_FILE], pkgDataFlags[SO_EXT]);
1026 pkgDataFlags[INSTALL_CMD],
1041 pkgDataFlags[INSTALL_CMD],
1054 pkgDataFlags[INSTALL_CMD],
1087 sprintf(cmd, "%s %s %s", pkgDataFlags[INSTALL_CMD], fileName, installDir);
1133 pkgDataFlags[INSTALL_CMD],
1176 if (uprv_strcmp(pkgDataFlags[SOBJ_EXT], pkgDataFlags[SO_EXT]) != 0 && uprv_strcmp(pkgDataFlags[A_EXT], pkgDataFlags[SO_EXT]) == 0) {
1179 pkgDataFlags[LIB_EXT_ORDER][0] == '.' ? "." : "",
1180 reverseExt ? version : pkgDataFlags[SO_EXT],
1181 reverseExt ? pkgDataFlags[SO_EXT] : version);
1184 pkgDataFlags[AR],
1185 pkgDataFlags[ARFLAGS],
1198 pkgDataFlags[RANLIB],
1247 length = uprv_strlen(pkgDataFlags[AR]) + uprv_strlen(pkgDataFlags[ARFLAGS]) + uprv_strlen(targetDir) +
1248 uprv_strlen(libFileNames[LIB_FILE_VERSION]) + uprv_strlen(objectFile) + uprv_strlen(pkgDataFlags[RANLIB]) + BUFFER_PADDING_SIZE;
1256 pkgDataFlags[AR],
1257 pkgDataFlags[ARFLAGS],
1265 pkgDataFlags[RANLIB],
1273 length = uprv_strlen(pkgDataFlags[GENLIB]) + uprv_strlen(pkgDataFlags[LDICUDTFLAGS]) +
1275 uprv_strlen(objectFile) + uprv_strlen(pkgDataFlags[LD_SONAME]) +
1276 uprv_strlen(pkgDataFlags[LD_SONAME][0] == 0 ? "" : libFileNames[LIB_FILE_VERSION_MAJOR]) +
1277 uprv_strlen(pkgDataFlags[RPATH_FLAGS]) + uprv_strlen(pkgDataFlags[BIR_FLAGS]) + BUFFER_PADDING_SIZE;
1291 pkgDataFlags[GENLIB],
1294 pkgDataFlags[LDICUDTFLAGS],
1299 pkgDataFlags[GENLIB],
1302 pkgDataFlags[LDICUDTFLAGS],
1310 pkgDataFlags[GENLIB],
1311 pkgDataFlags[LDICUDTFLAGS],
1316 pkgDataFlags[GENLIB],
1317 pkgDataFlags[LDICUDTFLAGS],
1322 pkgDataFlags[LD_SONAME],
1323 pkgDataFlags[LD_SONAME][0] == 0 ? "" : libFileNames[LIB_FILE_VERSION_MAJOR],
1324 pkgDataFlags[RPATH_FLAGS],
1325 pkgDataFlags[BIR_FLAGS]);
1353 length = uprv_strlen(pkgDataFlags[COMPILER]) + uprv_strlen(pkgDataFlags[LIBFLAGS])
1363 pkgDataFlags[COMPILER],
1364 pkgDataFlags[LIBFLAGS],
1465 pkgDataFlags[COMPILER],
1466 pkgDataFlags[LIBFLAGS],
1534 pkgDataFlags[COMPILER],
1535 pkgDataFlags[LIBFLAGS],
1561 pkgDataFlags[COMPILER],
1562 pkgDataFlags[LIBFLAGS],
1613 pkgDataFlags[LIBPREFIX],
1709 flag = pkgDataFlags[GENLIB];
1740 flag = pkgDataFlags[BIR_FLAGS];
1741 length = uprv_strlen(pkgDataFlags[BIR_FLAGS]);
1800 flag = pkgDataFlags[GENLIB];
1801 length = uprv_strlen(pkgDataFlags[GENLIB]);
1818 flag = pkgDataFlags[GENLIB];
1819 length = uprv_strlen(pkgDataFlags[GENLIB]);