Commit 10e4edd9 authored by Alexandre Julliard's avatar Alexandre Julliard

makefiles: Build the static libraries directly from the top-level makefile.

parent b3b81abb
...@@ -27,7 +27,8 @@ VPATH = @srcdir@ ...@@ -27,7 +27,8 @@ VPATH = @srcdir@
LIBEXT = @LIBEXT@ LIBEXT = @LIBEXT@
MODULE = none MODULE = none
ALL_TOOL_DIRS = @ALL_TOOL_DIRS@ ALL_STATICLIB_DIRS = @ALL_STATICLIB_DIRS@
ALL_TOOL_DIRS = @ALL_TOOL_DIRS@
# Sub-directories to run make depend/clean into # Sub-directories to run make depend/clean into
SUBDIRS = \ SUBDIRS = \
...@@ -41,10 +42,14 @@ SUBDIRS = \ ...@@ -41,10 +42,14 @@ SUBDIRS = \
loader \ loader \
programs \ programs \
server \ server \
$(ALL_TOOL_DIRS) $(ALL_TOOL_DIRS) \
$(ALL_STATICLIB_DIRS)
# Sub-directories to run make install/uninstall into # Sub-directories to run make install/uninstall into
INSTALLSUBDIRS = libs/wine $(ALL_TOOL_DIRS) @ALL_TOP_DIRS@ INSTALLSUBDIRS = @ALL_TOP_DIRS@ \
libs/wine \
$(ALL_TOOL_DIRS) \
$(ALL_STATICLIB_DIRS)
# Sub-directories to run make test into # Sub-directories to run make test into
TESTSUBDIRS = dlls TESTSUBDIRS = dlls
...@@ -79,13 +84,21 @@ include/stamp-h: include/config.h.in config.status ...@@ -79,13 +84,21 @@ include/stamp-h: include/config.h.in config.status
uninstall:: uninstall::
-rmdir $(DESTDIR)$(datadir)/wine -rmdir $(DESTDIR)$(datadir)/wine
# Import libraries
STATIC_LIBS = @ALL_STATIC_LIBS@
implib: $(ALL_STATICLIB_DIRS)
.PHONY: implib
# Dependencies between directories # Dependencies between directories
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 __builddeps__: libs/port libs/wine libs/wpp $(ALL_TOOL_DIRS) include $(ALL_STATICLIB_DIRS)
.PHONY: __builddeps__ __buildcrossdeps__: libs/port libs/wine $(ALL_TOOL_DIRS) include $(STATIC_LIBS:.a=.cross.a)
.PHONY: __builddeps__ __buildcrossdeps__
dlls programs: __builddeps__ dlls programs: __builddeps__
loader server: libs/port libs/wine tools loader server: libs/port libs/wine tools
...@@ -133,7 +146,7 @@ $(MAKEDEP): include/config.h tools/Makefile ...@@ -133,7 +146,7 @@ $(MAKEDEP): include/config.h tools/Makefile
# Test rules # Test rules
$(TESTSUBDIRS:%=%/__test__): wine $(TESTSUBDIRS:%=%/__test__): wine
$(TESTSUBDIRS:%=%/__crosstest__): __builddeps__ $(TESTSUBDIRS:%=%/__crosstest__): __buildcrossdeps__
# Misc rules # Misc rules
......
...@@ -240,12 +240,13 @@ dnl Usage: WINE_CONFIG_LIB(name) ...@@ -240,12 +240,13 @@ dnl Usage: WINE_CONFIG_LIB(name)
dnl dnl
AC_DEFUN([WINE_CONFIG_LIB], AC_DEFUN([WINE_CONFIG_LIB],
[ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\ [ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\
$1/lib$1.a" dlls/$1/lib$1.a"
ALL_IMPORTLIB_RULES="$ALL_IMPORTLIB_RULES ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
$1/lib$1.a: $1 dlls/$1: tools/widl tools/winebuild tools/winegcc include
$1/lib$1.cross.a: dummy dlls/$1/__install__ dlls/$1/__install-dev__: dlls/$1
@cd $1 && \$(MAKE) lib$1.cross.a" dlls/$1/lib$1.cross.a: dlls/$1/Makefile tools/widl tools/winebuild tools/winegcc include dummy
WINE_CONFIG_MAKEFILE([dlls/$1/Makefile],[dlls/Makeimplib.rules],[dlls],[ALL_IMPLIB_DIRS])]) @cd dlls/$1 && \$(MAKE) \`basename \$[@]\`"
WINE_CONFIG_MAKEFILE([dlls/$1/Makefile],[dlls/Makeimplib.rules],[],[ALL_STATICLIB_DIRS],[enable_$1])])
dnl **** Add a message to the list displayed at the end **** dnl **** Add a message to the list displayed at the end ****
dnl dnl
......
...@@ -604,7 +604,7 @@ ALL_TEST_DIRS ...@@ -604,7 +604,7 @@ ALL_TEST_DIRS
ALL_IMPORTLIB_RULES ALL_IMPORTLIB_RULES
ALL_IMPORT_LIBS ALL_IMPORT_LIBS
ALL_STATIC_LIBS ALL_STATIC_LIBS
ALL_IMPLIB_DIRS ALL_STATICLIB_DIRS
ALL_TOOL_DIRS ALL_TOOL_DIRS
ALL_DLL_DIRS ALL_DLL_DIRS
ALL_TOP_DIRS ALL_TOP_DIRS
...@@ -13669,7 +13669,7 @@ ALL_DLL_DIRS="" ...@@ -13669,7 +13669,7 @@ ALL_DLL_DIRS=""
ALL_TOOL_DIRS="" ALL_TOOL_DIRS=""
ALL_IMPLIB_DIRS="" ALL_STATICLIB_DIRS=""
ALL_STATIC_LIBS="" ALL_STATIC_LIBS=""
...@@ -13819,16 +13819,18 @@ dlls/actxprxy/Makefile: dlls/actxprxy/Makefile.in dlls/Makedll.rules config.stat ...@@ -13819,16 +13819,18 @@ dlls/actxprxy/Makefile: dlls/actxprxy/Makefile.in dlls/Makedll.rules config.stat
ac_config_files="$ac_config_files dlls/actxprxy/Makefile" ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\ ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\
adsiid/libadsiid.a" dlls/adsiid/libadsiid.a"
ALL_IMPORTLIB_RULES="$ALL_IMPORTLIB_RULES ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
adsiid/libadsiid.a: adsiid dlls/adsiid: tools/widl tools/winebuild tools/winegcc include
adsiid/libadsiid.cross.a: dummy dlls/adsiid/__install__ dlls/adsiid/__install-dev__: dlls/adsiid
@cd adsiid && \$(MAKE) libadsiid.cross.a" dlls/adsiid/libadsiid.cross.a: dlls/adsiid/Makefile tools/widl tools/winebuild tools/winegcc include dummy
@cd dlls/adsiid && \$(MAKE) \`basename \$@\`"
ALL_MAKEFILES="$ALL_MAKEFILES \\ ALL_MAKEFILES="$ALL_MAKEFILES \\
dlls/adsiid/Makefile" dlls/adsiid/Makefile"
test "x$enable_adsiid" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\ test "x$enable_adsiid" != xno && ALL_STATICLIB_DIRS="$ALL_STATICLIB_DIRS \\
adsiid" dlls/adsiid"
ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
\$(RECURSE_TARGETS:%=dlls/adsiid/%) dlls/adsiid: dlls/adsiid/Makefile \$(MAKEDEP)
dlls/adsiid/Makefile: dlls/adsiid/Makefile.in dlls/Makeimplib.rules config.status" dlls/adsiid/Makefile: dlls/adsiid/Makefile.in dlls/Makeimplib.rules config.status"
ac_config_files="$ac_config_files dlls/adsiid/Makefile" ac_config_files="$ac_config_files dlls/adsiid/Makefile"
...@@ -15250,30 +15252,34 @@ dlls/dxdiagn/tests/Makefile: dlls/dxdiagn/tests/Makefile.in dlls/Maketest.rules ...@@ -15250,30 +15252,34 @@ dlls/dxdiagn/tests/Makefile: dlls/dxdiagn/tests/Makefile.in dlls/Maketest.rules
ac_config_files="$ac_config_files dlls/dxdiagn/tests/Makefile" ac_config_files="$ac_config_files dlls/dxdiagn/tests/Makefile"
ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\ ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\
dxerr8/libdxerr8.a" dlls/dxerr8/libdxerr8.a"
ALL_IMPORTLIB_RULES="$ALL_IMPORTLIB_RULES ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
dxerr8/libdxerr8.a: dxerr8 dlls/dxerr8: tools/widl tools/winebuild tools/winegcc include
dxerr8/libdxerr8.cross.a: dummy dlls/dxerr8/__install__ dlls/dxerr8/__install-dev__: dlls/dxerr8
@cd dxerr8 && \$(MAKE) libdxerr8.cross.a" dlls/dxerr8/libdxerr8.cross.a: dlls/dxerr8/Makefile tools/widl tools/winebuild tools/winegcc include dummy
@cd dlls/dxerr8 && \$(MAKE) \`basename \$@\`"
ALL_MAKEFILES="$ALL_MAKEFILES \\ ALL_MAKEFILES="$ALL_MAKEFILES \\
dlls/dxerr8/Makefile" dlls/dxerr8/Makefile"
test "x$enable_dxerr8" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\ test "x$enable_dxerr8" != xno && ALL_STATICLIB_DIRS="$ALL_STATICLIB_DIRS \\
dxerr8" dlls/dxerr8"
ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
\$(RECURSE_TARGETS:%=dlls/dxerr8/%) dlls/dxerr8: dlls/dxerr8/Makefile \$(MAKEDEP)
dlls/dxerr8/Makefile: dlls/dxerr8/Makefile.in dlls/Makeimplib.rules config.status" dlls/dxerr8/Makefile: dlls/dxerr8/Makefile.in dlls/Makeimplib.rules config.status"
ac_config_files="$ac_config_files dlls/dxerr8/Makefile" ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\ ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\
dxerr9/libdxerr9.a" dlls/dxerr9/libdxerr9.a"
ALL_IMPORTLIB_RULES="$ALL_IMPORTLIB_RULES ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
dxerr9/libdxerr9.a: dxerr9 dlls/dxerr9: tools/widl tools/winebuild tools/winegcc include
dxerr9/libdxerr9.cross.a: dummy dlls/dxerr9/__install__ dlls/dxerr9/__install-dev__: dlls/dxerr9
@cd dxerr9 && \$(MAKE) libdxerr9.cross.a" dlls/dxerr9/libdxerr9.cross.a: dlls/dxerr9/Makefile tools/widl tools/winebuild tools/winegcc include dummy
@cd dlls/dxerr9 && \$(MAKE) \`basename \$@\`"
ALL_MAKEFILES="$ALL_MAKEFILES \\ ALL_MAKEFILES="$ALL_MAKEFILES \\
dlls/dxerr9/Makefile" dlls/dxerr9/Makefile"
test "x$enable_dxerr9" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\ test "x$enable_dxerr9" != xno && ALL_STATICLIB_DIRS="$ALL_STATICLIB_DIRS \\
dxerr9" dlls/dxerr9"
ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
\$(RECURSE_TARGETS:%=dlls/dxerr9/%) dlls/dxerr9: dlls/dxerr9/Makefile \$(MAKEDEP)
dlls/dxerr9/Makefile: dlls/dxerr9/Makefile.in dlls/Makeimplib.rules config.status" dlls/dxerr9/Makefile: dlls/dxerr9/Makefile.in dlls/Makeimplib.rules config.status"
ac_config_files="$ac_config_files dlls/dxerr9/Makefile" ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
...@@ -15307,16 +15313,18 @@ dlls/dxgi/tests/Makefile: dlls/dxgi/tests/Makefile.in dlls/Maketest.rules config ...@@ -15307,16 +15313,18 @@ dlls/dxgi/tests/Makefile: dlls/dxgi/tests/Makefile.in dlls/Maketest.rules config
ac_config_files="$ac_config_files dlls/dxgi/tests/Makefile" ac_config_files="$ac_config_files dlls/dxgi/tests/Makefile"
ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\ ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\
dxguid/libdxguid.a" dlls/dxguid/libdxguid.a"
ALL_IMPORTLIB_RULES="$ALL_IMPORTLIB_RULES ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
dxguid/libdxguid.a: dxguid dlls/dxguid: tools/widl tools/winebuild tools/winegcc include
dxguid/libdxguid.cross.a: dummy dlls/dxguid/__install__ dlls/dxguid/__install-dev__: dlls/dxguid
@cd dxguid && \$(MAKE) libdxguid.cross.a" dlls/dxguid/libdxguid.cross.a: dlls/dxguid/Makefile tools/widl tools/winebuild tools/winegcc include dummy
@cd dlls/dxguid && \$(MAKE) \`basename \$@\`"
ALL_MAKEFILES="$ALL_MAKEFILES \\ ALL_MAKEFILES="$ALL_MAKEFILES \\
dlls/dxguid/Makefile" dlls/dxguid/Makefile"
test "x$enable_dxguid" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\ test "x$enable_dxguid" != xno && ALL_STATICLIB_DIRS="$ALL_STATICLIB_DIRS \\
dxguid" dlls/dxguid"
ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
\$(RECURSE_TARGETS:%=dlls/dxguid/%) dlls/dxguid: dlls/dxguid/Makefile \$(MAKEDEP)
dlls/dxguid/Makefile: dlls/dxguid/Makefile.in dlls/Makeimplib.rules config.status" dlls/dxguid/Makefile: dlls/dxguid/Makefile.in dlls/Makeimplib.rules config.status"
ac_config_files="$ac_config_files dlls/dxguid/Makefile" ac_config_files="$ac_config_files dlls/dxguid/Makefile"
...@@ -18029,16 +18037,18 @@ dlls/stress.dll16/Makefile: dlls/stress.dll16/Makefile.in dlls/Makedll.rules con ...@@ -18029,16 +18037,18 @@ dlls/stress.dll16/Makefile: dlls/stress.dll16/Makefile.in dlls/Makedll.rules con
ac_config_files="$ac_config_files dlls/stress.dll16/Makefile" ac_config_files="$ac_config_files dlls/stress.dll16/Makefile"
ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\ ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\
strmiids/libstrmiids.a" dlls/strmiids/libstrmiids.a"
ALL_IMPORTLIB_RULES="$ALL_IMPORTLIB_RULES ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
strmiids/libstrmiids.a: strmiids dlls/strmiids: tools/widl tools/winebuild tools/winegcc include
strmiids/libstrmiids.cross.a: dummy dlls/strmiids/__install__ dlls/strmiids/__install-dev__: dlls/strmiids
@cd strmiids && \$(MAKE) libstrmiids.cross.a" dlls/strmiids/libstrmiids.cross.a: dlls/strmiids/Makefile tools/widl tools/winebuild tools/winegcc include dummy
@cd dlls/strmiids && \$(MAKE) \`basename \$@\`"
ALL_MAKEFILES="$ALL_MAKEFILES \\ ALL_MAKEFILES="$ALL_MAKEFILES \\
dlls/strmiids/Makefile" dlls/strmiids/Makefile"
test "x$enable_strmiids" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\ test "x$enable_strmiids" != xno && ALL_STATICLIB_DIRS="$ALL_STATICLIB_DIRS \\
strmiids" dlls/strmiids"
ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
\$(RECURSE_TARGETS:%=dlls/strmiids/%) dlls/strmiids: dlls/strmiids/Makefile \$(MAKEDEP)
dlls/strmiids/Makefile: dlls/strmiids/Makefile.in dlls/Makeimplib.rules config.status" dlls/strmiids/Makefile: dlls/strmiids/Makefile.in dlls/Makeimplib.rules config.status"
ac_config_files="$ac_config_files dlls/strmiids/Makefile" ac_config_files="$ac_config_files dlls/strmiids/Makefile"
...@@ -18302,16 +18312,18 @@ dlls/usp10/tests/Makefile: dlls/usp10/tests/Makefile.in dlls/Maketest.rules conf ...@@ -18302,16 +18312,18 @@ dlls/usp10/tests/Makefile: dlls/usp10/tests/Makefile.in dlls/Maketest.rules conf
ac_config_files="$ac_config_files dlls/usp10/tests/Makefile" ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\ ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\
uuid/libuuid.a" dlls/uuid/libuuid.a"
ALL_IMPORTLIB_RULES="$ALL_IMPORTLIB_RULES ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
uuid/libuuid.a: uuid dlls/uuid: tools/widl tools/winebuild tools/winegcc include
uuid/libuuid.cross.a: dummy dlls/uuid/__install__ dlls/uuid/__install-dev__: dlls/uuid
@cd uuid && \$(MAKE) libuuid.cross.a" dlls/uuid/libuuid.cross.a: dlls/uuid/Makefile tools/widl tools/winebuild tools/winegcc include dummy
@cd dlls/uuid && \$(MAKE) \`basename \$@\`"
ALL_MAKEFILES="$ALL_MAKEFILES \\ ALL_MAKEFILES="$ALL_MAKEFILES \\
dlls/uuid/Makefile" dlls/uuid/Makefile"
test "x$enable_uuid" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\ test "x$enable_uuid" != xno && ALL_STATICLIB_DIRS="$ALL_STATICLIB_DIRS \\
uuid" dlls/uuid"
ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
\$(RECURSE_TARGETS:%=dlls/uuid/%) dlls/uuid: dlls/uuid/Makefile \$(MAKEDEP)
dlls/uuid/Makefile: dlls/uuid/Makefile.in dlls/Makeimplib.rules config.status" dlls/uuid/Makefile: dlls/uuid/Makefile.in dlls/Makeimplib.rules config.status"
ac_config_files="$ac_config_files dlls/uuid/Makefile" ac_config_files="$ac_config_files dlls/uuid/Makefile"
...@@ -18560,16 +18572,18 @@ dlls/winecoreaudio.drv/Makefile: dlls/winecoreaudio.drv/Makefile.in dlls/Makedll ...@@ -18560,16 +18572,18 @@ dlls/winecoreaudio.drv/Makefile: dlls/winecoreaudio.drv/Makefile.in dlls/Makedll
ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile" ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\ ALL_STATIC_LIBS="$ALL_STATIC_LIBS \\
winecrt0/libwinecrt0.a" dlls/winecrt0/libwinecrt0.a"
ALL_IMPORTLIB_RULES="$ALL_IMPORTLIB_RULES ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
winecrt0/libwinecrt0.a: winecrt0 dlls/winecrt0: tools/widl tools/winebuild tools/winegcc include
winecrt0/libwinecrt0.cross.a: dummy dlls/winecrt0/__install__ dlls/winecrt0/__install-dev__: dlls/winecrt0
@cd winecrt0 && \$(MAKE) libwinecrt0.cross.a" dlls/winecrt0/libwinecrt0.cross.a: dlls/winecrt0/Makefile tools/widl tools/winebuild tools/winegcc include dummy
@cd dlls/winecrt0 && \$(MAKE) \`basename \$@\`"
ALL_MAKEFILES="$ALL_MAKEFILES \\ ALL_MAKEFILES="$ALL_MAKEFILES \\
dlls/winecrt0/Makefile" dlls/winecrt0/Makefile"
test "x$enable_winecrt0" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\ test "x$enable_winecrt0" != xno && ALL_STATICLIB_DIRS="$ALL_STATICLIB_DIRS \\
winecrt0" dlls/winecrt0"
ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
\$(RECURSE_TARGETS:%=dlls/winecrt0/%) dlls/winecrt0: dlls/winecrt0/Makefile \$(MAKEDEP)
dlls/winecrt0/Makefile: dlls/winecrt0/Makefile.in dlls/Makeimplib.rules config.status" dlls/winecrt0/Makefile: dlls/winecrt0/Makefile.in dlls/Makeimplib.rules config.status"
ac_config_files="$ac_config_files dlls/winecrt0/Makefile" ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
......
...@@ -2103,7 +2103,7 @@ AC_SUBST(ALL_WINETEST_DEPENDS,["# Test binaries"]) ...@@ -2103,7 +2103,7 @@ AC_SUBST(ALL_WINETEST_DEPENDS,["# Test binaries"])
AC_SUBST(ALL_TOP_DIRS,"") AC_SUBST(ALL_TOP_DIRS,"")
AC_SUBST(ALL_DLL_DIRS,"") AC_SUBST(ALL_DLL_DIRS,"")
AC_SUBST(ALL_TOOL_DIRS,"") AC_SUBST(ALL_TOOL_DIRS,"")
AC_SUBST(ALL_IMPLIB_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_IMPORTLIB_RULES,"")
......
...@@ -6,11 +6,10 @@ VPATH = @srcdir@ ...@@ -6,11 +6,10 @@ VPATH = @srcdir@
INSTALLDIRS = $(DESTDIR)$(dlldir) INSTALLDIRS = $(DESTDIR)$(dlldir)
DLLSUBDIRS = @ALL_DLL_DIRS@ DLLSUBDIRS = @ALL_DLL_DIRS@
IMPLIBSUBDIRS = @ALL_IMPLIB_DIRS@
TESTSUBDIRS = @ALL_TEST_DIRS@ TESTSUBDIRS = @ALL_TEST_DIRS@
SUBDIRS = $(DLLSUBDIRS) $(IMPLIBSUBDIRS) $(TESTSUBDIRS) SUBDIRS = $(DLLSUBDIRS) $(TESTSUBDIRS)
BUILDSUBDIRS = $(DLLSUBDIRS) $(TESTSUBDIRS) BUILDSUBDIRS = $(DLLSUBDIRS) $(TESTSUBDIRS)
INSTALLSUBDIRS = $(DLLSUBDIRS) $(IMPLIBSUBDIRS) INSTALLSUBDIRS = $(DLLSUBDIRS)
DOCSUBDIRS = $(DLLSUBDIRS) DOCSUBDIRS = $(DLLSUBDIRS)
@MAKE_RULES@ @MAKE_RULES@
...@@ -21,19 +20,18 @@ all: $(BUILDSUBDIRS) ...@@ -21,19 +20,18 @@ all: $(BUILDSUBDIRS)
# Import libraries # Import libraries
STATIC_LIBS = @ALL_STATIC_LIBS@
IMPORT_LIBS = @ALL_IMPORT_LIBS@ IMPORT_LIBS = @ALL_IMPORT_LIBS@
$(TESTSUBDIRS:%=%/__crosstest__): $(STATIC_LIBS:.a=.cross.a) $(IMPORT_LIBS:.def=.cross.a) $(TESTSUBDIRS:%=%/__crosstest__): $(IMPORT_LIBS:.def=.cross.a)
implib: $(STATIC_LIBS) $(IMPORT_LIBS) implib: $(IMPORT_LIBS)
testsubdirs: $(TESTSUBDIRS) testsubdirs: $(TESTSUBDIRS)
.PHONY: implib testsubdirs .PHONY: implib testsubdirs
$(BUILDSUBDIRS): $(STATIC_LIBS) $(IMPORT_LIBS) $(BUILDSUBDIRS): $(IMPORT_LIBS)
$(INSTALLSUBDIRS:%=%/__install__) $(INSTALLSUBDIRS:%=%/__install-lib__): $(STATIC_LIBS) $(IMPORT_LIBS) $(INSTALLSUBDIRS:%=%/__install__) $(INSTALLSUBDIRS:%=%/__install-lib__): $(IMPORT_LIBS)
@ALL_IMPORTLIB_RULES@ @ALL_IMPORTLIB_RULES@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment