1 # Copyright (C) 2001 Cluster File Systems, Inc.
3 # This code is issued under the GNU General Public License.
4 # See the file COPYING in this distribution
6 # Build a kernel module, name.o, and install it in $(moduledir) by:
9 # EXTRA_PROGRAMS = name
10 # name_SOURCES = my.c files.c
11 # include $(top_srcdir)/Rules
14 $(MODULE).o: $($(MODULE)_OBJECTS)
15 $(LD) -m "`$(LD) --help | awk '/supported emulations/ {print $$4}'`" -r -o $(MODULE).o $($(MODULE)_OBJECTS)
18 rm -f $(top_srcdir)/TAGS
19 rm -f $(top_srcdir)/tags
20 find $(top_srcdir)/../portals/ -name '*.[hc]' | xargs etags -a
21 find $(top_srcdir) -name '*.[hc]' | grep -v ".orig" | xargs etags -a
22 find $(top_srcdir)/../portals/ -name '*.[hc]' | xargs ctags -a
23 find $(top_srcdir) -name '*.[hc]' | grep -v ".orig" | xargs ctags -a
25 AM_CPPFLAGS=-I$(top_builddir)/include