s3:smbd: make sure we always have a valid talloc stackframe
[Samba.git] / pidl / config.mk
blobd7a84e3fcc23c0db4b3a64672890d6cd7d965e22
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
31 pidl-clean:
32 /bin/rm -f $(pidldir)/Makefile
34 clean:: pidl-clean