]> rtime.felk.cvut.cz Git - sojka/can-utils.git/blob - GNUmakefile.am
add autotools infrastructure
[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         isotpsniffer \
50         isotptun
51 endif
52
53 EXTRA_DIST = \
54         autogen.sh
55
56 MAINTAINERCLEANFILES = \
57         configure \
58         GNUmakefile.in \
59         aclocal.m4 \
60         config/autoconf/compile \
61         config/autoconf/config.guess \
62         config/autoconf/config.sub \
63         config/autoconf/depcomp \
64         config/autoconf/install-sh \
65         config/autoconf/ltmain.sh \
66         config/autoconf/mdate-sh \
67         config/autoconf/missing \
68         config/autoconf/texinfo.tex \
69         config/m4/libtool.m4 \
70         config/m4/ltoptions.m4 \
71         config/m4/ltsugar.m4 \
72         config/m4/ltversion.m4 \
73         config/m4/lt~obsolete.m4 \
74         $(DIST_ARCHIVES)
75
76 maintainer-clean-local:
77         -chmod -R a+rw $(distdir)
78         -rm -fr $(distdir)
79