summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-10-17 15:57:07 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-10-17 15:57:07 +1100
commitc35b0d9ab5d01e37cb06d02083a329e18ae59566 (patch)
tree20dd5885cf3da8d030ef69ab0d32bd2fb4207777 /testprogs
parent4fb64f13d5101c960a7a234ff2b0b79283de5589 (diff)
parentc783d8a32e4d958aec6d943d0fa3de2e7d3a68c2 (diff)
downloadsamba-c35b0d9ab5d01e37cb06d02083a329e18ae59566.tar.gz
samba-c35b0d9ab5d01e37cb06d02083a329e18ae59566.tar.bz2
samba-c35b0d9ab5d01e37cb06d02083a329e18ae59566.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel
Diffstat (limited to 'testprogs')
-rw-r--r--testprogs/win32/midltests/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/testprogs/win32/midltests/Makefile b/testprogs/win32/midltests/Makefile
new file mode 100644
index 0000000000..535968b16d
--- /dev/null
+++ b/testprogs/win32/midltests/Makefile
@@ -0,0 +1,27 @@
+INCLUDES=-I
+CFLAGS=$(INCLUDES) -Zi -D_WIN32_WINNT=0x502
+LIBS=rpcrt4.lib
+
+all: midltests.exe
+
+clean:
+ del *~ *.obj *.exe midltests.h midltests_s.c midltests_c.c
+
+#MIDL_ARGS=/target NT50
+MIDL_ARGS=/Os /prefix client cli_ /prefix server srv_ /prefix switch swi_
+midltests.h midltests_s.c midltests_c.c: midltests.idl midltests.acf
+ midl $(MIDL_ARGS) /acf midltests.acf midltests.idl
+
+MIDLTESTS_OBJ = midltests.obj midltests_s_m.obj midltests_c_m.obj midltests_marshall.obj utils.obj
+midltests.exe: $(MIDLTESTS_OBJ)
+ $(CC) -o midltests.exe $(MIDLTESTS_OBJ) $(LIBS)
+
+midltests.obj: midltests.h midltests.idl
+midltests_c_m.c: midltests_c.c
+midltests_s_m.c: midltests_s.c
+
+midltests.obj: midltests.h midltests.idl midltests.c
+midltests_s_m.obj: midltests_marshall.h midltests_s.c midltests_s_m.c
+midltests_c_m.obj: midltests_marshall.h midltests_c.c midltests_c_m.c
+midltests_marshall.obj: midltests.h midltests_marshall.c
+utils.obj: midltests.h utils.c