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

File: [local] / OpenXM / bin / Attic / Makefile (download)

Revision 1.1, Sun Jan 9 20:19:39 2000 UTC (24 years, 4 months ago) by maekawa
Branch: MAIN

Add Makefile instead of shell script.

# $OpenXM: OpenXM/bin/Makefile,v 1.1 2000/01/09 20:19:39 maekawa Exp $

LIBDIR=../lib

configure:
	@if [ -f lin_phcv2p.gz.uuencoded ]; then \
		uudecode lin_phcv2p.gz.uuencoded | gzip -d ; \
		chmod +x lin_phcv2p ; \
	fi

	@if [ -f fep.linux.gz.uuencoded ]; then \
		uudecode fep.linux.gz.uuencoded | gzip -d ; \
		chmod +x fep.linux ; \
	fi

	@if [ "`uname`" = "Linux" ]; then \
		rm -f fep phc ; \
		ln -f -s fep.linux fep ; \
		ln -f -s lin_phcv2p phc ; \
	else \
		echo "We have the binary of phc only for linux." ; \
	fi

	rm -f asir
	ln -f -s $(LIBDIR)/asir/ox_asir asir

distclean:
	rm -f asir fep fep.linux lin_phcv2p phc