blob: 4d91e4ca57c937c676a8f9ceffa36894a8bd1b7b (
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
38
39
40
41
|
# $OpenBSD: Makefile,v 1.13 2001/08/22 18:26:28 miod Exp $
NOPROG=
NOMAN=
M?= $(MACHINE)
M_A?= $(MACHINE_ARCH)
TARG= INSTALL.$M
SRC= $(.CURDIR)/INSTALL
DEP= $(SRC) $(.CURDIR)/mirrors $(.CURDIR)/$M/whatis $(.CURDIR)/$M/contents \
$(.CURDIR)/$M/hardware $(.CURDIR)/$M/xfer $(.CURDIR)/$M/prep \
$(.CURDIR)/$M/install $(.CURDIR)/$M/upgrade \
$(.CURDIR)/packages $(.CURDIR)/m4.common
all: $(TARG)
allarchs:
@cd $(.CURDIR); \
${MAKE} M=alpha M_A=alpha; \
${MAKE} M=amiga M_A=m68k; \
${MAKE} M=hp300 M_A=m68k; \
${MAKE} M=i386 M_A=i386; \
${MAKE} M=mac68k M_A=m68k; \
${MAKE} M=mvme68k M_A=m68k; \
${MAKE} M=powerpc M_A=powerpc; \
${MAKE} M=sparc M_A=sparc; \
${MAKE} M=sun3 M_A=m68k; \
${MAKE} M=vax M_A=vax ;
$(TARG): $(DEP)
m4 -DOSREV=$(OSREV) -DOSrev=$(OSrev) -DINCLUDE=$(.CURDIR)/$M \
-DMACHINE=$M -DMACHINE_ARCH=$(M_A) -Uunix $(SRC) > $@
clean cleandir:
-/bin/rm -f INSTALL.*
beforeinstall:
cp ${TARG} ${DESTDIR}/snapshot/
.include <bsd.prog.mk>
|