summaryrefslogtreecommitdiffstats
path: root/xorg/server
diff options
context:
space:
mode:
Diffstat (limited to 'xorg/server')
-rw-r--r--xorg/server/module/Makefile16
-rw-r--r--xorg/server/module/rdpMain.c37
-rw-r--r--xorg/server/xrdpdev/Makefile17
-rw-r--r--xorg/server/xrdpdev/xrdpdev.c37
4 files changed, 107 insertions, 0 deletions
diff --git a/xorg/server/module/Makefile b/xorg/server/module/Makefile
new file mode 100644
index 00000000..39bfbbed
--- /dev/null
+++ b/xorg/server/module/Makefile
@@ -0,0 +1,16 @@
+
+OBJS = rdpMain.o
+
+CFLAGS = -O2 -Wall -I/usr/include/xorg -I/usr/include/pixman-1
+
+LDFLAGS =
+
+LIBS =
+
+all: xrdpdev_drv.so
+
+xrdpdev_drv.so: $(OBJS) Makefile
+ $(CC) -shared -o libxorgxrdp.so $(LDFLAGS) $(OBJS) $(LIBS)
+
+clean:
+ rm -f $(OBJS) libxorgxrdp.so
diff --git a/xorg/server/module/rdpMain.c b/xorg/server/module/rdpMain.c
new file mode 100644
index 00000000..5f3ab8c2
--- /dev/null
+++ b/xorg/server/module/rdpMain.c
@@ -0,0 +1,37 @@
+/*
+Copyright 2005-2013 Jay Sorg
+
+Permission to use, copy, modify, distribute, and sell this software and its
+documentation for any purpose is hereby granted without fee, provided that
+the above copyright notice appear in all copies and that both that
+copyright notice and this permission notice appear in supporting
+documentation.
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+This is the main modules file
+
+*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+/* this should be before all X11 .h files */
+#include <xorg-server.h>
+
+/* all driver need this */
+#include <xf86.h>
+#include <xf86_OSproc.h>
+#include <mipointer.h>
+
+#include <xorg-server.h>
+
diff --git a/xorg/server/xrdpdev/Makefile b/xorg/server/xrdpdev/Makefile
new file mode 100644
index 00000000..920e7a55
--- /dev/null
+++ b/xorg/server/xrdpdev/Makefile
@@ -0,0 +1,17 @@
+
+OBJS = xrdpdev.o
+
+CFLAGS = -O2 -Wall -I/usr/include/xorg -I/usr/include/pixman-1
+
+LDFLAGS =
+
+LIBS =
+
+all: xrdpdev_drv.so
+
+xrdpdev_drv.so: $(OBJS) Makefile
+ $(CC) -shared -o xrdpdev_drv.so $(LDFLAGS) $(OBJS) $(LIBS)
+
+clean:
+ rm -f $(OBJS) xrdpdev_drv.so
+
diff --git a/xorg/server/xrdpdev/xrdpdev.c b/xorg/server/xrdpdev/xrdpdev.c
new file mode 100644
index 00000000..f426d7a5
--- /dev/null
+++ b/xorg/server/xrdpdev/xrdpdev.c
@@ -0,0 +1,37 @@
+/*
+Copyright 2013 Jay Sorg
+
+Permission to use, copy, modify, distribute, and sell this software and its
+documentation for any purpose is hereby granted without fee, provided that
+the above copyright notice appear in all copies and that both that
+copyright notice and this permission notice appear in supporting
+documentation.
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+This is the main driver file
+
+*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+/* this should be before all X11 .h files */
+#include <xorg-server.h>
+
+/* all driver need this */
+#include <xf86.h>
+#include <xf86_OSproc.h>
+#include <mipointer.h>
+
+#include <xorg-server.h>
+