1 TOPSRCDIR = @top_srcdir@
9 EXTRACFLAGS = `perl -MExtUtils::Embed -e ccflags`
10 EXTRALIBS = `perl -MExtUtils::Embed -e ldopts`
11 EXTRAINCL = `perl -MExtUtils::Embed -e perl_inc`
12 XSUBPPDIR = `perl -MConfig -e 'print $$Config::Config{privlibexp}'`/ExtUtils
20 EXTRASUBDIRS = include tests
22 PLTESTPROGRAM = $(MODULE)$(DLLEXT)
27 CROSSTEST = wtmain.cross.o
29 # override all: target so that we don't build the Perl stuff by default
30 test_environment: wtmain.o @CROSSTEST@
37 perl $(XSUBPPDIR)/xsubpp -typemap $(XSUBPPDIR)/typemap $(SRCDIR)/wine.xs >wine.c || $(RM) wine.c
42 .PHONY: test_environment