diff options
author | Günther Deschner <gd@samba.org> | 2009-12-14 23:54:42 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-01-08 01:03:34 +0100 |
commit | 487a03a1586e478baaadada184836be98c609aa0 (patch) | |
tree | 15c26cd7ff3bbc64d3346cb6af31550311db97ca /testprogs/win32/spoolss/Makefile.mingw | |
parent | 57be1d07afc2a0725b79327636204a9238ab94aa (diff) | |
download | samba-487a03a1586e478baaadada184836be98c609aa0.tar.gz samba-487a03a1586e478baaadada184836be98c609aa0.tar.bz2 samba-487a03a1586e478baaadada184836be98c609aa0.zip |
testprogs: add win32 spoolss testsuite.
Guenther
Diffstat (limited to 'testprogs/win32/spoolss/Makefile.mingw')
-rw-r--r-- | testprogs/win32/spoolss/Makefile.mingw | 22 |
1 files changed, 22 insertions, 0 deletions
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 + |