Do more-or-less what the automake manual suggests about foreign

Sun May 15 10:24:09 2005  Soeren Sandmann  <sandmann@redhat.com>

	* Makefile.am, module/Makefile: Do more-or-less what the automake
	manual suggests about foreign subdirectories.
This commit is contained in:
Soeren Sandmann
2005-05-15 14:25:02 +00:00
committed by Søren Sandmann Pedersen
parent 55fd84676f
commit 023c75d71a
5 changed files with 67 additions and 24 deletions

View File

@ -31,4 +31,42 @@ endif
$(MODULE).o: $(MODULE).c
$(KMAKE) modules
# Automake rules, as per "Third-Party Makefiles" in the automake manual
all: $(MODULE).o
distdir:
cp sysprof-module.c $(distdir)
cp sysprof-module.h $(distdir)
cp Makefile $(distdir)
install:
$(KMAKE) modules_install
depmod
install-data:
install-exec:
uninstall:
install-info:
installdirs:
check:
installcheck:
mostlyclean:
clean:
rm -f sysprof-module.ko
rm -f sysprof-module.o
rm -f sysprof-module.mod.o
rm -f sysprof-module.mod.c
distclean: clean
maintainer-clean:
dvi:
pdf:
info:
html:
tags:
ctags:
endif