#ifndef XCOMM
#define XCOMM #
#endif

XCOMM	TransFig : Fig code translation Makefile creation program
XCOMM
XCOMM	Copyright (c) 1994 Micah Beck
XCOMM
XCOMM The X Consortium, and any party obtaining a copy of these files from
XCOMM the X Consortium, directly or indirectly, is granted, free of charge, a
XCOMM full and unrestricted irrevocable, world-wide, paid up, royalty-free,
XCOMM nonexclusive right and license to deal in this software and
XCOMM documentation files (the "Software"), including without limitation the
XCOMM rights to use, copy, modify, merge, publish, distribute, sublicense,
XCOMM and/or sell copies of the Software, and to permit persons who receive
XCOMM copies from any such party to do so, with the only requirement being
XCOMM that this copyright notice remain intact.  This license includes without
XCOMM limitation a license to do the foregoing actions under any patents of
XCOMM the party supplying this software to the X Consortium.

DEPLIBS =
INCLUDES = -I..

SRCS = transfig.c txfile.c mkfile.c sys.c
OBJS = transfig.o txfile.o mkfile.o sys.o

ComplexProgramTarget(transfig)

all:: transfig.man fig2dev.man fig2ps2tex.man pic2tpic.man

transfig.man: ../doc/transfig.1
	ln -s ../doc/transfig.1 transfig.man

InstallManPage(fig2ps2tex,$(MANDIR))
InstallManPage(pic2tpic,$(MANDIR))

fig2dev.man: ../doc/fig2dev.1
	ln -s ../doc/fig2dev.1 fig2dev.man

fig2ps2tex.man: ../doc/fig2ps2tex.1
	ln -s ../doc/fig2ps2tex.1 fig2ps2tex.man

pic2tpic.man: ../doc/pic2tpic.1
	ln -s ../doc/pic2tpic.1 pic2tpic.man

clean::
	rm -f *.man
