XCOMM
XCOMM Imakefile for xfpovray
XCOMM


#include "../xfpovray.cf"


XCOMM * * * No need to edit below here * * *

XCOMM Directories for xfpovray, help files, and icons
   BINDIR = $(XFROOTDIR)/bin
 XFLIBDIR = $(XFROOTDIR)/lib/xfpovray
XFHELPDIR = $(XFLIBDIR)/help

SRCS =  $(TOP)/build_pages.c \
	$(TOP)/callbacks.c \
	$(TOP)/show_image.c \
	$(TOP)/xfpovray.c \
	$(TOP)/tips.c \
	$(TOP)/state.c \
	$(TOP)/config.c \
	$(TOP)/run_program.c \
	$(TOP)/util.c

OBJS =  $(TOP)/build_pages.o \
	$(TOP)/callbacks.o \
	$(TOP)/show_image.o \
	$(TOP)/xfpovray.o \
	$(TOP)/tips.o \
	$(TOP)/state.o \
	$(TOP)/config.o \
	$(TOP)/run_program.o \
	$(TOP)/util.o

XFHELP = $(TOP)/../help/Appendices \
	$(TOP)/../help/Chapter_1 \
	$(TOP)/../help/Chapter_2 \
	$(TOP)/../help/Chapter_3 \
	$(TOP)/../help/Chapter_4 \
	$(TOP)/../help/Chapter_5 \
	$(TOP)/../help/Chapter_6 \
	$(TOP)/../help/Chapter_7 \
	$(TOP)/../help/Include_Preview \
	$(TOP)/../help/Introduction \
	$(TOP)/../help/Options \
	$(TOP)/../help/Table_Of_Contents \
	$(TOP)/../help/Templates \
	$(TOP)/../help/Config_File \
	$(TOP)/../help/help_topics
			
EXTRA_LIBRARIES = -L$(XFORMS_LIBDIR) ../flx/libflx.a -lforms -lm
 EXTRA_INCLUDES = -I$(XFORMS_INCDIR) -I../flx
  EXTRA_DEFINES = -DHELP_DIR=\"$(XFHELPDIR)\"
         LDLIBS = $(EXTRA_LIBRARIES) $(XLIB)

ComplexProgramTarget(xfpovray)
InstallMultipleDestFlags(install,$(XFHELP),$(XFHELPDIR),$(INSTDATFLAGS))

clean::
	$(RM) $(OBJS)

distclean::
	$(RM) $(OBJS)
