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

Annotation of OpenXM/bin/Makefile, Revision 1.4

1.4     ! maekawa     1: # $OpenXM: OpenXM/bin/Makefile,v 1.3 2000/01/09 20:27:28 maekawa Exp $
1.1       maekawa     2:
                      3: LIBDIR=../lib
1.4     ! maekawa     4: FEP=fep.linux
        !             5: PHC=lin_phcv2p
1.1       maekawa     6:
                      7: configure:
1.4     ! maekawa     8:        @if [ -f $(FEP).gz.uuencoded ]; then \
        !             9:                uudecode -p $(FEP).gz.uuencoded | gzip -dc > $(FEP) ; \
        !            10:                chmod +x $(FEP) ; \
1.1       maekawa    11:        fi
                     12:
1.4     ! maekawa    13:        @if [ -f $(PHC).gz.uuencoded ]; then \
        !            14:                uudecode -p $(PHC).gz.uuencoded | gzip -dc > $(PHC) ; \
        !            15:                chmod +x $(PHC) ; \
1.1       maekawa    16:        fi
                     17:
                     18:        @if [ "`uname`" = "Linux" ]; then \
                     19:                rm -f fep phc ; \
1.4     ! maekawa    20:                ln -f -s $(FEP) fep ; \
        !            21:                ln -f -s $(PHC) phc ; \
1.1       maekawa    22:        else \
                     23:                echo "We have the binary of phc only for linux." ; \
                     24:        fi
                     25:
                     26:        rm -f asir
                     27:        ln -f -s $(LIBDIR)/asir/ox_asir asir
                     28:
                     29: distclean:
                     30:        rm -f asir fep fep.linux lin_phcv2p phc
1.4     ! maekawa    31:
        !            32: uuencode:
        !            33:        @if [ -f $(FEP) ]; then \
        !            34:                echo '$OpenXM$' > $(FEP).gz.uuencoded ; \
        !            35:                gzip -c $(FEP) | uuencode $(FEP).gz >> $(FEP).gz.uuencoded ; \
        !            36:        fi
        !            37:        @if [ -f $(PHC) ]; then \
        !            38:                echo '$OpenXM$' > $(PHC).gz.uuencoded ; \
        !            39:                gzip -c $(PHC) | uuencode $(PHC).gz >> $(PHC).gz.uuencoded ; \
        !            40:        fi

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