RFC: prototype skeleton for wrpcss

Greg Turner gmturner007 at ameritech.net
Fri Nov 1 09:30:09 CST 2002


Is this even close?  As before, I didn't include diffs to configure
because of an autoconf version mismatch between myself and wine.

diff -ur -x CVS -x 'bigdif*' ../wine.test/configure.ac ./configure.ac
--- ../wine.test/configure.ac	2002-10-31 03:10:18.000000000 -0600
+++ ./configure.ac	2002-11-01 08:54:33.000000000 -0600
@@ -1512,6 +1512,7 @@
 programs/winetest/Makefile
 programs/winhelp/Makefile
 programs/winver/Makefile
+programs/wrpcss/Makefile
 server/Makefile
 tools/Makefile
 tools/widl/Makefile
diff -ur -x CVS -x 'bigdif*' ../wine.test/programs/Makefile.in ./programs/Makefile.in
--- ../wine.test/programs/Makefile.in	2002-09-18 18:10:21.000000000 -0500
+++ ./programs/Makefile.in	2002-11-01 09:17:41.000000000 -0600
@@ -27,7 +27,8 @@
 	winepath \
 	winetest \
 	winhelp \
-	winver
+	winver \
+	wrpcss
 
 # Sub-directories to run make install into
 INSTALLSUBDIRS = \
@@ -47,7 +48,8 @@
 	winemine \
 	winepath \
 	winhelp \
-	winver
+	winver \
+	wrpcss
 
 # Programs to install in bin directory
 # We don't install everything to avoid polluting /usr/bin too much
@@ -63,12 +65,14 @@
 	winefile \
 	winemine \
 	winepath \
-	winhelp
+	winhelp \
+	wrpcss
 
 # Symlinks to apps that we want to run from inside the source tree
 SYMLINKS = \
 	wineconsole.exe \
-	winedbg.exe
+	winedbg.exe \
+	wrpcss.exe
 
 @MAKE_RULES@
 
@@ -121,7 +125,11 @@
 winedbg.exe$(DLLEXT): winedbg/winedbg.exe$(DLLEXT)
 	$(RM) $@ && $(LN_S) winedbg/winedbg.exe$(DLLEXT) $@
 
+wrpcss.exe$(DLLEXT): wrpcss/wrpcss.exe$(DLLEXT)
+	$(RM) $@ && $(LN_S) wrpcss/wrpcss.exe$(DLLEXT) $@
+
 wineconsole/wineconsole.exe$(DLLEXT): wineconsole
 winedbg/winedbg.exe$(DLLEXT): winedbg
+wrpcss/wrpcss.exe$(DLLEXT): wrpcss
 
 ### Dependencies:
--- /dev/null	1969-12-31 18:00:00.000000000 -0600
+++ ./programs/wrpcss/.cvsignore	2002-11-01 08:39:51.000000000 -0600
@@ -0,0 +1,3 @@
+Makefile
+wrpcss.exe.dbg.c
+wrpcss.exe.spec.c
--- /dev/null	1969-12-31 18:00:00.000000000 -0600
+++ ./programs/wrpcss/Makefile.in	2002-11-01 08:44:10.000000000 -0600
@@ -0,0 +1,14 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = wrpcss.exe
+APPMODE   = cui
+IMPORTS   = user32 kernel32
+
+C_SRCS = \
+	main.c
+
+ at MAKE_PROG_RULES@
+
+### Dependencies:
--- /dev/null	1969-12-31 18:00:00.000000000 -0600
+++ ./programs/wrpcss/README	2002-11-01 08:42:27.000000000 -0600
@@ -0,0 +1,14 @@
+wrpcss README
+
+wrpcss, copyright 2002, Greg Turner
+wrpcss is to be distributed under the LGPL/X11-MIT licenses
+See the Wine License for further information.
+
+Wine needs a server whose role is somewhat like that
+of rpcss.exe in windows.  wrpcss stands for Wine Remote
+Procedure Call System Server.
+
+Enjoy.
+
+KNOWN BUGS:
+    Doesn't do anything yet.
--- /dev/null	1969-12-31 18:00:00.000000000 -0600
+++ ./programs/wrpcss/main.c	2002-11-01 08:51:26.000000000 -0600
@@ -0,0 +1,28 @@
+/*
+ * wrpcss (main.c)
+ *
+ * Copyright 2002 Greg Turner <gmturner007 at ameritech.net>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#include "main.h"
+#include "msvcrt/stdio.h"
+
+int main( int argc, char **argv )
+{
+    printf("Yes, I run.\n");
+    return 0;
+}
--- /dev/null	1969-12-31 18:00:00.000000000 -0600
+++ ./programs/wrpcss/main.h	2002-11-01 08:45:47.000000000 -0600
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2002 Greg Turner <gmturner007 at ameritech.net>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a cop 
Alexandre Julliard <julliard at winehq.com>y of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#ifndef _WRPCSS_MAIN_H
+#define _WRPCSS_MAIN_H
+
+#include <windows.h>
+
+#endif /* _WRPCSS_MAIN_H */
+
+/* end of header */

-- 
gmt

"The purpose of government is to rein in the rights of the people"
 --President Bill Clinton, MTV interview, 1993




More information about the wine-devel mailing list