case $CONFIG in
'')
	if test ! -f config.sh; then
		(echo "Can't find config.sh."; exit 1)
	fi 2>/dev/null
	. ./config.sh
	;;
esac
case "$0" in
*/*) cd `expr X$0 : 'X\(.*\)/'` ;;
esac
echo "Extracting "."/Makefile (with variable substitutions)"
$spitshell >Makefile <<!GROK!THIS!
########################################################################
# Makefile generated from Makefile.SH on $DATE

SHELL = /bin/sh
AR = ar rc
CC = $cc
CTAGS = ctags
INCLUDE = -I$rt_include
CFLAGS = $optimize $ccflags $large `./vision2-gtk-config --include_path` \$(INCLUDE) -I .
SHAREDLINK = $sharedlink
LDSHAREDFLAGS = $ldsharedflags
LDFLAGS = $ldflags
LN = $ln
MAKE = $make
MKDEP = $mkdep \$(DPFLAGS) --
RANLIB = $ranlib
RM = $rm -f
MV = $mv
MKDIR = $mkdir -p
PLATFORM = $ISE_PLATFORM

########################################################################
# New suffixes and associated building rules -- edit with care

.c.o:
	\$(CC) -c \$(CFLAGS) \$<

!GROK!THIS!
$spitshell >>Makefile <<'!NO!SUBS!'

OBJECTS = gtk_eiffel.o 

VISION_OBJECTS = io_watcher.o ev_any_imp.o ev_c_util.o ev_gtk_callback_marshal.o 

ALL_OBJECTS = $(OBJECTS)

all: $(ALL_OBJECTS)
	$(MKDIR) ../../../spec/$(PLATFORM)/lib
	$(MV) $? ../../../spec/$(PLATFORM)/lib
	$(MAKE) clobber

gtk_eiffel.o: $(VISION_OBJECTS)
	$(LD) $(LDFLAGS) -r -o $@ $(VISION_OBJECTS)

########################################################################
# Common rules for all Makefiles -- do not edit

emptyrule::

clean: local_clean
realclean: local_realclean
clobber: local_clobber 

local_clean::
	$(RM) core *~ *.o *.so *.a

local_realclean:: local_clean

local_clobber:: local_realclean
	$(RM) Makefile config.sh

Makefile: Makefile.SH
	/bin/sh Makefile.SH

tags::
	$(CTAGS) -w *.[ch]
	$(CTAGS) -xw *.[ch] > tags

local_clobber::
	$(RM) tags

########################################################################
# Dependencies generated by make depend
# DO NOT DELETE THIS LINE -- make depend relies on it

# Put nothing here or make depend will gobble it up
.FORCE_DEPEND::
	@echo "You must run 'make depend' in $(TOP) first."; exit 1
!NO!SUBS!
chmod 644 Makefile
$eunicefix Makefile

