Permalink
Fetching contributors…
Cannot retrieve contributors at this time
515 lines (405 sloc) 16.4 KB
# makefile for Gambit compiler.
# Copyright (c) 1994-2017 by Marc Feeley, All Rights Reserved.
herefromroot = gsc
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@
GAMBITLIB_DEFS = @GAMBITLIB_DEFS_MF@
LIB_PREFIX = @LIB_PREFIX@
LIB_VERSION_SUFFIX = @LIB_VERSION_SUFFIX@
LIB_MAJOR_VERSION_SUFFIX = @LIB_MAJOR_VERSION_SUFFIX@
LIB_EXTENSION = @LIB_EXTENSION@
GAMBITLIB = @GAMBITLIB@
GAMBITGSCLIB = @GAMBITGSCLIB@
GAMBITGSILIB = @GAMBITGSILIB@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_LIB = @INSTALL_LIB@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
LN_S = @LN_S@
RANLIB = @RANLIB@
AR = @AR@
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:
.SUFFIXES: .scm .c @obj@
HEADERS_SCM = "_assert\#.scm" "_asm\#.scm" "_x86\#.scm" "_codegen\#.scm"
LIBRARIES_SCM = $(HEADERS_SCM)
LIBRARY = $(LIB_PREFIX)$(GAMBITGSCLIB)$(LIB_EXTENSION)
LIBRARY_NORMAL_C =
LIBRARY_NORMAL_CPP =
LIBRARY_NORMAL_H =
LIBRARY_NORMAL_O =
LIBRARY_NORMAL_O_PLUS =
LIBRARY_NORMAL_O_COMMA =
LIBRARY_NORMAL_SOURCES = $(LIBRARY_NORMAL_C) $(LIBRARY_NORMAL_CPP) \
$(LIBRARY_NORMAL_H)
LIBRARY_MODULES = _host _utils _source _parms \
_env _ptree1 _ptree2 _gvm _back _front \
_prims _assert _asm _x86 _codegen \
_t-univ-1 _t-univ-2 _t-univ-3 _t-univ-4 \
_t-c-1 _t-c-2 _t-c-3 \
_gsclib
LIBRARY_MODULES_SCM = _host.scm _utils.scm _source.scm _parms.scm \
_env.scm _ptree1.scm _ptree2.scm _gvm.scm _back.scm _front.scm \
_prims.scm _assert.scm _asm.scm _x86.scm _codegen.scm \
_t-univ-1.scm _t-univ-2.scm _t-univ-3.scm _t-univ-4.scm \
_t-c-1.scm _t-c-2.scm _t-c-3.scm \
_gsclib.scm
LIBRARY_MODULES_C = _host.c _utils.c _source.c _parms.c \
_env.c _ptree1.c _ptree2.c _gvm.c _back.c _front.c \
_prims.c _assert.c _asm.c _x86.c _codegen.c \
_t-univ-1.c _t-univ-2.c _t-univ-3.c _t-univ-4.c \
_t-c-1.c _t-c-2.c _t-c-3.c \
_gsclib.c
LIBRARY_MODULES_O = _host@obj@ _utils@obj@ _source@obj@ _parms@obj@ \
_env@obj@ _ptree1@obj@ _ptree2@obj@ _gvm@obj@ _back@obj@ _front@obj@ \
_prims@obj@ _assert@obj@ _asm@obj@ _x86@obj@ _codegen@obj@ \
_t-univ-1@obj@ _t-univ-2@obj@ _t-univ-3@obj@ _t-univ-4@obj@ \
_t-c-1@obj@ _t-c-2@obj@ _t-c-3@obj@ \
_gsclib@obj@
LIBRARY_MODULES_O_PLUS = +_host@obj@ +_utils@obj@ +_source@obj@ +_parms@obj@ \
+_env@obj@ +_ptree1@obj@ +_ptree2@obj@ +_gvm@obj@ +_back@obj@ +_front@obj@ \
+_prims@obj@ +_assert@obj@ +_asm@obj@ +_x86@obj@ +_codegen@obj@ \
+_t-univ-1@obj@ +_t-univ-2@obj@ +_t-univ-3@obj@ +_t-univ-4@obj@ \
+_t-c-1@obj@ +_t-c-2@obj@ +_t-c-3@obj@ \
+_gsclib@obj@
LIBRARY_MODULES_O_COMMA = _host@obj@,_utils@obj@,_source@obj@,_parms@obj@,\
_env@obj@,_ptree1@obj@,_ptree2@obj@,_gvm@obj@,_back@obj@,_front@obj@,\
_prims@obj@,_assert@obj@,_asm@obj@,_x86@obj@,_codegen@obj@,\
_t-univ-1@obj@,_t-univ-2@obj@,_t-univ-3@obj@,_t-univ-4@obj@,\
_t-c-1@obj@,_t-c-2@obj@,_t-c-3@obj@,\
_gsclib@obj@
LIBRARY_MODULES_O_IN_COMPILE_ORDER = _x86@obj@ _t-univ-1@obj@ _t-univ-4@obj@ \
_t-univ-3@obj@ _t-univ-2@obj@ _t-c-2@obj@ \
_asm@obj@ _prims@obj@ _front@obj@ _ptree2@obj@ _ptree1@obj@ \
_t-c-1@obj@ _gvm@obj@ _source@obj@ _t-c-3@obj@ \
_utils@obj@ _parms@obj@ _gsclib@obj@ _env@obj@ \
_back@obj@ _host@obj@ _codegen@obj@ _assert@obj@
LIBRARY_OBJECTS = $(LIBRARY_NORMAL_O) \
$(LIBRARY_MODULES_O) _$(GAMBITGSCLIB)@obj@
LIBRARY_OBJECTS_PLUS = $(LIBRARY_NORMAL_O_PLUS) \
$(LIBRARY_MODULES_O_PLUS) +_$(GAMBITGSCLIB)@obj@
LIBRARY_OBJECTS_COMMA = $(LIBRARY_NORMAL_O_COMMA),\
$(LIBRARY_MODULES_O_COMMA),_$(GAMBITGSCLIB)@obj@
LIBRARY_OBJECTS_IN_COMPILE_ORDER = $(LIBRARY_MODULES_O_IN_COMPILE_ORDER) \
$(LIBRARY_NORMAL_O_IN_COMPILE_ORDER) _$(GAMBITGSCLIB)@obj@
LIBRARIES = $(LIBRARY)$(LIB_VERSION_SUFFIX)
MAKE_LIBRARY_LIBS = $(rootfromhere)/lib/$(LIB_PREFIX)$(GAMBITLIB)$(LIB_EXTENSION)
MAKE_LIBRARY_FOR_INSTALL_LIBS = @MAKE_LIBRARY_FOR_INSTALL_LIBS@
EXECUTABLE = gsc@exe@
EXECUTABLE_INSTALLED = @ENABLE_COMPILER_NAME@@exe@
EXECUTABLE_NORMAL_C =
EXECUTABLE_NORMAL_CPP =
EXECUTABLE_NORMAL_H =
EXECUTABLE_NORMAL_O =
EXECUTABLE_NORMAL_O_PLUS =
EXECUTABLE_NORMAL_O_COMMA =
EXECUTABLE_NORMAL_SOURCES = $(EXECUTABLE_NORMAL_C) $(EXECUTABLE_NORMAL_CPP) \
$(EXECUTABLE_NORMAL_H)
EXECUTABLE_MODULES = _gsc
EXECUTABLE_MODULES_SCM = _gsc.scm
EXECUTABLE_MODULES_C = _gsc.c
EXECUTABLE_MODULES_O = _gsc@obj@
EXECUTABLE_MODULES_O_PLUS = +_gsc@obj@
EXECUTABLE_MODULES_O_COMMA = _gsc@obj@
EXECUTABLE_MODULES_O_IN_COMPILE_ORDER = _gsc@obj@
EXECUTABLE_OBJECTS = $(EXECUTABLE_NORMAL_O) \
$(EXECUTABLE_MODULES_O) _gsc_@obj@
EXECUTABLE_OBJECTS_PLUS = $(EXECUTABLE_NORMAL_O_PLUS) \
$(EXECUTABLE_MODULES_O_PLUS) +_gsc_@obj@
EXECUTABLE_OBJECTS_COMMA = $(EXECUTABLE_NORMAL_O_COMMA),\
$(EXECUTABLE_MODULES_O_COMMA),_gsc_@obj@
EXECUTABLE_OBJECTS_IN_COMPILE_ORDER = $(EXECUTABLE_MODULES_O_IN_COMPILE_ORDER) \
$(EXECUTABLE_NORMAL_O_IN_COMPILE_ORDER) _gsc_@obj@
LINK_LIBS = $(LIBRARY) $(rootfromhere)/lib/$(LIB_PREFIX)$(GAMBITLIB)$(LIB_EXTENSION)
LINK_FOR_INSTALL_LIBS = @LINK_FOR_INSTALL_GSC_LIBS@
MODULES_SCM = $(LIBRARY_MODULES_SCM) $(EXECUTABLE_MODULES_SCM)
MODULES_C = $(LIBRARY_MODULES_C) $(EXECUTABLE_MODULES_C)
OBJECTS = $(LIBRARY_OBJECTS) $(EXECUTABLE_OBJECTS)
RCFILES = makefile.in fixnum.scm generic.scm igsc.scm $(MODULES_SCM) \
$(LIBRARIES_SCM) _envadt.scm _gvmadt.scm _ptreeadt.scm _sourceadt.scm \
_univadt.scm runtests.scm _t-x86.scm _arm.scm "_arm\#.scm"
GENDISTFILES = $(MODULES_C) _$(GAMBITGSCLIB).c _gsc_.c
DISTFILES = $(RCFILES) $(GENDISTFILES)
INSTFILES_LIB_DATA = _$(GAMBITGSCLIB).c $(LIBRARIES_SCM)
GAMBITDIR_INCLUDE = $(srcdirpfx)$(rootfromhere)/include
GAMBITDIR_LIB = $(srcdirpfx)$(rootfromhere)/lib
GAMBITDIR_LIB_GSI = $(srcdirpfx)$(rootfromhere)/gsi
GAMBITDIR_LIB_GSC = $(srcdirpfx)$(rootfromhere)/gsc
BUILD_OBJ_OUTPUT_FILENAME = $*@obj@
BUILD_OBJ_CC_OPTIONS = -I$(srcdir) $(DEFS)
BUILD_OBJ_INPUT_FILENAMES = $(srcdirpfx)$*.c
BUILD_EXE_OUTPUT_FILENAME = $(EXECUTABLE)
BUILD_EXE_CC_OPTIONS =
BUILD_EXE_LD_OPTIONS_PRELUDE =
BUILD_EXE_INPUT_FILENAMES = $(EXECUTABLE_OBJECTS)
BUILD_EXE_LD_OPTIONS = $(LIBRARY)
PRELUDE_OPT = -prelude "(\#\#namespace(\"c\#\"))(\#\#include\"$(srcdirpfx)../lib/header.scm\")"
all:
all-pre:
all-post: $(LIBRARY) $(EXECUTABLE)
$(LIBRARY): $(LIBRARY_OBJECTS_IN_COMPILE_ORDER)
rm -f $(LIBRARY)$(LIB_VERSION_SUFFIX) $(LIBRARY)$(LIB_MAJOR_VERSION_SUFFIX) $(LIBRARY)
@MAKE_LIBRARY@
if test "$(LIB_VERSION_SUFFIX)" != ""; then \
$(LN_S) "$(LIBRARY)$(LIB_VERSION_SUFFIX)" "$(LIBRARY)$(LIB_MAJOR_VERSION_SUFFIX)"; \
$(LN_S) "$(LIBRARY)$(LIB_MAJOR_VERSION_SUFFIX)" "$(LIBRARY)"; \
fi
_$(GAMBITGSCLIB).c: $(LIBRARY_MODULES_C) $(rootfromhere)/lib/_gambit.c
@SETDLPATHBOOT@ $(rootfromhere)/gsc-boot -:~~bin=$(srcdirpfx)$(rootfromhere)/bin,~~lib=$(srcdirpfx)$(rootfromhere)/lib,~~include=$(srcdirpfx)$(rootfromhere)/include -f @COMPILATION_OPTIONS@ $(PRELUDE_OPT) -warnings -link -l $(srcdirpfx)$(rootfromhere)/lib/_gambit -o $@ -preload $(LIBRARY_MODULES_C)
$(EXECUTABLE): $(EXECUTABLE_OBJECTS_IN_COMPILE_ORDER) $(LINK_LIBS)
@BUILD_EXE@
_gsc_.c: $(EXECUTABLE_MODULES_C) _$(GAMBITGSCLIB).c
@SETDLPATHBOOT@ $(rootfromhere)/gsc-boot -:~~bin=$(srcdirpfx)$(rootfromhere)/bin,~~lib=$(srcdirpfx)$(rootfromhere)/lib,~~include=$(srcdirpfx)$(rootfromhere)/include -f @COMPILATION_OPTIONS@ $(PRELUDE_OPT) -warnings -link -l _$(GAMBITGSCLIB) -o $@ -preload $(EXECUTABLE_MODULES_C)
_gsc@obj@: _gsc.c
@BUILD_OBJ@
_gsc_@obj@: _gsc_.c
@BUILD_OBJ@
.c@obj@:
@BUILD_OBJ@ -D___LIBRARY
.scm.c:
@SETDLPATHBOOT@ $(rootfromhere)/gsc-boot -:~~bin=$(srcdirpfx)$(rootfromhere)/bin,~~lib=$(srcdirpfx)$(rootfromhere)/lib,~~include=$(srcdirpfx)$(rootfromhere)/include -f @COMPILATION_OPTIONS@ $(PRELUDE_OPT) -warnings -c $(srcdirpfx)$*.scm
_gsc.c: $(srcdirpfx)$(rootfromhere)/gsi/main.scm
$(MODULES_C): \
$(srcdirpfx)$(rootfromhere)/lib/header.scm \
$(srcdirpfx)$(rootfromhere)/lib/gambit\#.scm \
$(srcdirpfx)$(rootfromhere)/lib/_gambit\#.scm \
$(srcdirpfx)$(rootfromhere)/lib/_kernel\#.scm \
$(srcdirpfx)$(rootfromhere)/lib/_system\#.scm \
$(srcdirpfx)$(rootfromhere)/lib/_num\#.scm \
$(srcdirpfx)$(rootfromhere)/lib/_std\#.scm \
$(srcdirpfx)$(rootfromhere)/lib/_eval\#.scm \
$(srcdirpfx)$(rootfromhere)/lib/_io\#.scm \
$(srcdirpfx)$(rootfromhere)/lib/_nonstd\#.scm \
$(srcdirpfx)$(rootfromhere)/lib/_thread\#.scm \
$(srcdirpfx)$(rootfromhere)/lib/_repl\#.scm \
$(srcdirpfx)$(rootfromhere)/lib/_define-syntax.scm \
$(srcdirpfx)$(rootfromhere)/lib/_syntax-boot.scm \
$(srcdirpfx)$(rootfromhere)/lib/_syntax-case-xform-boot.scm \
$(srcdirpfx)$(rootfromhere)/lib/_syntax-case-xform.scm \
$(srcdirpfx)$(rootfromhere)/lib/_syntax-common.scm \
$(srcdirpfx)$(rootfromhere)/lib/_syntax-pattern.scm \
$(srcdirpfx)$(rootfromhere)/lib/_syntax-rules-xform.scm \
$(srcdirpfx)$(rootfromhere)/lib/_syntax-template.scm \
$(srcdirpfx)$(rootfromhere)/lib/_syntax-xform-boot.scm \
$(srcdirpfx)$(rootfromhere)/lib/_syntax-xform.scm \
$(srcdirpfx)$(rootfromhere)/lib/_syntax.scm \
$(srcdirpfx)$(rootfromhere)/lib/_with-syntax-boot.scm \
$(srcdirpfx)_assert\#.scm \
$(srcdirpfx)_asm\#.scm \
$(srcdirpfx)_x86\#.scm \
$(srcdirpfx)_codegen\#.scm \
$(srcdirpfx)fixnum.scm \
$(srcdirpfx)generic.scm
$(MODULES_O): $(srcdirpfx)$(rootfromhere)/include/gambit.h
bootstrap-pre:
bootstrap-post:
rm -f $(rootfromhere)/gsc-boot@bat@ $(rootfromhere)/gsc-boot@exe@ $(rootfromhere)/gsc-boot
cp $(EXECUTABLE) $(rootfromhere)/gsc-boot@exe@
if test "@ENABLE_SHARED@" = "yes"; then \
cp $(LIBRARY)$(LIB_VERSION_SUFFIX) $(rootfromhere)/$(LIBRARY)$(LIB_VERSION_SUFFIX); \
if test "$(LIB_VERSION_SUFFIX)" != ""; then \
cd $(rootfromhere); \
$(LN_S) "$(LIBRARY)$(LIB_VERSION_SUFFIX)" "$(LIBRARY)$(LIB_MAJOR_VERSION_SUFFIX)"; \
$(LN_S) "$(LIBRARY)$(LIB_MAJOR_VERSION_SUFFIX)" "$(LIBRARY)"; \
fi \
fi
install-pre:
install-post: all
c_bindir="$(DESTDIR)$(prefix)/bin"; \
i_bindir="$(DESTDIR)$(bindir)"; \
t_bindir="$$i_bindir"; \
c_libdir="$(DESTDIR)$(prefix)/lib"; \
i_libdir="$(DESTDIR)$(libdir)"; \
t_libdir="$$i_libdir"; \
$(srcdirpfx)$(rootfromhere)/mkidirs "$$i_bindir" "$$i_libdir"; \
if test "@ENABLE_SYMLINKS@" = "yes"; then \
$(srcdirpfx)$(rootfromhere)/mkidirs "$$c_bindir" "$$c_libdir"; \
t_bindir="$$c_bindir"; \
t_libdir="$$c_libdir"; \
fi; \
@MAKE_LIBRARY_FOR_INSTALL@; \
for file in $(INSTFILES_LIB_DATA); do \
$(INSTALL_DATA) "$$file" "$$t_libdir/$$file"; \
done; \
for file in $(LIBRARIES); do \
$(INSTALL_LIB) "$$file" "$$t_libdir/$$file"; \
@FIXLIB@ "$$t_libdir/$$file"; \
done; \
if test "$(LIB_VERSION_SUFFIX)" != ""; then \
(cd "$$t_libdir" && $(LN_S) "$(LIBRARY)$(LIB_VERSION_SUFFIX)" "$(LIBRARY)$(LIB_MAJOR_VERSION_SUFFIX)" && $(LN_S) "$(LIBRARY)$(LIB_MAJOR_VERSION_SUFFIX)" "$(LIBRARY)"); \
fi; \
@LINK_FOR_INSTALL@; \
$(INSTALL_PROGRAM) "$(EXECUTABLE)" "$$t_bindir/$(EXECUTABLE_INSTALLED)"; \
if test "$$t_libdir" != "$$i_libdir"; then \
r_libdir=`$(rootfromhere)/relpath "$$t_libdir" "$$i_libdir" @ENABLE_MULTIPLE_VERSIONS@`; \
for file in $(INSTFILES_LIB_DATA) $(LIBRARIES); do \
(cd "$$i_libdir" && $(LN_S) "$$r_libdir$$file" "$$file"); \
done; \
fi; \
if test "$$t_bindir" != "$$i_bindir"; then \
r_bindir=`$(rootfromhere)/relpath "$$t_bindir" "$$i_bindir" @ENABLE_MULTIPLE_VERSIONS@`; \
for file in $(EXECUTABLE_INSTALLED); 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"; \
c_libdir="$(DESTDIR)$(prefix)/lib"; \
i_libdir="$(DESTDIR)$(libdir)"; \
t_libdir="$$i_libdir"; \
if test "@ENABLE_SYMLINKS@" = "yes"; then \
t_bindir="$$c_bindir"; \
t_libdir="$$c_libdir"; \
fi; \
for file in $(INSTFILES_LIB_DATA) $(LIBRARIES) $(LIBRARY)$(LIB_MAJOR_VERSION_SUFFIX) $(LIBRARY); do \
rm -f "$$t_libdir/$$file"; \
done; \
if test "$$t_libdir" != "$$i_libdir"; then \
for file in $(INSTFILES_LIB_DATA) $(LIBRARIES) $(LIBRARY)$(LIB_MAJOR_VERSION_SUFFIX) $(LIBRARY); do \
rm -f "$$i_libdir/$$file"; \
done; \
fi; \
rm -f "$$t_bindir/$(EXECUTABLE_INSTALLED)"; \
if test "$$t_bindir" != "$$i_bindir"; then \
for file in $(EXECUTABLE_INSTALLED); do \
rm -f "$$i_bindir/$$file"; \
done; \
fi; \
rmdir "$$t_libdir" 2> /dev/null; \
if test "$$t_libdir" != "$$i_libdir"; then \
rmdir "$$i_libdir" 2> /dev/null; \
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:
$(RC) update-index --no-assume-unchanged $(GENDISTFILES)
deselect-gen-for-commit-pre:
deselect-gen-for-commit-post:
$(RC) update-index --assume-unchanged $(GENDISTFILES)
mostlyclean-pre:
mostlyclean-post:
rm -f $(OBJECTS) $(LIBRARY)$(LIB_VERSION_SUFFIX) $(LIBRARY)$(LIB_MAJOR_VERSION_SUFFIX) $(LIBRARY) $(EXECUTABLE)
clean-pre: mostlyclean-pre
clean-post: mostlyclean-post
rm -f *.da *.bb *.bbg *.gcov *.gcno *.gcda
distclean-pre: clean-pre
distclean-post: clean-post
bootclean-pre: distclean-pre
bootclean-post: distclean-post
rm -f $(GENDISTFILES)
realclean-pre: bootclean-pre
realclean-post: bootclean-post
rm -f makefile
rc-setup-pre:
$(RC) add $(RCFILES) $(GENDISTFILES)
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
@echo " $(herefromroot)/tests"
(cd $(srcdir) ; COPYFILE_DISABLE=1 tar cf - `$(RC) ls-tree -r HEAD --name-only tests`) | (cd $(rootfromhere)/$(PACKAGE_TARNAME)/$(herefromroot) ; tar xf -)
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
# 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: