summaryrefslogtreecommitdiff
path: root/testprogs/win32/testmailslot
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-28 13:47:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:39:06 -0500
commit4ad69c3deec3470849270fb180a78f8a4e78f854 (patch)
treeb6269cb088ca7ac3bd9aeb837f83c83ea2d3d2c6 /testprogs/win32/testmailslot
parentf7c5e5a3987ea773203f6052e9cac34ae8992131 (diff)
downloadsamba-4ad69c3deec3470849270fb180a78f8a4e78f854.tar.gz
samba-4ad69c3deec3470849270fb180a78f8a4e78f854.tar.bz2
samba-4ad69c3deec3470849270fb180a78f8a4e78f854.zip
r10576: Add testprog for named pipes. Also add GNUmakefile's for cross-compilation
using mingw32 (This used to be commit 30ba8fdc3dc8dba543686591a27b819b8f9444db)
Diffstat (limited to 'testprogs/win32/testmailslot')
-rw-r--r--testprogs/win32/testmailslot/GNUmakefile15
-rw-r--r--testprogs/win32/testmailslot/NMakefile (renamed from testprogs/win32/testmailslot/Makefile)0
2 files changed, 15 insertions, 0 deletions
diff --git a/testprogs/win32/testmailslot/GNUmakefile b/testprogs/win32/testmailslot/GNUmakefile
new file mode 100644
index 0000000000..c1c421527e
--- /dev/null
+++ b/testprogs/win32/testmailslot/GNUmakefile
@@ -0,0 +1,15 @@
+INCLUDES=-I.
+CFLAGS=$(INCLUDES)
+CC=i586-mingw32msvc-gcc
+
+all: testmailslot.exe
+
+clean:
+ rm -f *~ *.obj testmailslot.exe
+
+.SUFFIXES: .obj .exe .c
+
+testmailslot.exe: testmailslot.c
+
+.c.exe:
+ $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
diff --git a/testprogs/win32/testmailslot/Makefile b/testprogs/win32/testmailslot/NMakefile
index e307654fcb..e307654fcb 100644
--- a/testprogs/win32/testmailslot/Makefile
+++ b/testprogs/win32/testmailslot/NMakefile