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

File: [local] / OpenXM / src / tigers / Makefile (download)

Revision 1.3, Mon Jan 31 05:52:07 2000 UTC (24 years, 3 months ago) by noro
Branch: MAIN
CVS Tags: maekawa-ipv6, RELEASE_1_2_2_KNOPPIX_b, RELEASE_1_2_2_KNOPPIX, RELEASE_1_2_2, RELEASE_1_2_1, RELEASE_1_1_3, RELEASE_1_1_2
Changes since 1.2: +6 -2 lines

{gnuplot,phc,tigers}/Makefile : 'installbsd' should be used on Digital UNIX.
asir-contrib/.../Makefile : 'extract_func' -> 'extract_func -j' for japanese
                                               help files.
misc.texi : an update

# $OpenXM: OpenXM/src/tigers/Makefile,v 1.3 2000/01/31 05:52:07 noro Exp $

TIGERS = ../../../OpenXM_contrib/TiGERS_0.9
CURDIR = ../../OpenXM/src/tigers
BINDIR = ../../bin

all: patch
	@if [ ! -f ./.make_done ]; then \
		(cd $(TIGERS) ; make all) \
	fi
	@touch ./.make_done

install: all
	if test `uname` = "OSF1" ; then \
		installbsd -c -s $(TIGERS)/tigers $(BINDIR)/tigers ; \
	else \
		install -c -s $(TIGERS)/tigers $(BINDIR)/tigers ; \
	fi

clean: patch-clean
	(cd $(TIGERS) ; rm -f *.o tigers)
	@rm -f ./.make_done

distclean:
	rm -f $(BINDIR)/tigers

patch:
	@if [ ! -f ./.patch_done ]; then \
		(cd $(TIGERS) ; patch < $(CURDIR)/tigers.patch) \
	fi
	@touch ./.patch_done

patch-clean:
	@if [ -f ./.patch_done ]; then \
		(cd $(TIGERS) ; patch -R < $(CURDIR)/tigers.patch) \
	fi
	@rm -f ./.patch_done