Changeset 745 for trunk/server/testprogs/win32
- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 1 deleted
- 9 edited
- 91 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/testprogs/win32/midltests/Makefile
r414 r745 1 INCLUDES=-I2 CFLAGS=$(INCLUDES) -Zi -D_WIN32_WINNT=0x5023 LIBS=rpcrt4.lib4 1 5 all: midltests.exe 2 all: 3 @echo "nmake targets:" 4 @echo " clean" 5 @echo " simple" 6 @echo " tcp" 6 7 7 8 clean: 8 del *~ *.obj *.exe midltests.h midltests_s.c midltests_c.c 9 @call nmake /f Makefile.simple /A /NOLOGO clean 10 @call nmake /f Makefile.tcp /A /NOLOGO clean 9 11 10 #MIDL_ARGS=/target NT50 11 MIDL_ARGS=/Os /prefix client cli_ /prefix server srv_ /prefix switch swi_ 12 midltests.h midltests_s.c midltests_c.c: midltests.idl midltests.acf 13 midl $(MIDL_ARGS) /acf midltests.acf midltests.idl 12 simple: 13 @call nmake /f Makefile.simple /A /NOLOGO all 14 14 15 MIDLTESTS_OBJ = midltests.obj midltests_s_m.obj midltests_c_m.obj midltests_marshall.obj utils.obj 16 midltests.exe: $(MIDLTESTS_OBJ) 17 $(CC) -o midltests.exe $(MIDLTESTS_OBJ) $(LIBS) 18 19 midltests.obj: midltests.h midltests.idl 20 midltests_c_m.c: midltests_c.c 21 midltests_s_m.c: midltests_s.c 22 23 midltests.obj: midltests.h midltests.idl midltests.c 24 midltests_s_m.obj: midltests_marshall.h midltests_s.c midltests_s_m.c 25 midltests_c_m.obj: midltests_marshall.h midltests_c.c midltests_c_m.c 26 midltests_marshall.obj: midltests.h midltests_marshall.c 27 utils.obj: midltests.h utils.c 15 tcp: 16 @call nmake /f Makefile.tcp /A /NOLOGO all -
trunk/server/testprogs/win32/midltests/midltests.idl
r414 r745 1 1 #ifndef MIDLTESTS_C_CODE 2 3 /* 4 * For midltests_tcp.exe you may want to 5 * redirect the traffic via rinetd 6 * with a /etc/rinetd.conf like this: 7 * 8 * 172.31.9.1 5032 172.31.9.8 5032 9 * 172.31.9.1 5064 172.31.9.8 5064 10 * 11 * This is useful to watch the traffic with 12 * a network sniffer. 13 */ 14 /* 15 cpp_quote("#define LISTEN_IP \"0.0.0.0\"") 16 cpp_quote("#define FORWARD_IP \"127.0.0.1\"") 17 cpp_quote("#define CONNECT_IP \"172.31.9.1\"") 18 */ 19 20 /* 21 * With midltests_tcp.exe NDR64 is enforced by default. 22 * For testing it might be needed to allow downgrades 23 * to NDR32. This is needed when you use 'pipe'. 24 */ 25 //cpp_quote("#define DONOT_FORCE_NDR64 1") 2 26 3 27 [ -
trunk/server/testprogs/win32/midltests/midltests_marshall.c
r414 r745 31 31 } 32 32 33 staticvoid dump_data(const unsigned char *buf1,int len)33 void dump_data(const unsigned char *buf1,int len) 34 34 { 35 35 const unsigned char *buf = (const unsigned char *)buf1; … … 61 61 } 62 62 } 63 64 #if _WIN32_WINNT < 0x600 63 65 64 66 void NdrGetBufferMarshall(PMIDL_STUB_MESSAGE stubmsg, unsigned long len, RPC_BINDING_HANDLE hnd) … … 120 122 return 0; 121 123 } 124 125 #endif /* _WIN32_WINNT < 0x600 */ -
trunk/server/testprogs/win32/midltests/midltests_marshall.h
r414 r745 1 1 #include "rpc.h" 2 2 #include "rpcndr.h" 3 4 void dump_data(const unsigned char *buf1,int len); 5 6 #if _WIN32_WINNT < 0x600 3 7 #define NdrSendReceive NdrSendReceiveMarshall 4 8 void NdrSendReceiveMarshall(PMIDL_STUB_MESSAGE stubmsg, unsigned char *buffer); … … 12 16 RPC_STATUS WINAPI I_RpcGetBufferMarshall(PRPC_MESSAGE pMsg); 13 17 18 #endif /* _WIN32_WINNT < 0x600 */ 14 19 15 16 -
trunk/server/testprogs/win32/npecho/GNUmakefile
r414 r745 9 9 all: $(NPECHO) $(NPECHO2) 10 10 11 CC = i586-mingw32msvc-gcc 11 MINGW_CC = i586-mingw32msvc-cc 12 CC = $(MINGW_CC) 12 13 13 14 .SUFFIXES: .c .obj .exe … … 20 21 21 22 clean: 22 del*~ *.obj *.exe23 rm -f *~ *.obj *.exe 23 24 -
trunk/server/testprogs/win32/npecho/NMakefile
r414 r745 1 # 2 # use nmake /f NMakefile [<target>] 3 # 1 4 INCLUDES=-I 2 5 CFLAGS=$(INCLUDES) -Zi -nologo -
trunk/server/testprogs/win32/testmailslot/GNUmakefile
r414 r745 1 1 INCLUDES=-I. 2 2 CFLAGS=$(INCLUDES) 3 CC=i586-mingw32msvc-gcc 3 MINGW_CC = i586-mingw32msvc-cc 4 CC = $(MINGW_CC) 4 5 5 6 all: testmailslot.exe -
trunk/server/testprogs/win32/testmailslot/NMakefile
r414 r745 1 # 2 # use nmake /f NMakefile [<target>] 3 # 1 4 INCLUDES=-I 2 5 CFLAGS=$(INCLUDES) -Zi -nologo
Note:
See TracChangeset
for help on using the changeset viewer.