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

Annotation of OpenXM/rc/Makefile, Revision 1.6

1.6     ! noro        1: # $OpenXM: OpenXM/rc/Makefile,v 1.5 2000/01/30 23:47:40 takayama Exp $
1.5       takayama    2: # make repl
                      3: # make all
                      4: # make install  [ INSTALL_DIR=/home/hoge/bin ]  ; Default is /usr/local/bin
1.2       takayama    5: CC=gcc
1.5       takayama    6: SHELL_SCRIPTS=asir sm1 gp k0 oxmath oxMathematica
                      7: INSTALL_DIR=/usr/local/bin
                      8:
                      9: all :  dot.bashrc  dot.cshrc  openxm  .done_gen-shell-scripts
1.1       takayama   10:
1.4       takayama   11: dot.bashrc : bashrc repl
1.1       takayama   12:        rm -f dot.bashrc
                     13:        echo "# DO NOT EDIT THIS FILE" >dot.bashrc
                     14:        ./repl <bashrc >>dot.bashrc
                     15:
                     16: dot.cshrc : cshrc repl
                     17:        rm -f dot.cshrc
                     18:        echo "# DO NOT EDIT THIS FILE" >dot.cshrc
                     19:        ./repl <cshrc >>dot.cshrc
                     20:
                     21: repl : repl.c
1.3       takayama   22:        ${CC} -static -o repl repl.c
1.1       takayama   23:
                     24: openxm : dot.cshrc
                     25:        rm -f openxm
                     26:        echo "#!/bin/csh" >openxm
                     27:        cat dot.cshrc >>openxm
1.6     ! noro       28:        echo 'exec $$*' >>openxm
1.1       takayama   29:        chmod +x openxm
1.3       takayama   30:        cp -f openxm ../bin
1.1       takayama   31:
1.4       takayama   32: .done_gen-shell-scripts : dot.cshrc Makefile gen-shell-scripts
                     33:        ./gen-shell-scripts
                     34:        touch .done_gen-shell-scripts
                     35:
1.5       takayama   36: install : all
                     37:        cp -f $(SHELL_SCRIPTS) ${INSTALL_DIR}
                     38:
1.1       takayama   39: clean :
1.5       takayama   40:        rm -f dot.bashrc dot.cshrc repl openxm $(SHELL_SCRIPTS) .gen-shell-scripts
1.4       takayama   41:

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