2001-03-21 22:41:27 +01:00
|
|
|
TOPSRCDIR = @top_srcdir@
|
|
|
|
TOPOBJDIR = ../..
|
|
|
|
SRCDIR = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2002-05-21 21:42:29 +02:00
|
|
|
MODULE = winetest.exe
|
2002-05-12 01:06:32 +02:00
|
|
|
APPMODE = cui
|
2002-05-17 05:37:12 +02:00
|
|
|
IMPORTS = kernel32
|
2001-03-21 22:41:27 +01:00
|
|
|
|
2002-08-02 21:12:01 +02:00
|
|
|
EXTRACFLAGS = `perl -MExtUtils::Embed -e ccflags`
|
|
|
|
EXTRALIBS = `perl -MExtUtils::Embed -e ldopts`
|
|
|
|
EXTRAINCL = `perl -MExtUtils::Embed -e perl_inc`
|
|
|
|
XSUBPPDIR = `perl -MConfig -e 'print $$Config::Config{privlibexp}'`/ExtUtils
|
|
|
|
|
2001-03-21 22:41:27 +01:00
|
|
|
C_SRCS = winetest.c
|
|
|
|
|
2002-04-02 04:58:45 +02:00
|
|
|
EXTRA_SRCS = wtmain.c
|
|
|
|
|
2001-03-21 22:41:27 +01:00
|
|
|
EXTRA_OBJS = wine.o
|
|
|
|
|
2002-01-14 21:00:32 +01:00
|
|
|
EXTRASUBDIRS = include tests
|
|
|
|
|
2002-08-01 01:23:32 +02:00
|
|
|
PLTESTPROGRAM = $(MODULE)$(DLLEXT)
|
|
|
|
|
2002-01-14 21:00:32 +01:00
|
|
|
PLTESTS = \
|
|
|
|
tests/wine.pl
|
2001-03-21 22:41:27 +01:00
|
|
|
|
2002-08-01 01:23:32 +02:00
|
|
|
# override all: target so that we don't build the Perl stuff by default
|
|
|
|
test_environment: wtmain.o
|
|
|
|
|
2001-03-21 22:41:27 +01:00
|
|
|
@MAKE_PROG_RULES@
|
|
|
|
|
2002-08-01 01:23:32 +02:00
|
|
|
all: test_environment
|
2002-04-02 04:58:45 +02:00
|
|
|
|
2001-05-09 21:47:39 +02:00
|
|
|
wine.c: wine.xs
|
|
|
|
perl $(XSUBPPDIR)/xsubpp -typemap $(XSUBPPDIR)/typemap $(SRCDIR)/wine.xs >wine.c || $(RM) wine.c
|
2001-03-21 22:41:27 +01:00
|
|
|
|
2001-05-09 21:47:39 +02:00
|
|
|
clean::
|
|
|
|
$(RM) wine.c
|
2001-03-21 22:41:27 +01:00
|
|
|
|
2002-08-01 01:23:32 +02:00
|
|
|
.PHONY: test_environment
|
|
|
|
|
2001-03-21 22:41:27 +01:00
|
|
|
### Dependencies:
|