blob: e716aa8756806d4ac690a78f3d581a874281cb1f (
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
|
# $OpenBSD: Makefile,v 1.3 1997/07/30 20:47:43 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 ${.CURDIR}/genassym.cf
sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} \
${PARAM} < ${.CURDIR}/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}
|