Cross Reference: Makefile
xref: /src/sys/arch/netwinder/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/sys/arch/netwinder/
Makefile revision 1.4
11.4Sdyoung#	$NetBSD: Makefile,v 1.4 2011/04/04 19:47:00 dyoung Exp $
21.1Smatt
31.1Smatt# Makefile for netwinder tags file and boot blocks
41.1Smatt
51.4Sdyoung.include <../arm/Makefile.inc>
61.4Sdyoung
71.4SdyoungTNETWINDER=	${SYSDIR}/arch/netwinder/tags
81.4SdyoungSNETWINDER=	${SYSDIR}/arch/netwinder/netwinder/*.[ch] \
91.4Sdyoung		${SYSDIR}/arch/netwinder/include/*.h \
101.4Sdyoung		${SYSDIR}/arch/netwinder/pci/*.[ch]
111.4SdyoungANETWINDER=	${SYSDIR}/arch/netwinder/netwinder/*.S
121.1Smatt
131.1Smatt# Directories in which to place tags links
141.4SdyoungDNETWINDER=	pci include
151.1Smatt
161.1Smatt.include "../../kern/Make.tags.inc"
171.1Smatt
181.1Smatttags:
191.4Sdyoung	-rm -f ${TNETWINDER}
201.4Sdyoung	-echo ${SNETWINDER} ${SARM} | xargs ctags -wadtf ${TNETWINDER}
211.4Sdyoung	-${FINDCOMM} | xargs ctags -wadtf ${TNETWINDER}
221.4Sdyoung	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ANETWINDER} ${AARM} | \
231.3Sapb	    ${TOOL_SED} -e \
241.4Sdyoung		"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3	\1	/^\2(\3\4$$/;" \
251.1Smatt	    >> ${TNETWINDER}
261.1Smatt	sort -o ${TNETWINDER} ${TNETWINDER}
271.1Smatt
281.1Smattlinks:
291.1Smatt	-for i in ${DNETWINDER}; do \
301.1Smatt	    cd $$i && rm -f tags; ln -s ../tags tags; done
311.1Smatt
321.1Smatt
331.2SlukemSUBDIR=	compile include
341.1Smatt
351.1Smatt.include <bsd.subdir.mk>
36

Indexes created Tue Jan 13 23:09:28 GMT 2026