[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / learn / src

File: [local] / src / usr.bin / learn / src / Attic / Makefile (download)

Revision 1.3, Mon Jan 29 01:57:59 2001 UTC (23 years, 4 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.2: +2 -0 lines

$OpenBSD$

#	$OpenBSD: Makefile,v 1.3 2001/01/29 01:57:59 niklas Exp $

PROG = learn

LLIB = /usr/share/learn	# must agree with pathnames.h

CFLAGS += -g

all:	learn tee lcount

# tee and lcount must be installed in LLIB!
# old makefile installed learn into LLIB as well - is it needed there?
install:	all
	echo install -o ${BINOWN} -g ${BINGRP} -m 444 learn \
			${DESTDIR}${BINDIR}/learn; \
	install -o ${BINOWN} -g ${BINGRP} tee lcount $(LLIB)

check:
	-@test -r $(LLIB)/tee || echo 'tee not present; make tee'
	-@test -r $(LLIB)/lcount || echo 'lcount not present; make lcount'


# clean rule should also remove tee and lcount

.include <bsd.prog.mk>