Changeset abe53d3
- Timestamp:
- 2005-11-07T16:42:49Z (19 years ago)
- Branches:
- master
- Children:
- f56c491
- Parents:
- 99318ad
- Files:
-
- 4 added
- 5 deleted
- 3 edited
- 16 moved
Legend:
- Unmodified
- Added
- Removed
-
.bzrignore
r99318ad rabe53d3 2 2 config.h 3 3 bitlbee 4 Debug 5 Debugx 6 deps 7 admin/Debug 8 admin/admin.plg 9 bitlbee.plg 10 *.plg 11 *.aps 12 *.clw -
win32.c
r99318ad rabe53d3 52 52 } 53 53 54 void service_main (DWORD argc, LPTSTR*argv)54 static void bitlbee_init(int argc, char **argv) 55 55 { 56 56 int i = -1; 57 SERVICE_STATUS_HANDLE handle;58 SERVICE_STATUS status;59 60 handle = RegisterServiceCtrlHandler("bitlbee", service_ctrl);61 62 if (!handle)63 return;64 65 status.dwServiceType = SERVICE_WIN32_OWN_PROCESS;66 status.dwServiceSpecificExitCode = 0;67 68 57 memset( &global, 0, sizeof( global_t ) ); 69 58 … … 99 88 if( help_init( &(global.help) ) == NULL ) 100 89 log_message( LOGLVL_WARNING, "Error opening helpfile %s.", global.helpfile ); 90 } 91 92 void service_main (DWORD argc, LPTSTR *argv) 93 { 94 SERVICE_STATUS_HANDLE handle; 95 SERVICE_STATUS status; 96 97 handle = RegisterServiceCtrlHandler("bitlbee", service_ctrl); 98 99 if (!handle) 100 return; 101 102 status.dwServiceType = SERVICE_WIN32_OWN_PROCESS; 103 status.dwServiceSpecificExitCode = 0; 104 105 bitlbee_init(argc, argv); 101 106 102 107 SetServiceStatus(handle, &status); … … 105 110 } 106 111 107 int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) 108 { 109 SERVICE_TABLE_ENTRY dispatch_table[] = 110 { 111 { TEXT("bitlbee"), (LPSERVICE_MAIN_FUNCTION)service_main }, 112 { NULL, NULL } 113 }; 112 SERVICE_TABLE_ENTRY dispatch_table[] = 113 { 114 { TEXT("bitlbee"), (LPSERVICE_MAIN_FUNCTION)service_main }, 115 { NULL, NULL } 116 }; 117 118 static int debug = 0; 119 120 static void usage() 121 { 122 printf("Options:\n"); 123 printf("-h Show this help message\n"); 124 printf("-d Debug mode (simple console program)\n"); 125 } 126 127 int main( int argc, char **argv) 128 { 129 int i; 130 WSADATA WSAData; 114 131 115 132 nogaim_init( ); 116 133 117 if (!StartServiceCtrlDispatcher(dispatch_table)) 118 log_message( LOGLVL_ERROR, "StartServiceCtrlDispatcher failed."); 134 for (i = 1; i < argc; i++) { 135 if (!strcmp(argv[i], "-d")) debug = 1; 136 if (!strcmp(argv[i], "-h")) { 137 usage(); 138 return 0; 139 } 140 } 141 142 WSAStartup(MAKEWORD(1,1), &WSAData); 143 144 if (!debug) { 145 if (!StartServiceCtrlDispatcher(dispatch_table)) 146 log_message( LOGLVL_ERROR, "StartServiceCtrlDispatcher failed."); 147 } else { 148 bitlbee_init(argc, argv); 149 g_main_run( global.loop ); 150 } 119 151 120 152 return 0; … … 165 197 memset( &global, 0, sizeof( global_t ) ); 166 198 global.loop = g_main_new(FALSE); 167 nogaim_init();168 199 169 200 conf = g_new0( conf_t,1 ); … … 178 209 conf_get_string(key_main, "motdfile", NULL, &global.conf->motdfile); 179 210 conf_get_string(key_main, "helpfile", NULL, &global.helpfile); 180 global.conf->runmode = RUNMODE_ INETD;181 conf_get_int(key_main, "AuthMode", AUTHMODE_ CLOSED, &global.conf->authmode);211 global.conf->runmode = RUNMODE_DAEMON; 212 conf_get_int(key_main, "AuthMode", AUTHMODE_OPEN, &global.conf->authmode); 182 213 conf_get_string(key_proxy, "host", "", &tmp); strcpy(proxyhost, tmp); 183 214 conf_get_string(key_proxy, "user", "", &tmp); strcpy(proxyuser, tmp); … … 244 275 245 276 va_start(ap, message); 277 278 if (debug) { 279 vprintf(message, ap); 280 putchar('\n'); 281 va_end(ap); 282 return; 283 } 246 284 247 285 hEventSource = RegisterEventSource(NULL, TEXT("bitlbee")); -
win32/admin/MainDlg.cpp
r99318ad rabe53d3 2 2 // 3 3 4 #define BITLBEE_CORE5 #include "bitlbeewin.h"6 #include "PropUsers.h"7 4 #include "PropPaths.h" 8 5 #include "PropAccess.h" 9 #include "PropLog.h"10 6 #include "PropConn.h" 11 7 #include "MainDlg.h" … … 26 22 AddPage(new CPropPaths()); 27 23 AddPage(new CPropAccess()); 28 AddPage(new CPropUsers());29 AddPage(new CPropLog());30 24 AddPage(new CPropertyPage(IDD_PROPPAGE_ABOUT)); 31 25 AddPage(new CPropConn()); … … 76 70 ShowWindow(SW_HIDE); 77 71 } 78 -
win32/admin/MainDlg.h
r99318ad rabe53d3 7 7 // MainDlg.h : header file 8 8 // 9 10 #include <afxdlgs.h> 9 11 10 12 ///////////////////////////////////////////////////////////////////////////// -
win32/admin/PropAccess.cpp
r99318ad rabe53d3 2 2 // 3 3 4 #define BITLBEE_CORE5 #include "bitlbeewin.h"6 4 #include "PropAccess.h" 7 5 … … 53 51 { 54 52 CString iface; m_interface.GetWindowText(iface); 53 WriteProfileString("interface", iface); 54 55 55 CString port; m_port.GetWindowText(port); 56 WriteProfileInt("port", port); 56 57 57 58 CString password; m_password.GetWindowText(password); 58 g_free((void *)global.conf->password); 59 global.conf->password = g_strdup(password); 60 61 if(m_auth_closed.GetCheck() == 1) global.conf->authmode = AUTHMODE_CLOSED; 62 if(m_auth_open.GetCheck() == 1) global.conf->authmode = AUTHMODE_OPEN; 63 if(m_auth_registered.GetCheck() == 1) global.conf->authmode = AUTHMODE_REGISTERED; 64 65 if(strcmp(iface, global.conf->iface) || atol(port) != global.conf->port) { 66 global.conf->port = atoi(port); 67 g_free((void *)global.conf->iface); 68 global.conf->iface = g_strdup(iface); 69 closesocket(global.listen_socket); 70 bitlbee_daemon_init(); 71 } 72 59 WriteProfileString("password", password); 60 61 if(m_auth_closed.GetCheck() == 1) WriteProfileInt("auth_mode", 1); 62 if(m_auth_open.GetCheck() == 1) WriteProfileInt("auth_mode", 0); 63 if(m_auth_registered.GetCheck() == 1) WriteProfileInt("auth_mode", 2); 73 64 74 65 CPropertyPage::OnOK(); … … 105 96 CPropertyPage::OnInitDialog(); 106 97 107 m_interface.SetWindowText(global.conf->iface); 108 m_password.SetWindowText(global.conf->password); 98 HKEY key; 99 RegOpenKey(HKEY_LOCAL_MACHINE, BITLBEE_KEY, &key); 100 101 m_interface.SetWindowText(GetProfileString("interface", "0.0.0.0")); 102 m_password.SetWindowText(GetProfileString("password", "")); 109 103 char tmp[20]; 110 g_snprintf(tmp, sizeof(tmp), "%d", global.conf->port);104 sprintf(tmp, "%d", GetProfileInt("port", 6667)); 111 105 m_port.SetWindowText(tmp); 112 m_auth_open.SetCheck(0);113 m_auth_closed.SetCheck(0);114 m_auth_registered.SetCheck(0);115 106 116 switch( global.conf->authmode) {117 case AUTHMODE_OPEN: m_auth_open.SetCheck(1); m_password.EnableWindow(FALSE);break;118 case AUTHMODE_CLOSED: m_auth_closed.SetCheck(1); m_password.EnableWindow(TRUE);break;119 case AUTHMODE_REGISTERED: m_auth_registered.SetCheck(1);m_password.EnableWindow(FALSE);break;107 switch(GetProfileInt("auth_mode", 1)) { 108 case 0: OnAuthOpen();break; 109 case 1: OnAuthClosed();break; 110 case 2: OnAuthRegistered();break; 120 111 } 121 112 -
win32/admin/PropAccess.h
r99318ad rabe53d3 7 7 // PropAccess.h : header file 8 8 // 9 10 #include <afxdlgs.h> 11 #include "Resource.h" 9 12 10 13 ///////////////////////////////////////////////////////////////////////////// -
win32/admin/PropConn.cpp
r99318ad rabe53d3 2 2 // 3 3 4 #define BITLBEE_CORE5 #include "bitlbeewin.h"6 4 #include "PropConn.h" 7 5 … … 57 55 void CPropConn::OnProxyEnabled() 58 56 { 59 // TODO: Add your control notification handler code here60 57 m_proxyhost.EnableWindow(m_proxy_enabled.GetCheck()); 61 58 m_proxytype.EnableWindow(m_proxy_enabled.GetCheck()); … … 73 70 void CPropConn::OnOK() 74 71 { 72 CString tmp; 73 m_proxyhost.GetWindowText(tmp); 74 WriteProfileString("proxy_host", tmp); 75 76 m_proxyport.GetWindowText(tmp); 77 WriteProfileInt("proxy_port", atoi(tmp)); 78 75 79 if(!m_proxy_enabled.GetCheck()) { 76 proxytype = PROXY_NONE; 77 return; 80 WriteProfileInt("proxy_type", 0); 81 } else { 82 WriteProfileInt("proxy_type", m_proxytype.GetCurSel()+1); 78 83 } 79 84 80 CString tmp;81 m_proxyhost.GetWindowText(tmp);82 strcpy(proxyhost, tmp);83 84 m_proxyport.GetWindowText(tmp);85 proxyport = atoi(tmp);86 87 proxytype = m_proxytype.GetCurSel()+1;88 89 85 if(!m_proxy_auth_enabled.GetCheck()) { 90 strcpy(proxyuser, ""); 91 strcpy(proxypass, ""); 92 return; 86 WriteProfileString("proxy_user", ""); 87 WriteProfileString("proxy_password", ""); 88 } else { 89 m_proxyuser.GetWindowText(tmp); 90 WriteProfileString("proxy_user", tmp); 91 m_proxypass.GetWindowText(tmp); 92 WriteProfileString("proxy_password", tmp); 93 93 } 94 95 m_proxyuser.GetWindowText(tmp);96 strcpy(proxyuser, tmp);97 m_proxypass.GetWindowText(tmp);98 strcpy(proxypass, tmp);99 94 100 95 CPropertyPage::OnOK(); … … 105 100 char pp[20]; 106 101 CPropertyPage::OnInitDialog(); 102 int proxytype; 107 103 108 m_proxyhost.SetWindowText( proxyhost);109 m_proxyuser.SetWindowText( proxyuser);110 m_proxypass.SetWindowText( proxypass);111 g_snprintf(pp, 20, "%d", proxyport);104 m_proxyhost.SetWindowText(GetProfileString("proxy_host", "")); 105 m_proxyuser.SetWindowText(GetProfileString("proxy_user", "")); 106 m_proxypass.SetWindowText(GetProfileString("proxy_password", "")); 107 sprintf(pp, "%d", GetProfileInt("proxy_port", 3128)); 112 108 m_proxyport.SetWindowText(pp); 109 110 proxytype = GetProfileInt("proxy_type", 0); 113 111 114 112 m_proxytype.AddString("SOCKS 4"); … … 117 115 m_proxytype.SetCurSel(proxytype-1); 118 116 119 m_proxy_enabled.SetCheck(proxytype == PROXY_NONE?0:1);120 m_proxy_auth_enabled.SetCheck(strcmp( proxyuser, "")?1:0);117 m_proxy_enabled.SetCheck(proxytype == 0?0:1); 118 m_proxy_auth_enabled.SetCheck(strcmp(GetProfileString("proxy_user", ""), "")?1:0); 121 119 122 120 OnProxyEnabled(); -
win32/admin/PropConn.h
r99318ad rabe53d3 7 7 // PropConn.h : header file 8 8 // 9 10 #include <afxdlgs.h> 11 #include "Resource.h" 9 12 10 13 ///////////////////////////////////////////////////////////////////////////// -
win32/admin/PropLog.cpp
r99318ad rabe53d3 2 2 // 3 3 4 #define BITLBEE_CORE5 #include "bitlbeewin.h"6 4 #include "PropLog.h" 7 5 -
win32/admin/PropPaths.cpp
r99318ad rabe53d3 2 2 // 3 3 4 #define BITLBEE_CORE5 #include "bitlbeewin.h"6 4 #include "PropPaths.h" 7 5 #include "shlobj.h" … … 53 51 { 54 52 CString tmp; 55 g_free((void *)global.conf->configdir); 56 m_configdir.GetWindowText(tmp); 53 m_configdir.GetWindowText(tmp); 57 54 58 55 if (tmp.GetLength() > 0 … … 60 57 && tmp.GetAt(tmp.GetLength() - 1) != '\\') 61 58 { 62 global.conf->configdir = g_strdup_printf("%s\\", tmp); 63 } else { 64 global.conf->configdir = g_strdup(tmp); 59 tmp = tmp + "\\"; 65 60 } 66 61 67 g_free((void *)global.conf->motdfile); 62 WriteProfileString("configdir", tmp); 63 68 64 m_motdfile.GetWindowText(tmp); 69 global.conf->motdfile = g_strdup(tmp);70 65 WriteProfileString("motdfile", tmp); 66 71 67 CPropertyPage::OnOK(); 72 68 } … … 112 108 { 113 109 CPropertyPage::OnInitDialog(); 114 115 m_configdir.SetWindowText( global.conf->configdir);116 m_motdfile.SetWindowText( global.conf->motdfile);110 111 m_configdir.SetWindowText(GetProfileString("configdir", "")); 112 m_motdfile.SetWindowText(GetProfileString("motdfile", "")); 117 113 118 114 return TRUE; -
win32/admin/PropPaths.h
r99318ad rabe53d3 7 7 // PropPaths.h : header file 8 8 // 9 #include <afxdlgs.h> 10 #include "Resource.h" 9 11 10 12 ///////////////////////////////////////////////////////////////////////////// -
win32/admin/bitlbee.rc
r99318ad rabe53d3 95 95 END 96 96 97 IDD_PROPPAGE_USERS DIALOG DISCARDABLE 0, 0, 210, 15498 STYLE WS_CHILD | WS_DISABLED | WS_CAPTION99 CAPTION "Users"100 FONT 8, "MS Sans Serif"101 BEGIN102 GROUPBOX "Known users",IDC_STATIC,7,7,196,68103 GROUPBOX "Current users",IDC_STATIC,7,79,196,68104 LISTBOX IDC_KNOWN_USERS,13,17,114,52,LBS_SORT |105 LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP106 PUSHBUTTON "&Remove",IDC_DEL_KNOWN_USERS,133,17,32,14,WS_DISABLED107 LISTBOX IDC_CURRENT_USERS,13,89,115,52,LBS_SORT |108 LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP109 PUSHBUTTON "&Kick",IDC_KICK,135,89,19,14,WS_DISABLED110 PUSHBUTTON "&Refresh",IDC_REFRESH_KNOWN_USERS,133,38,30,14111 PUSHBUTTON "&Refresh",IDC_REFRESH_CURRENT_USERS,135,110,30,14112 END113 114 97 IDD_PROPPAGE_PATHS DIALOG DISCARDABLE 0, 0, 210, 154 115 98 STYLE WS_CHILD | WS_DISABLED | WS_CAPTION … … 124 107 EDITTEXT IDC_MOTDFILE,13,51,122,13,ES_AUTOHSCROLL 125 108 PUSHBUTTON "&Edit...",IDC_EDIT_MOTD,153,66,43,13 126 END127 128 IDD_PHONY DIALOG DISCARDABLE 0, 0, 9, 9129 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU130 CAPTION "Dialog"131 FONT 8, "MS Sans Serif"132 BEGIN133 109 END 134 110 … … 150 126 LTEXT "The Bitlbee homepage is located at http://www.bitlbee.org/\n\nFor Bitlbee support, go to #bitlbee on irc.oftc.net", 151 127 IDC_STATIC,17,100,248,39 152 END153 154 IDD_PROPPAGE_LOG DIALOG DISCARDABLE 0, 0, 210, 154155 STYLE WS_CHILD | WS_DISABLED | WS_CAPTION156 CAPTION "Logs"157 FONT 8, "MS Sans Serif"158 BEGIN159 LISTBOX IDC_LOG,7,7,196,140,LBS_SORT | LBS_NOINTEGRALHEIGHT |160 WS_VSCROLL | WS_TABSTOP161 128 END 162 129 … … 184 151 END 185 152 153 IDD_PROPPAGE_MAIN DIALOG DISCARDABLE 0, 0, 210, 101 154 STYLE WS_CHILD | WS_DISABLED | WS_CAPTION 155 CAPTION "Main" 156 FONT 8, "MS Sans Serif" 157 BEGIN 158 LTEXT "Current Status:",IDC_STATIC,13,16,66,9 159 LTEXT "Static",IDC_STATIC,92,16,80,12 160 PUSHBUTTON "&Start",IDC_STARTSERVICE,13,28,40,11 161 PUSHBUTTON "&Stop",IDC_STOPSERVICE,65,29,46,11 162 CONTROL "&Verbose",IDC_VERBOSE,"Button",BS_AUTOCHECKBOX | 163 WS_TABSTOP,15,43,84,12 164 EDITTEXT IDC_PING_INTERVAL,93,62,47,12,ES_AUTOHSCROLL 165 LTEXT "Ping Interval:",IDC_STATIC,13,62,60,10 166 END 167 186 168 187 169 #ifndef _MAC … … 212 194 VALUE "FileVersion", "1, 0, 0, 1\0" 213 195 VALUE "InternalName", "bitlbee\0" 214 VALUE "LegalCopyright", "Copyright (C) 2002-200 4\0"215 VALUE "OriginalFilename", "bitlbee .exe\0"196 VALUE "LegalCopyright", "Copyright (C) 2002-2005\0" 197 VALUE "OriginalFilename", "bitlbeeadm.exe\0" 216 198 VALUE "ProductName", "Bitlbee Application\0" 217 199 VALUE "ProductVersion", "1, 0, 0, 1\0" … … 243 225 END 244 226 245 IDD_PROPPAGE_ USERS, DIALOG227 IDD_PROPPAGE_PATHS, DIALOG 246 228 BEGIN 247 229 LEFTMARGIN, 7 … … 251 233 END 252 234 253 IDD_PROPPAGE_PATHS, DIALOG 235 IDD_PROPPAGE_ABOUT, DIALOG 236 BEGIN 237 LEFTMARGIN, 7 238 RIGHTMARGIN, 277 239 TOPMARGIN, 7 240 BOTTOMMARGIN, 149 241 END 242 243 IDD_PROPPAGE_CONNECTION, DIALOG 254 244 BEGIN 255 245 LEFTMARGIN, 7 … … 259 249 END 260 250 261 IDD_PHONY, DIALOG 262 BEGIN 263 LEFTMARGIN, 7 264 RIGHTMARGIN, 2 265 TOPMARGIN, 7 266 BOTTOMMARGIN, 2 267 END 268 269 IDD_PROPPAGE_ABOUT, DIALOG 270 BEGIN 271 LEFTMARGIN, 7 272 RIGHTMARGIN, 277 273 TOPMARGIN, 7 274 BOTTOMMARGIN, 149 275 END 276 277 IDD_PROPPAGE_LOG, DIALOG 251 IDD_PROPPAGE_MAIN, DIALOG 278 252 BEGIN 279 253 LEFTMARGIN, 7 280 254 RIGHTMARGIN, 203 281 TOPMARGIN, 7 282 BOTTOMMARGIN, 147 283 END 284 285 IDD_PROPPAGE_CONNECTION, DIALOG 286 BEGIN 287 LEFTMARGIN, 7 288 RIGHTMARGIN, 203 289 TOPMARGIN, 7 290 BOTTOMMARGIN, 147 255 TOPMARGIN, 6 256 BOTTOMMARGIN, 94 291 257 END 292 258 END … … 296 262 ///////////////////////////////////////////////////////////////////////////// 297 263 // 298 // Menu299 //300 301 IDR_POPUP MENU DISCARDABLE302 BEGIN303 POPUP "tray"304 BEGIN305 MENUITEM "&Show", IDM_SHOW306 MENUITEM SEPARATOR307 MENUITEM "&Exit", IDM_EXIT308 END309 END310 311 312 /////////////////////////////////////////////////////////////////////////////313 //314 264 // Bitmap 315 265 // … … 325 275 BEGIN 326 276 IDS_ABOUTBOX "&About bitlbee..." 327 IDP_SOCKETS_INIT_FAILED "Windows sockets initialization failed."328 277 END 329 278 -
win32/admin/bitlbeewin.h
r99318ad rabe53d3 14 14 #include "resource.h" // main symbols 15 15 16 class CTrayNot;17 extern "C" {18 #define BITLBEE_CORE19 #include "bitlbee.h"20 }21 22 16 ///////////////////////////////////////////////////////////////////////////// 23 17 // CBitlbeeApp: … … 28 22 { 29 23 public: 30 CBitlbeeApp() ;24 CBitlbeeApp() {} 31 25 32 26 // Overrides … … 41 35 42 36 //{{AFX_MSG(CBitlbeeApp) 43 afx_msg void OnExit();44 afx_msg void OnShow();45 37 //}}AFX_MSG 46 38 DECLARE_MESSAGE_MAP() 47 39 protected: 48 CTrayNot *not;49 40 CPropertySheet *dlg; 50 GIOChannel *listen;51 41 }; 52 42 -
win32/admin/resource.h
r99318ad rabe53d3 21 21 #define IDD_PROPPAGE_CONNECTION 137 22 22 #define IDI_ICON1 138 23 #define IDD_PROPPAGE_MAIN 138 23 24 #define IDC_AUTH_OPEN 1001 24 25 #define IDC_AUTH_CLOSED 1002 … … 46 47 #define IDC_PROXYPORT 1023 47 48 #define IDC_PROXYTYPE 1024 49 #define IDC_STARTSERVICE 1025 50 #define IDC_STOPSERVICE 1026 51 #define IDC_VERBOSE 1027 52 #define IDC_PING_INTERVAL 1028 48 53 #define IDM_SHOW 32771 49 54 #define IDM_EXIT 32773 … … 55 60 #define _APS_NEXT_RESOURCE_VALUE 139 56 61 #define _APS_NEXT_COMMAND_VALUE 32774 57 #define _APS_NEXT_CONTROL_VALUE 102 562 #define _APS_NEXT_CONTROL_VALUE 1029 58 63 #define _APS_NEXT_SYMED_VALUE 102 59 64 #endif -
win32/bitlbee.dsp
r99318ad rabe53d3 54 54 LINK32=link.exe 55 55 # ADD BASE LINK32 /nologo /subsystem:windows /machine:I386 56 # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib iconv.lib glib-2.0.lib gmodule-2.0.lib wsock32.lib advapi32.lib /nologo / subsystem:windows /machine:I386 /libpath:"release" /libpath:"deps\lib"57 # SUBTRACT LINK32 / incremental:yes /nodefaultlib56 # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib iconv.lib glib-2.0.lib gmodule-2.0.lib wsock32.lib advapi32.lib /nologo /machine:I386 /libpath:"release" /libpath:"deps\lib" 57 # SUBTRACT LINK32 /pdb:none 58 58 59 59 !ELSEIF "$(CFG)" == "bitlbee - Win32 Debug" … … 71 71 # PROP Target_Dir "" 72 72 # ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c 73 # ADD CPP /nologo / Gd /MDd /Ze/W3 /Gm /GX /Zi /Od /I "." /I "..\protocols" /I ".." /I "deps\include" /I "deps\include\glib-2.0" /I "deps\lib\glib-2.0\include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_AFXDLL" /FR /FD /c73 # ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "." /I "..\protocols" /I ".." /I "deps\include" /I "deps\include\glib-2.0" /I "deps\lib\glib-2.0\include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_AFXDLL" /FR /FD /c 74 74 # SUBTRACT CPP /YX 75 75 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 … … 82 82 LINK32=link.exe 83 83 # ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept 84 # ADD LINK32 iconv.lib glib-2.0.lib gmodule-2.0.lib wsock32.lib kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept /libpath:"debug" /libpath:"deps\lib" 84 # ADD LINK32 iconv.lib glib-2.0.lib gmodule-2.0.lib wsock32.lib kernel32.lib user32.lib advapi32.lib /nologo /debug /machine:I386 /pdbtype:sept /libpath:"debug" /libpath:"deps\lib" 85 # SUBTRACT LINK32 /pdb:none 85 86 86 87 !ENDIF … … 103 104 # Begin Source File 104 105 105 SOURCE=.\bitlbee.rc106 107 !IF "$(CFG)" == "bitlbee - Win32 Release"108 109 !ELSEIF "$(CFG)" == "bitlbee - Win32 Debug"110 111 !ENDIF112 113 # End Source File114 # Begin Source File115 116 106 SOURCE=..\commands.c 117 107 # End Source File … … 254 244 # End Source File 255 245 # End Group 256 # Begin Group "Resource Files"257 258 # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe"259 # Begin Source File260 261 SOURCE=.\res\bitlbee.rc2262 # End Source File263 # Begin Source File264 265 SOURCE=.\res\bmp00002.bmp266 # End Source File267 # Begin Source File268 269 SOURCE=.\res\icon1.ico270 # End Source File271 # Begin Source File272 273 SOURCE=.\res\icon2.ico274 # End Source File275 # End Group276 # Begin Source File277 278 SOURCE=.\README.TXT279 # End Source File280 246 # End Target 281 247 # End Project
Note: See TracChangeset
for help on using the changeset viewer.