Annotation of OpenXM/misc/packages/FreeBSD/openxm-1.1.2/Makefile, Revision 1.1
1.1 ! takayama 1: # $OpenXM$
! 2:
! 3: # Modify this.
! 4: OpenXM_TOP=$(HOME)
! 5: # Modify this. It's for committters.
! 6: RCVS=mycvs -d kerberos.math.kobe-u.ac.jp:/usr/cvs
! 7:
! 8: PREFIX=/usr/local
! 9: srcdir = .
! 10: prefix=${PREFIX}
! 11: MAN_DIR=${prefix}/man/man1
! 12:
! 13: OpenXM_BINARIES=gnuplot4ox gnuplot_x11 k0 ox ../lib/asir/asir ox_sm1 oxlog oxweave sm1 tigers
! 14:
! 15: usage:
! 16: @echo "Targets are all, install, clean, distclean"
! 17: @echo "For committers: make-tar-ball, make-tar-ball-from-local-OpenXM"
! 18: @echo " generate-symbolic-links, clean-this-directory"
! 19: @echo " make-tar-ball : create openxm-1.1.2.tar.gz under ~/tmp"
! 20:
! 21: configure :
! 22: (cd $(srcdir)/OpenXM/src ; make configure )
! 23:
! 24: all : configure
! 25: # (cd $(srcdir)/OpenXM/src ; make ; make install)
! 26: (cd $(srcdir)/OpenXM/src ; make binary-dist)
! 27:
! 28: install : all
! 29: tar cf - OpenXM/bin OpenXM/doc OpenXM/lib OpenXM/rc OpenXM/Copyright OpenXM/include OpenXM/man OpenXM/misc | (cd ${prefix} ; tar xf - )
! 30: -for i in $(OpenXM_BINARIES); do strip ${prefix}/OpenXM/bin/$$i ; done
! 31: (cd ${prefix}/OpenXM/rc ; make ; make install PREFIX=${prefix})
! 32:
! 33: install.man : install
! 34: -cp ${prefix}/OpenXM/man/man1/* ${MAN_DIR}
! 35:
! 36: clean :
! 37: cd $(srcdir)/OpenXM/src ; make clean
! 38:
! 39: distclean :
! 40: cd $(srcdir)/OpenXM/src ; make distclean
! 41:
! 42:
! 43: #### The rests are for committers.
! 44: make-tar-ball :
! 45: rm -rf OpenXM OpenXM_contrib OpenXM_contrib2
! 46: $(RCVS) export -rHEAD OpenXM OpenXM_contrib OpenXM_contrib2
! 47: rm -f *~
! 48: echo "Creating a tar ball under ~/tmp/"
! 49: cd ..
! 50: tar czf $(HOME)/tmp/openxm-1.1.2.tar.gz openxm-1.1.2
! 51: cd openxm-1.1.2
! 52:
! 53: make-tar-ball-from-local-OpenXM :
! 54: rm -rf OpenXM OpenXM_contrib OpenXM_contrib2
! 55: (cd $(OpenXM_TOP) ; tar cf - OpenXM OpenXM_contrib OpenXM_contrib2) | tar xf -
! 56: (cd OpenXM/src ; make distclean )
! 57: rm -f *~
! 58: echo "It is ready to tar this directory."
! 59:
! 60: # This is used for the test.
! 61: generate-symbolic-links :
! 62: rm -rf OpenXM OpenXM_contrib OpenXM_contrib2
! 63: ln -s $(OpenXM_TOP)/OpenXM OpenXM
! 64: ln -s $(OpenXM_TOP)/OpenXM OpenXM_Contrib
! 65: ln -s $(OpenXM_TOP)/OpenXM OpenXM_Contrib2
! 66:
! 67:
! 68:
! 69: clean-this-directory:
! 70: /bin/rm -rf OpenXM OpenXM_contrib OpenXM_contrib2 *~
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>