From 487a03a1586e478baaadada184836be98c609aa0 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 14 Dec 2009 23:54:42 +0100 Subject: testprogs: add win32 spoolss testsuite. Guenther --- testprogs/win32/spoolss/Makefile.mingw | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 testprogs/win32/spoolss/Makefile.mingw (limited to 'testprogs/win32/spoolss/Makefile.mingw') diff --git a/testprogs/win32/spoolss/Makefile.mingw b/testprogs/win32/spoolss/Makefile.mingw new file mode 100644 index 0000000000..82fc7ed488 --- /dev/null +++ b/testprogs/win32/spoolss/Makefile.mingw @@ -0,0 +1,22 @@ +MAKE=mingw32-make +CFLAGS=-I../../../ -I/usr/i686-pc-mingw32/sys-root/mingw/include +LDFLAGS=-L/usr/i686-pc-mingw32/sys-root/mingw/lib +CC=/usr/bin/i686-pc-mingw32-gcc +LIBS=-lwinspool + +all: spoolss.exe + +clean: + rm -vf *.exe tags + +ctags: + ctags `find . -name "*.[ch]" | grep -v include/proto.h` + ctags --c-kinds=-p -a `find /usr/i686-pc-mingw32/sys-root/mingw/include -name "*.[ch]" | grep -v /CVS/` + +proto: + mkproto.pl torture.c --private=torture_proto.h --public=torture_proto_pub.h --srcdir=. --builddir=. + +spoolss.exe: spoolss.c torture.c error.c + @echo Compiling spoolss.exe + @$(CC) $(CFLAGS) $(LDFLAGS) spoolss.c torture.c error.c $(LIBS) -o spoolss.exe + -- cgit