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
86ab297b
Commit
86ab297b
authored
Feb 10, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Build the import libraries directly from the top-level makefile.
parent
10e4edd9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
37 deletions
+19
-37
Makefile.in
Makefile.in
+4
-5
aclocal.m4
aclocal.m4
+15
-14
configure
configure
+0
-0
configure.ac
configure.ac
+0
-1
Makefile.in
dlls/Makefile.in
+0
-17
No files found.
Makefile.in
View file @
86ab297b
...
@@ -87,8 +87,9 @@ uninstall::
...
@@ -87,8 +87,9 @@ uninstall::
# Import libraries
# Import libraries
STATIC_LIBS
=
@ALL_STATIC_LIBS@
STATIC_LIBS
=
@ALL_STATIC_LIBS@
IMPORT_LIBS
=
@ALL_IMPORT_LIBS@
implib
:
$(ALL_STATICLIB_DIRS)
implib
:
$(ALL_STATICLIB_DIRS)
$(IMPORT_LIBS)
.PHONY
:
implib
.PHONY
:
implib
# Dependencies between directories
# Dependencies between directories
...
@@ -96,8 +97,8 @@ implib: $(ALL_STATICLIB_DIRS)
...
@@ -96,8 +97,8 @@ implib: $(ALL_STATICLIB_DIRS)
all
:
$(INSTALLSUBDIRS)
all
:
$(INSTALLSUBDIRS)
# dependencies needed to build any dll or program
# dependencies needed to build any dll or program
__builddeps__
:
libs/port libs/wine libs/wpp $(ALL_TOOL_DIRS) include $(ALL_STATICLIB_DIRS)
__builddeps__
:
libs/port libs/wine libs/wpp $(ALL_TOOL_DIRS) include $(ALL_STATICLIB_DIRS)
$(IMPORT_LIBS)
__buildcrossdeps__
:
libs/port libs/wine $(ALL_TOOL_DIRS) include $(STATIC_LIBS:.a=.cross.a)
__buildcrossdeps__
:
libs/port libs/wine $(ALL_TOOL_DIRS) include $(STATIC_LIBS:.a=.cross.a)
$(IMPORT_LIBS:.def=.cross.a)
.PHONY
:
__builddeps__ __buildcrossdeps__
.PHONY
:
__builddeps__ __buildcrossdeps__
dlls programs
:
__builddeps__
dlls programs
:
__builddeps__
...
@@ -117,8 +118,6 @@ include/__install__ include/__install-dev__: include
...
@@ -117,8 +118,6 @@ include/__install__ include/__install-dev__: include
libs/wine/__install__ libs/wine/__install-lib__ libs/wine/__install-dev__
:
libs/wine
libs/wine/__install__ libs/wine/__install-lib__ libs/wine/__install-dev__
:
libs/wine
loader/__install__ loader/__install-lib__
:
libs/port libs/wine tools
loader/__install__ loader/__install-lib__
:
libs/port libs/wine tools
server/__install__ server/__install-lib__
:
libs/port libs/wine tools
server/__install__ server/__install-lib__
:
libs/port libs/wine tools
programs/__install__
:
dlls/__install__
programs/__install-lib__
:
dlls/__install-lib__
tools/__install__ tools/__install-lib__ tools/__install-dev__
:
tools
tools/__install__ tools/__install-lib__ tools/__install-dev__
:
tools
tools/widl/__install__ tools/widl/__install-dev__
:
tools/widl
tools/widl/__install__ tools/widl/__install-dev__
:
tools/widl
tools/winebuild/__install__ tools/winebuild/__install-dev__
:
tools/winebuild
tools/winebuild/__install__ tools/winebuild/__install-dev__
:
tools/winebuild
...
...
aclocal.m4
View file @
86ab297b
...
@@ -187,26 +187,27 @@ dnl Usage: WINE_CONFIG_DLL(name,enable,implib,implibsrc)
...
@@ -187,26 +187,27 @@ dnl Usage: WINE_CONFIG_DLL(name,enable,implib,implibsrc)
dnl
dnl
AC_DEFUN([WINE_CONFIG_DLL],
AC_DEFUN([WINE_CONFIG_DLL],
[m4_ifval([$3],[m4_ifval([$2],[test "x$[$2]" = xno || ])ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
[m4_ifval([$3],[m4_ifval([$2],[test "x$[$2]" = xno || ])ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
$1/lib$3.$IMPLIBEXT[]dnl
dlls/
$1/lib$3.$IMPLIBEXT[]dnl
m4_if($1,$3,,[ \\
m4_if($1,$3,,[ \\
lib$3.$IMPLIBEXT])[]dnl
dlls/
lib$3.$IMPLIBEXT])[]dnl
m4_ifval([$4],[ \\
m4_ifval([$4],[ \\
$1/lib$3.$STATIC_IMPLIBEXT])"
dlls/$1/lib$3.$STATIC_IMPLIBEXT])"
ALL_IMPORTLIB_RULES="$ALL_IMPORTLIB_RULES
ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
m4_if($1,$3,,[lib$3.a: $1/lib$3.a
dlls/$1/lib$3.$IMPLIBEXT m4_ifval([$4],[dlls/$1/lib$3.$STATIC_IMPLIBEXT ])dlls/$1/lib$3.cross.a: tools/widl tools/winebuild tools/winegcc include
m4_if($1,$3,,[dlls/lib$3.a: dlls/$1/lib$3.a
\$(RM) \$[@] && \$(LN_S) $1/lib$3.a \$[@]
\$(RM) \$[@] && \$(LN_S) $1/lib$3.a \$[@]
lib$3.cross.a:
$1/lib$3.cross.a
dlls/lib$3.cross.a: dlls/
$1/lib$3.cross.a
\$(RM) \$[@] && \$(LN_S) $1/lib$3.cross.a \$[@]
\$(RM) \$[@] && \$(LN_S) $1/lib$3.cross.a \$[@]
lib$3.def:
$1/lib$3.def
dlls/lib$3.def: dlls/
$1/lib$3.def
\$(RM) \$[@] && \$(LN_S) $1/lib$3.def \$[@]
\$(RM) \$[@] && \$(LN_S) $1/lib$3.def \$[@]
clean::
clean::
\$(RM) lib$3.def
\$(RM)
dlls/
lib$3.def
])m4_ifval([$4],[
$1/lib$3.def: $1/$1.spec \$(WINEBUILD)
])m4_ifval([$4],[
dlls/$1/lib$3.def: dlls/$1/$1.spec dlls/$1/Makefile
@cd $1 && \$(MAKE) \`basename \$[@]\`
@cd
dlls/
$1 && \$(MAKE) \`basename \$[@]\`
$1/lib$3.$STATIC_IMPLIBEXT $1/lib$3.cross.a:
dummy
dlls/$1/lib$3.$STATIC_IMPLIBEXT dlls/$1/lib$3.cross.a: dlls/$1/Makefile
dummy
@cd $1 && \$(MAKE) \`basename \$[@]\`],
@cd
dlls/
$1 && \$(MAKE) \`basename \$[@]\`],
[
$1/lib$3.def $1/lib$3.a $1/lib$3.cross.a: $1/$1.spec \$(WINEBUILD)
[
dlls/$1/lib$3.$IMPLIBEXT dlls/$1/lib$3.cross.a: dlls/$1/$1.spec dlls/$1/Makefile
@cd $1 && \$(MAKE) \`basename \$[@]\`])"
@cd
dlls/
$1 && \$(MAKE) \`basename \$[@]\`])"
])dnl
])dnl
WINE_CONFIG_MAKEFILE([dlls/$1/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS],[$2])])
WINE_CONFIG_MAKEFILE([dlls/$1/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS],[$2])])
...
...
configure
View file @
86ab297b
This source diff could not be displayed because it is too large. You can
view the blob
instead.
configure.ac
View file @
86ab297b
...
@@ -2106,7 +2106,6 @@ AC_SUBST(ALL_TOOL_DIRS,"")
...
@@ -2106,7 +2106,6 @@ AC_SUBST(ALL_TOOL_DIRS,"")
AC_SUBST(ALL_STATICLIB_DIRS,"")
AC_SUBST(ALL_STATICLIB_DIRS,"")
AC_SUBST(ALL_STATIC_LIBS,"")
AC_SUBST(ALL_STATIC_LIBS,"")
AC_SUBST(ALL_IMPORT_LIBS,"")
AC_SUBST(ALL_IMPORT_LIBS,"")
AC_SUBST(ALL_IMPORTLIB_RULES,"")
AC_SUBST(ALL_TEST_DIRS,"")
AC_SUBST(ALL_TEST_DIRS,"")
AC_SUBST(ALL_TEST_BINARIES,"")
AC_SUBST(ALL_TEST_BINARIES,"")
AC_SUBST(ALL_PROGRAM_DIRS,"")
AC_SUBST(ALL_PROGRAM_DIRS,"")
...
...
dlls/Makefile.in
View file @
86ab297b
...
@@ -18,23 +18,6 @@ DOCSUBDIRS = $(DLLSUBDIRS)
...
@@ -18,23 +18,6 @@ DOCSUBDIRS = $(DLLSUBDIRS)
all
:
$(BUILDSUBDIRS)
all
:
$(BUILDSUBDIRS)
# Import libraries
IMPORT_LIBS
=
@ALL_IMPORT_LIBS@
$(TESTSUBDIRS
:
%=%/__crosstest__): $(IMPORT_LIBS:.def=.cross.a)
implib
:
$(IMPORT_LIBS)
testsubdirs
:
$(TESTSUBDIRS)
.PHONY
:
implib testsubdirs
$(BUILDSUBDIRS)
:
$(IMPORT_LIBS)
$(INSTALLSUBDIRS
:
%=%/__install__) $(INSTALLSUBDIRS:%=%/__install-lib__): $(IMPORT_LIBS)
@ALL_IMPORTLIB_RULES@
# Misc rules
# Misc rules
uninstall
::
uninstall
::
...
...
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