Annotation of OpenXM/bin/Makefile, Revision 1.5
1.5 ! noro 1: # $OpenXM: OpenXM/bin/Makefile,v 1.4 2000/01/09 21:04:04 maekawa Exp $
1.1 maekawa 2:
3: LIBDIR=../lib
1.5 ! noro 4: FEPLINUX=fep.linux
! 5: FEPFBSD=fep.fbsd
1.4 maekawa 6: PHC=lin_phcv2p
1.1 maekawa 7:
8: configure:
1.5 ! noro 9: @if [ -f $(FEPLINUX).gz.uuencoded ]; then \
! 10: uudecode $(FEPLINUX).gz.uuencoded ; \
! 11: gzip -d $(FEPLINUX).gz ; \
! 12: chmod +x $(FEPLINUX) ; \
! 13: fi
! 14:
! 15: @if [ -f $(FEPFBSD).gz.uuencoded ]; then \
! 16: uudecode $(FEPFBSD).gz.uuencoded ; \
! 17: gzip -d $(FEPFBSD).gz ; \
! 18: chmod +x $(FEPFBSD) ; \
1.1 maekawa 19: fi
20:
1.4 maekawa 21: @if [ -f $(PHC).gz.uuencoded ]; then \
1.5 ! noro 22: uudecode $(PHC).gz.uuencoded ; \
! 23: gzip -d $(PHC).gz ; \
1.4 maekawa 24: chmod +x $(PHC) ; \
1.1 maekawa 25: fi
26:
27: @if [ "`uname`" = "Linux" ]; then \
28: rm -f fep phc ; \
1.5 ! noro 29: ln -f -s $(FEPLINUX) fep ; \
1.4 maekawa 30: ln -f -s $(PHC) phc ; \
1.1 maekawa 31: else \
32: echo "We have the binary of phc only for linux." ; \
33: fi
34:
35: rm -f asir
36: ln -f -s $(LIBDIR)/asir/ox_asir asir
37:
38: distclean:
39: rm -f asir fep fep.linux lin_phcv2p phc
1.4 maekawa 40:
41: uuencode:
1.5 ! noro 42: @if [ -f $(FEPLINUX) ]; then \
! 43: echo '$OpenXM: OpenXM/bin/Makefile,v 1.4 2000/01/09 21:04:04 maekawa Exp $' > $(FEPLINUX).gz.uuencoded ; \
! 44: gzip -c $(FEPLINUX) | uuencode $(FEPLINUX).gz >> $(FEPLINUX).gz.uuencoded ; \
! 45: fi
! 46: @if [ -f $(FEPFBSD) ]; then \
! 47: echo '$OpenXM: OpenXM/bin/Makefile,v 1.4 2000/01/09 21:04:04 maekawa Exp $' > $(FEPFBSD).gz.uuencoded ; \
! 48: gzip -c $(FEPFBSD) | uuencode $(FEPFBSD).gz >> $(FEPFBSD).gz.uuencoded ; \
1.4 maekawa 49: fi
50: @if [ -f $(PHC) ]; then \
1.5 ! noro 51: echo '$OpenXM: OpenXM/bin/Makefile,v 1.4 2000/01/09 21:04:04 maekawa Exp $' > $(PHC).gz.uuencoded ; \
1.4 maekawa 52: gzip -c $(PHC) | uuencode $(PHC).gz >> $(PHC).gz.uuencoded ; \
53: fi
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>