TAGS_DEPENDENCIES = $(ETAGS)
EXTRA_DIST = autogen.sh sxemacs_version.m4
+EXTRA_DIST += configfsf.guess configfsf.sub
REPORT_VARS=PATH LD_LIBRARY_PATH LIBRARY_PATH SHLIB_PATH DYLD_LIBRARY_PATH CC CPATH CPPFLAGS CFLAGS LDFLAGS INCLUDE_PATH C_INCLUDE_PATH SHELL GCC_EXEC_PREFIX COMPILER_PATH DEPENDENCIES_OUTPUT GNUTARGET LDEMULATION
if DESCEND_MODULES
sxe_subdirs += modules
endif
+## Note that src and lisp are traversed twice on purpose
+## for use of the proper dumped emacs for the autoloads and tests
sxe_subdirs += src lisp src lisp info etc tests
SUBDIRS =
check-recursive: all-recursive
+distclean-local:
+ $(RM) $(builddir)/Installation
+ $(RM) $(builddir)/cpuid
+
$(ETAGS):
cd $(top_builddir)/lib-src
$(MAKE) $(AM_MAKEFLAGS) etags
.PHONY: stage1 stage2 build-report time-build-report time-check beta
## Convenience target for SXEmacs beta testers
beta:
- $(MAKE) $(RECURSIVE_MAKE_ARGS) clean
- $(MAKE) $(RECURSIVE_MAKE_ARGS) all
+ $(MAKE) $(AM_MAKEFLAGS) clean
+ $(MAKE) $(AM_MAKEFLAGS) all
@ touch ,,build.done
## Convenience target for SXEmacs build reporters
echo RECURSIVE_MAKE_ARGS="${RECURSIVE_MAKE_ARGS}" ) | tee -a ,,vars.out
time-beta:
- (time $(MAKE) $(RECURSIVE_MAKE_ARGS) beta )2>&1 | tee ,,beta.out
+ (time $(MAKE) $(AM_MAKEFLAGS) beta )2>&1 | tee ,,beta.out
time-all:
- time $(MAKE) $(RECURSIVE_MAKE_ARGS) all
+ time $(MAKE) $(AM_MAKEFLAGS) all
time-check:
- (time $(MAKE) $(RECURSIVE_MAKE_ARGS) check ) 2>&1 | tee ,,make-check.out
+ (time $(MAKE) $(AM_MAKEFLAGS) check ) 2>&1 | tee ,,make-check.out
build-report: env-report
- $(MAKE) $(RECURSIVE_MAKE_ARGS) beta 2>&1 | tee ,,beta.out
+ $(MAKE) $(AM_MAKEFLAGS) beta 2>&1 | tee ,,beta.out
@ [ -f ,,build.done ] || exit 1
- $(MAKE) $(RECURSIVE_MAKE_ARGS) check 2>&1 | tee ,,make-check.out
+ $(MAKE) -w $(MAKEFLAGS) check 2>&1 | tee ,,make-check.out
time-build-report: env-report
- (time $(MAKE) $(RECURSIVE_MAKE_ARGS) beta ) 2>&1 | tee ,,beta.out
+ $(MAKE) $(AM_MAKEFLAGS) time-beta
@ [ -f ,,build.done ] || exit 1
- (time $(MAKE) $(RECURSIVE_MAKE_ARGS) check ) 2>&1 | tee ,,make-check.out
+ $(MAKE) $(AM_MAKEFLAGS) time-check
stage1:
@echo
### dont use staged build
##all: stage1 stage2
-
-distdir: dist-hook
-
-dist-hook:
- @echo "The dist targets do not work. Please read the sppm info section 'Making releases'."
- @exit 1