/*****************************************************************************

                      Imakefile for FWF Support Code

 *****************************************************************************/

#include "../../FWF.tmpl"

#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'

SRCS = converters.c text.c bindings.c
OBJS = converters.o text.o bindings.o
INCS = SupportCode.h
MANS = SupportCode.man

AllTarget(first objs archive build last)
AddToLibraryTarget(archive,$(FWF_LIBDIR),$(FWF_LIBNAME),$(OBJS))
ObjectRuleWithFlags(-I$(FWF_INCBASE) -I$(XPM_INCDIR) $(CFLAGS))

RequireThisFileForInit($(FWF_INCDIR)/SupportCode.h)
FileCopyWhenNeeded(.,SupportCode.h,$(FWF_INCDIR),SupportCode.h)
InstallMultiple($(INCS),$(FWF_INSTALL_INCDIR))

first:: $(INCS)

objs: $(OBJS)

build:

last: $(MANS)
