This repository has been archived by the owner on Oct 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.am
76 lines (61 loc) · 1.77 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = foreign 1.9 nostdinc
SUBDIRS = src
DISTCHECK_CONFIGURE_FLAGS=@CONFIGURE_OPTIONS@
drv_dsl_cpe_api_docdir = ${prefix}/doc/drv_dsl_cpe_api
drv_dsl_cpe_api_doc_DATA = \
ChangeLog
drv_dsl_cpe_api_doc_DEVICE = \
doc/doxyconfig.danube \
doc/doxyconfig.vrx
EXTRA_DIST = $(drv_dsl_cpe_api_doc_DATA) \
$(drv_dsl_cpe_api_doc_DEVICE) \
build_vxworks/drv_dsl_cpe_api.wpj \
README \
AUTHORS \
NEWS \
TODO \
doc/footer.html \
doc/header.html \
doc/dsl_cpe_api.h \
doc/api_sw_structure_overview.jpg \
doc/html/logo.gif \
doc/html/spacer.gif \
doc/html/stylesheet.css
# Copy all the spec files. Of cource, only one is actually used.
dist-hook:
for specfile in *.spec; do \
if test -f $$specfile; then \
cp -p $$specfile $(distdir); \
fi \
done
# Check for correct line ends
distcheck-hook:
chmod a+w $(distdir)
echo "Checking line ends ...!!!"; \
find $(distdir) -type f -exec file {} \; | grep -e "CRLF" -e "Non-ISO" && exit 1; \
echo "Checking line ends ... done."
generate-doc-danube:
( cd @srcdir@/doc; \
doxygen doxyconfig.danube; )
generate-xml:
( cd @srcdir@/doc/xml; \
echo generate complete.xml ...; \
xsltproc --timing -o complete.xml combine.xslt index.xml; \
echo generate API reference ...; \
xsltproc doxy2wg.xsl complete.xml | sed 's/^ *//g' > @srcdir@/doc/api/fm/lib_dsl_api_reference.xml; \
)
lint:
@target=lint; \
list='$(SUBDIRS)'; \
for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done;