From 809fed64995a36605c7f4ca5c75ed4742f3c3df2 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 8 Apr 2016 13:53:36 +0200 Subject: hw/nxagent/NXmiexpose.c: Shrink file, drop duplicate code that can identically be found in mi/miexpose.c. --- nx-X11/programs/Xserver/mi/Imakefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'nx-X11/programs/Xserver/mi/Imakefile') diff --git a/nx-X11/programs/Xserver/mi/Imakefile b/nx-X11/programs/Xserver/mi/Imakefile index 46ec25e5c..18a04517f 100644 --- a/nx-X11/programs/Xserver/mi/Imakefile +++ b/nx-X11/programs/Xserver/mi/Imakefile @@ -38,6 +38,15 @@ MIINITEXTSRC = miinitext.c MIINITEXTOBJ = miinitext.o #endif +#if (!(defined(NXAgentServer) && NXAgentServer)) +NXAGENT_SKIP_SRCS = \ + miexpose.c \ + $(NULL) +NXAGENT_SKIP_OBJS = \ + miexpose.o \ + $(NULL) +#endif + SRCS = $(CBRT_SRC) \ mivaltree.c \ mipolyseg.c \ @@ -58,7 +67,6 @@ SRCS = $(CBRT_SRC) \ mibitblt.c \ mipolypnt.c \ mipushpxl.c \ - miexpose.c \ miglblt.c \ mizerline.c \ mizerclip.c \ @@ -76,6 +84,7 @@ SRCS = $(CBRT_SRC) \ migc.c \ micmap.c \ mioverlay.c \ + $(NXAGENT_SKIP_SRCS) \ $(NULL) OBJS = $(CBRT_OBJ) \ @@ -98,7 +107,6 @@ OBJS = $(CBRT_OBJ) \ mibitblt.o \ mipolypnt.o \ mipushpxl.o \ - miexpose.o \ miglblt.o \ mizerline.o \ mizerclip.o \ @@ -116,6 +124,7 @@ OBJS = $(CBRT_OBJ) \ migc.o \ micmap.o \ mioverlay.o \ + $(NXAGENT_SKIP_OBJS) \ $(NULL) #if defined(XorgVersion) -- cgit v1.2.3