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

Annotation of OpenXM/rc/Makefile, Revision 1.20

1.20    ! takayama    1: # $OpenXM: OpenXM/rc/Makefile,v 1.19 2004/02/26 09:24:25 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
1.20    ! takayama    7: SHELL_SCRIPTS=asir sm1 oxmath oxMathematica ox openxm webasir
1.8       takayama    8: PREFIX=/usr/local
                      9: INSTALL_DIR=${PREFIX}/bin
1.11      takayama   10: MAN_DIR=../man/man1
1.19      takayama   11: KDE_MENU_DIR=/usr/lib/menu
1.5       takayama   12:
                     13: all :  dot.bashrc  dot.cshrc  openxm  .done_gen-shell-scripts
1.1       takayama   14:
1.4       takayama   15: dot.bashrc : bashrc repl
1.1       takayama   16:        rm -f dot.bashrc
                     17:        echo "# DO NOT EDIT THIS FILE" >dot.bashrc
1.15      takayama   18:        ./repl bash <bashrc >>dot.bashrc
1.1       takayama   19:
                     20: dot.cshrc : cshrc repl
                     21:        rm -f dot.cshrc
                     22:        echo "# DO NOT EDIT THIS FILE" >dot.cshrc
1.15      takayama   23:        ./repl csh <cshrc >>dot.cshrc
1.1       takayama   24:
1.13      takayama   25: repl : repl.c
1.14      takayama   26:        rm -f repl
                     27:        ${CC} -static -o ../bin/rc.repl repl.c
                     28:        ln -s ../bin/rc.repl repl
1.1       takayama   29:
1.18      ohara      30: openxm : dot.bashrc
1.1       takayama   31:        rm -f openxm
1.16      takayama   32:        echo "#!/bin/sh" >openxm
                     33:        cat dot.bashrc >>openxm
1.6       noro       34:        echo 'exec $$*' >>openxm
1.1       takayama   35:        chmod +x openxm
1.3       takayama   36:        cp -f openxm ../bin
1.1       takayama   37:
1.4       takayama   38: .done_gen-shell-scripts : dot.cshrc Makefile gen-shell-scripts
                     39:        ./gen-shell-scripts
                     40:        touch .done_gen-shell-scripts
                     41:
1.19      takayama   42: install : install-usr-bin install-kde-menu
                     43: install-usr-bin: all
                     44:        -cp -f $(SHELL_SCRIPTS) ${INSTALL_DIR}
                     45: install-kde-menu:
                     46:        -cp kde/asir-knoppix ${KDE_MENU_DIR}
                     47:        -cp kde/asir-openxm-knoppix ${KDE_MENU_DIR}
                     48:        -cp kde/asir-openxm  ${KDE_MENU_DIR}
                     49:        -cp kde/sm1 ${KDE_MENU_DIR}
1.11      takayama   50: install.man :
                     51:        -cp openxm.1 ${MAN_DIR}
1.5       takayama   52:
1.13      takayama   53: install.asir_key:
                     54:        -../bin/sm1 -f fetch_asir_key.sm1
1.17      takayama   55:
                     56: install-bin :
                     57:        cp -f webasir ../bin
1.13      takayama   58:
1.1       takayama   59: clean :
1.18      ohara      60:        rm -rf dot.bashrc dot.cshrc repl openxm $(SHELL_SCRIPTS) .done_gen-shell-scripts work
1.4       takayama   61:

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