added support for getting ascent/descent size info for ps fonts -- Peter Speck
[rrdtool.git] / bindings / Makefile.am
1 SUBDIRS = tcl 
2 # the following files are not mentioned in any other Makefile
3 EXTRA_DIST = perl-piped/MANIFEST perl-piped/README perl-piped/Makefile.PL perl-piped/RRDp.pm perl-piped/t/base.t \
4         perl-shared/ntmake.pl perl-shared/MANIFEST perl-shared/README perl-shared/Makefile.PL perl-shared/RRDs.pm  perl-shared/RRDs.xs perl-shared/t/base.t
5
6
7 # add the following to the all target
8 all-local:  @COMP_PERL@
9
10 install-data-local:
11         cd perl-piped && test -f Makefile && $(MAKE) install || true
12         cd perl-shared && test -f Makefile && $(MAKE) install || true
13
14 # rules for building the perl module
15 perl_piped: perl-piped/Makefile
16         cd perl-piped && $(MAKE)
17
18 perl-piped/Makefile: perl-piped/Makefile.PL
19         cd perl-piped && $(PERL) Makefile.PL $(PERL_MAKE_OPTIONS)
20
21 perl_shared: perl-shared/Makefile
22         cd perl-shared && $(MAKE) RPATH=$(exec_prefix)/lib
23
24 perl-shared/Makefile: perl-shared/Makefile.PL
25         cd perl-shared && $(PERL) Makefile.PL $(PERLFLAGS) $(PERL_MAKE_OPTIONS)
26 # LIBS="$(LDFLAGS) $(LIBS)" $(PERLFLAGS) $(PERL_MAKE_OPTIONS)
27
28 clean-local:
29         cd perl-piped && test -f Makefile && $(MAKE) clean || true
30         cd perl-shared && test -f Makefile && $(MAKE) clean || true
31
32 ##END##