summaryrefslogtreecommitdiff
path: root/distrib/sun3/common/mini_xx.mk
blob: 6d430d07737dfc1803d84d3369538b2e0adc75d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
# $NetBSD: mini_xx.mk,v 1.1.6.1 1996/08/29 03:17:15 gwr Exp $
# Hacks for re-linking some programs -static
#

MINI_XX = grep less tip vi
mini_xx : ${MINI_XX}

clean_xx:
	-rm -f ${MINI_XX}

grep :
	cd ${BSDSRCDIR}/gnu/usr.bin/grep ;\
	$(MAKE) -f Makefile -f ${TOP}/common/Make.static \
	    OUTDIR=${.CURDIR} ${.CURDIR}/grep

less :
	cd ${BSDSRCDIR}/usr.bin/less/less ;\
	$(MAKE) -f Makefile -f ${TOP}/common/Make.static \
	    OUTDIR=${.CURDIR} ${.CURDIR}/less

tip :
	cd ${BSDSRCDIR}/usr.bin/tip ;\
	$(MAKE) -f Makefile -f ${TOP}/common/Make.static \
	    OUTDIR=${.CURDIR} ${.CURDIR}/tip

vi :
	cd ${BSDSRCDIR}/usr.bin/vi/build ;\
	$(MAKE) -f Makefile -f ${TOP}/common/Make.static \
	    OUTDIR=${.CURDIR} ${.CURDIR}/vi