/* 
 * Copyright 1993, 1994 Liverpool University Computer Science Department
 *
 * Permission to use, copy, modify, and distribute this software and its
 * documentation for any purpose and without fee is hereby granted, provided 
 * that the above copyright notice appear in all copies and that both that 
 * copyright notice and this permission notice appear in supporting 
 * documentation, and that the name of L.U.C.S. not be used in advertising
 * or publicity pertaining to distribution of the software without specific, 
 * written prior permission. L.U.C.S. makes no representations about the 
 * suitability of this software for any purpose.  It is provided "as is"
 * without express or implied warranty.
 *
 */

#include "XTar.tmpl"

#define IHaveSubdirs
#define	PassCDebugFlags

SUBDIRS = common Xbr

SYS_LIBRARIES = $(XBRLIB) $(COMMONLIB) $(XMLIB) $(XTOOLLIB) $(XLIB) -lm

INCLUDES = $(COMMONINC) $(XBRINC) $(XMINC)

SRCS = about.c help.c xtar.c
OBJS = $(SRCS:.c=.o)

MakeSubdirs($(SUBDIRS))
ComplexProgramTarget(xtar)
MakeDirectories(install,$(LIBDIR)/xtar)
InstallNonExec(xtar.doc, $(LIBDIR)/xtar)
InstallAppDefaults(XTar)
