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
3b7cc5ec
Commit
3b7cc5ec
authored
Dec 28, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makedep: Generate a list of phony targets.
parent
e4872023
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
6 deletions
+15
-6
Make.rules.in
Make.rules.in
+0
-2
configure
configure
+1
-2
configure.ac
configure.ac
+1
-2
makedep.c
tools/makedep.c
+13
-0
No files found.
Make.rules.in
View file @
3b7cc5ec
...
@@ -85,8 +85,6 @@ $(WINETEST_RES): $(TESTMODULE_STRIPPED)
...
@@ -85,8 +85,6 @@ $(WINETEST_RES): $(TESTMODULE_STRIPPED)
all: $(MANPAGES:.man.in=.man)
all: $(MANPAGES:.man.in=.man)
.PHONY: install-man-pages
# Rules for cleaning
# Rules for cleaning
clean::
clean::
...
...
configure
View file @
3b7cc5ec
...
@@ -16602,8 +16602,6 @@ EXTRA_OBJS = testlist.o
...
@@ -16602,8 +16602,6 @@ EXTRA_OBJS = testlist.o
all:
\$
(TESTMODULE)
$DLLEXT
\$
(WINETEST_RES)
all:
\$
(TESTMODULE)
$DLLEXT
\$
(WINETEST_RES)
\$
(C_SRCS:.c=.ok):
\$
(TESTMODULE)
$DLLEXT
\$
(TESTDLL:%=../%
$DLLEXT
)
\$
(C_SRCS:.c=.ok):
\$
(TESTMODULE)
$DLLEXT
\$
(TESTDLL:%=../%
$DLLEXT
)
.PHONY: check test testclean crosstest
"
"
if
test
-n
"
$CROSSTARGET
"
if
test
-n
"
$CROSSTARGET
"
...
@@ -16613,6 +16611,7 @@ MAKEDEPFLAGS = -xo -xcross.o
...
@@ -16613,6 +16611,7 @@ MAKEDEPFLAGS = -xo -xcross.o
CROSSTESTMODULE =
\$
(TESTDLL:%.dll=%)_crosstest.exe
CROSSTESTMODULE =
\$
(TESTDLL:%.dll=%)_crosstest.exe
crosstest:
\$
(CROSSTESTMODULE)
crosstest:
\$
(CROSSTESTMODULE)
.PHONY: crosstest
"
"
fi
fi
...
...
configure.ac
View file @
3b7cc5ec
...
@@ -2658,8 +2658,6 @@ EXTRA_OBJS = testlist.o
...
@@ -2658,8 +2658,6 @@ EXTRA_OBJS = testlist.o
all: \$(TESTMODULE)$DLLEXT \$(WINETEST_RES)
all: \$(TESTMODULE)$DLLEXT \$(WINETEST_RES)
\$(C_SRCS:.c=.ok): \$(TESTMODULE)$DLLEXT \$(TESTDLL:%=../%$DLLEXT)
\$(C_SRCS:.c=.ok): \$(TESTMODULE)$DLLEXT \$(TESTDLL:%=../%$DLLEXT)
.PHONY: check test testclean crosstest
")
")
if test -n "$CROSSTARGET"
if test -n "$CROSSTARGET"
then
then
...
@@ -2668,6 +2666,7 @@ MAKEDEPFLAGS = -xo -xcross.o
...
@@ -2668,6 +2666,7 @@ MAKEDEPFLAGS = -xo -xcross.o
CROSSTESTMODULE = \$(TESTDLL:%.dll=%)_crosstest.exe
CROSSTESTMODULE = \$(TESTDLL:%.dll=%)_crosstest.exe
crosstest: \$(CROSSTESTMODULE)
crosstest: \$(CROSSTESTMODULE)
.PHONY: crosstest
")
")
fi
fi
...
...
tools/makedep.c
View file @
3b7cc5ec
...
@@ -1350,6 +1350,7 @@ static struct strarray output_sources(void)
...
@@ -1350,6 +1350,7 @@ static struct strarray output_sources(void)
struct
strarray
dlldata_files
=
empty_strarray
;
struct
strarray
dlldata_files
=
empty_strarray
;
struct
strarray
includes
=
empty_strarray
;
struct
strarray
includes
=
empty_strarray
;
struct
strarray
subdirs
=
empty_strarray
;
struct
strarray
subdirs
=
empty_strarray
;
struct
strarray
phony_targets
=
empty_strarray
;
strarray_add
(
&
includes
,
"-I."
);
strarray_add
(
&
includes
,
"-I."
);
if
(
src_dir
)
strarray_add
(
&
includes
,
strmake
(
"-I%s"
,
src_dir
));
if
(
src_dir
)
strarray_add
(
&
includes
,
strmake
(
"-I%s"
,
src_dir
));
...
@@ -1492,6 +1493,7 @@ static struct strarray output_sources(void)
...
@@ -1492,6 +1493,7 @@ static struct strarray output_sources(void)
dir
,
dest
,
source
->
sourcename
);
dir
,
dest
,
source
->
sourcename
);
free
(
dest
);
free
(
dest
);
free
(
dir
);
free
(
dir
);
strarray_add_uniq
(
&
phony_targets
,
"install-man-pages"
);
}
}
strarray_add
(
&
clean_files
,
xstrdup
(
obj
)
);
strarray_add
(
&
clean_files
,
xstrdup
(
obj
)
);
output
(
"%s: %s
\n
"
,
obj
,
sourcedep
);
output
(
"%s: %s
\n
"
,
obj
,
sourcedep
);
...
@@ -1631,6 +1633,9 @@ static struct strarray output_sources(void)
...
@@ -1631,6 +1633,9 @@ static struct strarray output_sources(void)
output_filenames
(
&
ok_files
,
&
column
);
output_filenames
(
&
ok_files
,
&
column
);
output
(
"
\n
"
);
output
(
"
\n
"
);
strarray_addall
(
&
clean_files
,
&
ok_files
);
strarray_addall
(
&
clean_files
,
&
ok_files
);
strarray_add
(
&
phony_targets
,
"check"
);
strarray_add
(
&
phony_targets
,
"test"
);
strarray_add
(
&
phony_targets
,
"testclean"
);
}
}
if
(
clean_files
.
count
)
if
(
clean_files
.
count
)
...
@@ -1648,6 +1653,14 @@ static struct strarray output_sources(void)
...
@@ -1648,6 +1653,14 @@ static struct strarray output_sources(void)
output
(
":
\n
"
);
output
(
":
\n
"
);
output
(
"
\t
$(MKDIR_P) -m 755 $@
\n
"
);
output
(
"
\t
$(MKDIR_P) -m 755 $@
\n
"
);
}
}
if
(
phony_targets
.
count
)
{
column
=
output
(
".PHONY:"
);
output_filenames
(
&
phony_targets
,
&
column
);
output
(
"
\n
"
);
}
return
clean_files
;
return
clean_files
;
}
}
...
...
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