summaryrefslogtreecommitdiff
path: root/testprogs/win32/rpcecho/Makefile
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-03-23 23:52:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:14 -0500
commit1e415ce7ba4b787db63f67a1494f6e96d34abed7 (patch)
tree9ad1daf73693fbb9cb311bd971fbf2c779f1b2ef /testprogs/win32/rpcecho/Makefile
parent44484c7861f185480bea6bd75f17585aa9de41b3 (diff)
downloadsamba-1e415ce7ba4b787db63f67a1494f6e96d34abed7.tar.gz
samba-1e415ce7ba4b787db63f67a1494f6e96d34abed7.tar.bz2
samba-1e415ce7ba4b787db63f67a1494f6e96d34abed7.zip
r6015: Add testprogs/ directory and original rpcecho sources
( from tridges junkcode at http://samba.org/ftp/unpacked/junkcode/rpcecho-win32 ) (This used to be commit e33397f383342d91326a5c2939c5213a5fc5d9cd)
Diffstat (limited to 'testprogs/win32/rpcecho/Makefile')
-rw-r--r--testprogs/win32/rpcecho/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/testprogs/win32/rpcecho/Makefile b/testprogs/win32/rpcecho/Makefile
new file mode 100644
index 0000000000..253ebedb71
--- /dev/null
+++ b/testprogs/win32/rpcecho/Makefile
@@ -0,0 +1,24 @@
+CC=E:\VC98\bin\cl -nologo
+INCLUDES=-I
+CFLAGS=$(INCLUDES) -Zi
+LIBS=rpcrt4.lib
+
+all: client server
+
+clean:
+ del *~ *.obj client server rpcecho_c.c rpcecho_s.c rpcecho.h
+
+rpcecho.h rpcecho_s.c rpcecho_c.c: rpcecho.idl rpcecho.acf
+ midl rpcecho.idl
+
+client: client.obj rpcecho_c.obj utils.obj
+ $(CC) -o client client.obj rpcecho_c.obj utils.obj $(LIBS)
+
+server: server.obj rpcecho_s.obj utils.obj
+ $(CC) -o server server.obj rpcecho_s.obj utils.obj $(LIBS)
+
+client.obj: rpcecho.h client.c
+server.obj: rpcecho.h server.c
+rpcecho_c.obj: rpcecho.h rpcecho_c.c
+rpcecho_s.obj: rpcecho.h rpcecho_s.c
+utils.obj: rpcecho.h utils.c