Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
de928a09
Commit
de928a09
authored
Mar 05, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Mar 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcmaker: We don't use .dbg.c files anymore.
parent
19a85f34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
40 deletions
+1
-40
msvcmaker
tools/winapi/msvcmaker
+1
-40
No files found.
tools/winapi/msvcmaker
View file @
de928a09
...
...
@@ -768,18 +768,6 @@ sub _generate_dsp($$) {
$source_file
=
".\\$source_file"
;
}
if
(
$source_file
=~
/^(.*?)\.spec$/
)
{
my
$basename
=
$1
;
$basename
=
"$basename.dll"
if
$basename
!~
/\..{1,3}$/
;
my
$dbg_c_file
=
"$basename.dbg.c"
;
print
OUT
"# Begin Source File\r\n"
;
print
OUT
"\r\n"
;
print
OUT
"SOURCE=$dbg_c_file\r\n"
;
print
OUT
"# End Source File\r\n"
;
}
print
OUT
"# Begin Source File\r\n"
;
print
OUT
"\r\n"
;
...
...
@@ -791,43 +779,16 @@ sub _generate_dsp($$) {
my
$spec_file
=
$source_file
;
my
$def_file
=
"$basename.def"
;
$basename
=
"$basename.dll"
if
$basename
!~
/\..{1,3}$/
;
my
$dbg_file
=
"$basename.dbg"
;
my
$dbg_c_file
=
"$basename.dbg.c"
;
my
$srcdir
=
"."
;
# FIXME: Is this really always correct?
print
OUT
"# Begin Custom Build\r\n"
;
print
OUT
"InputPath=$spec_file\r\n"
;
print
OUT
"\r\n"
;
print
OUT
"BuildCmds= \\\r\n"
;
print
OUT
"\t..\\..\\tools\\winebuild\\$output_dir\\winebuild.exe --def $spec_file > $def_file \\\r\n"
;
if
(
$project
=~
/^ntdll$/
)
{
my
$n
=
0
;
foreach
my
$c_src
(
@c_srcs
)
{
if
(
$n
++
>
0
)
{
print
OUT
"\techo $c_src >> $dbg_file \\\r\n"
;
}
else
{
print
OUT
"\techo $c_src > $dbg_file \\\r\n"
;
}
}
print
OUT
"\t..\\..\\tools\\winebuild\\$output_dir\\winebuild.exe"
;
print
OUT
" -o $dbg_c_file --debug -C$srcdir $dbg_file \\\r\n"
;
}
else
{
my
$c_srcs
=
join
(
" "
,
grep
(
/\.c$/
,
@c_srcs
));
print
OUT
"\t..\\..\\tools\\winebuild\\$output_dir\\winebuild.exe"
;
print
OUT
" -o $dbg_c_file --debug -C$srcdir $c_srcs \\\r\n"
;
}
print
OUT
"\t\r\n"
;
print
OUT
"\t..\\..\\tools\\winebuild\\$output_dir\\winebuild.exe --def $spec_file > $def_file\r\n"
;
print
OUT
"\r\n"
;
print
OUT
"\"$def_file\" : \$(SOURCE) \"\$(INTDIR)\" \"\$(OUTDIR)\"\r\n"
;
print
OUT
" \$(BuildCmds)\r\n"
;
print
OUT
"\r\n"
;
print
OUT
"\"$dbg_c_file\" : \$(SOURCE) \"\$(INTDIR)\" \"\$(OUTDIR)\"\r\n"
;
print
OUT
" \$(BuildCmds)\r\n"
;
print
OUT
"# End Custom Build\r\n"
;
}
elsif
(
$source_file
=~
/([^\\]*?\.h)$/
)
{
my
$h_file
=
$1
;
...
...
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