summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/stand/cdboot
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2013-01-17 12:37:45 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2013-01-17 12:37:45 +0000
commit008b97cc9d0a87fcb11f634eff8e82cb5e4da666 (patch)
tree337fd0da5e63ce49dce464676816df2a8744f566 /sys/arch/amd64/stand/cdboot
parentfe6266fbe52c726e1378d5573d252e068683681f (diff)
Generate assym.h where we need it, instead of reaching around into other
object directories. Discussed with deraadt@
Diffstat (limited to 'sys/arch/amd64/stand/cdboot')
-rw-r--r--sys/arch/amd64/stand/cdboot/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/amd64/stand/cdboot/Makefile b/sys/arch/amd64/stand/cdboot/Makefile
index a203aad1581..354adaa6a2c 100644
--- a/sys/arch/amd64/stand/cdboot/Makefile
+++ b/sys/arch/amd64/stand/cdboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.17 2013/01/17 12:25:11 jsing Exp $
+# $OpenBSD: Makefile,v 1.18 2013/01/17 12:37:44 jsing Exp $
MAN= cdboot.8
@@ -39,6 +39,9 @@ SRCS+= divdi3.c moddi3.c qdivrem.c
.PATH: ${S}/lib/libz
SRCS+= adler32.c crc32.c inflate.c inftrees.c
+${.CURDIR}/srt0.S: assym.h
+${SADIR}/libsa/gidt.S: assym.h
+
${PROG}: $(OBJS)
$(LD) $(LDFLAGS) -o ${PROG} $(OBJS)
@$(SIZE) $(PROG)