From 68eb0dd58d5dc75d4ed4a7b6102f41a8eeda6059 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 16 Feb 2004 22:24:46 +0000 Subject: [PATCH] Allow specification of "DLLMODE=native" for native dlls. --- dlls/Makedll.rules.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/Makedll.rules.in b/dlls/Makedll.rules.in index affd99e59e3..db71d4d9bfe 100644 --- a/dlls/Makedll.rules.in +++ b/dlls/Makedll.rules.in @@ -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 @@ all: $(MODULE)$(DLLEXT) $(SUBDIRS) # 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) $(DLLMODE:%=--mode %) $(RC_SRCS:.rc=.res) $(ALL_OBJS) -L$(DLLDIR) $(DELAYIMPORTS:%=-d%) $(IMPORTS:%=-l%) $(MODULE).so: $(MAINSPEC).o $(ALL_OBJS) Makefile.in $(LDDLL) $(MAINSPEC).o $(ALL_OBJS) -o $@ -L$(DLLDIR) $(ALL_LIBS) -lc