Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
a3b76d33
Commit
a3b76d33
authored
Oct 10, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Generate the common rules for import libraries from configure.
parent
79d45585
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
27 deletions
+30
-27
.gitignore
.gitignore
+0
-1
aclocal.m4
aclocal.m4
+1
-1
configure
configure
+14
-7
configure.ac
configure.ac
+13
-1
Makeimplib.rules.in
dlls/Makeimplib.rules.in
+0
-14
make_makefiles
tools/make_makefiles
+2
-3
No files found.
.gitignore
View file @
a3b76d33
...
...
@@ -22,7 +22,6 @@ Makefile
dlldata.c
dlls/*/*.def
dlls/Makedll.rules
dlls/Makeimplib.rules
dlls/actxprxy/actxprxy_activscp.h
dlls/actxprxy/actxprxy_activscp_p.c
dlls/actxprxy/actxprxy_comcat.h
...
...
aclocal.m4
View file @
a3b76d33
...
...
@@ -351,7 +351,7 @@ wine_fn_config_lib ()
ac_flags=$[2]
ac_dir=dlls/$ac_name
wine_fn_all_rules
dlls/Makeimplib.rules
wine_fn_all_rules
Make.rules.in
wine_fn_clean_rules
wine_fn_append_rule \
...
...
configure
View file @
a3b76d33
...
...
@@ -627,6 +627,7 @@ LIBOBJS
PORCFLAGS
LINGUAS
ALL_TEST_RESOURCES
MAKE_IMPLIB_RULES
LDAPLIBS
LIBRT
LIBPOLL
...
...
@@ -801,7 +802,6 @@ SHELL'
ac_subst_files
=
'MAKE_RULES
MAKE_TEST_RULES
MAKE_DLL_RULES
MAKE_IMPLIB_RULES
MAKE_PROG_RULES'
ac_user_opts
=
'
enable_option_checking
...
...
@@ -16053,6 +16053,18 @@ ac_config_commands="$ac_config_commands include/stamp-h"
$as_echo_n
"creating Makefile rules..."
>
&6
MAKE_IMPLIB_RULES
=
"DLLFLAGS =
$DLLFLAGS
"
if
test
"x
$CROSSTEST_DISABLE
"
=
x
then
as_fn_append MAKE_IMPLIB_RULES
"MAKEDEPFLAGS = -xo -xcross.o
all:
\$
(STATICLIB:.a=.cross.a)
"
fi
wine_rules_file
=
conf
$$
rules.make
rm
-f
$wine_rules_file
ALL_POT_FILES
=
""
...
...
@@ -16213,7 +16225,7 @@ wine_fn_config_lib ()
ac_flags
=
$2
ac_dir
=
dlls/
$ac_name
wine_fn_all_rules
dlls/Makeimplib.rules
wine_fn_all_rules
Make.rules.in
wine_fn_clean_rules
wine_fn_append_rule
\
...
...
@@ -16597,10 +16609,6 @@ wine_fn_config_makerules dlls/Makedll.rules Make.rules
MAKE_DLL_RULES
=
dlls/Makedll.rules
ac_config_files
=
"
$ac_config_files
dlls/Makedll.rules"
wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
MAKE_IMPLIB_RULES
=
dlls/Makeimplib.rules
ac_config_files
=
"
$ac_config_files
dlls/Makeimplib.rules"
wine_fn_config_makerules programs/Makeprog.rules Make.rules
MAKE_PROG_RULES
=
programs/Makeprog.rules
ac_config_files
=
"
$ac_config_files
programs/Makeprog.rules"
...
...
@@ -18173,7 +18181,6 @@ do
"Make.rules") CONFIG_FILES="
$CONFIG_FILES
Make.rules" ;;
"Maketest.rules") CONFIG_FILES="
$CONFIG_FILES
Maketest.rules" ;;
"dlls/Makedll.rules") CONFIG_FILES="
$CONFIG_FILES
dlls/Makedll.rules" ;;
"dlls/Makeimplib.rules") CONFIG_FILES="
$CONFIG_FILES
dlls/Makeimplib.rules" ;;
"programs/Makeprog.rules") CONFIG_FILES="
$CONFIG_FILES
programs/Makeprog.rules" ;;
"Makefile") CONFIG_COMMANDS="
$CONFIG_COMMANDS
Makefile" ;;
"Make.tmp") CONFIG_FILES="
$CONFIG_FILES
Make.tmp:Make.vars.in:Makefile.in" ;;
...
...
configure.ac
View file @
a3b76d33
...
...
@@ -2597,6 +2597,19 @@ AH_BOTTOM([#endif /* WINE_CROSSTEST */
AC_CONFIG_COMMANDS([include/stamp-h], [echo timestamp > include/stamp-h])
AS_ECHO_N("creating Makefile rules...") >&AS_MESSAGE_FD
dnl Import library rules
AC_SUBST(MAKE_IMPLIB_RULES,"DLLFLAGS = $DLLFLAGS
")
if test "x$CROSSTEST_DISABLE" = x
then
AS_VAR_APPEND([MAKE_IMPLIB_RULES],"MAKEDEPFLAGS = -xo -xcross.o
all: \$(STATICLIB:.a=.cross.a)
")
fi
dnl Main makefile
WINE_APPEND_RULE([
# Rules automatically generated by configure
...
...
@@ -2624,7 +2637,6 @@ WINE_CONFIG_EXTRA_DIR(include/wine)
WINE_CONFIG_MAKERULES([Make.rules],[MAKE_RULES])
WINE_CONFIG_MAKERULES([Maketest.rules],[MAKE_TEST_RULES],[Make.rules])
WINE_CONFIG_MAKERULES([dlls/Makedll.rules],[MAKE_DLL_RULES],[Make.rules])
WINE_CONFIG_MAKERULES([dlls/Makeimplib.rules],[MAKE_IMPLIB_RULES],[Make.rules])
WINE_CONFIG_MAKERULES([programs/Makeprog.rules],[MAKE_PROG_RULES],[Make.rules])
WINE_CONFIG_DLL(acledit)
...
...
dlls/Makeimplib.rules.in
deleted
100644 → 0
View file @
79d45585
# Global rules for building a static import library -*-Makefile-*-
#
# Each individual makefile should define the following variables:
# MODULE : name of the main module being built
#
# plus all variables required by the global Make.rules.in
#
DLLFLAGS = @DLLFLAGS@
MAKEDEPFLAGS = -xo -xcross.o
@CROSSTEST_DISABLE@ all: $(STATICLIB:.a=.cross.a)
@MAKE_RULES@
tools/make_makefiles
View file @
a3b76d33
...
...
@@ -26,7 +26,6 @@ my %makerules =
(
"MAKE_RULES"
=>
"Make.rules"
,
"MAKE_DLL_RULES"
=>
"dlls/Makedll.rules"
,
"MAKE_IMPLIB_RULES"
=>
"dlls/Makeimplib.rules"
,
"MAKE_TEST_RULES"
=>
"Maketest.rules"
,
"MAKE_PROG_RULES"
=>
"programs/Makeprog.rules"
,
);
...
...
@@ -312,7 +311,7 @@ sub parse_makefile($)
if
(
/^\@(MAKE.*RULES)\@/
)
{
my
$var
=
$1
;
$make
{
"=rules"
}
=
$makerules
{
$var
};
$make
{
"=rules"
}
=
$makerules
{
$var
}
||
$var
;
next
;
}
if
(
/^\s*(MODULE|IMPORTLIB|TESTDLL|MANPAGE)\s*=\s*(.*)/
)
...
...
@@ -486,7 +485,7 @@ sub update_makefiles(@)
(
my
$dir
=
$file
)
=~
s/^(.*)\/Makefile/$1/
;
push
@lines
,
"WINE_CONFIG_TEST($dir$flag_args)\n"
;
}
elsif
(
$rules
eq
$makerules
{
"MAKE_IMPLIB_RULES"
}
)
elsif
(
$rules
eq
"MAKE_IMPLIB_RULES"
)
{
(
my
$name
=
$file
)
=~
s/^dlls\/(.*)\/Makefile/$1/
;
push
@lines
,
"WINE_CONFIG_LIB($name$flag_args)\n"
;
...
...
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