#include <xerion.rules>
#include <xerion.cf>

 LIB = widgets
HDRS = Canvas.h CanvasP.h MenuPane.h MenuPaneP.h Network.h \
	NetworkP.h Plot.h PlotP.h RowColumn.h RowColumnP.h \
	Selection.h SelectionP.h Graph.h GraphP.h
OBJS = Canvas.o MenuPane.o Network.o Plot.o RowColumn.o \
	Selection.o Graph.o
SRCS = $(OBJS:.o=.c)

/* make the library */
NormalLibraryTarget($(LIB)$(LIBEXT),$(OBJS))
BuildLibrary(all,$(LIB)$(LIBEXT),..,./$(LIB))

/* install library and headers */
InstallLibrary($(LIB)$(LIBEXT),$(LIB_DEST))
InstallMultipleDestFlags(install,$(HDRS),$(INC_DEST)/xerion,-m 0644) 

/* includes necessary for the build, (softlinked somewhere) */
BuildIncludes($(HDRS),xerion,..)

DependTarget()

