#ifndef XCOMM
#define XCOMM #
#endif

XCOMM Top level Makefile for TransFig

XCOMM TransFig: Facility for Translating Fig code
XCOMM Copyright (c) 1985-1988 Supoj Sutantavibul
XCOMM Copyright (c) 1991 Micah Beck
XCOMM Copyright (c) 1994-2000 Brian V. Smith

XCOMM THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
XCOMM INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
XCOMM EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
XCOMM CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
XCOMM DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
XCOMM TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
XCOMM PERFORMANCE OF THIS SOFTWARE.
XCOMM
XCOMM Any party obtaining a copy of these files 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.

XCOMM to make fig2dev:         type "xmkmf", "make Makefiles" then "make"

#define IHaveSubdirs
#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'

DEPLIBS =
SUBDIRS = fig2dev transfig
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))

manual: 

transfig.man:: doc/transfig.1
	-$(LN) ../doc/transfig.1 transfig.man
	cd doc/manual; $(MAKE); latex manual; latex manual

clean::
	cd doc/manual; $(MAKE) clean
