Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
095b498b
Commit
095b498b
authored
Feb 16, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed --exe-mode option to --mode now that it can be used for dlls
too.
parent
d04f253a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
11 deletions
+10
-11
Maketest.rules.in
dlls/Maketest.rules.in
+1
-1
Makeprog.rules.in
programs/Makeprog.rules.in
+1
-1
Makefile.in
programs/avitools/Makefile.in
+3
-3
main.c
tools/winebuild/main.c
+3
-2
winebuild.man.in
tools/winebuild/winebuild.man.in
+2
-4
No files found.
dlls/Maketest.rules.in
View file @
095b498b
...
...
@@ -36,7 +36,7 @@ all: $(TESTPROGRAM)
# Rule for main module spec file
$(MODULE).spec.c: $(RC_SRCS:.rc=.res) $(OBJS) $(IMPORTLIBS) $(WINEBUILD)
$(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --exe $(MODULE) --
exe-
mode cui $(RC_SRCS:.rc=.res) $(OBJS) -L$(DLLDIR) $(IMPORTS:%=-l%)
$(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --exe $(MODULE) --mode cui $(RC_SRCS:.rc=.res) $(OBJS) -L$(DLLDIR) $(IMPORTS:%=-l%)
# Rules for .so main module
...
...
programs/Makeprog.rules.in
View file @
095b498b
...
...
@@ -24,7 +24,7 @@ all: $(MODULE)$(DLLEXT) $(BASEMODULE)$(EXEEXT)
# Rule for main module spec file
$(MODULE).spec.c: $(RC_SRCS:.rc=.res) $(ALL_OBJS) $(WINEBUILD)
$(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --exe $(MODULE) $(APPMODE:%=--
exe-
mode %) $(RC_SRCS:.rc=.res) $(ALL_OBJS) -L$(DLLDIR) $(DELAYIMPORTS:%=-d%) $(IMPORTS:%=-l%)
$(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --exe $(MODULE) $(APPMODE:%=--mode %) $(RC_SRCS:.rc=.res) $(ALL_OBJS) -L$(DLLDIR) $(DELAYIMPORTS:%=-d%) $(IMPORTS:%=-l%)
# Rules for .so main module
...
...
programs/avitools/Makefile.in
View file @
095b498b
...
...
@@ -18,13 +18,13 @@ C_SRCS = \
all
:
$(PROGRAMS:%=%$(DLLEXT)) $(PROGRAMS:.exe=$(EXEEXT))
aviinfo.exe.spec.c
:
aviinfo.o $(WINEBUILD)
$(WINEBUILD)
$(DEFS)
$(DLLFLAGS)
-o
$@
--exe
aviinfo.exe
--
exe-
mode
gui aviinfo.o
-L
$(DLLDIR)
-lavifil32
-lkernel32
$(WINEBUILD)
$(DEFS)
$(DLLFLAGS)
-o
$@
--exe
aviinfo.exe
--mode
gui aviinfo.o
-L
$(DLLDIR)
-lavifil32
-lkernel32
aviplay.exe.spec.c
:
aviplay.o $(WINEBUILD)
$(WINEBUILD)
$(DEFS)
$(DLLFLAGS)
-o
$@
--exe
aviplay.exe
--
exe-
mode
gui aviplay.o
-L
$(DLLDIR)
-lavifil32
-lddraw
-lkernel32
$(WINEBUILD)
$(DEFS)
$(DLLFLAGS)
-o
$@
--exe
aviplay.exe
--mode
gui aviplay.o
-L
$(DLLDIR)
-lavifil32
-lddraw
-lkernel32
icinfo.exe.spec.c
:
icinfo.o $(WINEBUILD)
$(WINEBUILD)
$(DEFS)
$(DLLFLAGS)
-o
$@
--exe
icinfo.exe
--
exe-
mode
gui icinfo.o
-L
$(DLLDIR)
-lmsvfw32
-lkernel32
$(WINEBUILD)
$(DEFS)
$(DLLFLAGS)
-o
$@
--exe
icinfo.exe
--mode
gui icinfo.o
-L
$(DLLDIR)
-lmsvfw32
-lkernel32
aviinfo.exe.so
:
aviinfo.o aviinfo.exe.spec.o
$(LDDLL)
-o
$@
aviinfo.o aviinfo.exe.spec.o
$(ALL_LIBS)
-lc
...
...
tools/winebuild/main.c
View file @
095b498b
...
...
@@ -118,7 +118,7 @@ static const char usage_str[] =
" -K FLAGS Compiler flags (only -KPIC is supported)
\n
"
" -l --library=LIB Import the specified library
\n
"
" -L --library-path=DIR Look for imports libraries in DIR
\n
"
" -m --
exe-mode=MODE Set the executable mode (cui|gui|cuiw|guiw
)
\n
"
" -m --
mode=MODE Set the binary mode (cui|gui|cuiw|guiw|native
)
\n
"
" -M --main-module=MODULE Set the name of the main module for a Win16 dll
\n
"
" -N --dll-name=DLLNAME Set the DLL name (default: from input file name)
\n
"
" -o --output=NAME Set the output file name (default: stdout)
\n
"
...
...
@@ -167,7 +167,8 @@ static const struct option long_options[] =
{
"kill-at"
,
0
,
0
,
'k'
},
{
"library"
,
1
,
0
,
'l'
},
{
"library-path"
,
1
,
0
,
'L'
},
{
"exe-mode"
,
1
,
0
,
'm'
},
{
"mode"
,
1
,
0
,
'm'
},
{
"exe-mode"
,
1
,
0
,
'm'
},
/* for backwards compatibility */
{
"main-module"
,
1
,
0
,
'M'
},
{
"dll-name"
,
1
,
0
,
'N'
},
{
"output"
,
1
,
0
,
'o'
},
...
...
tools/winebuild/winebuild.man.in
View file @
095b498b
...
...
@@ -132,8 +132,8 @@ Specify that we are building a 16-bit dll, that will ultimately be
linked together with the 32-bit dll specified in \fImodule\fR. Only
meaningful in \fB--spec\fR mode.
.TP
.BI \-m,\ --
exe-
mode= mode
Set the executable mode, which can be one of the following:
.BI \-m,\ --mode= mode
Set the executable
or dll
mode, which can be one of the following:
.br
.B cui
for a command line ASCII executable,
...
...
@@ -154,8 +154,6 @@ A command line executable entry point is a normal C \fBmain\fR
function. A graphical executable has a \fBWinMain\fR entry point
instead. The ASCII/Unicode distinction applies to the strings that are
passed to the entry point.
.br
This option is only meaningful in \fB--exe\fR mode.
.TP
.BI \-N,\ --dll-name= dllname
Set the internal name of the module. It is only used in Win16
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment