35 lines
682 B
Makefile
35 lines
682 B
Makefile
EXTRADEFS = `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
|
|
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = winetest.exe
|
|
APPMODE = cui
|
|
IMPORTS = kernel32
|
|
|
|
C_SRCS = winetest.c
|
|
|
|
EXTRA_SRCS = wtmain.c
|
|
|
|
EXTRA_OBJS = wine.o
|
|
|
|
EXTRASUBDIRS = include tests
|
|
|
|
PLTESTS = \
|
|
tests/wine.pl
|
|
|
|
@MAKE_PROG_RULES@
|
|
|
|
all: wtmain.o
|
|
|
|
wine.c: wine.xs
|
|
perl $(XSUBPPDIR)/xsubpp -typemap $(XSUBPPDIR)/typemap $(SRCDIR)/wine.xs >wine.c || $(RM) wine.c
|
|
|
|
clean::
|
|
$(RM) wine.c
|
|
|
|
### Dependencies:
|