Home | History | Annotate | Download | only in pkgdata

Lines Matching defs:MODE

105 static int32_t pkg_createWindowsDLL(const char mode, const char *gencFilePath, UPKGOptions *o);
112 static int32_t pkg_createWithoutAssemblyCode(UPKGOptions *o, const char *targetDir, const char mode);
115 static int32_t pkg_createWithAssemblyCode(const char *targetDir, const char mode, const char *gencFilePath);
116 static int32_t pkg_generateLibraryFile(const char *targetDir, const char mode, const char *objectFile, char *command = NULL);
125 MODE,
165 /*02*/ UOPTION_DEF( "mode", 'm', UOPT_REQUIRES_ARG),
226 "Specify the mode of building (see below; default: common)",
238 "Specify a version when packaging in DLL or static mode",
241 "Quite mode. (e.g. Do not output a readme file for static libraries)"
262 options[MODE].value = "common";
348 o.mode = options[MODE].value;
476 const char mode = o->mode[0];
507 if (mode == MODE_FILES) {
518 } else /* if (mode == MODE_COMMON || mode == MODE_STATIC || mode == MODE_DLL) */ {
538 if (mode == MODE_COMMON) {
558 } else /* if (mode[0] == MODE_STATIC || mode[0] == MODE_DLL) */ {
610 result = pkg_createWithAssemblyCode(targetDir, mode, gencFilePath);
614 } else if (mode == MODE_STATIC) {
625 result = pkg_generateLibraryFile(targetDir, mode, gencFilePath);
627 return pkg_createWindowsDLL(mode, gencFilePath, o);
630 result = pkg_createWithoutAssemblyCode(o, targetDir, mode);
879 static int32_t pkg_generateLibraryFile(const char *targetDir, const char mode, const char *objectFile, char *command) {
898 if (mode == MODE_STATIC) {
912 } else /* if (mode == MODE_DLL) */ {
948 static int32_t pkg_createWithAssemblyCode(const char *targetDir, const char mode, const char *gencFilePath) {
969 return pkg_generateLibraryFile(targetDir, mode, tempObjectFile);
990 static int32_t pkg_createWithoutAssemblyCode(UPKGOptions *o, const char *targetDir, const char mode) {
1152 result = pkg_generateLibraryFile(targetDir, mode, buffer, cmd);
1169 static int32_t pkg_createWindowsDLL(const char mode, const char *gencFilePath, UPKGOptions *o) {
1171 if (mode == MODE_STATIC) {
1184 } else if (mode == MODE_DLL) {
1418 /* normal mode.. o->files is just the bare list without package names */