Skip to content
Snippets Groups Projects
Commit c9eee734 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

makefiles: Define __WINESRC__ when building programs.

parent c0f65cc9
No related branches found
No related tags found
No related merge requests found
Showing
with 27 additions and 6 deletions
......@@ -10,7 +10,7 @@
#
DLLFLAGS = @DLLFLAGS@
DEFS = -DWINE_STRICT_PROTOTYPES -DWINE_NO_UNICODE_MACROS $(EXTRADEFS)
DEFS = -D__WINESRC__ $(EXTRADEFS)
ALL_LIBS = $(DELAYIMPORTS:%=-l%) $(IMPORTS:%=-l%) $(EXTRALIBS) -lwine $(LIBPORT) $(LDFLAGS) $(LIBS)
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(dlldir) $(DESTDIR)$(fakedlldir) $(DESTDIR)$(mandir)/man$(prog_manext)
......
......@@ -27,6 +27,7 @@
#include "windows.h"
#include "commdlg.h"
#include "shellapi.h"
#include "main.h"
#include "winclock.h"
......
......@@ -26,7 +26,9 @@
*/
#include "config.h"
#include <time.h>
#include "wcmd.h"
#include "shellapi.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(cmd);
......
......@@ -27,10 +27,10 @@
* TODO: multiple monitor support
*/
#include "windows.h"
#include "shellapi.h"
#include "wine/unicode.h"
#include <windows.h>
#include <wine/debug.h>
#include "wine/debug.h"
#include "explorer_private.h"
#include "wine/list.h"
......
......@@ -26,6 +26,7 @@
#define OEMRESOURCE
#include <windows.h>
#include <rpc.h>
#include <wine/debug.h>
#include "explorer_private.h"
......
......@@ -30,6 +30,7 @@
#include <initguid.h>
#include <windows.h>
#include <shellapi.h>
#include <shobjidl.h>
#include <shlobj.h>
#include <shlwapi.h>
......
......@@ -24,6 +24,7 @@
#define _WIN32_IE 0x500
#include <windows.h>
#include <commctrl.h>
#include <shellapi.h>
#include <wine/debug.h>
#include <wine/list.h>
......
......@@ -20,6 +20,7 @@
#include <windows.h>
#include <advpub.h>
#include <ole2.h>
#include <rpcproxy.h>
#include "wine/unicode.h"
......
......@@ -23,6 +23,7 @@
#include <windows.h>
#include <msi.h>
#include <winsvc.h>
#include <objbase.h>
#include <stdio.h>
......
......@@ -20,8 +20,9 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdio.h>
#include <windows.h>
#include <winsvc.h>
#include "wine/debug.h"
......
......@@ -25,6 +25,7 @@
#include <assert.h>
#include <stdio.h>
#include <windows.h>
#include <shellapi.h>
#include <commdlg.h>
#include <shlwapi.h>
#include <winternl.h>
......
......@@ -22,9 +22,11 @@
*
*/
#include <stdio.h>
#include <windows.h>
#include <commdlg.h>
#include <shellapi.h>
#include <shlwapi.h>
#include <stdio.h>
#include "main.h"
#include "dialog.h"
......
......@@ -19,6 +19,8 @@
*/
#include "main.h"
#include "commdlg.h"
#include "shellapi.h"
#include "wine/unicode.h"
GLOBALS globals;
......
......@@ -19,6 +19,7 @@
*/
#include "main.h"
#include "commdlg.h"
#include "wine/debug.h"
#include "wine/unicode.h"
......
......@@ -19,6 +19,7 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "winsvc.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(plugplay);
......
......@@ -19,6 +19,7 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "winsvc.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(fontcache);
......
......@@ -25,6 +25,7 @@
#define OEMRESOURCE
#include "windows.h"
#include "shellapi.h"
#include "progman.h"
GLOBALS Globals;
......
......@@ -25,6 +25,7 @@
#include <string.h>
#include <stdlib.h>
#include <windows.h>
#include <winsvc.h>
WINE_DEFAULT_DEBUG_CHANNEL(sc);
......
......@@ -22,6 +22,7 @@
#include <stdarg.h>
#include <windows.h>
#include <winsvc.h>
#include "wine/unicode.h"
#include "wine/debug.h"
......
......@@ -19,6 +19,7 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <winsvc.h>
#include "wine/debug.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment