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, UBool specialHandling=FALSE);
77 static int32_t pkg_archiveLibrary(const char *targetDir, const char *version, UBool reverseExt);
409 o.targetDir = options[DESTDIR].value;
411 o.targetDir = "."; /* cwd */
419 o.tmpDir = o.targetDir;
542 char targetDir[SMALL_BUFFER_MAX_SIZE] = "";
553 uprv_strcpy(targetDir, o->install);
555 uprv_strcat(targetDir, PKGDATA_FILE_SEP_STRING);
556 uprv_strcat(targetDir, o->shortName);
560 fprintf(stdout, "# Install: Files mode, copying files to %s..\n", targetDir);
562 result = pkg_installFileMode(targetDir, o->srcDir, o->fileListFiles->str);
568 uprv_strcpy(targetDir, o->targetDir);
569 uprv_strcat(targetDir, PKGDATA_FILE_SEP_STRING);
593 uprv_strcpy(targetFileNamePath, targetDir);
661 sprintf(checkLibFile, "%s%s", targetDir, libFileNames[LIB_FILE_VERSION]);
668 result = pkg_installLibrary(o->install, targetDir, noVersion);
702 result = pkg_createWithAssemblyCode(targetDir, mode, gencFilePath);
711 result = pkg_installLibrary(o->install, targetDir, noVersion);
725 result = pkg_createWithoutAssemblyCode(o, targetDir, mode);
735 result = pkg_generateLibraryFile(targetDir, mode, gencFilePath);
740 result = pkg_createWithoutAssemblyCode(o, targetDir, mode);
758 result = pkg_archiveLibrary(targetDir, o->version, reverseExt);
767 result = pkg_createSymLinks(targetDir, o->pdsbuild);
769 result = pkg_createSymLinks(targetDir, noVersion);
786 result = pkg_installLibrary(o->install, targetDir, noVersion);
974 static int32_t pkg_createSymLinks(const char *targetDir, UBool specialHandling) {
988 targetDir,
1008 sprintf(cmd, "%s/%s", targetDir, libFileNames[LIB_FILE_OS390BATCH_VERSION]);
1011 targetDir,
1024 targetDir,
1052 targetDir,
1064 static int32_t pkg_installLibrary(const char *installDir, const char *targetDir, UBool noVersion) {
1069 targetDir,
1084 targetDir,
1097 targetDir,
1228 static int32_t pkg_archiveLibrary(const char *targetDir, const char *version, UBool reverseExt) {
1245 targetDir,
1247 targetDir,
1258 targetDir,
1270 targetDir,
1290 static int32_t pkg_generateLibraryFile(const char *targetDir, const char mode, const char *objectFile, char *command, UBool specialHandling) {
1306 length = uprv_strlen(pkgDataFlags[AR]) + uprv_strlen(pkgDataFlags[ARFLAGS]) + uprv_strlen(targetDir) +
1317 targetDir,
1325 targetDir,
1333 ((uprv_strlen(targetDir) + uprv_strlen(libFileNames[LIB_FILE_VERSION_TMP])) * 2) +
1338 length += uprv_strlen(targetDir) + uprv_strlen(libFileNames[LIB_FILE_CYGWIN_VERSION]);
1340 length += uprv_strlen(targetDir) + uprv_strlen(libFileNames[LIB_FILE_MINGW]);
1351 targetDir,
1354 targetDir,
1359 targetDir,
1362 targetDir,
1367 targetDir,
1371 targetDir,
1377 targetDir,
1461 static int32_t pkg_createWithAssemblyCode(const char *targetDir, const char mode, const char *gencFilePath) {
1494 return pkg_generateLibraryFile(targetDir, mode, tempObjectFile);
1526 static int32_t pkg_createWithoutAssemblyCode(UPKGOptions *o, const char *targetDir, const char mode) {
1697 result = pkg_generateLibraryFile(targetDir, mode, buffer, cmd, (o->pdsbuild && IN_DLL_MODE(mode)));
1699 result = pkg_generateLibraryFile(targetDir,mode, buffer, cmd);
1726 o->targetDir,
1733 o->targetDir,
1751 uprv_strcpy(dllFilePath, o->targetDir);