| |
460 |
460 |
|
| |
461 |
461 |
install-doc: doc $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man3 $(DESTDIR)$(mandir)/mann |
| |
462 |
462 |
(cd $(src_man_dir)/ ; \ |
| |
463 |
463 |
for i in *.1; do \ |
| |
464 |
464 |
echo "Installing $$i"; \ |
| |
465 |
465 |
rm -f $(DESTDIR)$(mandir)/man1/$$i; \ |
| |
466 |
466 |
sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \ |
| |
467 |
467 |
$$i > $(DESTDIR)$(mandir)/man1/$$i; \ |
| |
468 |
468 |
chmod 444 $(DESTDIR)$(mandir)/man1/$$i; \ |
| |
469 |
469 |
done) |
| |
470 |
470 |
|
| |
471 |
471 |
shell: binaries libraries |
| |
472 |
472 |
@$(TCLSH) $(SCRIPT) |
| |
473 |
473 |
|
| |
474 |
474 |
gdb: |
| |
475 |
475 |
$(TCLSH_ENV) gdb $(TCLSH_PROG) $(SCRIPT) |
| |
476 |
476 |
|
| |
477 |
477 |
test: binaries libraries test-core test-xotcl test-http @test_actiweb@ test-summary |
| |
478 |
478 |
test-nohttp: binaries libraries test-core test-xotcl |
| |
479 |
479 |
|
| |
480 |
|
TESTLOG = ./test.log |
| |
|
480 |
TESTLOG = ./__test.log |
| |
481 |
481 |
TESTFLAGS = -testlog $(TESTLOG) |
| |
482 |
482 |
|
| |
483 |
483 |
test-summary: |
| |
484 |
484 |
$(TCLSH) $(src_test_dir_native)/summary.tcl -libdir $(PLATFORM_DIR) $(TESTFLAGS) |
| |
485 |
485 |
|
| |
486 |
486 |
test-core: $(TCLSH_PROG) |
| |
487 |
487 |
rm -f $(TESTLOG) |
| |
488 |
488 |
$(TCLSH) $(src_test_dir_native)/object-system.test -libdir $(PLATFORM_DIR) $(TESTFLAGS) |
| |
489 |
489 |
$(TCLSH) $(src_test_dir_native)/destroy.test -libdir $(PLATFORM_DIR) $(TESTFLAGS) |
| |
490 |
490 |
$(TCLSH) $(src_test_dir_native)/methods.test -libdir $(PLATFORM_DIR) $(TESTFLAGS) |
| |
491 |
491 |
$(TCLSH) $(src_test_dir_native)/method-parameter.test -libdir $(PLATFORM_DIR) $(TESTFLAGS) |
| |
492 |
492 |
$(TCLSH) $(src_test_dir_native)/cget.test -libdir $(PLATFORM_DIR) $(TESTFLAGS) |
| |
493 |
493 |
$(TCLSH) $(src_test_dir_native)/var-access.test -libdir $(PLATFORM_DIR) $(TESTFLAGS) |
| |
494 |
494 |
$(TCLSH) $(src_test_dir_native)/varresolution.test -libdir $(PLATFORM_DIR) $(TESTFLAGS) |
| |
495 |
495 |
$(TCLSH) $(src_test_dir_native)/info-method.test -libdir $(PLATFORM_DIR) $(TESTFLAGS) |
| |
496 |
496 |
$(TCLSH) $(src_test_dir_native)/submethods.test -libdir $(PLATFORM_DIR) $(TESTFLAGS) |
| |
497 |
497 |
$(TCLSH) $(src_test_dir_native)/disposition.test -libdir $(PLATFORM_DIR) $(TESTFLAGS) |
| |
498 |
498 |
$(TCLSH) $(src_test_dir_native)/volatile.test -libdir $(PLATFORM_DIR) $(TESTFLAGS) |
| |
499 |
499 |
$(TCLSH) $(src_test_dir_native)/parameters.test -libdir $(PLATFORM_DIR) $(TESTFLAGS) |
| |
500 |
500 |
$(TCLSH) $(src_test_dir_native)/returns.test -libdir $(PLATFORM_DIR) $(TESTFLAGS) |
|
| |
679 |
679 |
$(DTRACE_HDR): $(DTRACE_SRC) |
| |
680 |
680 |
$(DTRACE) -h $(DTRACE_SWITCHES) -o $@ -s $(DTRACE_SRC) |
| |
681 |
681 |
|
| |
682 |
682 |
$(DTRACE_OBJ): $(DTRACE_SRC) $(TCL_OBJS) |
| |
683 |
683 |
$(DTRACE) -G $(DTRACE_SWITCHES) -o $@ -s $(DTRACE_SRC) $(TCL_OBJS) |
| |
684 |
684 |
|
| |
685 |
685 |
|
| |
686 |
686 |
#======================================================================== |
| |
687 |
687 |
# End of user-definable section |
| |
688 |
688 |
#======================================================================== |
| |
689 |
689 |
|
| |
690 |
690 |
#======================================================================== |
| |
691 |
691 |
# Don't modify the file to clean here. Instead, set the "CLEANFILES" |
| |
692 |
692 |
# variable in configure.in |
| |
693 |
693 |
#======================================================================== |
| |
694 |
694 |
|
| |
695 |
695 |
cleandoc: |
| |
696 |
696 |
-rm -rf $(xotcl_target_doc_dir)/*-xotcl.html $(dir $(YUIDOC_OUTPUT)) $(XOWIKI_OUTPUT) |
| |
697 |
697 |
|
| |
698 |
698 |
clean: cleandoc |
| |
699 |
|
-rm -rf $(BINARIES) $(CLEANFILES) ./receiver |
| |
|
699 |
-rm -rf $(BINARIES) $(CLEANFILES) ./receiver $(TESTLOG) |
| |
700 |
700 |
find ${srcdir} -type f -name \*~ -exec rm \{} \; |
| |
701 |
701 |
@if test ! "x$(subdirs)" = "x" ; then dirs="$(subdirs)" ; \ |
| |
702 |
702 |
for dir in $$dirs ; do \ |
| |
703 |
703 |
if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \ |
| |
704 |
704 |
done; fi |
| |
705 |
705 |
|
| |
706 |
706 |
distclean: clean |
| |
707 |
707 |
-rm -rf $(CONFIG_CLEAN_FILES) |
| |
708 |
708 |
-rm -f config.cache config.log config.status |
| |
709 |
709 |
@if test ! "x$(subdirs)" = "x" ; then dirs="$(subdirs)" ; \ |
| |
710 |
710 |
for dir in $$dirs ; do \ |
| |
711 |
711 |
if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \ |
| |
712 |
712 |
done; fi |
| |
713 |
713 |
|
| |
714 |
714 |
#======================================================================== |
| |
715 |
715 |
# Install binary object libraries. On Windows this includes both .dll and |
| |
716 |
716 |
# .lib files. Because the .lib files are not explicitly listed anywhere, |
| |
717 |
717 |
# we need to deduce their existence from the .dll file of the same name. |
| |
718 |
718 |
# Library files go into the lib directory. |
| |
719 |
719 |
# |