aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/dix
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/dix')
-rw-r--r--nx-X11/programs/Xserver/dix/Imakefile14
-rw-r--r--nx-X11/programs/Xserver/dix/extension.c4
2 files changed, 14 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/dix/Imakefile b/nx-X11/programs/Xserver/dix/Imakefile
index 011641279..cc5712126 100644
--- a/nx-X11/programs/Xserver/dix/Imakefile
+++ b/nx-X11/programs/Xserver/dix/Imakefile
@@ -13,6 +13,16 @@ FFS_SRC = ffs.c
FFS_OBJ = ffs.o
#endif
+#if (!(defined(NXAgentServer) && NXAgentServer))
+NXAGENT_SKIP_SRCS = \
+ extension.c \
+ $(NULL)
+NXAGENT_SKIP_OBJS = \
+ extension.o \
+ $(NULL)
+#endif
+
+
SRCS = \
atom.c \
colormap.c \
@@ -21,7 +31,6 @@ SRCS = \
dispatch.c \
dixutils.c \
events.c \
- extension.c \
gc.c \
globals.c \
glyphcurs.c \
@@ -38,6 +47,7 @@ SRCS = \
dixfonts.c \
privates.c \
pixmap.c \
+ $(NXAGENT_SKIP_SRCS) \
$(FFS_SRC) \
$(NULL)
@@ -49,7 +59,6 @@ OBJS = \
dispatch.o \
dixutils.o \
events.o \
- extension.o \
gc.o \
globals.o \
glyphcurs.o \
@@ -66,6 +75,7 @@ OBJS = \
dixfonts.o \
privates.o \
pixmap.o \
+ $(NXAGENT_SKIP_OBJS) \
$(FFS_OBJ) \
$(NULL)
diff --git a/nx-X11/programs/Xserver/dix/extension.c b/nx-X11/programs/Xserver/dix/extension.c
index bc106d83c..fe51f8916 100644
--- a/nx-X11/programs/Xserver/dix/extension.c
+++ b/nx-X11/programs/Xserver/dix/extension.c
@@ -287,7 +287,7 @@ CloseDownExtensions()
}
}
-
+#ifndef NXAGENT_SERVER
int
ProcQueryExtension(ClientPtr client)
{
@@ -392,7 +392,7 @@ ProcListExtensions(ClientPtr client)
}
return(client->noClientException);
}
-
+#endif
ExtensionLookupProc
LookupProc(char *name, GCPtr pGC)