Commit 8b2ad6ad authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

winemaker: Make the manpage more concise.

parent 42cfbb82
...@@ -73,115 +73,107 @@ source files, and generate the corresponding Makefile. ...@@ -73,115 +73,107 @@ source files, and generate the corresponding Makefile.
.SH OPTIONS .SH OPTIONS
.TP .TP
.B --nobanner .B --nobanner
Disables the printing of the banner. Disable the printing of the banner.
.TP .TP
.B --backup .B --backup
Directs winemaker to perform a backup of all the source files in which it Perform a backup of all the modified source files. This is the default.
makes changes. This is the default.
.TP .TP
.B --nobackup .B --nobackup
Tells winemaker not to backup modified source files. Do not backup modified source files.
.TP .TP
.B --nosource-fix .B --nosource-fix
Directs winemaker not to try fixing the source files (e.g. DOS to Unix Do no try to fix the source files (e.g. DOS to Unix
conversion). This prevents complaints if the files are readonly. conversion). This prevents complaints if the files are readonly.
.TP .TP
.B --lower-all .B --lower-all
Tells winemaker to rename all files and directories to lowercase. Rename all files and directories to lowercase.
.TP .TP
.B --lower-uppercase .B --lower-uppercase
Tells winemaker to only rename files and directories that have an all Only rename files and directories that have an all uppercase name.
uppercase name. So \fIHELLO.C\fR would be renamed but not \fIWorld.c\fR.
So "HELLO.C" would be renamed but not "World.c".
.TP .TP
.B --lower-none .B --lower-none
Tells winemaker not to rename files and directories to lower case. Note Do not rename files and directories to lower case. Note
that this does not prevent the renaming of a file if its extension cannot that this does not prevent the renaming of a file if its extension cannot
be handled as is, e.g. ".Cxx". This is the default. be handled as is, e.g. ".Cxx". This is the default.
.TP .TP
.B "--lower-include " .B --lower-include
Tells winemaker that if it does not find the file corresponding to an When the file corresponding to an include statement (or other form of file reference
include statement (or other form of file reference for resource files), for resource files) cannot be found, convert that filename to lowercase. This is the default.
then it should convert that filename to lowercase. This is the default.
.TP .TP
.B "--nolower-include " .B --nolower-include
Tells winemaker not to modify the include statement if it cannot find the Do not modify the include statement if the referenced file cannot be found.
referenced file.
.TP .TP
.BR "--guiexe " "| " "--windows" .BR "--guiexe " "| " "--windows"
Specifies that whenever winemaker finds an executable target, or a target of Assume a graphical application when an executable target or a target of
unknown type, it should assume that it is a graphical application. unknown type is found. This is the default.
This is the default.
.TP .TP
.BR "--cuiexe " "| " "--console" .BR "--cuiexe " "| " "--console"
Specifies that whenever winemaker finds an executable target, or a target of Assume a console application when an executable target or a target of
unknown type, it should assume that it is a console application. unknown type is found.
.TP .TP
.B --dll .B --dll
This option tells winemaker that whenever it finds a target of unknown type, Assume a dll when a target of unknown type is found, i.e. when \fBwinemaker\fR is unable to
i.e. for which it does not know whether it is an executable, a dll, or a static library, determine whether it is an executable, a dll, or a static library,
it should assume it is a dll.
.TP .TP
.B --lib .B --lib
This option tells winemaker that whenever it finds a target of unknown type, Assume a static library when a target of unknown type is found, i.e. when \fBwinemaker\fR is
i.e. for which it does not know whether it is an executable, a dll, or a static library, unable to determine whether it is an executable, a dll, or a static library,
it should assume it is a static library.
.TP .TP
.B --mfc .B --mfc
Specifies that the targets are MFC based. In such a case winemaker adapts Specify that the targets are MFC based. In such a case \fBwinemaker\fR adapts
the include and library paths accordingly, and links the target with the the include and library paths accordingly, and links the target with the
MFC library. MFC library.
.TP .TP
.B --nomfc .B --nomfc
Specifies that targets are not MFC-based. This option disables use of MFC libraries Specify that targets are not MFC-based. This option disables use of MFC libraries
even if winemaker encounters files "stdafx.cpp" or "stdafx.h" that would cause it even if \fBwinemaker\fR encounters files \fIstdafx.cpp\fR or \fIstdafx.h\fR that would cause it
to enable MFC automatically if neither \fB--nomfc\fR nor \fB--mfc\fR was specified. to enable MFC automatically if neither \fB--nomfc\fR nor \fB--mfc\fR was specified.
.TP .TP
.BI -D macro "\fR[=\fIdefn\fR]" .BI -D macro "\fR[=\fIdefn\fR]"
Adds the specified macro definition to the global list of macro definitions. Add the specified macro definition to the global list of macro definitions.
.TP .TP
.BI -I dir .BI -I dir
Appends the specified directory to the global include path. Append the specified directory to the global include path.
.TP .TP
.BI -P dir .BI -P dir
Appends the specified directory to the global dll path. Append the specified directory to the global dll path.
.TP .TP
.BI -i dll .BI -i dll
Adds the Winelib library to the global list of Winelib libraries to import. Add the Winelib library to the global list of Winelib libraries to import.
.TP .TP
.BI -L dir .BI -L dir
Appends the specified directory to the global library path. Append the specified directory to the global library path.
.TP .TP
.BI -l library .BI -l library
Adds the specified library to the global list of libraries to link with. Add the specified library to the global list of libraries to link with.
.TP .TP
.B --nodlls .B --nodlls
This option tells winemaker not to use the standard set of winelib libraries Do not use the standard set of Winelib libraries for imports.
for imports. That is, any DLL your code uses must be explicitly passed to That is, any DLL your code uses must be explicitly passed with \fB-i\fR options.
winemaker with \fB-i\fR options. The standard set of libraries is: \fIodbc32.dll\fR, \fIodbccp32.dll\fR, \fIole32.dll\fR,
The standard set of libraries is: odbc32.dll, odbccp32.dll, ole32.dll, \fIoleaut32.dll\fR and \fIwinspool.drv\fR.
oleaut32.dll and winspool.drv.
.TP .TP
.B --nomsvcrt .B --nomsvcrt
Sets some options to tell winegcc not to compile against msvcrt. Set some options to tell \fBwinegcc\fR not to compile against msvcrt.
Use this option if you have cpp-files that include <string>. Use this option if you have cpp-files that include \fI<string>\fR.
.TP .TP
.B --interactive .B --interactive
Puts winemaker in interactive mode. In this mode winemaker will ask you to Use interactive mode. In this mode \fBwinemaker\fR will ask you to
confirm each directory's list of targets, and then to provide directory and confirm the list of targets for each directory, and then to provide directory and
target specific options. target specific options.
.TP .TP
.BI --single-target " name" .BI --single-target " name"
Specifies that there is only one target, called \fIname\fR. Specify that there is only one target, called \fIname\fR.
.TP .TP
.B --generated-files .B --generated-files
Tells winemaker to generate the Makefile. This is the default. Generate the \fIMakefile\fR. This is the default.
.TP .TP
.B --nogenerated-files .B --nogenerated-files
Tells winemaker not to generate the Makefile. Do not generate the \fIMakefile\fR.
.TP .TP
.B --wine32 .B --wine32
Tells winemaker to generate a 32-bit target. This is useful on wow64 systems. Generate a 32-bit target. This is useful on wow64 systems.
Without that option the default architecture is used. Without that option the default architecture is used.
.SH EXAMPLES .SH EXAMPLES
...@@ -219,7 +211,7 @@ $ make ...@@ -219,7 +211,7 @@ $ make
.PP .PP
.SH TODO / BUGS .SH TODO / BUGS
In some cases you will have to edit the Makefile or source files by yourself. In some cases you will have to edit the \fIMakefile\fR or source files manually.
.PP .PP
Assuming that the windows executable/library is available, we could Assuming that the windows executable/library is available, we could
use winedump to determine what kind of executable it is (graphical use winedump to determine what kind of executable it is (graphical
......
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