Home | History | Annotate | Download | only in pkgdata

Lines Matching refs:MODE

108 static int32_t pkg_createWindowsDLL(const char mode, const char *gencFilePath, UPKGOptions *o);
116 static int32_t pkg_createWithoutAssemblyCode(UPKGOptions *o, const char *targetDir, const char mode);
119 static int32_t pkg_createWithAssemblyCode(const char *targetDir, const char mode, const char *gencFilePath);
120 static int32_t pkg_generateLibraryFile(const char *targetDir, const char mode, const char *objectFile, char *command = NULL);
122 static void createFileNames(UPKGOptions *o, const char mode, const char *version_major, const char *version, const char *libName, const UBool reverseExt);
131 MODE,
171 /*02*/ UOPTION_DEF( "mode", 'm', UOPT_REQUIRES_ARG),
233 "Specify the mode of building (see below; default: common)",
245 "Specify a version when packaging in dll or static mode",
248 "Quite mode. (e.g. Do not output a readme file for static libraries)"
269 options[MODE].value = "common";
293 if(!options[BLDOPT].doesOccur && uprv_strcmp(options[MODE].value, "common") != 0) {
355 o.mode = options[MODE].value;
531 const char mode = o->mode[0];
540 if (mode == MODE_FILES) {
550 fprintf(stdout, "# Install: Files mode, copying files to %s..\n", targetDir);
555 } else /* if (mode == MODE_COMMON || mode == MODE_STATIC || mode == MODE_DLL) */ {
578 if (mode == MODE_COMMON) {
606 } else /* if (mode[0] == MODE_STATIC || mode[0] == MODE_DLL) */ {
632 createFileNames(o, mode, version_major, o->version, o->libName, reverseExt);
634 if ((o->version!=NULL || (mode==MODE_STATIC)) && o->rebuild == FALSE) {
674 result = pkg_createWithAssemblyCode(targetDir, mode, gencFilePath);
678 } else if (mode == MODE_STATIC) {
698 result = pkg_generateLibraryFile(targetDir, mode, gencFilePath);
700 result = pkg_createWindowsDLL(mode, gencFilePath, o);
703 result = pkg_createWithoutAssemblyCode(o, targetDir, mode);
711 if(mode != MODE_STATIC) {
819 static void createFileNames(UPKGOptions *o, const char mode, const char *version_major, const char *version, const char *libName, UBool reverseExt) {
873 if(mode == MODE_STATIC) {
1132 static int32_t pkg_generateLibraryFile(const char *targetDir, const char mode, const char *objectFile, char *command) {
1151 if (mode == MODE_STATIC) {
1168 } else /* if (mode == MODE_DLL) */ {
1200 static int32_t pkg_createWithAssemblyCode(const char *targetDir, const char mode, const char *gencFilePath) {
1232 return pkg_generateLibraryFile(targetDir, mode, tempObjectFile);
1264 static int32_t pkg_createWithoutAssemblyCode(UPKGOptions *o, const char *targetDir, const char mode) {
1428 result = pkg_generateLibraryFile(targetDir, mode, buffer, cmd);
1446 static int32_t pkg_createWindowsDLL(const char mode, const char *gencFilePath, UPKGOptions *o) {
1448 if (mode == MODE_STATIC) {
1461 } else if (mode == MODE_DLL) {
1714 /* normal mode.. o->files is just the bare list without package names */