#
# Makefile.in for Gauche-sdl/src/image
# $Id: Makefile.in,v 1.2 2004/11/10 18:11:59 mikiso Exp $
#
# prelude ---------------------------------------------
# These are set by configure
# NB: cc and various flags must match the ones used to compile Gauche,
# so the make invocator shouldn't casually override them.
CC =
CFLAGS = -DPACKAGE_NAME=\"Gauche-sdl\" -DPACKAGE_TARNAME=\"gauche-sdl\" -DPACKAGE_VERSION=\"0.5.1\" -DPACKAGE_STRING=\"Gauche-sdl\ 0.5.1\" -DPACKAGE_BUGREPORT=\"mvess@michaelvess.com\" -DGAUCHE_VERSION=\"\" -fno-common $(OPTFLAGS) -I/include/SDL -I/include -D_GNU_SOURCE=1 -D_REENTRANT
LDFLAGS =
OBJEXT =
SOEXT =
OLIBS =
LIBS = -L/lib -lSDL -pthread
INSTALL = /usr/bin/install -c -o root -g wheel
GOSH =
GAUCHE_CONFIG =
INSTALL_TYPE = sys
HEADER_INSTALL_DIR = `$(GAUCHE_CONFIG) --$(INSTALL_TYPE)incdir`
SCM_INSTALL_DIR = `$(GAUCHE_CONFIG) --$(INSTALL_TYPE)libdir`
ARCH_INSTALL_DIR = `$(GAUCHE_CONFIG) --$(INSTALL_TYPE)archdir`
# build -----------------------------------------------
ARCHFILES = gauche-sdl-image.$(SOEXT)
SCMFILES =
HEADERS =
TARGET = gauche-sdl-image.$(SOEXT)
SDL_OBJS = gauche-sdl-image.$(OBJEXT) sdl-image_head.$(OBJEXT) \
sdl-image_tail.$(OBJEXT) sdl-image-lib.$(OBJEXT)
OBJS = $(SDL_OBJS)
CONFIG_GENERATED = Makefile config.cache config.log config.status \
autom4te.cache sdl-image-lib.c
all : $(TARGET)
gauche-sdl-image.$(SOEXT) : $(SDL_OBJS)
$(CC) $(LDFLAGS) gauche-sdl-image.$(SOEXT) $(SDL_OBJS) $(LIBS)
sdl-image-lib.c : sdl-image-lib.stub
$(GOSH) genstub sdl-image-lib.stub
test : all
@rm -f test.log
$(GOSH) -I. test.scm > test.log
install : all
@for f in $(HEADERS) _end; do \
if test $$f != _end; then \
$(INSTALL) -m 444 $$f $(HEADER_INSTALL_DIR); \
fi; \
done
@for f in $(SCMFILES) _end; do \
if test $$f != _end; then \
$(INSTALL) -m 444 $$f $(SCM_INSTALL_DIR); \
fi; \
done
@for f in $(ARCHFILES) _end; do \
if test $$f != _end; then \
$(INSTALL) -m 555 $$f $(ARCH_INSTALL_DIR); \
fi; \
done
clean :
rm -rf core $(TARGET) $(OBJS) *~ test.log test.raw so_locations
distclean : clean
rm -rf $(CONFIG_GENERATED)
maintainer-clean : clean
rm -rf $(CONFIG_GENERATED) configure
syntax highlighted by Code2HTML, v. 0.9.1