XCOMM (FIXME) Use internal copy of zlib library?

#ifdef SunArchitecture
CC = gcc
CCOPTIONS =
CDEBUGFLAGS = -O2
#endif

XCOMM Shared memory support works OK on x86 linux, not tested elsewhere but
XCOMM seems to cause problems on Digital Unix.

#if defined(i386Architecture) && defined(LinuxArchitecture)
DEFINES = -DMITSHM
#endif

INCLUDES = -I../include -I. -I/usr/include
VNCAUTH_LIB = ../libvncauth/libvncauth.a
ZLIB_LIB = /usr/lib/libz.a
JPEG_LIB = /usr/lib/libjpeg.a

DEPLIBS = XawClientDepLibs $(VNCAUTH_LIB) $(ZLIB_LIB) $(JPEG_LIB)
LOCAL_LIBRARIES = XawClientLibs $(VNCAUTH_LIB) $(ZLIB_LIB) $(JPEG_LIB)

SRCS = \
  argsresources.c \
  colour.c \
  cursor.c \
  desktop.c \
  dialogs.c \
  fullscreen.c \
  listen.c \
  misc.c \
  popup.c \
  rfbproto.c \
  selection.c \
  shm.c \
  sockets.c \
  tunnel.c \
  vncviewer.c

OBJS = $(SRCS:.c=.o)

ComplexProgramTargetNoMan(vncviewer)
