mirror of
https://github.com/reactos/wine.git
synced 2025-03-03 10:17:23 +00:00
Made it possible to install the winapi tools.
This commit is contained in:
parent
b846b2df37
commit
647ac511a7
2
configure
vendored
2
configure
vendored
@ -7067,6 +7067,7 @@ server/Makefile
|
||||
tools/Makefile
|
||||
tools/cvdump/Makefile
|
||||
tools/specmaker/Makefile
|
||||
tools/winapi/Makefile
|
||||
tools/winebuild/Makefile
|
||||
tools/winelauncher
|
||||
tools/wmc/Makefile
|
||||
@ -7320,6 +7321,7 @@ server/Makefile
|
||||
tools/Makefile
|
||||
tools/cvdump/Makefile
|
||||
tools/specmaker/Makefile
|
||||
tools/winapi/Makefile
|
||||
tools/winebuild/Makefile
|
||||
tools/winelauncher
|
||||
tools/wmc/Makefile
|
||||
|
@ -1341,6 +1341,7 @@ server/Makefile
|
||||
tools/Makefile
|
||||
tools/cvdump/Makefile
|
||||
tools/specmaker/Makefile
|
||||
tools/winapi/Makefile
|
||||
tools/winebuild/Makefile
|
||||
tools/winelauncher
|
||||
tools/wmc/Makefile
|
||||
|
1
tools/winapi/.cvsignore
Normal file
1
tools/winapi/.cvsignore
Normal file
@ -0,0 +1 @@
|
||||
Makefile
|
27
tools/winapi/Makefile.in
Normal file
27
tools/winapi/Makefile.in
Normal file
@ -0,0 +1,27 @@
|
||||
DEFS = -D__WINE__
|
||||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
PROGRAMS =
|
||||
MODULE = none
|
||||
|
||||
all: $(PROGRAMS)
|
||||
|
||||
@MAKE_RULES@
|
||||
|
||||
install:: $(PROGRAMS)
|
||||
[ -d $(bindir) ] || $(MKDIR) $(bindir)
|
||||
$(INSTALL_SCRIPT) $(SRCDIR)/trampoline $(bindir)/make_filter
|
||||
$(INSTALL_SCRIPT) $(SRCDIR)/trampoline $(bindir)/winapi_check
|
||||
$(INSTALL_SCRIPT) $(SRCDIR)/trampoline $(bindir)/winapi_extract
|
||||
$(INSTALL_SCRIPT) $(SRCDIR)/trampoline $(bindir)/winapi_fixup
|
||||
|
||||
uninstall::
|
||||
$(RM) $(bindir)/make_filter
|
||||
$(RM) $(bindir)/winapi_check
|
||||
$(RM) $(bindir)/winapi_extract
|
||||
$(RM) $(bindir)/winapi_fixup
|
||||
|
||||
### Dependencies:
|
18
tools/winapi/trampoline
Executable file
18
tools/winapi/trampoline
Executable file
@ -0,0 +1,18 @@
|
||||
#! /usr/bin/perl -w
|
||||
|
||||
use strict;
|
||||
|
||||
require Cwd;
|
||||
|
||||
my $tool = $0;
|
||||
$tool =~ s%^(?:.*?/)?([^/]+)$%$1%;
|
||||
|
||||
$_ = Cwd::cwd();
|
||||
while($_) {
|
||||
my $file = "$_/tools/winapi/$tool";
|
||||
if(-e $file) {
|
||||
exec("$file @ARGV");
|
||||
}
|
||||
s%/[^/]*$%%;
|
||||
}
|
||||
print STDERR "$0: $tool: can't link to command\n";
|
8
tools/winapi/winapi_check
Executable file
8
tools/winapi/winapi_check
Executable file
@ -0,0 +1,8 @@
|
||||
#! /usr/bin/perl -w
|
||||
|
||||
use strict;
|
||||
|
||||
$0 =~ m%^(.*?/?tools)/winapi/winapi_check$%;
|
||||
exec "$1/winapi_check/winapi_check @ARGV";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user