[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / rc

Annotation of OpenXM/rc/Makefile, Revision 1.15

1.15    ! takayama    1: # $OpenXM: OpenXM/rc/Makefile,v 1.14 2000/03/10 02:13:29 takayama Exp $
1.5       takayama    2: # make repl
                      3: # make all
1.8       takayama    4: # make install  [ PREFIX=/home/hoge ]  ; Default is /usr/local
1.2       takayama    5: CC=gcc
1.10      takayama    6: # SHELL_SCRIPTS=asir sm1 oxgp k0 oxmath oxMathematica ox
                      7: SHELL_SCRIPTS=asir sm1 oxgp oxmath oxMathematica ox openxm
1.8       takayama    8: PREFIX=/usr/local
                      9: INSTALL_DIR=${PREFIX}/bin
1.11      takayama   10: MAN_DIR=../man/man1
1.5       takayama   11:
                     12: all :  dot.bashrc  dot.cshrc  openxm  .done_gen-shell-scripts
1.1       takayama   13:
1.4       takayama   14: dot.bashrc : bashrc repl
1.1       takayama   15:        rm -f dot.bashrc
                     16:        echo "# DO NOT EDIT THIS FILE" >dot.bashrc
1.15    ! takayama   17:        ./repl bash <bashrc >>dot.bashrc
1.1       takayama   18:
                     19: dot.cshrc : cshrc repl
                     20:        rm -f dot.cshrc
                     21:        echo "# DO NOT EDIT THIS FILE" >dot.cshrc
1.15    ! takayama   22:        ./repl csh <cshrc >>dot.cshrc
1.1       takayama   23:
1.13      takayama   24: repl : repl.c
1.14      takayama   25:        rm -f repl
                     26:        ${CC} -static -o ../bin/rc.repl repl.c
                     27:        ln -s ../bin/rc.repl repl
1.1       takayama   28:
                     29: openxm : dot.cshrc
                     30:        rm -f openxm
                     31:        echo "#!/bin/csh" >openxm
                     32:        cat dot.cshrc >>openxm
1.6       noro       33:        echo 'exec $$*' >>openxm
1.1       takayama   34:        chmod +x openxm
1.3       takayama   35:        cp -f openxm ../bin
1.1       takayama   36:
1.4       takayama   37: .done_gen-shell-scripts : dot.cshrc Makefile gen-shell-scripts
                     38:        ./gen-shell-scripts
                     39:        touch .done_gen-shell-scripts
                     40:
1.12      takayama   41: install : all
1.5       takayama   42:        cp -f $(SHELL_SCRIPTS) ${INSTALL_DIR}
1.11      takayama   43:
                     44: install.man :
                     45:        -cp openxm.1 ${MAN_DIR}
1.5       takayama   46:
1.13      takayama   47: install.asir_key:
                     48:        -../bin/sm1 -f fetch_asir_key.sm1
                     49:
1.1       takayama   50: clean :
1.14      takayama   51:        rm -rf dot.bashrc dot.cshrc repl openxm $(SHELL_SCRIPTS) .gen-shell-scripts work
1.4       takayama   52:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>