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