summaryrefslogtreecommitdiff
path: root/distrib/sun3/common/mini_xx.mk
blob: d3d2b12c7390586b82933663127cb71938c7c813 (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
31
32
33
34
35
36
37
#
# $NetBSD: mini_xx.mk,v 1.1 1995/11/21 21:19:04 gwr Exp $
# Hacks for re-linking some programs -static
#

MINI_XX = awk grep more tip vi
mini_xx : ${MINI_XX}

clean_xx:
	-rm -f mini_xx ${MINI_XX}

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

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

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

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

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

FORCE: