Lines Matching defs:targetDir
66 static int32_t pkg_createSymLinks(const char *targetDir, UBool specialHandling=FALSE);
72 static int32_t pkg_createWithoutAssemblyCode(UPKGOptions *o, const char *targetDir, const char mode);
75 static int32_t pkg_createWithAssemblyCode(const char *targetDir, const char mode, const char *gencFilePath);
76 static int32_t pkg_generateLibraryFile(const char *targetDir, const char mode, const char *objectFile, char *command = NULL);
77 static int32_t pkg_archiveLibrary(const char *targetDir, const char *version, UBool reverseExt);
399 o.targetDir = options[DESTDIR].value;
401 o.targetDir = "."; /* cwd */
409 o.tmpDir = o.targetDir;
532 char targetDir[SMALL_BUFFER_MAX_SIZE] = "";
543 uprv_strcpy(targetDir, o->install);
545 uprv_strcat(targetDir, PKGDATA_FILE_SEP_STRING);
546 uprv_strcat(targetDir, o->shortName);
550 fprintf(stdout, "# Install: Files mode, copying files to %s..\n", targetDir);
552 result = pkg_installFileMode(targetDir, o->srcDir, o->fileListFiles->str);
558 uprv_strcpy(targetDir, o->targetDir);
559 uprv_strcat(targetDir, PKGDATA_FILE_SEP_STRING);
583 uprv_strcpy(targetFileNamePath, targetDir);
651 sprintf(checkLibFile, "%s%s", targetDir, libFileNames[LIB_FILE_VERSION]);
658 result = pkg_installLibrary(o->install, targetDir, noVersion);
692 result = pkg_createWithAssemblyCode(targetDir, mode, gencFilePath);
701 result = pkg_installLibrary(o->install, targetDir, noVersion);
715 result = pkg_createWithoutAssemblyCode(o, targetDir, mode);
724 result = pkg_generateLibraryFile(targetDir, mode, gencFilePath);
729 result = pkg_createWithoutAssemblyCode(o, targetDir, mode);
747 result = pkg_archiveLibrary(targetDir, o->version, reverseExt);
757 result = pkg_createSymLinks(targetDir, noVersion);
760 result = pkg_createSymLinks(targetDir, noVersion);
777 result = pkg_installLibrary(o->install, targetDir, noVersion);
965 static int32_t pkg_createSymLinks(const char *targetDir, UBool specialHandling) {
979 targetDir,
1008 targetDir,
1020 static int32_t pkg_installLibrary(const char *installDir, const char *targetDir, UBool noVersion) {
1025 targetDir,
1040 targetDir,
1053 targetDir,
1169 static int32_t pkg_archiveLibrary(const char *targetDir, const char *version, UBool reverseExt) {
1186 targetDir,
1188 targetDir,
1199 targetDir,
1211 targetDir,
1231 static int32_t pkg_generateLibraryFile(const char *targetDir, const char mode, const char *objectFile, char *command) {
1247 length = uprv_strlen(pkgDataFlags[AR]) + uprv_strlen(pkgDataFlags[ARFLAGS]) + uprv_strlen(targetDir) +
1258 targetDir,
1266 targetDir,
1274 ((uprv_strlen(targetDir) + uprv_strlen(libFileNames[LIB_FILE_VERSION_TMP])) * 2) +
1279 length += uprv_strlen(targetDir) + uprv_strlen(libFileNames[LIB_FILE_CYGWIN_VERSION]);
1281 length += uprv_strlen(targetDir) + uprv_strlen(libFileNames[LIB_FILE_MINGW]);
1292 targetDir,
1295 targetDir,
1300 targetDir,
1303 targetDir,
1308 targetDir,
1312 targetDir,
1318 targetDir,
1342 static int32_t pkg_createWithAssemblyCode(const char *targetDir, const char mode, const char *gencFilePath) {
1375 return pkg_generateLibraryFile(targetDir, mode, tempObjectFile);
1407 static int32_t pkg_createWithoutAssemblyCode(UPKGOptions *o, const char *targetDir, const char mode) {
1581 result = pkg_generateLibraryFile(targetDir,mode, buffer, cmd);
1584 result = pkg_generateLibraryFile(targetDir,mode, buffer, cmd);
1611 o->targetDir,
1618 o->targetDir,
1636 uprv_strcpy(dllFilePath, o->targetDir);