]> rtime.felk.cvut.cz Git - socketcan-devel.git/blob - can-utils/GNUmakefile.am
Add kernel version depency for Kernel 3.1.x which extended __rtnl_register().
[socketcan-devel.git] / can-utils / GNUmakefile.am
1 AM_CPPFLAGS = \
2         -I$(top_srcdir)/include \
3         -I$(top_builddir)/include \
4         $(linux_CFLAGS)
5
6 # link every app against libcan, it's static so it wouldn't hurt
7 LDADD = \
8         libcan.la
9
10 noinst_HEADERS = \
11         lib.h \
12         terminal.h
13
14
15 noinst_LTLIBRARIES = \
16         libcan.la
17
18 libcan_la_SOURCES = \
19         lib.c
20
21
22 bin_PROGRAMS = \
23         asc2log \
24         bcmserver \
25         can-calc-bit-timing \
26         canbusload \
27         candump \
28         canfdtest \
29         cangen \
30         canlogserver \
31         canplayer \
32         cansend \
33         cansniffer \
34         log2asc \
35         log2long \
36         slcan_attach \
37         slcand \
38         slcanpty
39
40 if CONFIG_GW
41 bin_PROGRAMS += \
42         cangw
43 endif
44
45 if CONFIG_ISOTP
46 bin_PROGRAMS += \
47         isotpdump \
48         isotprecv \
49         isotpsend \
50         isotpserver \
51         isotpsniffer \
52         isotptun
53 endif
54
55 EXTRA_DIST = \
56         autogen.sh
57
58 MAINTAINERCLEANFILES = \
59         configure \
60         GNUmakefile.in \
61         aclocal.m4 \
62         config/autoconf/compile \
63         config/autoconf/config.guess \
64         config/autoconf/config.sub \
65         config/autoconf/depcomp \
66         config/autoconf/install-sh \
67         config/autoconf/ltmain.sh \
68         config/autoconf/mdate-sh \
69         config/autoconf/missing \
70         config/autoconf/texinfo.tex \
71         config/m4/libtool.m4 \
72         config/m4/ltoptions.m4 \
73         config/m4/ltsugar.m4 \
74         config/m4/ltversion.m4 \
75         config/m4/lt~obsolete.m4 \
76         $(DIST_ARCHIVES)
77
78 maintainer-clean-local:
79         -chmod -R a+rw $(distdir)
80         -rm -fr $(distdir)
81