Lines Matching refs:xref

24 # This Makefile is used exclusively by `xref' to generate and maintain
29 # xref.files rule below, and any files that would also be hauled over as
31 # turned off via the -f flag to `xref').
48 # too can be overridden via the -m option to `xref'.
91 # * Any additional FLG-related source files are in xref.flg.
109 xref.files:
110 $(TOUCH) xref.flg
111 $(FIND) $(XRDIRS) `$(CAT) xref.flg` \
114 $(PERL) -ne 's:^\./::; next if ($$seen{$$_}++); print' > xref.tmp
115 > xref.files
116 -$(GREP) -v Makefile xref.tmp >> xref.files
117 -$(GREP) Makefile xref.tmp >> xref.files
118 $(RM) xref.tmp
123 # fed to the $(FIND) in xref.files, we tell $(FLGFLP) to generate relative
127 xref.flg:
128 > xref.tmp
130 $(FLGFLP) -r $$dir >> xref.tmp; \
132 $(SED) '$(XRSEDPRUNE)' < xref.tmp | $(SORT) -u > xref.flg
133 $(RM) xref.tmp
138 # are renamed or removed, so it may be necessary to do an `xref -c' if
141 xref.cscope: xref.files
143 $(CAT) - xref.files > cscope.files
146 xref.cscope.clobber: xref.clean
163 # * We include "/dev/null" in the xref.ctags rule to prevent ctags
164 # from barfing if "xref.tfiles" ends up empty (alas, ctags is
168 xref.ctags: xref.tfiles
169 $(CTAGS) $(CTFLAGS) /dev/null `$(CAT) xref.tfiles`
171 xref.ctags.clobber: xref.clean
174 xref.etags: xref.tfiles
175 $(CAT) xref.tfiles | $(ETAGS) $(ETFLAGS) -
177 xref.etags.check:
180 xref.etags.clobber: xref.clean
183 xref.tfiles: xref.files
184 > xref.tfiles
186 $(GREP) "\.$${suffix}$$" xref.files >> xref.tfiles; \
193 xref.clean:
194 -$(RM) xref.tfiles xref.files xref.tmp xref.flg ncscope.*