10 SUBDIRS = $(SUB_tcl) $(SUB_python)
12 # the following files are not mentioned in any other Makefile
13 EXTRA_DIST = perl-piped/MANIFEST perl-piped/README perl-piped/Makefile.PL perl-piped/RRDp.pm perl-piped/t/base.t \
14 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
17 # add the following to the all target
18 all-local: @COMP_PERL@
21 test -f perl-piped/Makefile && cd perl-piped && $(MAKE) install || true
22 test -f perl-shared/Makefile && cd perl-shared && $(MAKE) install || true
24 # rules for building the perl module
25 perl_piped: perl-piped/Makefile
26 cd perl-piped && $(MAKE)
28 perl-piped/Makefile: perl-piped/Makefile.PL
29 cd perl-piped && $(PERL) Makefile.PL $(PERL_MAKE_OPTIONS)
31 perl_shared: perl-shared/Makefile
32 cd perl-shared && $(MAKE) RPATH=$(exec_prefix)/lib
34 perl-shared/Makefile: perl-shared/Makefile.PL
35 cd perl-shared && $(PERL) Makefile.PL $(PERLFLAGS) $(PERL_MAKE_OPTIONS)
36 # LIBS="$(LDFLAGS) $(LIBS)" $(PERLFLAGS) $(PERL_MAKE_OPTIONS)
39 test -f perl-piped/Makefile && cd perl-piped && $(MAKE) clean || rm Makefile || true
40 test -f perl-shared/Makefile && cd perl-shared && $(MAKE) clean || rm Makefile || true