Newer
Older
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
## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = foreign 1.9 nostdinc
SUBDIRS = src tools/pipe
DISTCHECK_CONFIGURE_FLAGS=@CONFIGURE_OPTIONS@
dsl_cpe_control_docdir = ${prefix}/doc/dsl_cpe_control
dsl_cpe_control_doc_DATA = \
ChangeLog
EXTRA_DIST = $(dsl_cpe_control_doc_DATA) \
build_vxworks/control_dsl_cpe_api.wpj \
build_win32/dsl_cpe_control_version.h \
build_win32/vc7/dsl_cpe_control.sln \
build_win32/vc7/dsl_cpe_control.vcproj \
README\
AUTHORS\
NEWS\
TODO
# 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 (reduce scope to 'src' because Win32 files can have CRLF)
distcheck-hook:
chmod a+w $(distdir)
echo "Checking line ends ...!!!"; \
find $(distdir)/src -type f -exec file {} \; | grep -e "CRLF" -e "Non-ISO" && exit 1; \
echo "Checking line ends ... done."
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;