Changeset 265 for trunk/libjdkmidi/trunk

Show
Ignore:
Timestamp:
01/20/07 14:21:05 (22 months ago)
Author:
jeffk@…
Message:

GNUmakefile is now used everywhere since all the makefiles are gnumake specific

Location:
trunk/libjdkmidi/trunk
Files:
1 modified
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/libjdkmidi/trunk/GNUmakefile

    r264 r265  
    55BUILDDIR=tmp 
    66 
    7 all : $(BUILDDIR)/Makefile 
     7all : $(BUILDDIR)/GNUmakefile 
    88   cd $(BUILDDIR) && $(MAKE)  
    99 
    10 clean : $(BUILDDIR)/Makefile 
     10clean : $(BUILDDIR)/GNUmakefile 
    1111   cd $(BUILDDIR) && $(MAKE) && $(MAKE) clean 
    1212 
    13 test : $(BUILDDIR)/Makefile 
     13test : $(BUILDDIR)/GNUmakefile 
    1414   cd $(BUILDDIR) && $(MAKE) && $(MAKE) test 
    1515 
    16 docs : $(BUILDDIR)/Makefile 
     16docs : $(BUILDDIR)/GNUmakefile 
    1717   cd $(BUILDDIR) && $(MAKE) && $(MAKE) docs 
    1818 
    19 asm : $(BUILDDIR)/Makefile 
     19asm : $(BUILDDIR)/GNUmakefile 
    2020   cd $(BUILDDIR) && $(MAKE) && $(MAKE) asm 
    2121 
     
    2323   -mkdir $(BUILDDIR) 
    2424 
    25 .PHONY : $(BUILDDIR)/Makefile 
     25.PHONY : $(BUILDDIR)/GNUmakefile 
    2626 
    27 $(BUILDDIR)/Makefile : $(BUILDDIR) 
     27$(BUILDDIR)/GNUmakefile : $(BUILDDIR) 
    2828   (cd $(BUILDDIR) && ../configure $(CONFIGURE_FLAGS) ) 
    2929 
  • trunk/libjdkmidi/trunk/configure

    r264 r265  
    6464    echo "without the --prefix option, the system defaults to $PWD/install - not /usr/local like gnu autoconf would" 
    6565    echo "" 
    66     echo "After running the configure stage, a Makefile will be created for you to run with gnu make" 
     66    echo "After running the configure stage, a GNUmakefile will be created for you to run with gnu make" 
    6767    exit 1 
    6868fi 
     
    8181# A bunch of variables have default values but can be overriden by the command line 
    8282# at the end of this script, all variables with the "magic_" prefix are outputted to the  
    83 # Makefile and the vars.sh  in the appropriate format. The script file './reconfigure' is created  
     83# GNUmakefile and the vars.sh  in the appropriate format. The script file './reconfigure' is created  
    8484# with the current command line parameters 
    8585# 
     
    217217 
    218218 
    219 # extract all environment vars with the "magic_" prefix and save them in vars.sh and Makefile in the appropriate form: 
     219# extract all environment vars with the "magic_" prefix and save them in vars.sh and GNUmakefile in the appropriate form: 
    220220set | grep '^magic_' | sed "s/'//g" | awk '{ i = index($0,"="); print substr($0,7,i-7) "=\"" substr($0,i+1) "\"" }' >vars.sh 
    221221echo ". \"${magic_PROJECT_TOP_DIR}/project.sh\"" >>vars.sh 
    222 set | grep '^magic_' | sed "s/'//g" | awk '{ i = index($0,"="); print substr($0,7,i-7) "=" substr($0,i+1) "" }' >Makefile 
    223  
    224 echo 'include $(CONFIGURE_DIR)/project.mak' >>Makefile 
    225 echo 'include $(CONFIGURE_DIR)/magic.mak' >>Makefile 
     222set | grep '^magic_' | sed "s/'//g" | awk '{ i = index($0,"="); print substr($0,7,i-7) "=" substr($0,i+1) "" }' >GNUmakefile 
     223 
     224echo 'include $(CONFIGURE_DIR)/project.mak' >>GNUmakefile 
     225echo 'include $(CONFIGURE_DIR)/magic.mak' >>GNUmakefile 
    226226 
    227227if [ -f ./reconfigure ]; then 
     
    236236chmod +x ./reconfigure 
    237237 
    238 echo "./Makefile  ./vars.sh  and ./reconfigure created." 
     238echo "./GNUmakefile  ./vars.sh  and ./reconfigure created." 
    239239echo "Now you may do:" 
    240240echo "  make compile_info"