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
6ee09e4d
Commit
6ee09e4d
authored
Dec 30, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makedep: Generate rules for API documentation.
parent
8bf0f5fe
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
22 deletions
+41
-22
configure
configure
+0
-11
configure.ac
configure.ac
+0
-11
makedep.c
tools/makedep.c
+41
-0
No files found.
configure
View file @
6ee09e4d
...
...
@@ -16555,17 +16555,6 @@ fi
MAKE_DLL_RULES
=
"
DLLFLAGS =
$DLLFLAGS
MAINSPEC =
\$
(srcdir)/
\$
(MODULE:%.dll=%).spec
manpages:: dummy
\$
(C2MAN) -o
\$
(top_builddir)/documentation/man
\$
(api_manext) -R
\$
(top_builddir) -C
\$
(srcdir)
\$
(PARENTSRC:%=-P%) -I
\$
(top_srcdir)/include
\$
(MAINSPEC:%=-w %)
\$
(C_SRCS)
htmlpages:: dummy
\$
(C2MAN) -o
\$
(top_builddir)/documentation/html -R
\$
(top_builddir) -C
\$
(srcdir)
\$
(PARENTSRC:%=-P%) -I
\$
(top_srcdir)/include -Th
\$
(MAINSPEC:%=-w %)
\$
(C_SRCS)
sgmlpages:: dummy
\$
(C2MAN) -o
\$
(top_builddir)/documentation/api-guide -R
\$
(top_builddir) -C
\$
(srcdir)
\$
(PARENTSRC:%=-P%) -I
\$
(top_srcdir)/include -Ts
\$
(MAINSPEC:%=-w %)
\$
(C_SRCS)
xmlpages:: dummy
\$
(C2MAN) -o
\$
(top_builddir)/documentation/api-guide-xml -R
\$
(top_builddir) -C
\$
(srcdir)
\$
(PARENTSRC:%=-P%) -I
\$
(top_srcdir)/include -Tx
\$
(MAINSPEC:%=-w %)
\$
(C_SRCS)
.PHONY: manpages htmlpages sgmlpages xmlpages
"
...
...
configure.ac
View file @
6ee09e4d
...
...
@@ -2614,17 +2614,6 @@ dnl Dll and program rules
AC_SUBST(MAKE_DLL_RULES,"
DLLFLAGS = $DLLFLAGS
MAINSPEC = \$(srcdir)/\$(MODULE:%.dll=%).spec
manpages:: dummy
\$(C2MAN) -o \$(top_builddir)/documentation/man\$(api_manext) -R\$(top_builddir) -C\$(srcdir) \$(PARENTSRC:%=-P%) -I\$(top_srcdir)/include \$(MAINSPEC:%=-w %) \$(C_SRCS)
htmlpages:: dummy
\$(C2MAN) -o \$(top_builddir)/documentation/html -R\$(top_builddir) -C\$(srcdir) \$(PARENTSRC:%=-P%) -I\$(top_srcdir)/include -Th \$(MAINSPEC:%=-w %) \$(C_SRCS)
sgmlpages:: dummy
\$(C2MAN) -o \$(top_builddir)/documentation/api-guide -R\$(top_builddir) -C\$(srcdir) \$(PARENTSRC:%=-P%) -I\$(top_srcdir)/include -Ts \$(MAINSPEC:%=-w %) \$(C_SRCS)
xmlpages:: dummy
\$(C2MAN) -o \$(top_builddir)/documentation/api-guide-xml -R\$(top_builddir) -C\$(srcdir) \$(PARENTSRC:%=-P%) -I\$(top_srcdir)/include -Tx \$(MAINSPEC:%=-w %) \$(C_SRCS)
.PHONY: manpages htmlpages sgmlpages xmlpages
")
AC_SUBST(MAKE_PROG_RULES,"
...
...
tools/makedep.c
View file @
6ee09e4d
...
...
@@ -1375,6 +1375,7 @@ static struct strarray output_sources(void)
struct
strarray
mc_files
=
empty_strarray
;
struct
strarray
test_files
=
empty_strarray
;
struct
strarray
dlldata_files
=
empty_strarray
;
struct
strarray
c2man_files
=
empty_strarray
;
struct
strarray
implib_objs
=
empty_strarray
;
struct
strarray
includes
=
empty_strarray
;
struct
strarray
subdirs
=
empty_strarray
;
...
...
@@ -1609,6 +1610,8 @@ static struct strarray output_sources(void)
output
(
"
\t
$(RUNTEST) $(RUNTESTFLAGS) -T %s -M %s -p %s%s %s && touch $@
\n
"
,
top_obj_dir
,
testdll
,
replace_extension
(
testdll
,
".dll"
,
"_test.exe"
),
dllext
,
obj
);
}
if
(
!
strcmp
(
ext
,
"c"
)
&&
!
(
source
->
flags
&
FLAG_GENERATED
))
strarray_add
(
&
c2man_files
,
source
->
filename
);
for
(
i
=
0
;
i
<
object_extensions
.
count
;
i
++
)
output
(
"%s.%s "
,
obj
,
object_extensions
.
str
[
i
]
);
if
(
source
->
flags
&
FLAG_C_IMPLIB
)
output
(
"%s.cross.o"
,
obj
);
...
...
@@ -1749,6 +1752,44 @@ static struct strarray output_sources(void)
output
(
"
\n
"
);
}
}
if
(
spec_file
)
{
if
(
c2man_files
.
count
&&
top_obj_dir
)
{
char
*
manext
=
get_expanded_make_variable
(
"api_manext"
);
output
(
"manpages::
\n
"
);
output
(
"
\t
$(C2MAN) -w %s -R%s"
,
spec_file
,
top_obj_dir
);
output_filename
(
strmake
(
"-I%s/include"
,
top_src_dir
?
top_src_dir
:
top_obj_dir
));
output_filename
(
strmake
(
"-o %s/documentation/man%s"
,
top_obj_dir
,
manext
?
manext
:
"3w"
));
output_filenames
(
c2man_files
);
output
(
"
\n
"
);
output
(
"htmlpages::
\n
"
);
output
(
"
\t
$(C2MAN) -Th -w %s -R%s"
,
spec_file
,
top_obj_dir
);
output_filename
(
strmake
(
"-I%s/include"
,
top_src_dir
?
top_src_dir
:
top_obj_dir
));
output_filename
(
strmake
(
"-o %s/documentation/html"
,
top_obj_dir
));
output_filenames
(
c2man_files
);
output
(
"
\n
"
);
output
(
"sgmlpages::
\n
"
);
output
(
"
\t
$(C2MAN) -Ts -w %s -R%s"
,
spec_file
,
top_obj_dir
);
output_filename
(
strmake
(
"-I%s/include"
,
top_src_dir
?
top_src_dir
:
top_obj_dir
));
output_filename
(
strmake
(
"-o %s/documentation/api-guide"
,
top_obj_dir
));
output_filenames
(
c2man_files
);
output
(
"
\n
"
);
output
(
"xmlpages::
\n
"
);
output
(
"
\t
$(C2MAN) -Tx -w %s -R%s"
,
spec_file
,
top_obj_dir
);
output_filename
(
strmake
(
"-I%s/include"
,
top_src_dir
?
top_src_dir
:
top_obj_dir
));
output_filename
(
strmake
(
"-o %s/documentation/api-guide-xml"
,
top_obj_dir
));
output_filenames
(
c2man_files
);
output
(
"
\n
"
);
strarray_add
(
&
phony_targets
,
"manpages"
);
strarray_add
(
&
phony_targets
,
"htmlpages"
);
strarray_add
(
&
phony_targets
,
"sgmlpages"
);
strarray_add
(
&
phony_targets
,
"xmlpages"
);
}
else
output
(
"manpages htmlpages sgmlpages xmlpages::
\n
"
);
}
}
if
(
staticlib
)
...
...
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