Ensure we do reinit_after_fork().
[Samba/bb.git] / pidl / config.mk
blob45582f5d568b54fce90aa66f13759d710978c3be
1 PIDL = $(PERL) $(pidldir)/pidl
3 $(pidldir)/Makefile: $(pidldir)/Makefile.PL
4 @cd $(pidldir) && $(PERL) Makefile.PL PREFIX=$(prefix)
6 pidl-testcov: $(pidldir)/Makefile
7 cd $(pidldir) && cover -test
9 installpidl:: $(pidldir)/Makefile
10 @$(MAKE) -C $(pidldir) install_vendor VENDORPREFIX=$(prefix) \
11 INSTALLVENDORLIB=$(datarootdir)/perl5 \
12 INSTALLVENDORBIN=$(bindir) \
13 INSTALLVENDORSCRIPT=$(bindir) \
14 INSTALLVENDORMAN1DIR=$(mandir)/man1 \
15 INSTALLVENDORMAN3DIR=$(mandir)/man3
17 ifeq ($(HAVE_PERL_EXTUTILS_MAKEMAKER),1)
18 install:: installpidl
19 endif
21 $(pidldir)/lib/Parse/Pidl/IDL.pm: $(pidldir)/idl.yp
22 -$(YAPP) -m 'Parse::Pidl::IDL' -o $(pidldir)/lib/Parse/Pidl/IDL.pm $(pidldir)/idl.yp ||\
23 touch $(pidldir)/lib/Parse/Pidl/IDL.pm
25 $(pidldir)/lib/Parse/Pidl/Expr.pm: $(pidldir)/idl.yp
26 -$(YAPP) -m 'Parse::Pidl::Expr' -o $(pidldir)/lib/Parse/Pidl/Expr.pm $(pidldir)/expr.yp ||\
27 touch $(pidldir)/lib/Parse/Pidl/Expr.pm
29 testcov-html:: pidl-testcov