From e60f281aa5bed47b117f4c001d93da7fa1e1e40d Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 10 Apr 2016 02:45:24 +0200 Subject: hw/nxagent/NXglxext.c: Shrink file, drop duplicate code that can identically be found in GL/glx/glxext.c. --- nx-X11/programs/Xserver/GL/glx/Imakefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'nx-X11/programs/Xserver/GL/glx/Imakefile') diff --git a/nx-X11/programs/Xserver/GL/glx/Imakefile b/nx-X11/programs/Xserver/GL/glx/Imakefile index 5683cf51c..05dfed738 100644 --- a/nx-X11/programs/Xserver/GL/glx/Imakefile +++ b/nx-X11/programs/Xserver/GL/glx/Imakefile @@ -24,11 +24,19 @@ LinkSourceFile(glcontextmodes.h, $(MESASRCDIR)/src/mesa/drivers/dri/common) LinkSourceFile(indirect_size.c, $(MESASRCDIR)/src/glx/x11) LinkSourceFile(indirect_size.h, $(MESASRCDIR)/src/glx/x11) +#if (!(defined(NXAgentServer) && NXAgentServer)) +NXAGENT_SKIP_SRCS = \ + glxext.c \ + $(NULL) +NXAGENT_SKIP_OBJS = \ + glxext.o \ + $(NULL) +#endif + SRCS = global.c \ glxbuf.c \ glxcmds.c \ glxcmdsswap.c \ - glxext.c \ glxfb.c \ glximports.c \ glxmem.c \ @@ -56,13 +64,13 @@ LinkSourceFile(indirect_size.h, $(MESASRCDIR)/src/glx/x11) glcontextmodes. c \ indirect_size.c \ $(MSRCS) \ + $(NXAGENT_SKIP_SRCS) \ $(NULL) OBJS = global.o \ glxbuf.o \ glxcmds.o \ glxcmdsswap.o \ - glxext.o \ glxfb.o \ glximports.o \ glxmem.o \ @@ -90,6 +98,7 @@ LinkSourceFile(indirect_size.h, $(MESASRCDIR)/src/glx/x11) glcontextmodes.o \ indirect_size.o \ $(MOBJS) \ + $(NXAGENT_SKIP_OBJS) \ $(NULL) INCLUDES = -I$(SERVERSRC)/GL/glx \ -- cgit v1.2.3