Commit 0e3eda34 authored by Alexandre Julliard's avatar Alexandre Julliard

programs: Use the Wine import libraries when compiling with MinGW.

parent 2e83ea49
...@@ -31,7 +31,7 @@ $(BASEMODULE): $(WINEWRAPPER) ...@@ -31,7 +31,7 @@ $(BASEMODULE): $(WINEWRAPPER)
# Rules for .exe main module # Rules for .exe main module
$(MODULE): $(OBJS) $(RCOBJS) Makefile.in $(MODULE): $(OBJS) $(RCOBJS) Makefile.in
$(CC) $(APPMODE) $(OBJS) $(RCOBJS) -o $@ $(LIBWINE) $(ALL_LIBS) $(CC) $(APPMODE) $(OBJS) $(RCOBJS) -o $@ -L$(DLLDIR) $(IMPORTS:%=-L$(DLLDIR)/%) $(DELAYIMPORTS:%=-L$(DLLDIR)/%) $(LIBWINE) $(ALL_LIBS)
# Rules for testing # Rules for testing
......
...@@ -3,8 +3,8 @@ TOPOBJDIR = ../.. ...@@ -3,8 +3,8 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@ SRCDIR = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
MODULE = notepad.exe MODULE = notepad.exe
APPMODE = -mwindows APPMODE = -mwindows -mno-cygwin
IMPORTS = comdlg32 shell32 shlwapi user32 gdi32 msvcrt advapi32 kernel32 IMPORTS = comdlg32 shell32 shlwapi user32 gdi32 advapi32 kernel32
EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
MODCFLAGS = @BUILTINFLAG@ MODCFLAGS = @BUILTINFLAG@
EXTRADEFS = -DNO_LIBWINE_PORT EXTRADEFS = -DNO_LIBWINE_PORT
......
...@@ -3,8 +3,8 @@ TOPOBJDIR = ../.. ...@@ -3,8 +3,8 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@ SRCDIR = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
MODULE = regedit.exe MODULE = regedit.exe
APPMODE = -mwindows APPMODE = -mwindows -mno-cygwin
IMPORTS = msvcrt advapi32 kernel32 IMPORTS = advapi32 kernel32
DELAYIMPORTS = shlwapi shell32 comdlg32 comctl32 user32 gdi32 DELAYIMPORTS = shlwapi shell32 comdlg32 comctl32 user32 gdi32
EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
EXTRADEFS = -DNO_LIBWINE_PORT EXTRADEFS = -DNO_LIBWINE_PORT
......
...@@ -3,8 +3,8 @@ TOPOBJDIR = ../.. ...@@ -3,8 +3,8 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@ SRCDIR = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
MODULE = taskmgr.exe MODULE = taskmgr.exe
APPMODE = -mwindows APPMODE = -mwindows -mno-cygwin
IMPORTS = psapi shell32 comctl32 msvcrt user32 gdi32 advapi32 kernel32 IMPORTS = psapi shell32 comctl32 user32 gdi32 advapi32 kernel32
EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
EXTRADEFS = -DNO_LIBWINE_PORT EXTRADEFS = -DNO_LIBWINE_PORT
MODCFLAGS = @BUILTINFLAG@ MODCFLAGS = @BUILTINFLAG@
......
...@@ -3,8 +3,8 @@ TOPOBJDIR = ../.. ...@@ -3,8 +3,8 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@ SRCDIR = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
MODULE = wordpad.exe MODULE = wordpad.exe
APPMODE = -mwindows APPMODE = -mwindows -mno-cygwin
IMPORTS = comdlg32 shell32 user32 gdi32 msvcrt advapi32 kernel32 comctl32 IMPORTS = comdlg32 shell32 user32 gdi32 advapi32 kernel32 comctl32
EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
EXTRADEFS = -DNO_LIBWINE_PORT EXTRADEFS = -DNO_LIBWINE_PORT
MODCFLAGS = @BUILTINFLAG@ MODCFLAGS = @BUILTINFLAG@
......
...@@ -3,8 +3,8 @@ TOPOBJDIR = ../.. ...@@ -3,8 +3,8 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@ SRCDIR = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
MODULE = xcopy.exe MODULE = xcopy.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode -mno-cygwin
IMPORTS = shell32 user32 msvcrt kernel32 IMPORTS = shell32 user32 kernel32
EXTRADEFS = -DUNICODE EXTRADEFS = -DUNICODE
EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
MODCFLAGS = @BUILTINFLAG@ MODCFLAGS = @BUILTINFLAG@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment