[BACK]Return to Makefile.hooks CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / external / gpl3 / gcc

File: [cvs.NetBSD.org] / src / external / gpl3 / gcc / Makefile.hooks (download)

Revision 1.1, Sat Mar 1 10:00:31 2014 UTC (10 years, 1 month ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, gcc-4-8-5-pre-gcc-old-import, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: yamt-pagecache, tls-maxphys, pgoyette-compat

merge GCC 4.8 build.

#	$NetBSD: Makefile.hooks,v 1.1 2014/03/01 10:00:31 mrg Exp $

#
# Makefile fragment to build genhooks and *target-hooks*.h
#

.for f in hooks
gen${f}.lo: ${HH} gen${f}.c
gen${f}: gen${f}.lo ${GENPROG_ERROR_DEPENDS} 
	${_MKTARGET_LINK}
	${HOST_LINK.cc} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY} ${LDFLAGS.${.TARGET}}
CLEANFILES+=	genhooks
.endfor

# and now the outputs of genhooks
target-hooks-def.h: genhooks
	./genhooks "Target Hook" >${.TARGET}
c-family/c-target-hooks-def.h: genhooks
	mkdir -p c-family
	./genhooks "C Target Hook" >${.TARGET}
common/common-target-hooks-def.h: genhooks
	mkdir -p common
	./genhooks "Common Target Hook" >${.TARGET}

CLEANFILES+=	target-hooks-def.h \
		c-family/c-target-hooks-def.h \
		common/common-target-hooks-def.h