vmware_toolbox_LDADD += @GTK_LIBS@
vmware_toolbox_SOURCES =
- vmware_toolbox_SOURCES += debugStdio.c
vmware_toolbox_SOURCES += toolbox-gtk.c
vmware_toolbox_SOURCES += toolboxAbout.c
vmware_toolbox_SOURCES += toolboxDevices.c
vmware_toolbox_SOURCES += toolboxOptions.c
vmware_toolbox_SOURCES += toolboxScripts.c
vmware_toolbox_SOURCES += toolboxShrink.c
+ vmware_toolbox_SOURCES += $(top_srcdir)/libvmtools/fileLogger.c
+ vmware_toolbox_SOURCES += $(top_srcdir)/libvmtools/stdLogger.c
+ vmware_toolbox_SOURCES += $(top_srcdir)/libvmtools/sysLogger.c
vmware_toolbox_SOURCES += $(top_srcdir)/libvmtools/vmtoolsConfig.c
+ vmware_toolbox_SOURCES += $(top_srcdir)/libvmtools/vmtoolsLog.c
vmware_toolbox_CPPFLAGS =
vmware_toolbox_CPPFLAGS += -DG_LOG_DOMAIN=\"toolbox\"
+ vmware_toolbox_CPPFLAGS += -I$(top_srcdir)/libvmtools
# Here's something wacky: automake will muck up the translation of this
# conditional if it is indented. For more details, see:
#include "system.h"
#include "vmware/guestrpc/tclodefs.h"
#include "vmware/guestrpc/timesync.h"
+#include "vmware/tools/utils.h"
#include "embed_version.h"
VM_EMBED_VERSION(TOOLBOXGTK_VERSION_STRING);
}
pConfDict = Toolbox_LoadToolsConf();
- Debug_Set(g_key_file_get_boolean(pConfDict, "logging", CONFNAME_LOG, NULL),
- DEBUG_PREFIX);
- Debug_EnableToFile(g_key_file_get_string(pConfDict, "logging",
- CONFNAME_LOGFILE, NULL),
- FALSE);
+ VMTools_ConfigLogging(G_LOG_DOMAIN, pConfDict, FALSE, FALSE);
InitHelpDir();
g_key_file_free(pConfDict);