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
13 $(MODULE).o: $($(MODULE)_OBJECTS)
14 $(LD) -m "`$(LD) --help | awk '/supported emulations/ {print $$4}'`" -r -o $(MODULE).o $($(MODULE)_OBJECTS)
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
24 AM_CPPFLAGS="-I$(top_builddir)/include"