1 # included in Linux kernel directories
2 # Rules for module building
6 basename=$(shell echo $< | sed -e 's/\.c//g' | sed -e 's/-//g' | sed -e 's/\.o//g')
7 AM_CPPFLAGS= -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -DKBUILD_MODNAME=$(MODULE) -DKBUILD_BASENAME=$(basename)
9 $(MODULE).o: $($(MODULE)_OBJECTS)
10 $(LD) -m $(MOD_LINK) -r -o $(MODULE).o $($(MODULE)_OBJECTS)
14 $(MODULE).o: $($(MODULE)_OBJECTS)
15 $(LD) -m $(MOD_LINK) -r -o $(MODULE).o $($(MODULE)_OBJECTS)
20 rm -f $(top_srcdir)/TAGS
21 rm -f $(top_srcdir)/tags
22 find $(top_srcdir)/../portals/ -name '*.[hc]' | xargs etags -a
23 find $(top_srcdir) -name '*.[hc]' | grep -v ".orig" | xargs etags -a
24 find $(top_srcdir)/../portals/ -name '*.[hc]' | xargs ctags -a
25 find $(top_srcdir) -name '*.[hc]' | grep -v ".orig" | xargs ctags -a