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
1c40426e
Commit
1c40426e
authored
Jun 14, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed install_libdir targets and centralized the symlinks creation
in the main dll makefile.
parent
d2d08f0c
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
46 additions
and
31 deletions
+46
-31
Makedll.rules.in
dlls/Makedll.rules.in
+0
-10
Makefile.in
dlls/Makefile.in
+21
-2
Makefile.in
dlls/gdi/Makefile.in
+0
-3
Makefile.in
dlls/kernel/Makefile.in
+0
-3
make_dlls
dlls/make_dlls
+23
-2
Makefile.in
dlls/ntdll/Makefile.in
+0
-3
Makefile.in
dlls/user/Makefile.in
+0
-3
Makefile.in
dlls/winspool/Makefile.in
+0
-3
Makefile.in
dlls/x11drv/Makefile.in
+2
-2
No files found.
dlls/Makedll.rules.in
View file @
1c40426e
...
...
@@ -72,14 +72,4 @@ install:: install_lib $(ALTNAMES:%=_install_/%$(DLLEXT))
uninstall::
$(RM) $(dlldir)/$(MODULE)$(DLLEXT) $(ALTNAMES:%=$(dlldir)/%$(DLLEXT))
# Extra install rules for dlls not yet properly separated
install_libdir:: install_lib
cd $(libdir) && $(RM) lib$(MODULE).$(LIBEXT) && if [ "$(dlldir)" = "$(libdir)/wine" ]; \
then $(LN_S) wine/$(MODULE)$(DLLEXT) lib$(MODULE).$(LIBEXT); \
else $(LN_S) $(dlldir)/$(MODULE)$(DLLEXT) lib$(MODULE).$(LIBEXT); fi
uninstall_libdir::
$(RM) $(libdir)/lib$(MODULE).$(LIBEXT)
# End of global dll rules
dlls/Makefile.in
View file @
1c40426e
...
...
@@ -741,6 +741,8 @@ x11drv: user32.dll$(DLLEXT) gdi32.dll$(DLLEXT) advapi32.dll$(DLLEXT) kernel32.
# Special targets for dlls that we need to link to
LINKABLE_DLLS
=
ntdll.dll gdi32.dll user32.dll kernel32.dll
libntdll.dll.$(LIBEXT)
:
ntdll
$(RM)
$@
&&
$(LN_S)
ntdll/ntdll.dll
$(DLLEXT)
$@
...
...
@@ -753,14 +755,31 @@ libuser32.dll.$(LIBEXT): user
libkernel32.dll.$(LIBEXT)
:
kernel
$(RM)
$@
&&
$(LN_S)
kernel/kernel32.dll
$(DLLEXT)
$@
uninstall-links
:
dummy
$(RM)
$
(
LINKABLE_DLLS:%
=
$(libdir)
/lib%.
$(LIBEXT)
)
install-links
:
uninstall-links dummy
cd
$(libdir)
&&
if
[
"
$(dlldir)
"
=
"
$(libdir)
/wine"
]
;
\
then
\
$(LN_S)
wine/ntdll.dll
$(DLLEXT)
libntdll.dll.
$(LIBEXT)
;
\
$(LN_S)
wine/gdi32.dll
$(DLLEXT)
libgdi32.dll.
$(LIBEXT)
;
\
$(LN_S)
wine/user32.dll
$(DLLEXT)
libuser32.dll.
$(LIBEXT)
;
\
$(LN_S)
wine/kernel32.dll
$(DLLEXT)
libkernel32.dll.
$(LIBEXT)
;
\
else
\
$(LN_S)
$(dlldir)
/ntdll.dll
$(DLLEXT)
libntdll.dll.
$(LIBEXT)
;
\
$(LN_S)
$(dlldir)
/gdi32.dll
$(DLLEXT)
libgdi32.dll.
$(LIBEXT)
;
\
$(LN_S)
$(dlldir)
/user32.dll
$(DLLEXT)
libuser32.dll.
$(LIBEXT)
;
\
$(LN_S)
$(dlldir)
/kernel32.dll
$(DLLEXT)
libkernel32.dll.
$(LIBEXT)
;
\
fi
# Misc rules
$(BUILDSUBDIRS
:
%=%/__checklink__): dummy
@
cd
`
dirname
$@
`
&&
$(MAKE)
checklink
install
::
$(BUILDSUBDIRS:%=%/__install__)
install
::
$(BUILDSUBDIRS:%=%/__install__)
install-links
uninstall
::
$(BUILDSUBDIRS:%=%/__uninstall__)
uninstall
::
$(BUILDSUBDIRS:%=%/__uninstall__)
uninstall-links
-
rmdir
$(dlldir)
check test
::
$(BUILDSUBDIRS:%=%/__test__)
...
...
dlls/gdi/Makefile.in
View file @
1c40426e
...
...
@@ -87,7 +87,4 @@ version16.res: version16.rc
gdi.exe.spec.c
:
version16.res
install
::
install_libdir
uninstall
::
uninstall_libdir
### Dependencies:
dlls/kernel/Makefile.in
View file @
1c40426e
...
...
@@ -62,7 +62,4 @@ version16.res: version16.rc
krnl386.exe.spec.c
:
version16.res
install
::
install_libdir
uninstall
::
uninstall_libdir
### Dependencies:
dlls/make_dlls
View file @
1c40426e
...
...
@@ -240,12 +240,33 @@ foreach my $mod (keys %imports)
}
print
NEWMAKE
"\n# Special targets for dlls that we need to link to\n\n"
;
printf
NEWMAKE
"LINKABLE_DLLS = %s\n\n"
,
join
(
" "
,
keys
%
linkable_dlls
);
foreach
my
$mod
(
keys
%
linkable_dlls
)
{
printf
NEWMAKE
"lib%s.\$(LIBEXT): %s\n"
,
$mod
,
$directories
{
$mod
};
printf
NEWMAKE
"\t\$(RM) \$@ && \$(LN_S) %s/%s\$(DLLEXT) \$@\n\n"
,
$directories
{
$mod
},
$mod
;
}
print
NEWMAKE
<<EOF;
uninstall-links: dummy
\$(RM) \$(LINKABLE_DLLS:%=\$(libdir)/lib%.\$(LIBEXT))
install-links: uninstall-links dummy
cd \$(libdir) && if [ "\$(dlldir)" = "\$(libdir)/wine" ]; \\
then \\
EOF
foreach
my
$mod
(
keys
%
linkable_dlls
)
{
printf
NEWMAKE
"\t \$(LN_S) wine/%s\$(DLLEXT) lib%s.\$(LIBEXT); \\\n"
,
$mod
,
$mod
;
}
print
NEWMAKE
"\telse \\\n"
;
foreach
my
$mod
(
keys
%
linkable_dlls
)
{
printf
NEWMAKE
"\t \$(LN_S) \$(dlldir)/%s\$(DLLEXT) lib%s.\$(LIBEXT); \\\n"
,
$mod
,
$mod
;
}
print
NEWMAKE
"\tfi\n\n"
;
################################################################
# makefile trailer
...
...
@@ -255,9 +276,9 @@ print NEWMAKE <<EOF;
\$(BUILDSUBDIRS:%=%/__checklink__): dummy
\@cd `dirname \$\@` && \$(MAKE) checklink
install:: \$(BUILDSUBDIRS:%=%/__install__)
install:: \$(BUILDSUBDIRS:%=%/__install__)
install-links
uninstall:: \$(BUILDSUBDIRS:%=%/__uninstall__)
uninstall:: \$(BUILDSUBDIRS:%=%/__uninstall__)
uninstall-links
-rmdir \$(dlldir)
check test:: \$(BUILDSUBDIRS:%=%/__test__)
...
...
dlls/ntdll/Makefile.in
View file @
1c40426e
...
...
@@ -147,7 +147,4 @@ relay16.s: $(WINEBUILD)
relay32.s
:
$(WINEBUILD)
$(LDPATH)
$(WINEBUILD)
$(DEFS)
-o
$@
-relay32
install
::
install_libdir
uninstall
::
uninstall_libdir
### Dependencies:
dlls/user/Makefile.in
View file @
1c40426e
...
...
@@ -123,7 +123,4 @@ mouse.spec.c: resources/mouse.res
user.exe.spec.c
:
resources/version16.res
install
::
install_libdir
uninstall
::
uninstall_libdir
### Dependencies:
dlls/winspool/Makefile.in
View file @
1c40426e
...
...
@@ -16,7 +16,4 @@ C_SRCS = \
@MAKE_DLL_RULES@
install
::
install_libdir
uninstall
::
uninstall_libdir
### Dependencies:
dlls/x11drv/Makefile.in
View file @
1c40426e
...
...
@@ -48,11 +48,11 @@ all: $(PROGRAMS)
wineclipsrv
:
wineclipsrv.c
$(CC)
$(ALLCFLAGS)
-o
wineclipsrv
$(SRCDIR)
/wineclipsrv.c
$(X_LIBS)
$(XLIB)
$(LIBS)
install
::
$(PROGRAMS)
install_libdir
install
::
$(PROGRAMS)
$(MKINSTALLDIRS)
$(bindir)
$(INSTALL_PROGRAM)
wineclipsrv
$(bindir)
/wineclipsrv
uninstall
::
uninstall_libdir
uninstall
::
$(RM)
$(bindir)
/wineclipsrv
### Dependencies:
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