diff options
Diffstat (limited to 'WebKitTools/DumpRenderTree/mac/PerlSupport/Makefile')
-rw-r--r-- | WebKitTools/DumpRenderTree/mac/PerlSupport/Makefile | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/WebKitTools/DumpRenderTree/mac/PerlSupport/Makefile b/WebKitTools/DumpRenderTree/mac/PerlSupport/Makefile index 56b2ed2..16a9e51 100644 --- a/WebKitTools/DumpRenderTree/mac/PerlSupport/Makefile +++ b/WebKitTools/DumpRenderTree/mac/PerlSupport/Makefile @@ -31,10 +31,15 @@ DYLIB=$(OUTPUT_DIR)/DumpRenderTreeSupport.dylib DUMPRENDERTREE=$(OUTPUT_DIR)/DumpRenderTree PERL=/usr/bin/perl -OSX_VERSION=$(shell sw_vers -productVersion | cut -d. -f 2) - -ifneq "$(OSX_VERSION)" "4" +OSX_VERSION = $(shell sw_vers -productVersion | cut -d. -f 2) +ifeq "$(OSX_VERSION)" "4" +GENERATE_WRAPPER = NO +endif +ifeq "$(OSX_VERSION)" "7" +GENERATE_WRAPPER = NO +endif +ifneq "$(GENERATE_WRAPPER)" "NO" SWIG=/usr/bin/swig @@ -50,12 +55,12 @@ else all: $(DYLIB) $(PERL_MODULE) -$(WRAPPER): DumpRenderTreeSupport_wrapTiger.c $(DUMPRENDERTREE) +$(WRAPPER): DumpRenderTreeSupport_wrapPregenerated.c $(DUMPRENDERTREE) mkdir -p $(WRAPPER_DIR) - cp DumpRenderTreeSupport_wrapTiger.c $(WRAPPER) + cp DumpRenderTreeSupport_wrapPregenerated.c $(WRAPPER) -$(PERL_MODULE): DumpRenderTreeSupportTiger.pm $(DUMPRENDERTREE) - cp DumpRenderTreeSupportTiger.pm $(PERL_MODULE) +$(PERL_MODULE): DumpRenderTreeSupportPregenerated.pm $(DUMPRENDERTREE) + cp DumpRenderTreeSupportPregenerated.pm $(PERL_MODULE) endif |