]> rtime.felk.cvut.cz Git - sojka/can-utils.git/blob - GNUmakefile.am
1bd6e722dae1e9a286575bb6f809c335a932688f
[sojka/can-utils.git] / 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         canbusload \
26         candump \
27         canfdtest \
28         cangen \
29         canlogserver \
30         canplayer \
31         cansend \
32         cansniffer \
33         log2asc \
34         log2long \
35         slcan_attach \
36         slcand \
37         slcanpty
38
39 if CONFIG_GW
40 bin_PROGRAMS += \
41         cangw
42 endif
43
44 if CONFIG_ISOTP
45 bin_PROGRAMS += \
46         isotpdump \
47         isotprecv \
48         isotpsend \
49         isotpserver \
50         isotpsniffer \
51         isotptun
52 endif
53
54 EXTRA_DIST = \
55         autogen.sh
56
57 MAINTAINERCLEANFILES = \
58         configure \
59         GNUmakefile.in \
60         aclocal.m4 \
61         config/autoconf/compile \
62         config/autoconf/config.guess \
63         config/autoconf/config.sub \
64         config/autoconf/depcomp \
65         config/autoconf/install-sh \
66         config/autoconf/ltmain.sh \
67         config/autoconf/mdate-sh \
68         config/autoconf/missing \
69         config/autoconf/texinfo.tex \
70         config/m4/libtool.m4 \
71         config/m4/ltoptions.m4 \
72         config/m4/ltsugar.m4 \
73         config/m4/ltversion.m4 \
74         config/m4/lt~obsolete.m4 \
75         $(DIST_ARCHIVES)
76
77 maintainer-clean-local:
78         -chmod -R a+rw $(distdir)
79         -rm -fr $(distdir)
80