PATCH: support native mode dlls in Makerules.dlls

Marcus Meissner marcus at jet.franken.de
Sun Feb 15 16:15:22 CST 2004


Hi,

Ciao, Marcus

Changelog:
	Allow specification of "DLLMODE=native" for native dlls.

Index: dlls/Makedll.rules.in
===================================================================
RCS file: /home/wine/wine/dlls/Makedll.rules.in,v
retrieving revision 1.62
diff -u -r1.62 Makedll.rules.in
--- dlls/Makedll.rules.in	26 Jan 2004 21:29:05 -0000	1.62
+++ dlls/Makedll.rules.in	15 Feb 2004 22:12:56 -0000
@@ -5,6 +5,7 @@
 # ALTNAMES     : alternate names for this dll (optional)
 # EXTRALIBS    : extra libraries to link in (optional)
 # SPEC_SRCS16  : interface definition files for 16-bit dlls (optional)
+# DLLMODE      : (optional) subsystem mode (for native dlls)
 #
 # plus all variables required by the global Make.rules.in
 #
@@ -26,7 +27,7 @@
 # Rules for .so files
 
 $(MAINSPEC).c: $(MAINSPEC) $(RC_SRCS:.rc=.res) $(ALL_OBJS) $(IMPORTLIBS) $(WINEBUILD)
-	$(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --spec $(SRCDIR)/$(MAINSPEC) $(RC_SRCS:.rc=.res) $(ALL_OBJS) -L$(DLLDIR) $(DELAYIMPORTS:%=-d%) $(IMPORTS:%=-l%)
+	$(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --spec $(SRCDIR)/$(MAINSPEC) $(RC_SRCS:.rc=.res) $(ALL_OBJS) -L$(DLLDIR) $(DELAYIMPORTS:%=-d%) $(IMPORTS:%=-l%) $(DLLMODE:%=--exe-mode %)
 
 $(MODULE).so: $(MAINSPEC).o $(ALL_OBJS) Makefile.in
 	$(LDDLL) $(MAINSPEC).o $(ALL_OBJS) -o $@ -L$(DLLDIR) $(ALL_LIBS) -lc



More information about the wine-patches mailing list