⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.in

📁 用于linux2.6内核支持模块的插入和卸载
💻 IN
📖 第 1 页 / 共 2 页
字号:
	  case "$$ext" in \	    8*) ;; \	    *) ext='8' ;; \	  esac; \	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \	  inst=`echo $$inst | sed -e 's/^.*\///'`; \	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \	doneuninstall-man8:	@$(NORMAL_UNINSTALL)	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \	for i in $$l2; do \	  case "$$i" in \	    *.8*) list="$$list $$i" ;; \	  esac; \	done; \	for i in $$list; do \	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \	  inst=`echo $$inst | sed -e 's/^.*\///'`; \	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \	  rm -f $(DESTDIR)$(man8dir)/$$inst; \	doneETAGS = etagsETAGSFLAGS =tags: TAGSID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \	unique=`for i in $$list; do \	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \	  done | \	  $(AWK) '    { files[$$0] = 1; } \	       END { for (i in files) print i; }'`; \	mkid -fID $$uniqueTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \		$(TAGS_FILES) $(LISP)	tags=; \	here=`pwd`; \	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \	unique=`for i in $$list; do \	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \	  done | \	  $(AWK) '    { files[$$0] = 1; } \	       END { for (i in files) print i; }'`; \	test -z "$(ETAGS_ARGS)$$tags$$unique" \	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \	     $$tags $$uniqueGTAGS:	here=`$(am__cd) $(top_builddir) && pwd` \	  && cd $(top_srcdir) \	  && gtags -i $(GTAGS_ARGS) $$heredistclean-tags:	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATHcheck-TESTS: $(TESTS)	@failed=0; all=0; xfail=0; xpass=0; \	srcdir=$(srcdir); export srcdir; \	list='$(TESTS)'; \	if test -n "$$list"; then \	  for tst in $$list; do \	    if test -f ./$$tst; then dir=./; \	    elif test -f $$tst; then dir=; \	    else dir="$(srcdir)/"; fi; \	    if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \	      all=`expr $$all + 1`; \	      case " $(XFAIL_TESTS) " in \	      *" $$tst "*) \	        xpass=`expr $$xpass + 1`; \	        failed=`expr $$failed + 1`; \	        echo "XPASS: $$tst"; \	      ;; \	      *) \	        echo "PASS: $$tst"; \	      ;; \	      esac; \	    elif test $$? -ne 77; then \	      all=`expr $$all + 1`; \	      case " $(XFAIL_TESTS) " in \	      *" $$tst "*) \	        xfail=`expr $$xfail + 1`; \	        echo "XFAIL: $$tst"; \	      ;; \	      *) \	        failed=`expr $$failed + 1`; \	        echo "FAIL: $$tst"; \	      ;; \	      esac; \	    fi; \	  done; \	  if test "$$failed" -eq 0; then \	    if test "$$xfail" -eq 0; then \	      banner="All $$all tests passed"; \	    else \	      banner="All $$all tests behaved as expected ($$xfail expected failures)"; \	    fi; \	  else \	    if test "$$xpass" -eq 0; then \	      banner="$$failed of $$all tests failed"; \	    else \	      banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \	    fi; \	  fi; \	  dashes=`echo "$$banner" | sed s/./=/g`; \	  echo "$$dashes"; \	  echo "$$banner"; \	  echo "$$dashes"; \	  test "$$failed" -eq 0; \	else :; fiDISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)top_distdir = .distdir = $(PACKAGE)-$(VERSION)am__remove_distdir = \  { test ! -d $(distdir) \    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \         && rm -fr $(distdir); }; }GZIP_ENV = --bestdistcleancheck_listfiles = find . -type f -printdistdir: $(DISTFILES)	$(am__remove_distdir)	mkdir $(distdir)	$(mkinstalldirs) $(distdir)/doc	@list='$(DISTFILES)'; for file in $$list; do \	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \	    dir="/$$dir"; \	    $(mkinstalldirs) "$(distdir)$$dir"; \	  else \	    dir=''; \	  fi; \	  if test -d $$d/$$file; then \	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \	    fi; \	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \	  else \	    test -f $(distdir)/$$file \	    || cp -p $$d/$$file $(distdir)/$$file \	    || exit 1; \	  fi; \	done	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \	|| chmod -R a+r $(distdir)dist-gzip: distdir	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz	$(am__remove_distdir)dist dist-all: distdir	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz	$(am__remove_distdir)# This target untars the dist file and tries a VPATH configuration.  Then# it guarantees that the distribution is self-contained by making another# tarfile.distcheck: dist	$(am__remove_distdir)	GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -	chmod -R a-w $(distdir); chmod a+w $(distdir)	mkdir $(distdir)/=build	mkdir $(distdir)/=inst	chmod a-w $(distdir)	dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \	  && cd $(distdir)/=build \	  && ../configure --srcdir=.. --prefix=$$dc_install_base \	    $(DISTCHECK_CONFIGURE_FLAGS) \	  && $(MAKE) $(AM_MAKEFLAGS) \	  && $(MAKE) $(AM_MAKEFLAGS) dvi \	  && $(MAKE) $(AM_MAKEFLAGS) check \	  && $(MAKE) $(AM_MAKEFLAGS) install \	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \	  && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \	      || { echo "ERROR: files left after uninstall:" ; \	           find $$dc_install_base -type f -print ; \	           exit 1; } >&2 ) \	  && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \	  && rm -f $(distdir).tar.gz \	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck	$(am__remove_distdir)	@echo "$(distdir).tar.gz is ready for distribution" | \	  sed 'h;s/./=/g;p;x;p;x'distcleancheck: distclean	if test '$(srcdir)' = . ; then \	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \	  exit 1 ; \	fi	test `$(distcleancheck_listfiles) | wc -l` -eq 0 \	  || { echo "ERROR: files left after distclean:" ; \	       $(distcleancheck_listfiles) ; \	       exit 1; } >&2check-am: all-am	$(MAKE) $(AM_MAKEFLAGS) check-TESTScheck: check-amall-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS)installdirs:	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(sbindir) $(DESTDIR)$(sbindir) $(DESTDIR)$(man5dir) $(DESTDIR)$(man8dir)install: install-aminstall-exec: install-exec-aminstall-data: install-data-amuninstall: uninstall-aminstall-am: all-am	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-aminstallcheck: installcheck-aminstall-strip:	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \	  INSTALL_STRIP_FLAG=-s \	  `test -z '$(STRIP)' || \	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` installmostlyclean-generic:clean-generic:distclean-generic:	-rm -f Makefile $(CONFIG_CLEAN_FILES)maintainer-clean-generic:	@echo "This command is intended for maintainers to use"	@echo "it deletes files that may require special tools to rebuild."	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)clean: clean-amclean-am: clean-binPROGRAMS clean-generic clean-sbinPROGRAMS \	mostlyclean-amdistclean: distclean-am	-rm -f $(am__CONFIG_DISTCLEAN_FILES)distclean-am: clean-am distclean-compile distclean-depend \	distclean-generic distclean-tagsdvi: dvi-amdvi-am:info: info-aminfo-am:install-data-am: install-maninstall-exec-am: install-binPROGRAMS install-sbinPROGRAMS \	install-sbinSCRIPTSinstall-info: install-info-aminstall-man: install-man5 install-man8installcheck-am:maintainer-clean: maintainer-clean-am	-rm -f $(am__CONFIG_DISTCLEAN_FILES)	-rm -rf autom4te.cachemaintainer-clean-am: distclean-am maintainer-clean-genericmostlyclean: mostlyclean-ammostlyclean-am: mostlyclean-compile mostlyclean-genericuninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man \	uninstall-sbinPROGRAMS uninstall-sbinSCRIPTSuninstall-man: uninstall-man5 uninstall-man8.PHONY: GTAGS all all-am check check-TESTS check-am clean \	clean-binPROGRAMS clean-generic clean-sbinPROGRAMS dist \	dist-all dist-gzip distcheck distclean distclean-compile \	distclean-depend distclean-generic distclean-tags \	distcleancheck distdir dvi dvi-am info info-am install \	install-am install-binPROGRAMS install-data install-data-am \	install-exec install-exec-am install-info install-info-am \	install-man install-man5 install-man8 install-sbinPROGRAMS \	install-sbinSCRIPTS install-strip installcheck installcheck-am \	installdirs maintainer-clean maintainer-clean-generic \	mostlyclean mostlyclean-compile mostlyclean-generic tags \	uninstall uninstall-am uninstall-binPROGRAMS uninstall-info-am \	uninstall-man uninstall-man5 uninstall-man8 \	uninstall-sbinPROGRAMS uninstall-sbinSCRIPTS# docbook2man writes file itself, doesn't do stdout.%.8: doc/%.sgml	if [ "$(DOCBOOKTOMAN)" = "docbook2man" ]; then                     \	    $(DOCBOOKTOMAN) $< > /dev/null 2>&1;                       \	else                                                               \	    $(DOCBOOKTOMAN) $< 2>&1 > $@ | sed 's/^[^:]*://';              \	fi%.5: doc/%.sgml	if [ "$(DOCBOOKTOMAN)" = "docbook2man" ]; then                     \	    $(DOCBOOKTOMAN) $< > /dev/null 2>&1;                       \	else                                                               \	    $(DOCBOOKTOMAN) $< 2>&1 > $@ | sed 's/^[^:]*://';              \	fi# docbook2man creates extra crap files which need cleaning.distclean: killbuildmanpageskillbuildmanpages:	rm -f doc/*.tmp manpage.refs manpage.linkstarball: $(DIST_DIR)/module-init-tools-$(VERSION).tar.gz$(DIST_DIR)/module-init-tools-$(VERSION).tar.gz: dist	mv module-init-tools-$(VERSION).tar.gz $@srpm: $(DIST_DIR)/module-init-tools-$(VERSION).tar.gz	ln -sf $(DIST_DIR)/module-init-tools-$(VERSION).tar.gz /usr/src/rpm/SOURCES/	set -e; RELEASE=`grep '^Release:' /usr/src/rpm/SPECS/modutils.spec | awk '{ print $$2 }'`; \	if [ "`grep '%define mit_ver' /usr/src/rpm/SPECS/modutils.spec | awk '{print $$3}'`" != $(VERSION) ]; then \		sed -e "s/Release: $$RELEASE/Release: `expr $$RELEASE + 1`/" -e 's/%define mit_ver.*/%define mit_ver $(VERSION)/' < /usr/src/rpm/SPECS/modutils.spec > /tmp/modutils.spec; \		rpm -ba /tmp/modutils.spec; \		mv /usr/src/rpm/SRPMS/modutils-2.4.21-`expr $$RELEASE + 1`.src.rpm $(DIST_DIR); \		mv /tmp/modutils.spec /usr/src/rpm/SPECS/modutils.spec; \	else \		rpm -ba /usr/src/rpm/SPECS/modutils.spec; \		mv /usr/src/rpm/SRPMS/modutils-2.4.21-$$RELEASE.src.rpm $(DIST_DIR); \	fi# No testsuite?tests/runtests:	mkdir tests	echo '#! /bin/sh' > $@	echo '# Install the testsuite over this dir. ' >> $@	chmod a+x $@testsuite: $(DIST_DIR)/module-init-tools-testsuite-$(VERSION).tar.gz$(DIST_DIR)/module-init-tools-testsuite-$(VERSION).tar.gz:	ln -sfn `pwd` /tmp/module-init-tools-$(VERSION) 	cd /tmp && tar --exclude '*~' -c -z -f $@ module-init-tools-$(VERSION)/tests	rm /tmp/module-init-tools-$(VERSION)# Pre-releases only don't get testsuitespre-release: check clean tarballrelease: check clean tarball testsuitemoveold: check-for-sbin check-for-old move-old-targetscheck-for-sbin:	if [ "`echo $(DESTDIR)$(sbindir) | tr -s / /`" = /sbin ]; then :;    \	else								     \		echo moveold usually only makes sense when installing into /sbin; \		exit 1;							     \	ficheck-for-old:	if [ -f /sbin/lsmod.old ]; then					\		echo Someone already moved old versions. >&2; exit 1;	\	fi# Don't just move symlinks, reset them to point to xxx.old.# RedHat 8.0 doesn't ship with readlink by default.  Use ls -l.# Also, make symlink from /bin to /sbin for lsmod (FHS compliant).move-old-targets:	for f in lsmod modprobe rmmod depmod insmod modinfo; do		    \	    if [ -L /sbin/$$f ]; then					    \		ln -sf `ls -l /sbin/$$f | sed 's/.* -> //'`.old /sbin/$$f;  \	    fi;								    \	    mv /sbin/$$f /sbin/$$f.old;					    \	    if [ -f /usr/share/man/man8/$$f.8.gz ]; then		    \		mv /usr/share/man/man8/$$f.8.gz				    \			/usr/share/man/man8/$$f.old.8.gz;		    \	    elif [ -f /usr/share/man/man8/$$f.8.bz2 ]; then		    \	        mv /usr/share/man/man8/$$f.8.bz2			    \			/usr/share/man/man8/$$f.old.8.bz2;		    \	    else							    \	        mv /usr/share/man/man8/$$f.8 /usr/share/man/man8/$$f.old.8; \	    fi;								    \	done	for f in kallsyms ksyms; do					    \	    if [ -L /sbin/$$f ]; then					    \		ln -sf `ls -l /sbin/$$f | sed 's/.* -> //'`.old /sbin/$$f;  \	    fi;								    \	done	ln -s /sbin/lsmod.old /bin/lsmod.old# For installs in /usr/local/sbinlinks:	for f in insmod modprobe rmmod depmod; do ln -s /sbin/$$f $(DESTDIR)$(sbindir)/$$f.old; done	for f in  lsmod; do ln -s /sbin/$$f $(DESTDIR)$(bindir)/$$f.old; done# Tell versions [3.59,3.63) of GNU make to not export all variables.# Otherwise a system limit (for SysV at least) may be exceeded..NOEXPORT:

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -