Annotation of OpenXM/src/tigers/Makefile, Revision 1.3
1.3 ! noro 1: # $OpenXM: OpenXM/src/tigers/Makefile,v 1.2 2000/01/08 18:43:02 maekawa Exp $
1.1 maekawa 2:
3: TIGERS = ../../../OpenXM_contrib/TiGERS_0.9
4: CURDIR = ../../OpenXM/src/tigers
5: BINDIR = ../../bin
6:
7: all: patch
8: @if [ ! -f ./.make_done ]; then \
9: (cd $(TIGERS) ; make all) \
10: fi
11: @touch ./.make_done
12:
13: install: all
1.3 ! noro 14: if test `uname` = "OSF1" ; then \
! 15: installbsd -c -s $(TIGERS)/tigers $(BINDIR)/tigers ; \
! 16: else \
! 17: install -c -s $(TIGERS)/tigers $(BINDIR)/tigers ; \
! 18: fi
1.1 maekawa 19:
20: clean: patch-clean
21: (cd $(TIGERS) ; rm -f *.o tigers)
22: @rm -f ./.make_done
1.2 maekawa 23:
24: distclean:
25: rm -f $(BINDIR)/tigers
1.1 maekawa 26:
27: patch:
28: @if [ ! -f ./.patch_done ]; then \
29: (cd $(TIGERS) ; patch < $(CURDIR)/tigers.patch) \
30: fi
31: @touch ./.patch_done
32:
33: patch-clean:
34: @if [ -f ./.patch_done ]; then \
35: (cd $(TIGERS) ; patch -R < $(CURDIR)/tigers.patch) \
36: fi
37: @rm -f ./.patch_done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>