#define SiteExtensionDefines VNCExtDefines
#define SiteExtensionDirs vnc
-#define VncExtLibs $(TOP)/../rfb/librfb.a \
- $(TOP)/../Xregion/libXregion.a \
- $(TOP)/../network/libnetwork.a \
- $(TOP)/../rdr/librdr.a \
- $(TOP)/../jpeg/build/libjpeg.a
+#define VncUnixDir $(TOP)/..
+#define VncCommonDir VncUnixDir/../common
+#define VncExtLibs VncCommonDir/rfb/librfb.a \
+ VncCommonDir/Xregion/libXregion.a \
+ VncCommonDir/network/libnetwork.a \
+ VncCommonDir/rdr/librdr.a \
+ VncCommonDir/jpeg/build/libjpeg.a
#define SiteExtensionLibs vnc/LibraryTargetName(vnc) VncExtLibs
XCOMM CDEBUGFLAGS = -g
XCOMM CXXDEBUGFLAGS = -g
- VNCTOP = $(TOP)/..
- VNCINCLUDE = -I$(VNCTOP) -I$(VNCTOP)/vncconfig_unix
+ VNCUNIXDIR = VncUnixDir
+ VNCCOMMONDIR = VncCommonDir
+ VNCINCLUDE = -I$(VNCCOMMONDIR) -I$(VNCUNIXDIR)/vncconfig
#define CplusplusSource
- VNCTOP = $(TOP)/..
+ VNCCOMMONDIR = VncCommonDir
+ VNCINCLUDE = -I$(VNCCOMMONDIR)
VNCLIBS = VncExtLibs
- VNCINCLUDE = -I$(VNCTOP) -I$(VNCTOP)/vncconfig_unix
#if defined(XFree86Version) && XFree86Version < 4000
VNCDEFINES = -DNO_INIT_BACKING_STORE
- VNCTOP = $(TOP)/..
+ VNCUNIXDIR = VncUnixDir
+ VNCCOMMONDIR = VncCommonDir
VNCLIBS = VncExtLibs
- VNCINCLUDE = -I$(VNCTOP) -I$(VNCTOP)/vncconfig_unix
+ VNCINCLUDE = -I$(VNCCOMMONDIR) -I$(VNCUNIXDIR)/vncconfig
#define CplusplusSource