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
b7142fbb
Commit
b7142fbb
authored
Jan 06, 2006
by
Rolf Kalbermatter
Committed by
Alexandre Julliard
Jan 06, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winapi: msvcmaker adaption to new directory structure.
Fix some issues with MSVC project file generation after recent directory restructuring.
parent
8d5db3ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
9 deletions
+14
-9
msvcmaker
tools/winapi/msvcmaker
+14
-9
No files found.
tools/winapi/msvcmaker
View file @
b7142fbb
...
@@ -72,7 +72,7 @@ sub read_spec_file($) {
...
@@ -72,7 +72,7 @@ sub read_spec_file($) {
close
(
IN
);
close
(
IN
);
# FIXME: Kludge
# FIXME: Kludge
if
(
$module
=~
/^(?:(?:imm|ole2conv|ole2prox|ole2thk|rasapi16|windebug)\.dll|comm\.drv)$/
)
{
if
(
$module
=~
/^(?:(?:imm|ole2conv|ole2prox|ole2thk|rasapi16|
msacm|
windebug)\.dll|comm\.drv)$/
)
{
$type
=
"win16"
;
$type
=
"win16"
;
}
}
...
@@ -91,6 +91,8 @@ if ($options->wine || $options->winetest) {
...
@@ -91,6 +91,8 @@ if ($options->wine || $options->winetest) {
my
@gdi32_dirs
=
qw(dlls/gdi/enhmfdrv dlls/gdi/mfdrv)
;
my
@gdi32_dirs
=
qw(dlls/gdi/enhmfdrv dlls/gdi/mfdrv)
;
push
@makefile_in_files
,
"libs/wine/Makefile.in"
;
push
@makefile_in_files
,
"libs/unicode/Makefile.in"
;
push
@makefile_in_files
,
"tools/winebuild/Makefile.in"
;
push
@makefile_in_files
,
"tools/winebuild/Makefile.in"
;
sub
filter_files
($$)
{
sub
filter_files
($$)
{
...
@@ -124,6 +126,11 @@ MAKEFILE_IN: foreach my $makefile_in_file (@makefile_in_files) {
...
@@ -124,6 +126,11 @@ MAKEFILE_IN: foreach my $makefile_in_file (@makefile_in_files) {
my
$again
=
0
;
my
$again
=
0
;
my
$lookahead
=
0
;
my
$lookahead
=
0
;
if
(
$makefile_in_file
eq
"loader/Makefile.in"
)
{
next
;
}
while
(
$again
||
defined
(
my
$line
=
<
IN
>
))
{
while
(
$again
||
defined
(
my
$line
=
<
IN
>
))
{
if
(
!
$again
)
{
if
(
!
$again
)
{
chomp
$line
;
chomp
$line
;
...
@@ -150,16 +157,14 @@ MAKEFILE_IN: foreach my $makefile_in_file (@makefile_in_files) {
...
@@ -150,16 +157,14 @@ MAKEFILE_IN: foreach my $makefile_in_file (@makefile_in_files) {
$module
=
$1
;
$module
=
$1
;
if
(
$module
eq
"none"
)
{
if
(
$module
eq
"none"
)
{
if
(
$makefile_in_file
eq
"library/Makefile.in"
)
{
if
(
$makefile_in_file
eq
"tools/winebuild/Makefile.in"
)
{
$module
=
"wine.dll"
;
}
elsif
(
$makefile_in_file
eq
"unicode/Makefile.in"
)
{
$module
=
"wine_unicode.dll"
;
}
elsif
(
$makefile_in_file
eq
"tools/winebuild/Makefile.in"
)
{
$module
=
"winebuild.exe"
;
$module
=
"winebuild.exe"
;
}
else
{
}
else
{
next
MAKEFILE_IN
;
next
MAKEFILE_IN
;
}
}
}
}
}
elsif
(
/^LIBRARY\s*=\s*(\S+)\s*$/
)
{
$module
=
$1
.
"\.lib"
;
}
elsif
(
/^TOPOBJDIR\s*=\s*(\S+)\s*$/
)
{
}
elsif
(
/^TOPOBJDIR\s*=\s*(\S+)\s*$/
)
{
$topobjdir
=
$1
;
$topobjdir
=
$1
;
}
elsif
(
/^TESTDLL\s*=\s*(\S+)\s*$/
)
{
}
elsif
(
/^TESTDLL\s*=\s*(\S+)\s*$/
)
{
...
@@ -747,10 +752,10 @@ sub _generate_dsp($$) {
...
@@ -747,10 +752,10 @@ sub _generate_dsp($$) {
if
(
$project
eq
"winebuild"
)
{
if
(
$project
eq
"winebuild"
)
{
print
OUT
"# Begin Special Build Tool\r\n"
;
print
OUT
"# Begin Special Build Tool\r\n"
;
print
OUT
"SOURCE=\"\$(InputPath)\"\r\n"
;
print
OUT
"SOURCE=\"\$(InputPath)\"\r\n"
;
print
OUT
"PostBuild_Desc=Copying wine.
dll and wine_unicode.dll
...\r\n"
;
print
OUT
"PostBuild_Desc=Copying wine.
lib and wine_unicode.lib
...\r\n"
;
print
OUT
"PostBuild_Cmds="
;
print
OUT
"PostBuild_Cmds="
;
print
OUT
"copy ..\\..\\lib
rary\\$output_dir\\wine.dll
\$(OutDir)\t"
;
print
OUT
"copy ..\\..\\lib
s\\wine\\$output_dir\\wine.lib
\$(OutDir)\t"
;
print
OUT
"copy ..\\..\\
unicode\\$output_dir\\wine_unicode.dll
\$(OutDir)\r\n"
;
print
OUT
"copy ..\\..\\
libs\\unicode\\$output_dir\\wine_unicode.lib
\$(OutDir)\r\n"
;
print
OUT
"# End Special Build Tool\r\n"
;
print
OUT
"# End Special Build Tool\r\n"
;
}
}
print
OUT
"# Begin Target\r\n"
;
print
OUT
"# Begin Target\r\n"
;
...
...
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