2 # the following files are not mentioned in any other Makefile
3 EXTRA_DIST = $(shell for A in perl-*; do cat $$A/MANIFEST | sed -e s,^,$$A/, ; done)
5 # add the following to the all target
9 cd perl-piped && test -f Makefile && $(MAKE) install || true
10 cd perl-shared && test -f Makefile && $(MAKE) install || true
12 # rules for building the perl module
13 perl_piped: perl-piped/Makefile
14 cd perl-piped && $(MAKE)
16 perl-piped/Makefile: perl-piped/Makefile.PL
17 cd perl-piped && $(PERL) Makefile.PL $(PERL_MAKE_OPTIONS)
19 perl_shared: perl-shared/Makefile
20 cd perl-shared && $(MAKE) RPATH=$(exec_prefix)/lib
22 perl-shared/Makefile: perl-shared/Makefile.PL
23 cd perl-shared && $(PERL) Makefile.PL $(PERLFLAGS) $(PERL_MAKE_OPTIONS)
26 cd perl-piped && test -f Makefile && $(MAKE) clean || true
27 cd perl-shared && test -f Makefile && $(MAKE) clean || true