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

Annotation of OpenXM/rc/Makefile, Revision 1.8

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

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