/*
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/


/* Where to install X-programs? */
XLOCALBIN = /usr/X11R6/bin

/* where to install normal programs */
LOCALBIN = /usr/local/bin

/* Where to install the X man pages? */
XMANDIR = /usr/X11R6/man/man1

/* where to install the normal man pages */
MANDIR = /usr/man/man1

/* where to install the icon */
XICONDIR = /usr/share/icons/

SRCS1=\
xvtx.c \
xvtxlib.c \
xglgraphi.c \
ramstore.c

OBJS1=\ 
xvtx.o \
xvtxlib.o \
xglgraphi.o \
ramstore.o

# dependencies
xvtx.o : xvtx.c xvtx.h display.h
xvtxlib.o : xvtxlib.c keys.h s14font.h txtfont.h xglgraphi.h display.h
xglgraphi.o : xglgraphi.h xglgraphi.c s14font.h txtfont.h display.h
ramstore.o : ramstore.c xvtx.h


PROGRAMS = xvtx-s

all::  $(PROGRAMS)

XLOCAL_LIBRARIES = $(XLIB)
LOCAL_LIBRARIES =

CXXEXTRA_DEFINES = -Wall

NormalProgramTarget(xvtx-s, $(OBJS1), , $(XLOCAL_LIBRARIES), )

install:: 
	InstallProgram(xvtx-s, $(XLOCALBIN))
	cp ./xvtx.xpm $(XICONDIR)

install.man::
	InstallManPage(xvtx-s, $(XMANDIR))

clear::
	$(RM) $(PROGRAMS)
