| EXTRADEFS = -DSTRICT `perl -MExtUtils::Embed -e ccflags` |
| EXTRALIBS = `perl -MExtUtils::Embed -e ldopts` |
| EXTRAINCL = `perl -MExtUtils::Embed -e perl_inc` |
| TOPSRCDIR = @top_srcdir@ |
| TOPOBJDIR = ../.. |
| SRCDIR = @srcdir@ |
| VPATH = @srcdir@ |
| MODULE = winetest |
| |
| C_SRCS = winetest.c |
| |
| EXTRA_OBJS = wine.o |
| |
| PERLMAKE = $(MAKE) -fMakefile.perl INC="$(DIVINCL)" |
| |
| @MAKE_PROG_RULES@ |
| |
| wine.o: wine.xs Makefile.perl |
| $(PERLMAKE) wine.o |
| |
| Makefile.perl: Makefile.PL |
| perl Makefile.PL |
| |
| install:: |
| [ -d $(libdir) ] || $(MKDIR) $(libdir) |
| $(INSTALL_DATA) wine.pm $(libdir)/wine.pm |
| |
| uninstall:: |
| cd $(libdir) && $(RM) wine.pm |
| |
| clean:: Makefile.perl |
| $(PERLMAKE) realclean |
| |
| ### Dependencies: |