Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

423 lines (322 sloc) 11.046 kB
# makefile for Gambit-C bin directory.
# Copyright (c) 1994-2012 by Marc Feeley, All Rights Reserved.
herefromroot = bin
rootfromhere = ..
SUBDIRS =
PACKAGE_SHORTNAME = @PACKAGE_SHORTNAME@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
@SET_MAKE@
srcdir = @srcdir@
VPATH = @srcdir@
srcdirpfx = @srcdirpfx@
C_COMPILER = @C_COMPILER_MF@
C_PREPROC = @C_PREPROC_MF@
FLAGS_OBJ = @FLAGS_OBJ_MF@
FLAGS_DYN = @FLAGS_DYN_MF@
FLAGS_LIB = @FLAGS_LIB_MF@
FLAGS_EXE = @FLAGS_EXE_MF@
DEFS = @DEFS@
LIBS = @LIBS@
GAMBCLIB_DEFS = @GAMBCLIB_DEFS_MF@
LIB_PREFIX = @LIB_PREFIX@
LIB_EXTENSION = @LIB_EXTENSION@
GAMBCLIB = @GAMBCLIB@
GAMBCGSCLIB = @GAMBCGSCLIB@
GAMBCGSILIB = @GAMBCGSILIB@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_LIB = @INSTALL_LIB@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
LN_S = @LN_S@
RANLIB = @RANLIB@
RC = @RC@
GIT = @GIT@
HG = @HG@
prefix = @prefix@
exec_prefix = @exec_prefix@
includedir = @includedir@
libdir = @libdir@
bindir = @bindir@
docdir = @docdir@
infodir = @infodir@
emacsdir = @emacsdir@
libexecdir = @libexecdir@
datarootdir = @datarootdir@
datadir = @datadir@
htmldir = @htmldir@
dvidir = @dvidir@
pdfdir = @pdfdir@
psdir = @psdir@
localedir = @localedir@
mandir = @mandir@
.SUFFIXES:
GSI_EXECUTABLE = gsi@exe@
GSC_EXECUTABLE = gsc@exe@
GSI_EXECUTABLE_INSTALLED = @ENABLE_INTERPRETER_NAME@@exe@
GSC_EXECUTABLE_INSTALLED = @ENABLE_COMPILER_NAME@@exe@
RCFILES = makefile.in \
gambc-cc.unix.in gambc-cc.bat.windows.in \
gambc-doc.unix.in gambc-doc.bat.windows.in
GENDISTFILES =
DISTFILES = $(RCFILES) $(GENDISTFILES)
INSTFILES_BIN_PROG = gambc-cc@bat@ gambc-doc@bat@
INSTFILES_BIN_LINK_GSI = six@exe@ gsi-script@bat@ six-script@bat@ \
scheme-srfi-0@bat@ scheme-r5rs@bat@ scheme-r4rs@bat@ scheme-ieee-1178-1990@bat@
INSTFILES_BIN_LINK_GSC = gsc-script@bat@
INSTFILES_BIN_LINK = $(INSTFILES_BIN_LINK_GSI) $(INSTFILES_BIN_LINK_GSC)
INSTFILES_BIN = $(INSTFILES_BIN_PROG) $(INSTFILES_BIN_LINK)
all:
all-pre:
all-post: gambc-cc@bat@ gambc-doc@bat@ six@exe@ gsi-script@bat@ gsc-script@bat@ six-script@bat@ scheme-srfi-0@bat@ scheme-r5rs@bat@ scheme-r4rs@bat@ scheme-ieee-1178-1990@bat@
gambc-cc@bat@: makefile gambc-cc.unix gambc-cc.bat.windows
rm -f gambc-cc@bat@
if test "@bat@" = ""; then \
cp gambc-cc.unix gambc-cc@bat@; \
chmod +x gambc-cc@bat@; \
else \
cp gambc-cc.bat.windows gambc-cc@bat@; \
fi
gambc-doc@bat@: makefile gambc-doc.unix gambc-doc.bat.windows
rm -f gambc-doc@bat@
if test "@bat@" = ""; then \
cp gambc-doc.unix gambc-doc@bat@; \
chmod +x gambc-doc@bat@; \
else \
cp gambc-doc.bat.windows gambc-doc@bat@; \
fi
six@exe@: makefile
rm -f six@exe@ six@exe@.lnk
if test "@bat@" = ""; then \
$(LN_S) $(rootfromhere)/gsi/$(GSI_EXECUTABLE) six@exe@; \
else \
cp $(rootfromhere)/gsi/$(GSI_EXECUTABLE) six@exe@; \
fi
gsi-script@bat@: makefile
rm -f gsi-script@bat@ gsi-script@bat@.lnk
if test "@bat@" = ""; then \
$(LN_S) $(rootfromhere)/gsi/$(GSI_EXECUTABLE) gsi-script@bat@; \
else \
echo "@gsi %*" > gsi-script@bat@; \
fi
gsc-script@bat@: makefile
rm -f gsc-script@bat@ gsc-script@bat@.lnk
if test "@bat@" = ""; then \
$(LN_S) $(rootfromhere)/gsc/$(GSC_EXECUTABLE) gsc-script@bat@; \
else \
echo "@gsc %*" > gsc-script@bat@; \
fi
six-script@bat@: makefile
rm -f six-script@bat@ six-script@bat@.lnk
if test "@bat@" = ""; then \
$(LN_S) $(rootfromhere)/gsi/$(GSI_EXECUTABLE) six-script@bat@; \
else \
echo "@gsi %*" > six-script@bat@; \
fi
scheme-srfi-0@bat@: makefile
rm -f scheme-srfi-0@bat@ scheme-srfi-0@bat@.lnk
if test "@bat@" = ""; then \
$(LN_S) $(rootfromhere)/gsi/$(GSI_EXECUTABLE) scheme-srfi-0@bat@; \
else \
echo "@gsi %*" > scheme-srfi-0@bat@; \
fi
scheme-r5rs@bat@: makefile
rm -f scheme-r5rs@bat@ scheme-r5rs@bat@.lnk
if test "@bat@" = ""; then \
$(LN_S) $(rootfromhere)/gsi/$(GSI_EXECUTABLE) scheme-r5rs@bat@; \
else \
echo "@gsi %*" > scheme-r5rs@bat@; \
fi
scheme-r4rs@bat@: makefile
rm -f scheme-r4rs@bat@ scheme-r4rs@bat@.lnk
if test "@bat@" = ""; then \
$(LN_S) $(rootfromhere)/gsi/$(GSI_EXECUTABLE) scheme-r4rs@bat@; \
else \
echo "@gsi %*" > scheme-r4rs@bat@; \
fi
scheme-ieee-1178-1990@bat@: makefile
rm -f scheme-ieee-1178-1990@bat@ scheme-ieee-1178-1990@bat@.lnk
if test "@bat@" = ""; then \
$(LN_S) $(rootfromhere)/gsi/$(GSI_EXECUTABLE) scheme-ieee-1178-1990@bat@; \
else \
echo "@gsi %*" > scheme-ieee-1178-1990@bat@; \
fi
bootstrap-pre:
bootstrap-post:
install-pre:
install-post: all
c_bindir=$(DESTDIR)$(prefix)/bin; \
i_bindir=$(DESTDIR)$(bindir); \
t_bindir=$$i_bindir; \
$(srcdirpfx)$(rootfromhere)/mkidirs $$i_bindir; \
if test "@ENABLE_SYMLINKS@" = "yes"; then \
$(srcdirpfx)$(rootfromhere)/mkidirs $$c_bindir; \
t_bindir=$$c_bindir; \
fi; \
for file in $(INSTFILES_BIN_LINK); do \
rm -f $$t_bindir/$$file $$t_bindir/$$file.lnk; \
done; \
for file in $(INSTFILES_BIN_PROG); do \
$(INSTALL_PROGRAM) $$file $$t_bindir/$$file; \
done; \
if test "@bat@" = ""; then \
for file in $(INSTFILES_BIN_LINK_GSI); do \
(cd $$t_bindir && $(LN_S) $(GSI_EXECUTABLE_INSTALLED) $$file); \
done; \
for file in $(INSTFILES_BIN_LINK_GSC); do \
(cd $$t_bindir && $(LN_S) $(GSC_EXECUTABLE_INSTALLED) $$file); \
done; \
else \
for file in $(INSTFILES_BIN_LINK); do \
$(INSTALL_PROGRAM) $$file $$t_bindir/$$file; \
done; \
fi; \
if test "$$t_bindir" != "$$i_bindir"; then \
r_bindir=`$(rootfromhere)/relpath "$$t_bindir" "$$i_bindir" @ENABLE_MULTIPLE_VERSIONS@`; \
for file in $(INSTFILES_BIN_LINK); do \
rm -f $$i_bindir/$$file $$i_bindir/$$file.lnk; \
done; \
for file in $(INSTFILES_BIN); do \
(cd $$i_bindir && $(LN_S) $$r_bindir$$file $$file); \
done; \
fi
uninstall-pre:
uninstall-post:
c_bindir=$(DESTDIR)$(prefix)/bin; \
i_bindir=$(DESTDIR)$(bindir); \
t_bindir=$$i_bindir; \
$(srcdirpfx)$(rootfromhere)/mkidirs $$i_bindir; \
if test "@ENABLE_SYMLINKS@" = "yes"; then \
$(srcdirpfx)$(rootfromhere)/mkidirs $$c_bindir; \
t_bindir=$$c_bindir; \
fi; \
for file in $(INSTFILES_BIN_LINK); do \
rm -f $$t_bindir/$$file $$t_bindir/$$file.lnk; \
done; \
for file in $(INSTFILES_BIN_PROG); do \
rm -f $$t_bindir/$$file; \
done; \
if test "$$t_bindir" != "$$i_bindir"; then \
for file in $(INSTFILES_BIN_LINK); do \
rm -f $$i_bindir/$$file $$i_bindir/$$file.lnk; \
done; \
for file in $(INSTFILES_BIN_PROG); do \
rm -f $$i_bindir/$$file; \
done; \
fi; \
rmdir $$t_bindir 2> /dev/null; \
if test "$$t_bindir" != "$$i_bindir"; then \
rmdir $$i_bindir 2> /dev/null; \
fi
select-gen-for-commit-pre:
select-gen-for-commit-post:
deselect-gen-for-commit-pre:
deselect-gen-for-commit-post:
mostlyclean-pre:
mostlyclean-post:
clean-pre: mostlyclean-pre
clean-post: mostlyclean-post
rm -f gambc-cc@bat@ \
gambc-doc@bat@ \
six@exe@ six@exe@.lnk \
gsi-script@bat@ \
gsi-script@bat@.lnk \
gsc-script@bat@ \
gsc-script@bat@.lnk \
six-script@bat@ \
six-script@bat@.lnk \
scheme-srfi-0@bat@ \
scheme-srfi-0@bat@.lnk \
scheme-r5rs@bat@ \
scheme-r5rs@bat@.lnk \
scheme-r4rs@bat@ \
scheme-r4rs@bat@.lnk \
scheme-ieee-1178-1990@bat@ \
scheme-ieee-1178-1990@bat@.lnk
distclean-pre: clean-pre
distclean-post: clean-post
bootclean-pre: distclean-pre
bootclean-post: distclean-post
realclean-pre: bootclean-pre
realclean-post: bootclean-post
rm -f gambc-cc.unix gambc-cc.bat.windows \
gambc-doc.unix gambc-doc.bat.windows makefile
rc-setup-pre:
$(RC) add $(RCFILES)
rc-setup-post:
dist-pre dist-devel-pre:
mkdir $(rootfromhere)/$(PACKAGE_TARNAME)/$(herefromroot)
chmod 777 $(rootfromhere)/$(PACKAGE_TARNAME)/$(herefromroot)
@echo " Copying distribution files:"
@for file in $(DISTFILES); do \
echo " $(herefromroot)/$$file"; \
ln $(srcdirpfx)$$file $(rootfromhere)/$(PACKAGE_TARNAME)/$(herefromroot) 2> /dev/null \
|| cp -p $(srcdirpfx)$$file $(rootfromhere)/$(PACKAGE_TARNAME)/$(herefromroot); \
done
dist-post dist-devel-post:
all-recursive bootstrap-recursive install-recursive uninstall-recursive select-gen-for-commit-recursive deselect-gen-for-commit-recursive mostlyclean-recursive clean-recursive distclean-recursive bootclean-recursive realclean-recursive rc-setup-recursive dist-recursive dist-devel-recursive:
@if test -n "$(SUBDIRS)"; then \
for subdir in ""$(SUBDIRS); do \
target=`echo $@ | sed 's/-recursive//'`; \
echo making $$target in $$subdir; \
(cd $$subdir && $(MAKE) $$target) || exit 1; \
done \
fi
all: all-post
all-post: all-recursive
all-recursive: all-pre
bootstrap: bootstrap-post
bootstrap-post: bootstrap-recursive
bootstrap-recursive: bootstrap-pre
install: install-post
install-post: install-recursive
install-recursive: install-pre
uninstall: uninstall-post
uninstall-post: uninstall-recursive
uninstall-recursive: uninstall-pre
select-gen-for-commit: select-gen-for-commit-post
select-gen-for-commit-post: select-gen-for-commit-recursive
select-gen-for-commit-recursive: select-gen-for-commit-pre
deselect-gen-for-commit: deselect-gen-for-commit-post
deselect-gen-for-commit-post: deselect-gen-for-commit-recursive
deselect-gen-for-commit-recursive: deselect-gen-for-commit-pre
mostlyclean: mostlyclean-post
mostlyclean-post: mostlyclean-recursive
mostlyclean-recursive: mostlyclean-pre
clean: clean-post
clean-post: clean-recursive
clean-recursive: clean-pre
distclean: distclean-post
distclean-post: distclean-recursive
distclean-recursive: distclean-pre
bootclean: bootclean-post
bootclean-post: bootclean-recursive
bootclean-recursive: bootclean-pre
realclean: realclean-post
realclean-post: realclean-recursive
realclean-recursive: realclean-pre
rc-setup: rc-setup-post
rc-setup-post: rc-setup-recursive
rc-setup-recursive: rc-setup-pre
dist: dist-post
dist-post: dist-recursive
dist-recursive: dist-pre
dist-devel: dist-devel-post
dist-devel-post: dist-devel-recursive
dist-devel-recursive: dist-devel-pre
makefile: makefile.in $(rootfromhere)/config.status
cd $(rootfromhere) && CONFIG_FILES=$(herefromroot)/$@ CONFIG_HEADERS= ./config.status
gambc-cc.unix: gambc-cc.unix.in $(rootfromhere)/config.status
cd $(rootfromhere) && CONFIG_FILES=$(herefromroot)/$@ CONFIG_HEADERS= ./config.status
gambc-cc.bat.windows: gambc-cc.bat.windows.in $(rootfromhere)/config.status
cd $(rootfromhere) && CONFIG_FILES=$(herefromroot)/$@ CONFIG_HEADERS= ./config.status
gambc-doc.unix: gambc-doc.unix.in $(rootfromhere)/config.status
cd $(rootfromhere) && CONFIG_FILES=$(herefromroot)/$@ CONFIG_HEADERS= ./config.status
gambc-doc.bat.windows: gambc-doc.bat.windows.in $(rootfromhere)/config.status
cd $(rootfromhere) && CONFIG_FILES=$(herefromroot)/$@ CONFIG_HEADERS= ./config.status
# Tell versions [3.59,3.63) of GNU make not to export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
Jump to Line
Something went wrong with that request. Please try again.