NetBSD/gnu/lib/libgcc4/Makefile.unwind_h
mrg 5378eb2368 factor out the unwind.h building code. use it for libgcc itself (needed
when there is no libgcc_s.)

add dependancies for the generated arch/defs.mk to optionlist.
2006-06-23 17:27:08 +00:00

16 lines
302 B
Makefile

# $NetBSD: Makefile.unwind_h,v 1.1 2006/06/23 17:27:08 mrg Exp $
.if !defined(_GNU_LIBGCC_UNWIND_H)
_GNU_LIBGCC_UNWIND_H=1
# fragment to build unwind.h.
${LIB2_EH}: unwind.h
unwind.h: ${G_UNWIND_H}
${_MKTARGET_CREATE}
rm -f ${.TARGET}
ln -s ${G_UNWIND_H} ${.TARGET}
CLEANFILES+= unwind.h
.endif