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
3e1c6132
Commit
3e1c6132
authored
Dec 15, 2002
by
Dimitrie O. Paun
Committed by
Alexandre Julliard
Dec 15, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small cleanups to match current build process.
parent
d4fcfa85
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
Makefile.in
tools/Makefile.in
+1
-1
winewrap.c
tools/winewrap.c
+4
-5
No files found.
tools/Makefile.in
View file @
3e1c6132
DEFS
=
-DNO_LIBWINE
-DLEX_OUTPUT_ROOT
=
"
\"
@LEX_OUTPUT_ROOT@
\"
"
-DINCLUDEDIR
=
"
\"
$(includedir)
\"
"
DEFS
=
-DNO_LIBWINE
-DLEX_OUTPUT_ROOT
=
"
\"
@LEX_OUTPUT_ROOT@
\"
"
-DINCLUDEDIR
=
"
\"
$(includedir)
\"
"
-DBINDIR
=
"
\"
$(bindir)
\"
"
TOPSRCDIR
=
@top_srcdir@
TOPOBJDIR
=
..
SRCDIR
=
@srcdir@
...
...
tools/winewrap.c
View file @
3e1c6132
...
...
@@ -120,10 +120,10 @@ void spawn(char *const argv[])
}
if
((
pid
=
fork
())
==
0
)
execvp
(
argv
[
0
],
argv
);
else
if
(
wait
(
&
status
)
>
0
)
else
if
(
wait
pid
(
pid
,
&
status
,
0
)
>
0
)
{
if
(
WEXITSTATUS
(
status
)
==
0
)
return
;
e
lse
e
rror
(
"%s failed."
,
argv
[
0
]);
if
(
W
IFEXITED
(
status
)
&&
W
EXITSTATUS
(
status
)
==
0
)
return
;
error
(
"%s failed."
,
argv
[
0
]);
}
perror
(
"Error:"
);
exit
(
1
);
...
...
@@ -168,7 +168,6 @@ int main(int argc, char **argv)
if
(
argv
[
i
][
2
])
library
=
argv
[
i
]
+
2
;
else
if
(
i
+
1
<
argc
)
library
=
argv
[
++
i
];
else
error
(
"The -l switch takes an argument
\n
."
);
if
(
strcmp
(
library
,
"winspool"
)
==
0
)
library
=
"winspool.drv"
;
lib_files
=
realloc
(
lib_files
,
(
nb_lib_files
+
1
)
*
sizeof
(
*
lib_files
)
);
lib_files
[
nb_lib_files
++
]
=
strdup
(
library
);
break
;
...
...
@@ -197,7 +196,7 @@ int main(int argc, char **argv)
/* build winebuild's argument list */
spec_args
=
malloc
(
(
nb_lib_files
+
nb_obj_files
+
20
)
*
sizeof
(
char
*
)
);
j
=
0
;
spec_args
[
j
++
]
=
"
winebuild"
;
spec_args
[
j
++
]
=
BINDIR
"/
winebuild"
;
spec_args
[
j
++
]
=
"-fPIC"
;
spec_args
[
j
++
]
=
"-o"
;
spec_args
[
j
++
]
=
strmake
(
"%s.c"
,
spec_name
);
...
...
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