2001-03-21 22:41:27 +01:00
|
|
|
EXTRADEFS = -DSTRICT `perl -MExtUtils::Embed -e ccflags`
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
@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:
|