forked from oetiker/rrdtool-1.x
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
54 lines (39 loc) · 1.73 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
# $Id$
## Process this file with automake to produce Makefile.in
RSYNC = rsync --rsh=ssh
# build the following subdirectories
SUBDIRS = po src examples doc bindings
# the following files are not mentioned in any other Makefile
EXTRA_DIST = COPYRIGHT CHANGES WIN32-BUILD-TIPS.txt TODO CONTRIBUTORS THREADS \
rrdtool.spec favicon.ico autogen.sh \
libtool \
netware/Makefile \
etc/rrdcached-default etc/rrdcached-init \
win32/Makefile win32/config.h win32/rrdlib.vcproj win32/rrdtool.vcproj win32/rrdupdate.vcproj \
win32/README win32/rrd.sln win32/rrdtool.sln win32/rrdupdate.sln
CLEANFILES = config.cache
# use relaxed rules when building dists
AUTOMAKE_OPTIONS= foreign
# where we keep local rules for automake
ACLOCAL_AMFLAGS=-I m4
ACLOCAL_M4= $(top_srcdir)/aclocal.m4
#AUTOHEADER = @AUTOHEADER@ --localdir=$(top_srcdir)/config
#AUTOCONF = @AUTOCONF@ --localdir=$(top_srcdir)/config
# $(RSYNC) CHANGES archive/$(PACKAGE)-$(VERSION).tar.gz [email protected]:/ipn/web/Tools/RRDtool/pub/
if HAVE_SYSTEMD
systemdsystemunit_DATA = \
etc/rrdcached.socket \
etc/rrdcached.service
endif
site-perl-inst: site-perl-install
site-perl-install: all bindings/perl-piped/Makefile bindings/perl-shared/Makefile
cd bindings/perl-piped && $(MAKE) install
cd bindings/perl-shared && $(MAKE) install
site-tcl-install: all
cd bindings/tcl && $(MAKE) tcl-install
site-python-install: all
cd bindings/python && $(PYTHON) setup.py install $(if $(DESTDIR),--root=$(DESTDIR))
# find . -name "*.c" -or -name "*.h" | xargs perl -0777 -n -e 'while (s/typedef\s+(?:unsigned\s+|signed\s+|unival\s+)?\S+\s+\*?([^{}\s;(]+)//){print "-T$1\n"}'
indent:
find ./ -name "*.[ch]" | xargs indent
##END##