Fix target 'tags'.
This commit is contained in:
parent
911a33d453
commit
062b6658ec
@ -1,14 +1,20 @@
|
||||
# $NetBSD: Makefile,v 1.7 2008/10/25 22:27:37 apb Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2011/04/04 19:44:16 dyoung Exp $
|
||||
|
||||
# Makefile for atari tags file and boot blocks
|
||||
|
||||
# Find where m68k source files are for inclusion in tags
|
||||
.include <../m68k/Makefile.inc>
|
||||
|
||||
TATARI= ../atari/tags
|
||||
SATARI= ../atari/atari/*.[ch] ../atari/include/*.h \
|
||||
../atari/dev/*.[ch]
|
||||
AATARI= ../atari/atari/*.s
|
||||
TATARI= ${SYSDIR}/arch/atari/tags
|
||||
SATARI= ${SYSDIR}/arch/atari/atari/*.[ch]
|
||||
SATARI+= ${SYSDIR}/arch/atari/include/*.h
|
||||
SATARI+= ${SYSDIR}/arch/atari/dev/*.[ch]
|
||||
SATARI+= ${SYSDIR}/arch/atari/isa/*.[ch]
|
||||
SATARI+= ${SYSDIR}/arch/atari/pci/*.[ch]
|
||||
SATARI+= ${SYSDIR}/arch/atari/vme/*.[ch]
|
||||
|
||||
AATARI= ${SYSDIR}/arch/atari/atari/*.s
|
||||
AATARI+= ${SYSDIR}/arch/atari/dev/*.s
|
||||
|
||||
# Directories in which to place tags links
|
||||
DATARI= atari dev include
|
||||
@ -16,7 +22,9 @@ DATARI= atari dev include
|
||||
.include "../../kern/Make.tags.inc"
|
||||
|
||||
tags:
|
||||
-ctags -wdtf ${TATARI} ${SATARI} ${SM68K} ${COMM}
|
||||
-rm -f ${TATARI}
|
||||
-echo ${SATARI} ${SM68K} | xargs ctags -wadtf ${TATARI}
|
||||
-${FINDCOMM} | xargs ctags -wadtf ${TATARI}
|
||||
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AATARI} ${AM68K} | \
|
||||
${TOOL_SED} "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
||||
>> ${TATARI}
|
||||
|
@ -1,11 +1,13 @@
|
||||
# $NetBSD: Makefile,v 1.3 2008/10/25 22:27:37 apb Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2011/04/04 19:44:37 dyoung Exp $
|
||||
|
||||
# Makefile for cats tags file and boot blocks
|
||||
|
||||
TCATS= ../cats/tags
|
||||
SCATS= ../cats/cats/*.[ch] ../cats/include/*.h \
|
||||
../cats/isa/*.[ch]
|
||||
ACATS= ../cats/cats/*.S
|
||||
# Find where ARM source files are for inclusion in tags
|
||||
.include <../arm/Makefile.inc>
|
||||
|
||||
TCATS= ${SYSDIR}/arch/cats/tags
|
||||
SCATS= ${SYSDIR}/arch/cats/cats/*.[ch] ${SYSDIR}/arch/cats/include/*.h \
|
||||
${SYSDIR}/arch/cats/pci/*.[ch]
|
||||
|
||||
# Directories in which to place tags links
|
||||
DCATS= isa include
|
||||
@ -13,8 +15,10 @@ DCATS= isa include
|
||||
.include "../../kern/Make.tags.inc"
|
||||
|
||||
tags:
|
||||
-ctags -wdtf ${TCATS} ${SCATS} ${COMM}
|
||||
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ACATS} | \
|
||||
-rm -f ${TCATS}
|
||||
-echo ${SCATS} ${SARM} | xargs ctags -wadtf ${TCATS}
|
||||
-${FINDCOMM} | xargs ctags -wadtf ${TCATS}
|
||||
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ACATS} ${AARM} | \
|
||||
${TOOL_SED} -e \
|
||||
"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
||||
>> ${TCATS}
|
||||
|
@ -1,14 +1,16 @@
|
||||
# $NetBSD: Makefile,v 1.5 2008/10/25 22:27:37 apb Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2011/04/04 19:45:00 dyoung Exp $
|
||||
|
||||
# Makefile for cobalt tags file
|
||||
|
||||
# Find where mips source files are for inclusion in tags
|
||||
.include <../mips/Makefile.inc>
|
||||
|
||||
TCOBALT= ../cobalt/tags
|
||||
SCOBALT= ../cobalt/cobalt/*.[ch] ../cobalt/include/*.h \
|
||||
../cobalt/dev/*.[ch] ../cobalt/pci/*.[ch]
|
||||
ACOBALT= ../cobalt/cobalt/*.S
|
||||
TCOBALT= ${SYSDIR}/arch/cobalt/tags
|
||||
SCOBALT= ${SYSDIR}/arch/cobalt/cobalt/*.[ch] \
|
||||
${SYSDIR}/arch/cobalt/include/*.h \
|
||||
${SYSDIR}/arch/cobalt/dev/*.[ch] \
|
||||
${SYSDIR}/arch/cobalt/pci/*.[ch]
|
||||
ACOBALT= ${SYSDIR}/arch/cobalt/cobalt/*.S
|
||||
|
||||
# Directories in which to place tags links
|
||||
DCOBALT= pci include
|
||||
@ -16,7 +18,9 @@ DCOBALT= pci include
|
||||
.include "../../kern/Make.tags.inc"
|
||||
|
||||
tags:
|
||||
-ctags -wdtf ${TCOBALT} ${SCOBALT} ${SMIPS} ${COMM}
|
||||
-rm -f ${TCOBALT}
|
||||
-echo ${SCOBALT} ${SMIPS} | xargs ctags -wadtf ${TCOBALT}
|
||||
-${FINDCOMM} | xargs ctags -wadtf ${TCOBALT}
|
||||
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ACOBALT} ${AMIPS} | \
|
||||
${TOOL_SED} -e \
|
||||
"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
||||
|
@ -1,17 +1,67 @@
|
||||
# $NetBSD: Makefile,v 1.6 2008/10/25 22:27:37 apb Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2011/04/04 19:45:24 dyoung Exp $
|
||||
|
||||
# Makefile for evbarm tags file and boot blocks
|
||||
|
||||
# Find where ARM source files are for inclusion in tags
|
||||
.include <../arm/Makefile.inc>
|
||||
|
||||
TEVBARM= ${SYSDIR}/arch/evbarm/tags
|
||||
SEVBARM= ${SYSDIR}/arch/arm/xscale/*.[ch] \
|
||||
${SYSDIR}/arch/evbarm/dev/*.[ch] \
|
||||
${SYSDIR}/arch/evbarm/ifpga/*.[ch] \
|
||||
${SYSDIR}/arch/evbarm/include/*.h \
|
||||
${SYSDIR}/arch/evbarm/integrator/*.[ch] \
|
||||
${SYSDIR}/arch/evbarm/iq31244/*.[ch] \
|
||||
${SYSDIR}/arch/evbarm/iq80310/*.[ch] \
|
||||
${SYSDIR}/arch/evbarm/iq80321/*.[ch]
|
||||
AEVBARM= ${SYSDIR}/arch/evbarm/integrator/*.S
|
||||
SEVBARM= ${SYSDIR}/arch/evbarm/adi_brh/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/armadillo/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/beagle/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/cp3100/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/dev/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/devkit8000/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/evbarm/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/g42xxeb/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/gemini/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/gumstix/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/hdl_g/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/ifpga/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/imx31/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/include/*.h
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/integrator/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/iq31244/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/iq80310/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/iq80321/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/ixdp425/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/ixm1200/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/lubbock/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/marvell/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/mpcsa/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/netwalker/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/npwr_fc/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/nslu2/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/osk5912/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/smdk2xx0/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/tisdp24xx/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/tsarm/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/evbarm/viper/*.[ch]
|
||||
SEVBARM+= ${SYSDIR}/arch/arm/xscale/*.[ch]
|
||||
|
||||
AEVBARM= ${SYSDIR}/arch/evbarm/adi_brh/*.S
|
||||
AEVBARM+= ${SYSDIR}/arch/evbarm/armadillo/*.S
|
||||
AEVBARM+= ${SYSDIR}/arch/evbarm/beagle/*.S
|
||||
AEVBARM+= ${SYSDIR}/arch/evbarm/g42xxeb/*.S
|
||||
AEVBARM+= ${SYSDIR}/arch/evbarm/gemini/*.S
|
||||
AEVBARM+= ${SYSDIR}/arch/evbarm/gumstix/*.S
|
||||
AEVBARM+= ${SYSDIR}/arch/evbarm/hdl_g/*.S
|
||||
AEVBARM+= ${SYSDIR}/arch/evbarm/imx31/*.S
|
||||
AEVBARM+= ${SYSDIR}/arch/evbarm/ixdp425/*.S
|
||||
AEVBARM+= ${SYSDIR}/arch/evbarm/ixm1200/*.S
|
||||
AEVBARM+= ${SYSDIR}/arch/evbarm/lubbock/*.S
|
||||
AEVBARM+= ${SYSDIR}/arch/evbarm/marvell/*.S
|
||||
AEVBARM+= ${SYSDIR}/arch/evbarm/mpcsa/*.S
|
||||
AEVBARM+= ${SYSDIR}/arch/evbarm/netwalker/*.S
|
||||
AEVBARM+= ${SYSDIR}/arch/evbarm/nslu2/*.S
|
||||
AEVBARM+= ${SYSDIR}/arch/evbarm/smdk2xx0/*.S
|
||||
AEVBARM+= ${SYSDIR}/arch/evbarm/tisdp24xx/*.S
|
||||
AEVBARM+= ${SYSDIR}/arch/evbarm/tsarm/*.S
|
||||
AEVBARM+= ${SYSDIR}/arch/evbarm/viper/*.S
|
||||
AEVBARM+= ${SYSDIR}/arch/arm/xscale/*.S
|
||||
AEVBARM+= ${SYSDIR}/arch/evbarm/integrator/*.S
|
||||
AEVBARM+= ${SYSDIR}/arch/evbarm/iq80310/*.S
|
||||
AEVBARM+= ${SYSDIR}/arch/evbarm/iq80321/*.S
|
||||
|
||||
# Directories in which to place tags links
|
||||
DEVBARM= include
|
||||
@ -20,9 +70,9 @@ DEVBARM= include
|
||||
|
||||
tags:
|
||||
-rm -f ${TEVBARM}
|
||||
-echo ${SEVBARM} | xargs ctags -wadtf ${TEVBARM}
|
||||
-echo ${SEVBARM} ${SARM} | xargs ctags -wadtf ${TEVBARM}
|
||||
-${FINDCOMM} | xargs ctags -wadtf ${TEVBARM}
|
||||
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AEVBARM} | \
|
||||
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AEVBARM} ${AARM} | \
|
||||
${TOOL_SED} -e \
|
||||
"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
||||
>> ${TEVBARM}
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.7 2008/10/25 22:27:37 apb Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2011/04/04 19:46:40 dyoung Exp $
|
||||
|
||||
# Makefile for evbmips tags file and boot blocks
|
||||
|
||||
@ -7,9 +7,15 @@
|
||||
|
||||
# XXX ! fix this
|
||||
TEVBMIPS= ${SYSDIR}/arch/evbmips/tags
|
||||
SEVBMIPS= ${SYSDIR}/arch/evbmips/evbmips/*.[ch] \
|
||||
${SYSDIR}/arch/evbmips/include/*.h \
|
||||
${SYSDIR}/arch/evbmips/isa/*.[ch]
|
||||
SEVBMIPS= ${SYSDIR}/arch/evbmips/adm5120/*.[ch]
|
||||
SEVBMIPS+= ${SYSDIR}/arch/evbmips/alchemy/*.[ch]
|
||||
SEVBMIPS+= ${SYSDIR}/arch/evbmips/atheros/*.[ch]
|
||||
SEVBMIPS+= ${SYSDIR}/arch/evbmips/evbmips/*.[ch]
|
||||
SEVBMIPS+= ${SYSDIR}/arch/evbmips/gdium/*.[ch]
|
||||
SEVBMIPS+= ${SYSDIR}/arch/evbmips/include/*.h
|
||||
SEVBMIPS+= ${SYSDIR}/arch/evbmips/isa/*.[ch]
|
||||
SEVBMIPS+= ${SYSDIR}/arch/evbmips/malta/*.[ch]
|
||||
SEVBMIPS+= ${SYSDIR}/arch/evbmips/rmixl/*.[ch]
|
||||
AEVBMIPS= ${SYSDIR}/arch/evbmips/evbmips/*.S
|
||||
|
||||
# Directories in which to place tags links
|
||||
|
@ -1,32 +1,39 @@
|
||||
# $NetBSD: Makefile,v 1.2 2003/01/06 17:40:28 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2011/04/04 19:46:40 dyoung Exp $
|
||||
|
||||
ETAGS?= etags
|
||||
.include <../powerpc/Makefile.inc>
|
||||
|
||||
# XXX Fix this to deal with multiple "evbppc" ports.
|
||||
SEVBPPC= evbppc/*.[ch] include/*.h
|
||||
AEVBPPC=
|
||||
TEVBPPC= ${SYSDIR}/arch/evbppc/tags
|
||||
SEVBPPC= ${SYSDIR}/arch/evbppc/evbppc/*.[ch]
|
||||
SEVBPPC+= ${SYSDIR}/arch/evbppc/include/*.h
|
||||
SEVBPPC+= ${SYSDIR}/arch/evbppc/pmppc/dev/*.[ch]
|
||||
SEVBPPC+= ${SYSDIR}/arch/evbppc/pmppc/pci/*.[ch]
|
||||
SEVBPPC+= ${SYSDIR}/arch/evbppc/pmppc/*.[ch]
|
||||
AEVBPPC= ${SYSDIR}/arch/evbppc/ev64260/*.S \
|
||||
${SYSDIR}/arch/evbppc/explora/*.S \
|
||||
${SYSDIR}/arch/evbppc/mpc85xx/*.S \
|
||||
${SYSDIR}/arch/evbppc/obs405/*.S \
|
||||
${SYSDIR}/arch/evbppc/pmppc/*.S \
|
||||
${SYSDIR}/arch/evbppc/virtex/*.S \
|
||||
${SYSDIR}/arch/evbppc/walnut/*.S
|
||||
|
||||
SPPC= ../powerpc/ibm4xx/*.[ch] ../powerpc/powerpc/*.[ch] \
|
||||
../powerpc/include/*.h ../powerpc/include/ibm4xx/*.h \
|
||||
../powerpc/fpu/*.[ch]
|
||||
APPC= ../powerpc/ibm4xx/*.[sS] ../powerpc/powerpc/*.[sS]
|
||||
LPPC= ../../lib/libkern/arch/powerpc/*.[chsS] \
|
||||
../../lib/libkern/*.[ch] \
|
||||
../../lib/libsa/*.[ch]
|
||||
DEVBPPC= include
|
||||
|
||||
SYSDIR= ../..
|
||||
.include "../../kern/Make.tags.inc"
|
||||
|
||||
.ifmake TAGS
|
||||
COMM!= find ${SYSDIR} -name "arch" -prune -o -name "*.[ch]" -print
|
||||
.endif
|
||||
tags:
|
||||
-rm -f ${TEVBPPC}
|
||||
-echo ${SEVBPPC} ${SPPC} | xargs ctags -wadtf ${TEVBPPC}
|
||||
-${FINDCOMM} | xargs ctags -wadtf ${TEVBPPC}
|
||||
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AEVBPPC} ${APPC} | \
|
||||
${TOOL_SED} -e \
|
||||
"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
||||
>> ${TEVBPPC}
|
||||
sort -o ${TEVBPPC} ${TEVBPPC}
|
||||
|
||||
TAGS: ${SEVBPPC} ${COMM} ${SPPC} ${COMM} ${ASPARC64}
|
||||
@echo Making TAGS...
|
||||
@${ETAGS} ${SEVBPPC} ${COMM} ${SPPC} ${COMM} "--regex=/^GLOBAL(\(.*\))/\1/" \
|
||||
"--regex=/^_C_LABEL(\(.*\)):/\1/" "--regex=/^\(.*\):/\1/" \
|
||||
"--regex=/^ENTRY(\(.*\)):/\1/" "--regex=/^ASENTRY(\(.*\)):/\1/" \
|
||||
${APPC} ${AEVBPPC}
|
||||
links:
|
||||
-for i in ${DEVBPPC}; do \
|
||||
cd $$i && rm -f tags; ln -s ../tags tags; done
|
||||
|
||||
|
||||
SUBDIR= compile include
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.39 2011/03/18 19:48:12 dyoung Exp $
|
||||
# $NetBSD: Makefile,v 1.40 2011/04/04 19:46:40 dyoung Exp $
|
||||
|
||||
# Makefile for i386 tags file and boot blocks
|
||||
|
||||
@ -18,6 +18,11 @@ SI386+= ${SYSDIR}/arch/x86/x86/*.[ch] \
|
||||
${SYSDIR}/arch/x86/acpi/*.[ch] \
|
||||
${SYSDIR}/arch/x86/include/*.h \
|
||||
${SYSDIR}/arch/x86/isa/*.[ch] \
|
||||
${SYSDIR}/arch/xen/include/*.h \
|
||||
${SYSDIR}/arch/xen/i386/*.[ch] \
|
||||
${SYSDIR}/arch/xen/x86/*.[ch] \
|
||||
${SYSDIR}/arch/xen/xen/*.[ch] \
|
||||
${SYSDIR}/arch/xen/xenbus/*.[ch] \
|
||||
${SYSDIR}/arch/x86/pci/*.[ch]
|
||||
AI386= ${SYSDIR}/arch/i386/i386/*.S
|
||||
|
||||
@ -29,7 +34,7 @@ DI386= i386 eisa isa include pci
|
||||
tags:
|
||||
-rm -f ${TI386}
|
||||
-echo ${SI386} | xargs ctags -wadtf ${TI386}
|
||||
-find -H ${SYSDIR}/external/intel-public/acpica/dist/ -name '*.[ch]' | \
|
||||
-find -H ${SYSDIR}/external/bsd/acpica/dist/ -name '*.[ch]' | \
|
||||
sort -t / -u | xargs ctags -wadtf ${TI386}
|
||||
-${FINDCOMM} | xargs ctags -wadtf ${TI386}
|
||||
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \
|
||||
|
@ -1,7 +1,9 @@
|
||||
# $NetBSD: Makefile.inc,v 1.6 2007/03/20 08:52:04 dyoung Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.7 2011/04/04 19:47:50 dyoung Exp $
|
||||
|
||||
AMIPS= ${SYSDIR}/arch/mips/mips/*.S
|
||||
SMIPS= ${SYSDIR}/arch/mips/mips/*.[ch] ${SYSDIR}/arch/mips/include/*.h
|
||||
AMIPS+= ${SYSDIR}/arch/mips/rmi/*.S
|
||||
SMIPS= ${SYSDIR}/arch/mips/mips/*.[ch]
|
||||
SMIPS+= ${SYSDIR}/arch/mips/include/*.h
|
||||
SMIPS+= ${SYSDIR}/arch/mips/adm5120/*.[ch]
|
||||
SMIPS+= ${SYSDIR}/arch/mips/adm5120/dev/*.[ch]
|
||||
SMIPS+= ${SYSDIR}/arch/mips/adm5120/include/*.h
|
||||
@ -12,3 +14,8 @@ SMIPS+= ${SYSDIR}/arch/mips/atheros/*.[ch]
|
||||
SMIPS+= ${SYSDIR}/arch/mips/atheros/dev/*.[ch]
|
||||
SMIPS+= ${SYSDIR}/arch/mips/atheros/include/*.h
|
||||
SMIPS+= ${SYSDIR}/arch/mips/bonito/*.[ch]
|
||||
SMIPS+= ${SYSDIR}/arch/mips/cfe/*.[ch]
|
||||
SMIPS+= ${SYSDIR}/arch/mips/rmi/*.[ch]
|
||||
SMIPS+= ${SYSDIR}/arch/mips/sibyte/dev/*.[ch]
|
||||
SMIPS+= ${SYSDIR}/arch/mips/sibyte/include/*.[ch]
|
||||
SMIPS+= ${SYSDIR}/arch/mips/sibyte/pci/*.[ch]
|
||||
|
@ -1,20 +1,25 @@
|
||||
# $NetBSD: Makefile,v 1.3 2008/10/25 22:27:38 apb Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2011/04/04 19:47:00 dyoung Exp $
|
||||
|
||||
# Makefile for netwinder tags file and boot blocks
|
||||
|
||||
TNETWINDER= ../netwinder/tags
|
||||
SNETWINDER= ../netwinder/netwinder/*.[ch] ../netwinder/include/*.h \
|
||||
../netwinder/isa/*.[ch] ../netwinder/pci/*.[ch]
|
||||
ANETWINDER= ../netwinder/netwinder/*.s
|
||||
.include <../arm/Makefile.inc>
|
||||
|
||||
TNETWINDER= ${SYSDIR}/arch/netwinder/tags
|
||||
SNETWINDER= ${SYSDIR}/arch/netwinder/netwinder/*.[ch] \
|
||||
${SYSDIR}/arch/netwinder/include/*.h \
|
||||
${SYSDIR}/arch/netwinder/pci/*.[ch]
|
||||
ANETWINDER= ${SYSDIR}/arch/netwinder/netwinder/*.S
|
||||
|
||||
# Directories in which to place tags links
|
||||
DNETWINDER= isa pci include
|
||||
DNETWINDER= pci include
|
||||
|
||||
.include "../../kern/Make.tags.inc"
|
||||
|
||||
tags:
|
||||
-ctags -wdtf ${TNETWINDER} ${SNETWINDER} ${COMM}
|
||||
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ANETWINDER} | \
|
||||
-rm -f ${TNETWINDER}
|
||||
-echo ${SNETWINDER} ${SARM} | xargs ctags -wadtf ${TNETWINDER}
|
||||
-${FINDCOMM} | xargs ctags -wadtf ${TNETWINDER}
|
||||
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ANETWINDER} ${AARM} | \
|
||||
${TOOL_SED} -e \
|
||||
"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
||||
>> ${TNETWINDER}
|
||||
|
@ -1,4 +1,32 @@
|
||||
# $NetBSD: Makefile,v 1.6 2003/01/06 17:40:43 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2011/04/04 19:47:21 dyoung Exp $
|
||||
|
||||
.include <../powerpc/Makefile.inc>
|
||||
|
||||
TOFPPC= ${SYSDIR}/arch/ofppc/tags
|
||||
SOFPPC= ${SYSDIR}/arch/ofppc/ofppc/*.[ch] \
|
||||
${SYSDIR}/arch/ofppc/isa/*.[ch] \
|
||||
${SYSDIR}/arch/ofppc/pci/*.[ch] \
|
||||
${SYSDIR}/arch/ofppc/include/*.h
|
||||
AOFPPC= ${SYSDIR}/arch/ofppc/ofppc/*.S
|
||||
|
||||
DOFPPC= include
|
||||
|
||||
.include "../../kern/Make.tags.inc"
|
||||
|
||||
tags:
|
||||
-rm -f ${TOFPPC}
|
||||
-echo ${SOFPPC} ${SPPC} | xargs ctags -wadtf ${TOFPPC}
|
||||
-${FINDCOMM} | xargs ctags -wadtf ${TOFPPC}
|
||||
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AOFPPC} ${APPC} | \
|
||||
${TOOL_SED} -e \
|
||||
"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
||||
>> ${TOFPPC}
|
||||
sort -o ${TOFPPC} ${TOFPPC}
|
||||
|
||||
links:
|
||||
-for i in ${DOFPPC}; do \
|
||||
cd $$i && rm -f tags; ln -s ../tags tags; done
|
||||
|
||||
|
||||
SUBDIR= compile include stand
|
||||
|
||||
|
@ -1,20 +1,23 @@
|
||||
# $NetBSD: Makefile,v 1.3 2008/10/25 22:27:38 apb Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2011/04/04 19:47:49 dyoung Exp $
|
||||
|
||||
# Makefile for tags file
|
||||
.include <../powerpc/Makefile.inc>
|
||||
|
||||
TPREP= ../prep/tags
|
||||
SPREP= ../prep/prep/*.[ch] ../prep/include/*.h ../prep/isa/*.[ch] \
|
||||
../prep/pci/*.[ch]
|
||||
APREP= ../prep/prep/*.[sS]
|
||||
TPREP= ${SYSDIR}/arch/prep/tags
|
||||
SPREP= ${SYSDIR}/arch/prep/prep/*.[ch] \
|
||||
${SYSDIR}/arch/prep/isa/*.[ch] \
|
||||
${SYSDIR}/arch/prep/pci/*.[ch] \
|
||||
${SYSDIR}/arch/prep/include/*.h
|
||||
APREP= ${SYSDIR}/arch/prep/prep/*.S
|
||||
|
||||
# Directories in which to place tags links
|
||||
DPREP= include
|
||||
|
||||
.include "../../kern/Make.tags.inc"
|
||||
|
||||
tags:
|
||||
-ctags -wdtf ${TPREP} ${SPREP} ${COMM}
|
||||
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${APREP} | \
|
||||
-rm -f ${TPREP}
|
||||
-echo ${SPREP} ${SPPC} | xargs ctags -wadtf ${TPREP}
|
||||
-${FINDCOMM} | xargs ctags -wadtf ${TPREP}
|
||||
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${APREP} ${APPC} | \
|
||||
${TOOL_SED} -e \
|
||||
"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
||||
>> ${TPREP}
|
||||
|
@ -1,4 +1,32 @@
|
||||
# $NetBSD: Makefile,v 1.3 2011/01/28 22:15:36 phx Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2011/04/04 19:47:50 dyoung Exp $
|
||||
|
||||
.include <../powerpc/Makefile.inc>
|
||||
|
||||
TSANDPOINT= ${SYSDIR}/arch/sandpoint/tags
|
||||
SSANDPOINT= ${SYSDIR}/arch/sandpoint/sandpoint/*.[ch] \
|
||||
${SYSDIR}/arch/sandpoint/isa/*.[ch] \
|
||||
${SYSDIR}/arch/sandpoint/pci/*.[ch] \
|
||||
${SYSDIR}/arch/sandpoint/include/*.h
|
||||
ASANDPOINT= ${SYSDIR}/arch/sandpoint/sandpoint/*.S
|
||||
|
||||
DSANDPOINT= include
|
||||
|
||||
.include "../../kern/Make.tags.inc"
|
||||
|
||||
tags:
|
||||
-rm -f ${TSANDPOINT}
|
||||
-echo ${SSANDPOINT} ${SPPC} | xargs ctags -wadtf ${TSANDPOINT}
|
||||
-${FINDCOMM} | xargs ctags -wadtf ${TSANDPOINT}
|
||||
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASANDPOINT} ${APPC} | \
|
||||
${TOOL_SED} -e \
|
||||
"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
||||
>> ${TSANDPOINT}
|
||||
sort -o ${TSANDPOINT} ${TSANDPOINT}
|
||||
|
||||
links:
|
||||
-for i in ${DSANDPOINT}; do \
|
||||
cd $$i && rm -f tags; ln -s ../tags tags; done
|
||||
|
||||
|
||||
SUBDIR= compile include stand
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user