blob: a9fb86655ca6889e4a34220f0ca18f358d5cf038 (
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
|
# $OpenBSD: Makefile,v 1.1 1997/07/28 22:03:27 mickey Exp $
S= ${.CURDIR}/../../../..
I386= ${.CURDIR}/../..
all: machine-links assym.h
machine-links:
@rm -f machine i386
@ln -fs ${.CURDIR}/../.. i386
@ln -fs ${.CURDIR}/../../include machine
assym.h: $S/kern/genassym.sh ${I386}/i386/genassym.cf
@echo '#define NISA 1' > isa.h
@echo '#define NAPM 1' > apm.h
sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} \
${PARAM} < ${I386}/i386/genassym.cf > assym.h.tmp && \
mv -f assym.h.tmp assym.h
clean:
@rm -f isa.h apm.h assym.h
.include <bsd.obj.mk>
.include <bsd.subdir.mk>
.include "../Makefile.inc"
CFLAGS+=${SACFLAGS}
|