# p4-perl Jamrules
SubDir AllP4 p4-perl ;
SubRules AllP4 p4 : P4 ;
PERL ?= perl ;
if $(OS) = "DARWIN" || $(OS) = "MACOSX"
{
MAKE ?= make ;
SUFSO ?= .bundle ;
}
else if $(NT)
{
MAKE ?= nmake ;
SUFSO ?= .dll ;
}
else
{
MAKE ?= make ;
SUFSO ?= .so ;
}
rule MakeP4Perl
{
local _so = $(<)$(SUFSO) ;
Depends $(<) : $(_so) ;
Depends all : $(<) ;
Always $(_so) ;
MakeP4Perl1 $(_so) ;
}
actions MakeP4Perl1
{
$(PERL) Makefile.PL --apidir $(P4APIDIR)
$(MAKE) && $(MAKE) dist
}
# |
Change |
User |
Description |
Committed |
|
#1
|
23638 |
benperry |
Branching p4perl main for a fix. |
|
|