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
a7447794
Commit
a7447794
authored
Aug 25, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Get rid of the install script.
parent
9a2df7de
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
53 deletions
+0
-53
main.c
tools/winedump/main.c
+0
-1
output.c
tools/winedump/output.c
+0
-50
winedump.h
tools/winedump/winedump.h
+0
-2
No files found.
tools/winedump/main.c
View file @
a7447794
...
...
@@ -480,7 +480,6 @@ int main (int argc, char *argv[])
}
output_makefile
();
output_install_script
();
if
(
VERBOSE
)
puts
(
"Finished, Cleaning up..."
);
...
...
tools/winedump/output.c
View file @
a7447794
...
...
@@ -451,56 +451,6 @@ void output_makefile (void)
/*******************************************************************
* output_install_script
*
* Write a script to insert the DLL into Wine
*
* Rather than using diff/patch, several sed calls are generated
* so the script can be re-run at any time without breaking.
*/
void
output_install_script
(
void
)
{
FILE
*
install_file
=
open_file
(
OUTPUT_DLL_NAME
,
"_install"
,
"w"
);
if
(
VERBOSE
)
puts
(
"Creating install script"
);
fprintf
(
install_file
,
"#!/bin/bash
\n
"
"# Generated from %s.dll by winedump.
\n\n
"
"if [ $# -ne 1 ] || [ ! -d $1 ] || [ ! -f $1/AUTHORS ]; then
\n
"
"
\t
[ $# -eq 1 ] && echo
\"
Invalid path
\"\n
"
"
\t
echo
\"
Usage: $0 wine-base-dir
\"\n
"
"
\t
exit 1
\n
"
"fi
\n\n
"
"if [ -d $1/dlls/%s ]; then
\n
"
"
\t
echo
\"
DLL is already present
\"\n
"
"
\t
exit 1
\n
"
"fi
\n\n
"
"echo Adding DLL %s to Wine build tree...
\n\n
"
"mkdir $1/dlls/%s
\n
"
"cp %s.spec $1/dlls/%s
\n
"
"cp %s_main.c $1/dlls/%s
\n
"
"cp %s_dll.h $1/dlls/%s
\n
"
"cp Makefile.in $1/dlls/%s/Makefile.in
\n
"
"echo Copied DLL files
\n\n
"
"cd $1
\n\n
"
"sed '/dlls
\\
/ntdll
\\
/Makefile/"
"{G;s/$/dlls
\\
/%s
\\
/Makefile/;}' configure.ac >t.tmp
\n
"
"mv -f t.tmp configure.ac
\n
"
"echo Patched configure.ac
\n\n
"
"cd $1/dlls && ./make_dlls
\n\n
"
"echo Run
\\
'autoconf
\\
',
\\
'./configure
\\
' then
\\
'make
\\
' to rebuild Wine
\n\n
"
,
OUTPUT_DLL_NAME
,
OUTPUT_DLL_NAME
,
OUTPUT_DLL_NAME
,
OUTPUT_DLL_NAME
,
OUTPUT_DLL_NAME
,
OUTPUT_DLL_NAME
,
OUTPUT_DLL_NAME
,
OUTPUT_DLL_NAME
,
OUTPUT_DLL_NAME
,
OUTPUT_DLL_NAME
,
OUTPUT_DLL_NAME
,
OUTPUT_DLL_NAME
);
fchmod
(
fileno
(
install_file
),
0755
);
fclose
(
install_file
);
}
/*******************************************************************
* output_prototype
*
* Write a C prototype for a parsed symbol
...
...
tools/winedump/winedump.h
View file @
a7447794
...
...
@@ -205,8 +205,6 @@ void output_prototype (FILE *file, const parsed_symbol *sym);
void
output_makefile
(
void
);
void
output_install_script
(
void
);
/* Misc functions */
char
*
str_create
(
size_t
num_str
,
...);
...
...
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