# I've seen window managers which couldn't handle aspect ratio hints.
# Uncomment if you have resize problems.
#XVIER_ASPECT	= -DXVIER_WM_ASPECT_BUG

# Some systems don't provide FD_SET #define's. HP 9000 and IBM RS6000
# are handled in xvier.h, but on other systems you can uncomment this.
#NO_FD_SET = -DNO_FD_SET

# If "select" is missing, but you have "poll", try this:
#NO_SELECT = -DNO_SELECT

# And if "getdtablesize" is missing, use the following:
#NO_GETDTABSIZE = -DNO_GETDTABSIZE

#PROGNAME	= $(LIBDIR)$(PATHSEP)xvier_prog
PROGNAME	= /usr/games/lib/xvier_prog
DEFINES		= $(XVIER_ASPECT) $(NO_FD_SET) $(NO_SELECT) \
			$(NO_GETDTABSIZE) -DPROGNAME=\"$(PROGNAME)\"

PROGRAMS	= xvier xvier_prog

SRCS1		= xvier.c
OBJS1		= xvier.o
SRCS2		= vierinit.c vier.c
OBJS2		= vierinit.o vier.o

ComplexProgramTarget_1(xvier, $(XLIB), /**/)
NormalProgramTarget(xvier_prog, $(OBJS2), /**/, /**/, /**/)

InstallProgram(xvier_prog, $(PROGNAME))
