Annotation of OpenXM/rc/Makefile, Revision 1.13
1.13 ! takayama 1: # $OpenXM: OpenXM/rc/Makefile,v 1.12 2000/03/06 08:08:11 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
17: ./repl <bashrc >>dot.bashrc
18:
19: dot.cshrc : cshrc repl
20: rm -f dot.cshrc
21: echo "# DO NOT EDIT THIS FILE" >dot.cshrc
22: ./repl <cshrc >>dot.cshrc
23:
1.13 ! takayama 24: repl : repl.c
1.3 takayama 25: ${CC} -static -o repl repl.c
1.1 takayama 26:
27: openxm : dot.cshrc
28: rm -f openxm
29: echo "#!/bin/csh" >openxm
30: cat dot.cshrc >>openxm
1.6 noro 31: echo 'exec $$*' >>openxm
1.1 takayama 32: chmod +x openxm
1.3 takayama 33: cp -f openxm ../bin
1.1 takayama 34:
1.4 takayama 35: .done_gen-shell-scripts : dot.cshrc Makefile gen-shell-scripts
36: ./gen-shell-scripts
37: touch .done_gen-shell-scripts
38:
1.12 takayama 39: install : all
1.5 takayama 40: cp -f $(SHELL_SCRIPTS) ${INSTALL_DIR}
1.11 takayama 41:
42: install.man :
43: -cp openxm.1 ${MAN_DIR}
1.5 takayama 44:
1.13 ! takayama 45: install.asir_key:
! 46: -../bin/sm1 -f fetch_asir_key.sm1
! 47:
1.1 takayama 48: clean :
1.13 ! takayama 49: rm -f dot.bashrc dot.cshrc repl openxm $(SHELL_SCRIPTS) .gen-shell-scripts work
1.4 takayama 50:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>