srcdir       = @srcdir@
top_builddir = @top_builddir@
top_srcdir   = @top_srcdir@

SCM_CATEGORY = binary

include ../Makefile.ext

LIBFILES = binary--io.$(SOEXT)
SCMFILES = io.scm

GENERATED = Makefile
XCLEANFILES = binarylib.c

OBJECTS = binary.$(OBJEXT) binarylib.$(OBJEXT)

all : $(LIBFILES)

binary--io.$(SOEXT) : $(OBJECTS)
	$(MODLINK) binary--io.$(SOEXT) $(OBJECTS) $(EXT_LIBGAUCHE) $(LIBS)

binarylib.c : binarylib.stub

install : install-std

