From 64fa63c3e93e254466196b04b128b9057769b405 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 19 May 2010 11:11:50 +0200 Subject: testprogs/win32/spoolss: rename Makefile.mingw GNUmakefile metze --- testprogs/win32/spoolss/GNUmakefile | 23 +++++++++++++++++++++++ testprogs/win32/spoolss/Makefile.mingw | 23 ----------------------- 2 files changed, 23 insertions(+), 23 deletions(-) create mode 100644 testprogs/win32/spoolss/GNUmakefile delete mode 100644 testprogs/win32/spoolss/Makefile.mingw diff --git a/testprogs/win32/spoolss/GNUmakefile b/testprogs/win32/spoolss/GNUmakefile new file mode 100644 index 0000000000..7c66075aed --- /dev/null +++ b/testprogs/win32/spoolss/GNUmakefile @@ -0,0 +1,23 @@ +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: testspoolss.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 printlib.c --private=printlib_proto.h --public=printlib_proto_pub.h --srcdir=. --builddir=. + mkproto.pl torture.c --private=torture_proto.h --public=torture_proto_pub.h --srcdir=. --builddir=. + +testspoolss.exe: testspoolss.c printlib.c torture.c error.c + @echo Compiling testspoolss.exe + @$(CC) $(CFLAGS) $(LDFLAGS) testspoolss.c printlib.c torture.c error.c $(LIBS) -o testspoolss.exe + diff --git a/testprogs/win32/spoolss/Makefile.mingw b/testprogs/win32/spoolss/Makefile.mingw deleted file mode 100644 index 7c66075aed..0000000000 --- a/testprogs/win32/spoolss/Makefile.mingw +++ /dev/null @@ -1,23 +0,0 @@ -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: testspoolss.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 printlib.c --private=printlib_proto.h --public=printlib_proto_pub.h --srcdir=. --builddir=. - mkproto.pl torture.c --private=torture_proto.h --public=torture_proto_pub.h --srcdir=. --builddir=. - -testspoolss.exe: testspoolss.c printlib.c torture.c error.c - @echo Compiling testspoolss.exe - @$(CC) $(CFLAGS) $(LDFLAGS) testspoolss.c printlib.c torture.c error.c $(LIBS) -o testspoolss.exe - -- cgit v1.2.3