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

Annotation of OpenXM/bin/Makefile, Revision 1.14

1.14    ! maekawa     1: # $OpenXM: OpenXM/bin/Makefile,v 1.13 2000/10/31 06:17:58 maekawa Exp $
1.12      maekawa     2:
                      3: OPENXM_CONTRIB=../../OpenXM_contrib
1.1       maekawa     4:
                      5: LIBDIR=../lib
1.5       noro        6: FEPLINUX=fep.linux
                      7: FEPFBSD=fep.fbsd
1.14    ! maekawa     8: PHCFBSD=fbsd_phcv2p
1.13      maekawa     9: PHCLINUX=lin_phcv2p
1.6       takayama   10: RM=rm
1.1       maekawa    11:
1.9       takayama   12: configure:
                     13:        @if [ -f .configure_done ] ; then \
                     14:                echo "OpenXM/bin is already configured." ; \
                     15:        else \
1.12      maekawa    16:                rm -f fep phc ; \
                     17:                if [ "`uname`" = "FreeBSD" ]; then \
                     18:                        make configure-freebsd ; \
                     19:                fi ; \
                     20:                if [ "`uname`" = "Linux" ]; then \
                     21:                        make configure-linux ; \
                     22:                fi ; \
                     23:                rm -f ox_asir ; \
                     24:                ln -f -s ./asir ox_asir ; \
1.13      maekawa    25:                touch ./.configure_done ; \
1.9       takayama   26:        fi
                     27:
1.10      takayama   28: clean-for-install:
                     29:        $(RM) -f *uuencoded*
                     30:
1.12      maekawa    31: configure-freebsd:
1.13      maekawa    32:        if [ -f ${PHCFBSD}.gz.uuencoded ]; then \
                     33:                uudecode -p ${PHCFBSD}.gz.uuencoded | zcat - > phc ; \
                     34:                chmod +x phc ; \
                     35:        fi
1.12      maekawa    36:        if [ -f ${FEPFBSD}.gz.uuencoded ]; then \
                     37:                uudecode -p ${FEPFBSD}.gz.uuencoded | zcat - > fep ; \
                     38:                chmod +x fep ; \
                     39:        fi
                     40:
                     41: configure-linux:
1.13      maekawa    42:        if [ -f ${PHCLINUX}.gz.uuencoded ]; then \
                     43:                uudecode -p ${PHCLINUX}.gz.uuencoded | zcat - > phc ; \
1.12      maekawa    44:                chmod +x phc ; \
                     45:        fi
                     46:        if [ -f ${FEPLINUX}.gz.uuencoded ]; then \
                     47:                uudecode -p ${FEPLINUX}.gz.uuencoded | zcat - > fep ; \
                     48:                chmod +x fep ; \
1.6       takayama   49:        fi
                     50:
1.12      maekawa    51: distclean:
                     52:        rm -f asir ox_asir fep phc
                     53:        @rm -f .configure_done
1.4       maekawa    54:
                     55: uuencode:
1.5       noro       56:        @if [ -f $(FEPLINUX) ]; then \
1.14    ! maekawa    57:                echo '$OpenXM: OpenXM/bin/Makefile,v 1.13 2000/10/31 06:17:58 maekawa Exp $' > $(FEPLINUX).gz.uuencoded ; \
1.5       noro       58:                gzip -c $(FEPLINUX) | uuencode $(FEPLINUX).gz >> $(FEPLINUX).gz.uuencoded ; \
                     59:        fi
                     60:        @if [ -f $(FEPFBSD) ]; then \
1.14    ! maekawa    61:                echo '$OpenXM: OpenXM/bin/Makefile,v 1.13 2000/10/31 06:17:58 maekawa Exp $' > $(FEPFBSD).gz.uuencoded ; \
1.5       noro       62:                gzip -c $(FEPFBSD) | uuencode $(FEPFBSD).gz >> $(FEPFBSD).gz.uuencoded ; \
1.4       maekawa    63:        fi
                     64:        @if [ -f $(PHC) ]; then \
1.14    ! maekawa    65:                echo '$OpenXM: OpenXM/bin/Makefile,v 1.13 2000/10/31 06:17:58 maekawa Exp $' > $(PHC).gz.uuencoded ; \
1.4       maekawa    66:                gzip -c $(PHC) | uuencode $(PHC).gz >> $(PHC).gz.uuencoded ; \
                     67:        fi

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