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
e9afeb2a
Commit
e9afeb2a
authored
Jan 01, 2014
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Automatically add dll flags where necessary.
parent
1cd2786f
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
22 deletions
+10
-22
Make.rules.in
Make.rules.in
+1
-1
Make.vars.in
Make.vars.in
+1
-0
configure
configure
+3
-9
configure.ac
configure.ac
+3
-9
Makefile.in
libs/port/Makefile.in
+0
-1
Makefile.in
libs/wine/Makefile.in
+0
-1
Makefile.in
libs/wpp/Makefile.in
+0
-1
makedep.c
tools/makedep.c
+2
-0
No files found.
Make.rules.in
View file @
e9afeb2a
...
...
@@ -12,7 +12,7 @@
# First some useful definitions
DEFS = -D__WINESRC__ $(EXTRADEFS)
ALLCFLAGS = $(DEFS) $(
DLLFLAGS) $(
EXTRACFLAGS) $(CPPFLAGS) $(CFLAGS) $(MODCFLAGS)
ALLCFLAGS = $(DEFS) $(EXTRACFLAGS) $(CPPFLAGS) $(CFLAGS) $(MODCFLAGS)
IDLFLAGS = $(DEFS) $(EXTRAIDLFLAGS)
RCFLAGS = --nostdinc $(PORCFLAGS) $(TARGETFLAGS) $(DEFS) $(EXTRARCFLAGS)
...
...
Make.vars.in
View file @
e9afeb2a
...
...
@@ -39,6 +39,7 @@ LN_S = @LN_S@
MKDIR_P = @MKDIR_P@
TOOLSDIR = @TOOLSDIR@
LDFLAGS = @LDFLAGS@
DLLFLAGS = @DLLFLAGS@
PRELINK = @PRELINK@
FONTFORGE = @FONTFORGE@
RSVG = @RSVG@
...
...
configure
View file @
e9afeb2a
...
...
@@ -16530,24 +16530,18 @@ ac_config_commands="$ac_config_commands include/stamp-h"
$as_echo_n
"creating Makefile rules..."
>
&6
MAKE_IMPLIB_RULES
=
"DLLFLAGS =
$DLLFLAGS
"
MAKE_IMPLIB_RULES
=
""
MAKE_DLL_RULES
=
"
DLLFLAGS =
$DLLFLAGS
"
MAKE_DLL_RULES
=
""
MAKE_PROG_RULES
=
"
DLLFLAGS =
$DLLFLAGS
"
MAKE_PROG_RULES
=
""
MAKE_TEST_RULES
=
"
DLLFLAGS =
$DLLFLAGS
RUNTESTFLAGS = -q -P wine
"
...
...
configure.ac
View file @
e9afeb2a
...
...
@@ -2593,23 +2593,17 @@ AS_ECHO_N("creating Makefile rules...") >&AS_MESSAGE_FD
dnl Import library rules
AC_SUBST(MAKE_IMPLIB_RULES,"DLLFLAGS = $DLLFLAGS
")
AC_SUBST(MAKE_IMPLIB_RULES,"")
dnl Dll and program rules
AC_SUBST(MAKE_DLL_RULES,"
DLLFLAGS = $DLLFLAGS
")
AC_SUBST(MAKE_DLL_RULES,"")
AC_SUBST(MAKE_PROG_RULES,"
DLLFLAGS = $DLLFLAGS
")
AC_SUBST(MAKE_PROG_RULES,"")
dnl Test rules
AC_SUBST(MAKE_TEST_RULES,"
DLLFLAGS = $DLLFLAGS
RUNTESTFLAGS = -q -P wine
")
...
...
libs/port/Makefile.in
View file @
e9afeb2a
DLLFLAGS
=
@DLLFLAGS@
STATICLIB
=
libwine_port.a
C_SRCS
=
\
...
...
libs/wine/Makefile.in
View file @
e9afeb2a
DLLFLAGS
=
@DLLFLAGS@
EXTRALIBS
=
$(LIBPORT)
@LIBDL@ @COREFOUNDATIONLIB@ @CORESERVICESLIB@
EXTRADEFS
=
-DWINE_UNICODE_API
=
""
\
-DBINDIR
=
'"
$(bindir)
"'
\
...
...
libs/wpp/Makefile.in
View file @
e9afeb2a
DLLFLAGS
=
@DLLFLAGS@
STATICLIB
=
libwpp.a
C_SRCS
=
\
...
...
tools/makedep.c
View file @
e9afeb2a
...
...
@@ -1376,6 +1376,7 @@ static struct strarray output_sources(void)
struct
strarray
includes
=
empty_strarray
;
struct
strarray
subdirs
=
empty_strarray
;
struct
strarray
phony_targets
=
empty_strarray
;
struct
strarray
dllflags
=
get_expanded_make_var_array
(
"DLLFLAGS"
);
struct
strarray
imports
=
get_expanded_make_var_array
(
"IMPORTS"
);
struct
strarray
all_targets
=
get_expanded_make_var_array
(
"PROGRAMS"
);
struct
strarray
delayimports
=
get_expanded_make_var_array
(
"DELAYIMPORTS"
);
...
...
@@ -1578,6 +1579,7 @@ static struct strarray output_sources(void)
output
(
"%s.o: %s
\n
"
,
obj
,
sourcedep
);
output
(
"
\t
$(CC) -c -o $@ %s"
,
source
->
filename
);
output_filenames
(
includes
);
if
(
module
||
staticlib
||
testdll
)
output_filenames
(
dllflags
);
output_filename
(
"$(ALLCFLAGS)"
);
output
(
"
\n
"
);
if
(
crosstarget
&&
need_cross
)
...
...
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