Commit 905658c4 authored by Dimitrie O. Paun's avatar Dimitrie O. Paun Committed by Alexandre Julliard

Generate a simple Makefile that uses winegcc to compile.

No longer generate a configure script, that's project policy.
parent 0d203bd7
...@@ -13,7 +13,7 @@ winemaker \- generate a build infrastructure for compiling Windows programs on U ...@@ -13,7 +13,7 @@ winemaker \- generate a build infrastructure for compiling Windows programs on U
] ]
.br .br
[ [
.IR "--lower-include " "| " "--nolower-include " .IR "--lower-include " "| " "--nolower-include " ] [ " "--mfc " "| " "--nomfc "
] ]
.br .br
[ [
...@@ -21,10 +21,6 @@ winemaker \- generate a build infrastructure for compiling Windows programs on U ...@@ -21,10 +21,6 @@ winemaker \- generate a build infrastructure for compiling Windows programs on U
] ]
.br .br
[ [
.IR "--wrap " "| " "--nowrap " "] [ " "--mfc " "| " "--nomfc "
]
.br
[
.IR "-Dmacro[=defn] " "] [ " "-Idir " "] [ " "-Ldir " "] [ " "-idll" "] [ " "-llibrary " .IR "-Dmacro[=defn] " "] [ " "-Idir " "] [ " "-Ldir " "] [ " "-idll" "] [ " "-llibrary "
] ]
.br .br
...@@ -33,7 +29,7 @@ winemaker \- generate a build infrastructure for compiling Windows programs on U ...@@ -33,7 +29,7 @@ winemaker \- generate a build infrastructure for compiling Windows programs on U
] ]
.br .br
[ [
.IR "--generated-files " "] [ " "--nogenerated-files " "] [ " "--nogenerated-specs " .IR "--generated-files " "] [ " "--nogenerated-files " "]
] ]
.SH DESCRIPTION .SH DESCRIPTION
...@@ -129,20 +125,9 @@ The standard set of libraries is: advapi32.dll, comdlg32.dll, gdi32.dll, ...@@ -129,20 +125,9 @@ The standard set of libraries is: advapi32.dll, comdlg32.dll, gdi32.dll,
kernel32.dll, odbc32.dll, ole32.dll, oleaut32.dll, shell32.dll, user32.dll, kernel32.dll, odbc32.dll, ole32.dll, oleaut32.dll, shell32.dll, user32.dll,
winspool.drv. winspool.drv.
.TP .TP
.I --wrap
Specifies that executable targets should be built as libraries and a small
executable wrapper generated for them. This technique is sometimes required
to solve initialization problems occurring on the application startup.
.TP
.I --nowrap
Specifies that no wrapper should be generated for executable targets. This is
the default.
.TP
.I --mfc .I --mfc
Specifies that the targets are MFC based. In such a case winemaker generates a Specifies that the targets are MFC based. In such a case winemaker the include
configure script with MFC specific options, modifies the include and and library paths accordingly, and links the target with the MFC library.
library paths accordingly, links the target with the MFC library and
generates wrappers for these targets that are executables.
.TP .TP
.I --nomfc .I --nomfc
Specifies that targets are not MFC-based. This option disables use of MFC libraries Specifies that targets are not MFC-based. This option disables use of MFC libraries
...@@ -173,17 +158,10 @@ target specific options. ...@@ -173,17 +158,10 @@ target specific options.
Specifies that there is only one target, and that it is called "name". Specifies that there is only one target, and that it is called "name".
.TP .TP
.I --generated-files .I --generated-files
Tells winemaker to generate the build infrastructure files, i.e. the spec Tells winemaker to generate the build the Makefile. This is the default.
files, the wrapper files, the Makefile.in files, the Make.rules.in file, the
configure.in file and the configure script. This is the default.
.TP .TP
.I --nogenerated-files .I --nogenerated-files
Tells winemaker not to generate any of the above files. Tells winemaker not to generate the Makefile.
.TP
.I --nogenerated-specs
Tells winemaker not to generate the spec files when generating files. This is
particularly useful when using winemaker to generate a build environment and
you already have a spec file.
.SH EXAMPLES .SH EXAMPLES
.PP .PP
...@@ -240,9 +218,6 @@ exports (for libraries). We could then restore all these settings for the ...@@ -240,9 +218,6 @@ exports (for libraries). We could then restore all these settings for the
corresponding Winelib target. The problem is that we should have such a tool corresponding Winelib target. The problem is that we should have such a tool
available under the Wine license first. available under the Wine license first.
.PP .PP
The wrapper code should be generic, i.e. you should be able to have just one
wrapper and specify which library to load using an option.
.PP
Furthermore it is not very good at finding the library containing the Furthermore it is not very good at finding the library containing the
executable: it must either be in the current directory or in the executable: it must either be in the current directory or in the
.IR LD_LIBRARY_PATH . .IR LD_LIBRARY_PATH .
......
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