XCOMM
XCOMM Imakefile for flx: Extensions to xforms
XCOMM

#include "../xfpovray.cf"

XCOMM Directory for flx library (libflx.so.x)
BINDIR = $(XFROOTDIR)/lib


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

SOREV = 0.1
LIBNAME = libflx.so.$(SOREV)




#define IHaveSubdirs
#define PassCDebugFlags
SUBDIRS = flx_filebox flx_help_dialog flx_return_button flx_show_dialog flx_util
	
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))


SRCS =  $(TOP)/flx_filebox/flx_filebox.c \
        $(TOP)/flx_help_dialog/flx_help_dialog.c \
        $(TOP)/flx_return_button/flx_return_button.c \
        $(TOP)/flx_show_dialog/flx_show_dialog.c \
        $(TOP)/flx_show_dialog/flx_show_input.c \
        $(TOP)/flx_util/flx_sort_browser.c \
        $(TOP)/flx_util/fnmatch.c \
        $(TOP)/flx_util/flx_scale_form.c \
        $(TOP)/flx_util/flx_justify_input.c

OBJS =  $(TOP)/flx_filebox/flx_filebox.o \
        $(TOP)/flx_help_dialog/flx_help_dialog.o \
        $(TOP)/flx_return_button/flx_return_button.o \
        $(TOP)/flx_show_dialog/flx_show_dialog.o \
        $(TOP)/flx_show_dialog/flx_show_input.o \
        $(TOP)/flx_util/flx_sort_browser.o \
        $(TOP)/flx_util/fnmatch.o \
        $(TOP)/flx_util/flx_scale_form.o \
        $(TOP)/flx_util/flx_justify_input.o

INCS =  -I$(TOP) \
        -I$(TOP)/flx_filebox \
        -I$(TOP)/flx_help_dialog \
        -I$(TOP)/flx_return_button \
        -I$(TOP)/flx_show_dialog \
        -I$(TOP)/flx_util

EXTRA_LIBRARIES = -shared -L$(XFORMS_LIBDIR) -lforms -lm
 EXTRA_INCLUDES = -I$(XFORMS_INCDIR) $(INCS)
  EXTRA_DEFINES =
         LDLIBS = $(EXTRA_LIBRARIES) $(XLIB)

ComplexProgramTarget($(LIBNAME))

NormalLibraryObjectRule()
NormalLibraryTarget(flx,$(OBJS))
InstallLibrary(flx,$(BINDIR))
DependTarget()

clean::
	$(RM) $(OBJS)

distclean::
	$(RM) $(OBJS)
	$(RM) $(TOP)/flx_filebox/Makefile
	$(RM) $(TOP)/flx_help_dialog/Makefile
	$(RM) $(TOP)/flx_return_button/Makefile
	$(RM) $(TOP)/flx_show_dialog/Makefile
	$(RM) $(TOP)/flx_util/Makefile
