Changeset 88 for trunk/libjdkmidi/trunk
- Timestamp:
- 08/17/06 10:53:11 (2 years ago)
- Location:
- trunk/libjdkmidi/trunk
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/libjdkmidi/trunk/configure
r86 r88 60 60 # at the end of this script, all variables with the "magic_" prefix are outputted to the Makefile and the vars.sh 61 61 # in the appropriate format. The script file './reconfigure' is created with the current command line parameters 62 63 # before we parse the command line arguments, do some rudimentary host machine investigation. 64 62 65 63 66 -
trunk/libjdkmidi/trunk/magic.mak
r85 r88 8 8 PROJECT_VERSION?=$(shell date +%Y%m%d) 9 9 10 BINARY_TARBALL_NAME?=$(PROJECT_NAME)-$(PROJECT_VERSION).tar.bz2 11 10 12 CROSS_COMPILING?=0 11 13 … … 14 16 LIB_SRC_DIR=$(LIB_DIRS) 15 17 18 RSYNC?=rsync 19 RSYNC_OPTIONS?=-a --exclude='*~' --exclude='.svn' --exclude='CVS' 16 20 17 21 TARGET_PLATFORM_GENERIC=1 … … 496 500 497 501 ifeq ($(CROSS_COMPILING),1) 498 all : native _dirs native_lib native_tools native_tests native_examples dirs lib tools tests examples502 all : native-dirs native-lib native-tools native-tests native-examples dirs lib tools tests examples 499 503 else 500 504 all : dirs lib tools tests examples … … 551 555 install-dev : install 552 556 @-$(MKDIR) -p $(INSTALL_INCLUDE_DIR) $(INSTALL_LIB_DIR) 553 $(CP) -rp$(LIB_INCLUDE_DIR)/* $(INSTALL_INCLUDE_DIR)554 $(CP) -rp$(OUTPUT_LIB) $(INSTALL_LIB_DIR)557 @$(RSYNC) $(RSYNC_OPTIONS) $(LIB_INCLUDE_DIR)/* $(INSTALL_INCLUDE_DIR) 558 @$(RSYNC) $(RSYNC_OPTIONS) $(OUTPUT_LIB) $(INSTALL_LIB_DIR) 555 559 556 560 .PHONY : install-dev-docs … … 558 562 install-dev-docs : docs install-dev 559 563 @-$(MKDIR) -p $(INSTALL_DOCS_DIR) 560 $(CP) -rp$(OUTPUT_DOCS_DIR)/* $(INSTALL_DOCS_DIR)564 @$(SYNC) $(RSYNC_OPTIONS) $(OUTPUT_DOCS_DIR)/* $(INSTALL_DOCS_DIR) 561 565 562 566 .PHONY : test 563 567 568 ifeq ($(CROSS_COMPILING),1) 569 test : native-test 570 else 564 571 test: lib tools $(LIB_TESTS_SH_FILES) $(LIB_TESTS_EXE_FILES) 565 572 @cd "$(OUTPUT_TESTS_DIR)"; \ … … 574 581 if bash "$${i}" >"$${n}.out" 2>"$${n}.err"; then rm "$${n}.err"; echo SUCCESS:$${n}; else echo FAIL:$${n}; fi;\ 575 582 done 583 endif 576 584 577 585 .PHONY : docs … … 607 615 .PHONY : native_dirs 608 616 609 native _dirs :617 native-dirs : 610 618 -@$(MKDIR) -p $(NATIVE_ALL_OUTPUT_DIRS) 611 619 612 .PHONY : native _lib613 614 native _lib : native_dirs $(NATIVE_OUTPUT_LIB)620 .PHONY : native-lib 621 622 native-lib : native-dirs $(NATIVE_OUTPUT_LIB) 615 623 616 624 $(NATIVE_OUTPUT_LIB) : $(NATIVE_LIB_O_FILES) … … 629 637 .PHONY : native_tools 630 638 631 native _tools : native_lib $(NATIVE_LIB_TOOLS_EXE_FILES)639 native-tools : native-lib $(NATIVE_LIB_TOOLS_EXE_FILES) 632 640 633 .PHONY : native _examples634 635 native _examples: native_lib $(NATIVE_LIB_EXAMPLES_EXE_FILES)641 .PHONY : native-examples 642 643 native-examples: native-lib $(NATIVE_LIB_EXAMPLES_EXE_FILES) 636 644 637 .PHONY : native_tests 638 639 native_tests: native_lib $(NATIVE_LIB_TESTS_EXE_FILES) 645 .PHONY : native-tests 646 647 native-tests: native-lib $(NATIVE_LIB_TESTS_EXE_FILES) 648 649 .PHONY : native-test 650 651 native-test: native-lib native-tools $(LIB_TESTS_SH_FILES) $(NATIVE_LIB_TESTS_EXE_FILES) 652 @cd "$(NATIVE_OUTPUT_TESTS_DIR)"; \ 653 for i in $(NATIVE_LIB_TESTS_EXE_FILES); \ 654 do \ 655 n=$$(basename $$i); \ 656 if $(VALGRIND) $(VALGRIND_OPTIONS) "./$${n}" >"$${n}.out" 2>"$${n}.err"; then rm "$${n}.err"; echo SUCCESS:$${n}; else echo FAIL:$${n}; fi;\ 657 done; \ 658 for i in $(LIB_TESTS_SH_FILES); \ 659 do \ 660 n=$$(basename $$i); \ 661 if bash "$${i}" >"$${n}.out" 2>"$${n}.err"; then rm "$${n}.err"; echo SUCCESS:$${n}; else echo FAIL:$${n}; fi;\ 662 done 663 664 640 665 endif 641 666 … … 690 715 @echo "clean : clean intermediatte files" 691 716 @echo "distclean / realclean : clean all built files (except docs)" 692 @echo "tools : build tool programs "693 @echo "examples : build example programs "694 @echo "tests : build test programs "717 @echo "tools : build tool programs $(LIB_TOOLS_EXE_FILES)" 718 @echo "examples : build example programs $(LIB_EXAMPLES_EXE_FILES)" 719 @echo "tests : build test programs $(LIB_TESTS_EXE_FILES)" 695 720 @echo "test : run tests, sh scripts and test programs" 696 @echo "dirs : create output dirs "721 @echo "dirs : create output dirs $(OUTPUT_DIR)" 697 722 @echo "install : install tool executables files into $(INSTALL_DIR)" 698 723 @echo "install-dev : install tool executables, include files and library files into $(INSTALL_DIR)" 699 724 @echo "install-dev-docs : install tool executables, include files, library files, and doxygen docs into $(INSTALL_DIR)" 725 ifeq ($(CROSS_COMPILING),1) 726 @echo "native-dirs : create output dirs for native build in $(NATIVE_OUTPUT_DIR)" 727 @echo "native-lib : build native library $(NATIVE_OUTPUT_LIB)" 728 @echo "native-tests : build native tests $(NATIVE_LIB_TESTS_EXE_FILES)" 729 @echo "native-test : run native tests." 730 endif 700 731 701 732 # include any dependencies created during the last make.
