Whamcloud - gitweb
Another slightly less rough cut at XML based configuration. There
[fs/lustre-release.git] / lustre / Rules
1 # Copyright (C) 2001  Cluster File Systems, Inc.
2 #
3 # This code is issued under the GNU General Public License.
4 # See the file COPYING in this distribution
5
6 # Build a kernel module, name.o, and install it in $(moduledir) by:
7 #  MODULE = name
8 #  module_DATA = name.o
9 #  EXTRA_PROGRAMS = name
10 #  name_SOURCES = my.c files.c
11 #  include $(top_srcdir)/Rules
12
13 $(MODULE).o: $($(MODULE)_OBJECTS)
14         $(LD) -m "`$(LD) --help | awk '/supported emulations/ {print $$4}'`" -r -o $(MODULE).o $($(MODULE)_OBJECTS)
15
16 tags:
17         rm -f $(top_srcdir)/TAGS
18         rm -f $(top_srcdir)/tags
19         find $(top_srcdir)/../portals -name '*.[hc]' | xargs etags -a
20         find $(top_srcdir) -name '*.[hc]' | xargs etags -a
21         find $(top_srcdir)/../portals -name '*.[hc]' | xargs ctags -a
22         find $(top_srcdir) -name '*.[hc]' | xargs ctags -a
23
24 EXTRA_DIST += CVS