2001-11-24 18:07:08 +01:00
|
|
|
EXTRADEFS = `perl -MExtUtils::Embed -e ccflags`
|
2001-03-21 22:41:27 +01:00
|
|
|
EXTRALIBS = `perl -MExtUtils::Embed -e ldopts`
|
|
|
|
EXTRAINCL = `perl -MExtUtils::Embed -e perl_inc`
|
2001-05-09 21:47:39 +02:00
|
|
|
XSUBPPDIR = `perl -MConfig -e 'print $$Config::Config{privlibexp}'`/ExtUtils
|
2001-03-21 22:41:27 +01:00
|
|
|
TOPSRCDIR = @top_srcdir@
|
|
|
|
TOPOBJDIR = ../..
|
|
|
|
SRCDIR = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
MODULE = winetest
|
|
|
|
|
|
|
|
C_SRCS = winetest.c
|
|
|
|
|
|
|
|
EXTRA_OBJS = wine.o
|
|
|
|
|
2002-01-14 21:00:32 +01:00
|
|
|
EXTRASUBDIRS = include tests
|
|
|
|
|
|
|
|
PLTESTS = \
|
|
|
|
tests/wine.pl
|
2001-03-21 22:41:27 +01:00
|
|
|
|
|
|
|
@MAKE_PROG_RULES@
|
|
|
|
|
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
|
|
|
|
|
|
|
install::
|
|
|
|
[ -d $(libdir) ] || $(MKDIR) $(libdir)
|
|
|
|
$(INSTALL_DATA) wine.pm $(libdir)/wine.pm
|
|
|
|
|
|
|
|
uninstall::
|
|
|
|
cd $(libdir) && $(RM) wine.pm
|
|
|
|
|
2001-05-09 21:47:39 +02:00
|
|
|
clean::
|
|
|
|
$(RM) wine.c
|
2001-03-21 22:41:27 +01:00
|
|
|
|
|
|
|
### Dependencies:
|