Commit f5eff9bc authored by Mike Gabriel's avatar Mike Gabriel

nx-X11/programs/Xserver: Include nxcomp{,ext,shad} headers like one would do…

nx-X11/programs/Xserver: Include nxcomp{,ext,shad} headers like one would do with system-wide shared libraries.
parent 2f706cbe
...@@ -118,12 +118,12 @@ xthread_t (*_Xthread_self_fn)(void) = NULL; ...@@ -118,12 +118,12 @@ xthread_t (*_Xthread_self_fn)(void) = NULL;
#endif /* XTHREADS else */ #endif /* XTHREADS else */
#include "NX.h" #include <nx/NX.h>
#ifdef NX_TRANS_SOCKET #ifdef NX_TRANS_SOCKET
#include "NX.h" #include <nx/NX.h>
#include "NXvars.h" #include <nx/NXvars.h>
static struct timeval retry; static struct timeval retry;
......
...@@ -64,7 +64,7 @@ from The Open Group. ...@@ -64,7 +64,7 @@ from The Open Group.
#ifdef NX_TRANS_SOCKET #ifdef NX_TRANS_SOCKET
#include "NXvars.h" #include <nx/NXvars.h>
#define _XGetIOError(dpy) \ #define _XGetIOError(dpy) \
(dpy -> flags & XlibDisplayIOError) (dpy -> flags & XlibDisplayIOError)
......
...@@ -344,7 +344,7 @@ static int haveIPv6 = 1; ...@@ -344,7 +344,7 @@ static int haveIPv6 = 1;
#ifdef TRANS_CLIENT #ifdef TRANS_CLIENT
#include "NX.h" #include <nx/NX.h>
typedef struct typedef struct
{ {
......
...@@ -318,6 +318,27 @@ NXAGENTDDXDIR = hw ...@@ -318,6 +318,27 @@ NXAGENTDDXDIR = hw
NXAGENTDIRS = $(STDDIRS) $(MFBDIR) $(FBDIR) $(MIDAMAGEDIR) $(NXAGENTDDXDIR) $(DEPDIRS) NXAGENTDIRS = $(STDDIRS) $(MFBDIR) $(FBDIR) $(MIDAMAGEDIR) $(NXAGENTDDXDIR) $(DEPDIRS)
NX_XCOMP_HEADERS = \
../../../nxcomp/NXalert.h \
../../../nxcomp/NX.h \
../../../nxcomp/NXpack.h \
../../../nxcomp/NXproto.h \
../../../nxcomp/NXvars.h
NX_XCOMPEXT_HEADERS = \
../../../nxcompext/NXlib.h \
../../../nxcompext/NXlibint.h
NX_XCOMPSHAD_HEADERS = \
../../../nxcompshad/Shadow.h
NX_HEADERS = \
$(NX_XCOMP_HEADERS) \
$(NX_XCOMPEXT_HEADERS) \
$(NX_XCOMPSHAD_HEADERS)
BuildIncludes($(NX_HEADERS),nx,..)
#if defined(SunArchitecture) || \ #if defined(SunArchitecture) || \
defined(SparcArchitecture) defined(SparcArchitecture)
NXAGENTOBJS = hw/nxagent/miinitext.o \ NXAGENTOBJS = hw/nxagent/miinitext.o \
......
...@@ -67,8 +67,8 @@ is" without express or implied warranty. ...@@ -67,8 +67,8 @@ is" without express or implied warranty.
* NX includes and definitions. * NX includes and definitions.
*/ */
#include "NXlib.h" #include <nx/NXlib.h>
#include "NXpack.h" #include <nx/NXpack.h>
/* /*
* Set here the required log level. * Set here the required log level.
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include "scrnintstr.h" #include "scrnintstr.h"
#include "resource.h" #include "resource.h"
#include "NXpack.h" #include <nx/NXpack.h>
#include "Atoms.h" #include "Atoms.h"
#include "Args.h" #include "Args.h"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <string.h> #include <string.h>
#include <ctype.h> #include <ctype.h>
#include "NX.h" #include <nx/NX.h>
#include "Binder.h" #include "Binder.h"
#include "Options.h" #include "Options.h"
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include <time.h> #include <time.h>
#include <errno.h> #include <errno.h>
#include "NX.h" #include <nx/NX.h>
#include "Xatom.h" #include "Xatom.h"
#include "dixstruct.h" #include "dixstruct.h"
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
* definition of GC in Agent.h. * definition of GC in Agent.h.
*/ */
#include "NXlib.h" #include <nx/NXlib.h>
/* /*
* Set here the required log level. * Set here the required log level.
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
* Use asyncronous get property replies. * Use asyncronous get property replies.
*/ */
#include "NXlib.h" #include <nx/NXlib.h>
/* /*
* Set here the required log level. * Set here the required log level.
......
...@@ -57,7 +57,7 @@ is" without express or implied warranty. ...@@ -57,7 +57,7 @@ is" without express or implied warranty.
#include "windowstr.h" #include "windowstr.h"
#include "resource.h" #include "resource.h"
#include "NXlib.h" #include <nx/NXlib.h>
/* /*
* Set here the required log level. * Set here the required log level.
......
...@@ -33,9 +33,9 @@ ...@@ -33,9 +33,9 @@
#include "Display.h" #include "Display.h"
#include "Dialog.h" #include "Dialog.h"
#include "NX.h" #include <nx/NX.h>
#include "NXlib.h" #include <nx/NXlib.h>
#include "NXalert.h" #include <nx/NXalert.h>
/* /*
* Set here the required log level. * Set here the required log level.
......
...@@ -52,7 +52,7 @@ is" without express or implied warranty. ...@@ -52,7 +52,7 @@ is" without express or implied warranty.
#include "unistd.h" #include "unistd.h"
#endif #endif
#include "NXalert.h" #include <nx/NXalert.h>
#include "Agent.h" #include "Agent.h"
#include "Display.h" #include "Display.h"
...@@ -77,8 +77,8 @@ is" without express or implied warranty. ...@@ -77,8 +77,8 @@ is" without express or implied warranty.
#include "Screen.h" #include "Screen.h"
#include "Handlers.h" #include "Handlers.h"
#include "NX.h" #include <nx/NX.h>
#include "NXlib.h" #include <nx/NXlib.h>
#include NXAGENT_ICON_NAME #include NXAGENT_ICON_NAME
#include X2GOAGENT_ICON_NAME #include X2GOAGENT_ICON_NAME
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include "Reconnect.h" #include "Reconnect.h"
#include "GCOps.h" #include "GCOps.h"
#include "NXlib.h" #include <nx/NXlib.h>
#include "mibstorest.h" #include "mibstorest.h"
......
...@@ -58,9 +58,9 @@ ...@@ -58,9 +58,9 @@
#include "Utils.h" #include "Utils.h"
#include "Error.h" #include "Error.h"
#include "NX.h" #include <nx/NX.h>
#include "NXvars.h" #include <nx/NXvars.h>
#include "NXproto.h" #include <nx/NXproto.h>
#include "xfixesproto.h" #include "xfixesproto.h"
#define Window XlibWindow #define Window XlibWindow
...@@ -92,10 +92,10 @@ ...@@ -92,10 +92,10 @@
#include <nx-X11/cursorfont.h> #include <nx-X11/cursorfont.h>
#include "Shadow.h" #include <nx/Shadow.h>
#include "X11/include/Xrandr_nxagent.h" #include "X11/include/Xrandr_nxagent.h"
#include "NXlib.h" #include <nx/NXlib.h>
/* /*
* Set here the required log level. Please note * Set here the required log level. Please note
......
...@@ -50,8 +50,8 @@ is" without express or implied warranty. ...@@ -50,8 +50,8 @@ is" without express or implied warranty.
#include "Args.h" #include "Args.h"
#include "NXlib.h" #include <nx/NXlib.h>
#include "NXalert.h" #include <nx/NXalert.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
......
...@@ -50,7 +50,7 @@ is" without express or implied warranty. ...@@ -50,7 +50,7 @@ is" without express or implied warranty.
#include "Args.h" #include "Args.h"
#include "Screen.h" #include "Screen.h"
#include "NXlib.h" #include <nx/NXlib.h>
/* /*
* Set here the required log level. * Set here the required log level.
......
...@@ -32,8 +32,8 @@ ...@@ -32,8 +32,8 @@
#include "Screen.h" #include "Screen.h"
#include "Millis.h" #include "Millis.h"
#include "NXlib.h" #include <nx/NXlib.h>
#include "Shadow.h" #include <nx/Shadow.h>
/* /*
* Set here the required log level. * Set here the required log level.
......
...@@ -37,8 +37,8 @@ ...@@ -37,8 +37,8 @@
#include "Pixels.h" #include "Pixels.h"
#include "Utils.h" #include "Utils.h"
#include "NXlib.h" #include <nx/NXlib.h>
#include "NXpack.h" #include <nx/NXpack.h>
/* /*
* Set here the required log level. * Set here the required log level.
......
...@@ -133,7 +133,7 @@ OBJS = NXwindow.o \ ...@@ -133,7 +133,7 @@ OBJS = NXwindow.o \
VFBINCLUDES = -I../../fb -I../../mfb -I../../render VFBINCLUDES = -I../../fb -I../../mfb -I../../render
INCLUDES = -I. -I../../../../../nxcomp -I../../../../../nxcompext -I../../../../../nxcompshad \ INCLUDES = -I. \
-I../../../../extras/Mesa/include \ -I../../../../extras/Mesa/include \
-I$(XBUILDINCDIR) \ -I$(XBUILDINCDIR) \
-I../../mi -I../../include -I../../os \ -I../../mi -I../../include -I../../os \
...@@ -144,7 +144,7 @@ INCLUDES = -I. -I../../../../../nxcomp -I../../../../../nxcompext -I../../../../ ...@@ -144,7 +144,7 @@ INCLUDES = -I. -I../../../../../nxcomp -I../../../../../nxcompext -I../../../../
`pkg-config --cflags-only-I libxml-2.0` \ `pkg-config --cflags-only-I libxml-2.0` \
`pkg-config --cflags-only-I pixman-1` `pkg-config --cflags-only-I pixman-1`
#ifdef SunArchitecture #ifdef SunArchitecture
INCLUDES = -I. -I../../../../../nxcomp -I../../../../../nxcompext -I../../../../../nxcompshad \ INCLUDES = -I. \
-I../../../../extras/Mesa/include \ -I../../../../extras/Mesa/include \
-I$(XBUILDINCDIR) \ -I$(XBUILDINCDIR) \
-I/usr/sfw/include \ -I/usr/sfw/include \
......
...@@ -61,8 +61,8 @@ is" without express or implied warranty. ...@@ -61,8 +61,8 @@ is" without express or implied warranty.
#include "Millis.h" #include "Millis.h"
#include "Error.h" #include "Error.h"
#include "NX.h" #include <nx/NX.h>
#include "NXlib.h" #include <nx/NXlib.h>
#include "Reconnect.h" #include "Reconnect.h"
/* /*
* Set here the required log level. * Set here the required log level.
......
...@@ -54,9 +54,9 @@ is" without express or implied warranty. ...@@ -54,9 +54,9 @@ is" without express or implied warranty.
#include "Options.h" #include "Options.h"
#include "Error.h" #include "Error.h"
#include "NXlib.h" #include <nx/NXlib.h>
#include "Shadow.h" #include <nx/Shadow.h>
#ifdef XKB #ifdef XKB
......
...@@ -154,7 +154,7 @@ int ProcInitialConnection(); ...@@ -154,7 +154,7 @@ int ProcInitialConnection();
#include "Reconnect.h" #include "Reconnect.h"
#include "Millis.h" #include "Millis.h"
#include "Font.h" #include "Font.h"
#include "Shadow.h" #include <nx/Shadow.h>
#include "Handlers.h" #include "Handlers.h"
#include "Keyboard.h" #include "Keyboard.h"
......
...@@ -183,7 +183,7 @@ xEvent *xeviexE; ...@@ -183,7 +183,7 @@ xEvent *xeviexE;
#include "dixgrabs.h" #include "dixgrabs.h"
#include "../../dix/dispatch.h" #include "../../dix/dispatch.h"
#include "NXlib.h" #include <nx/NXlib.h>
#include "Events.h" #include "Events.h"
#include "Windows.h" #include "Windows.h"
......
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
#include "Holder.h" #include "Holder.h"
#include "Args.h" #include "Args.h"
#include "NXlib.h" #include <nx/NXlib.h>
#include "NXpack.h" #include <nx/NXpack.h>
RESTYPE RT_NX_PIXMAP; RESTYPE RT_NX_PIXMAP;
......
...@@ -46,7 +46,7 @@ is" without express or implied warranty. ...@@ -46,7 +46,7 @@ is" without express or implied warranty.
#include "Events.h" #include "Events.h"
#include "Options.h" #include "Options.h"
#include "NXlib.h" #include <nx/NXlib.h>
/* /*
* Set here the required log level. * Set here the required log level.
......
...@@ -49,9 +49,9 @@ ...@@ -49,9 +49,9 @@
#include "XKBsrv.h" #include "XKBsrv.h"
#endif #endif
#include "NX.h" #include <nx/NX.h>
#include "NXlib.h" #include <nx/NXlib.h>
#include "NXalert.h" #include <nx/NXalert.h>
/* /*
* Set here the required log level. * Set here the required log level.
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
#include "Pixels.h" #include "Pixels.h"
#include "Handlers.h" #include "Handlers.h"
#include "NXproto.h" #include <nx/NXproto.h>
#define MAX_FORMATS 255 #define MAX_FORMATS 255
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include "Atoms.h" #include "Atoms.h"
#include "Trap.h" #include "Trap.h"
#include "NXlib.h" #include <nx/NXlib.h>
/* /*
* Set here the required log level. * Set here the required log level.
......
...@@ -74,7 +74,7 @@ is" without express or implied warranty. ...@@ -74,7 +74,7 @@ is" without express or implied warranty.
#include "Pointer.h" #include "Pointer.h"
#include "Reconnect.h" #include "Reconnect.h"
#include "Composite.h" #include "Composite.h"
#include "Shadow.h" #include <nx/Shadow.h>
#include "Utils.h" #include "Utils.h"
#include "X11/include/Xrandr_nxagent.h" #include "X11/include/Xrandr_nxagent.h"
...@@ -96,7 +96,7 @@ is" without express or implied warranty. ...@@ -96,7 +96,7 @@ is" without express or implied warranty.
#include "Xatom.h" #include "Xatom.h"
#include "Xproto.h" #include "Xproto.h"
#include "NXlib.h" #include <nx/NXlib.h>
#include "mibstorest.h" #include "mibstorest.h"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "Windows.h" #include "Windows.h"
#include "X11/Xdmcp.h" #include "X11/Xdmcp.h"
#include "NXalert.h" #include <nx/NXalert.h>
#define XDM_TIMEOUT 20000 #define XDM_TIMEOUT 20000
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include "Events.h" #include "Events.h"
#include "GCs.h" #include "GCs.h"
#include "NXlib.h" #include <nx/NXlib.h>
/* /*
......
...@@ -56,8 +56,8 @@ ...@@ -56,8 +56,8 @@
#include "Composite.h" #include "Composite.h"
#include "Events.h" #include "Events.h"
#include "NX.h" #include <nx/NX.h>
#include "NXlib.h" #include <nx/NXlib.h>
#include "Xatom.h" #include "Xatom.h"
......
...@@ -117,7 +117,7 @@ OR PERFORMANCE OF THIS SOFTWARE. ...@@ -117,7 +117,7 @@ OR PERFORMANCE OF THIS SOFTWARE.
#ifdef NX_TRANS_SOCKET #ifdef NX_TRANS_SOCKET
#include "NX.h" #include <nx/NX.h>
#endif #endif
......
...@@ -229,8 +229,8 @@ Bool noXvExtension = FALSE; ...@@ -229,8 +229,8 @@ Bool noXvExtension = FALSE;
#ifdef NX_TRANS_SOCKET #ifdef NX_TRANS_SOCKET
#include "NX.h" #include <nx/NX.h>
#include "NXvars.h" #include <nx/NXvars.h>
#endif #endif
......
...@@ -10,6 +10,6 @@ Version: @VERSION@ ...@@ -10,6 +10,6 @@ Version: @VERSION@
#Requires: libjpeg zlib #Requires: libjpeg zlib
Requires: libpng Requires: libpng
Requires.private: x11 Requires.private: x11
Cflags: -I${includedir} -I${includedir}/nx Cflags: -I${includedir}
Libs: -L${libdir} -lXcomp Libs: -L${libdir} -lXcomp
...@@ -8,6 +8,6 @@ Description: Extension for NX Compression Library ...@@ -8,6 +8,6 @@ Description: Extension for NX Compression Library
Version: @VERSION@ Version: @VERSION@
Requires: nxcomp Requires: nxcomp
Requires.private: x11 Requires.private: x11
Cflags: -I${includedir} -I${includedir}/nx Cflags: -I${includedir}
Libs: -L${libdir} -lXcompext Libs: -L${libdir} -lXcompext
...@@ -8,6 +8,6 @@ Description: Shadow Session Support for NX Compression Library ...@@ -8,6 +8,6 @@ Description: Shadow Session Support for NX Compression Library
Version: @VERSION@ Version: @VERSION@
Requires: nxcomp Requires: nxcomp
Requires.private: x11 Requires.private: x11
Cflags: -I${includedir} -I${includedir}/nx Cflags: -I${includedir}
Libs: -L${libdir} -lXcompshad Libs: -L${libdir} -lXcompshad
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment