
# This directory can be used to recreate the automatically-generated
# wrappers for the S-Lang GIF module, using SLIRP.  You don't need
# SLIRP merely to build the GIF module, but to recreate the auto-
# generated portions in this directory you must have it installed.
#
# SLIRP 1.9.9 or later is required.

SHELL = /bin/sh
RM = \rm -f

HDR = ../gifsicle/config.h ../gifsicle/include/lcdfgif/gif.h ../gifxtns.h
WRAPPERS = gif_glue.c
SLIRP = slirp
SLIRP_CMD = $(SLIRP) $(DEBUG) -m gif -noinit

$(WRAPPERS): recent slirprc Makefile $(HDR) handcoded.c
	$(SLIRP_CMD) $(HDR)

clean:
	$(RM) *~ $(WRAPPERS) ignored.txt

recent:
	$(SHELL) checkver $(SLIRP)
