parent
318ed3acb1
commit
4b58f943a9
@ -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
|
@ -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>
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in new issue