
#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.
VNCAUTH_LIB = ../libvncauth/libvncauth.a

DEPLIBS = XawClientDepLibs $(VNCAUTH_LIB)
LOCAL_LIBRARIES = XawClientLibs $(VNCAUTH_LIB)
CCOPTIONS+=	-DINET6

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

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

ComplexProgramTarget(vncviewer)
