Mercurial > syslog2iptables
diff Makefile.in @ 9:d76f9ff42487
initial coding
author | carl |
---|---|
date | Sat, 03 Dec 2005 13:54:47 -0800 |
parents | 551433a01cab |
children |
line wrap: on
line diff
--- a/Makefile.in Fri Dec 02 20:55:32 2005 -0800 +++ b/Makefile.in Sat Dec 03 13:54:47 2005 -0800 @@ -50,6 +50,9 @@ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = +am__installdirs = "$(DESTDIR)$(rcdir)" "$(DESTDIR)$(etcdir)" +rcSCRIPT_INSTALL = $(INSTALL_SCRIPT) +SCRIPTS = $(rc_SCRIPTS) SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ @@ -58,6 +61,14 @@ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; +etcDATA_INSTALL = $(INSTALL_DATA) +DATA = $(etc_DATA) ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) @@ -81,6 +92,7 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +BASH = @BASH@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ @@ -168,11 +180,13 @@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ - -# not a GNU package. You can remove this line, if -# have all needed files, that a GNU package needs -AUTOMAKE_OPTIONS = foreign 1.4 SUBDIRS = src +etcdir = /etc +rcdir = /etc/rc.d/init.d +etc_DATA = syslog2iptables.conf +rc_SCRIPTS = syslog2iptables +CLEANFILES = $(rc_SCRIPTS) +EXTRA_DIST = syslog2iptables.rc syslog2iptables.conf all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive @@ -183,15 +197,15 @@ @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ - echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ - cd $(srcdir) && $(AUTOMAKE) --foreign \ + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ + cd $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ cd $(top_srcdir) && \ - $(AUTOMAKE) --foreign Makefile + $(AUTOMAKE) --gnu Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ @@ -227,6 +241,25 @@ distclean-hdr: -rm -f config.h stamp-h1 +install-rcSCRIPTS: $(rc_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(rcdir)" || $(mkdir_p) "$(DESTDIR)$(rcdir)" + @list='$(rc_SCRIPTS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f $$d$$p; then \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " $(rcSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(rcdir)/$$f'"; \ + $(rcSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(rcdir)/$$f"; \ + else :; fi; \ + done + +uninstall-rcSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(rc_SCRIPTS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " rm -f '$(DESTDIR)$(rcdir)/$$f'"; \ + rm -f "$(DESTDIR)$(rcdir)/$$f"; \ + done mostlyclean-libtool: -rm -f *.lo @@ -237,6 +270,23 @@ distclean-libtool: -rm -f libtool uninstall-info-am: +install-etcDATA: $(etc_DATA) + @$(NORMAL_INSTALL) + test -z "$(etcdir)" || $(mkdir_p) "$(DESTDIR)$(etcdir)" + @list='$(etc_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(etcDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(etcdir)/$$f'"; \ + $(etcDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(etcdir)/$$f"; \ + done + +uninstall-etcDATA: + @$(NORMAL_UNINSTALL) + @list='$(etc_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(etcdir)/$$f'"; \ + rm -f "$(DESTDIR)$(etcdir)/$$f"; \ + done # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. @@ -501,9 +551,12 @@ exit 1; } >&2 check-am: all-am check: check-recursive -all-am: Makefile config.h +all-am: Makefile $(SCRIPTS) $(DATA) config.h installdirs: installdirs-recursive installdirs-am: + for dir in "$(DESTDIR)$(rcdir)" "$(DESTDIR)$(etcdir)"; do \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ + done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive @@ -521,6 +574,7 @@ mostlyclean-generic: clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) @@ -548,7 +602,7 @@ info-am: -install-data-am: +install-data-am: install-etcDATA install-rcSCRIPTS install-exec-am: @@ -576,7 +630,7 @@ ps-am: -uninstall-am: uninstall-info-am +uninstall-am: uninstall-etcDATA uninstall-info-am uninstall-rcSCRIPTS uninstall-info: uninstall-info-recursive @@ -587,14 +641,28 @@ distclean-generic distclean-hdr distclean-libtool \ distclean-recursive distclean-tags distcleancheck distdir \ distuninstallcheck dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am install-exec \ - install-exec-am install-info install-info-am install-man \ - install-strip installcheck installcheck-am installdirs \ - installdirs-am maintainer-clean maintainer-clean-generic \ + install install-am install-data install-data-am \ + install-etcDATA install-exec install-exec-am install-info \ + install-info-am install-man install-rcSCRIPTS install-strip \ + installcheck installcheck-am installdirs installdirs-am \ + maintainer-clean maintainer-clean-generic \ maintainer-clean-recursive mostlyclean mostlyclean-generic \ mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ - tags tags-recursive uninstall uninstall-am uninstall-info-am + tags tags-recursive uninstall uninstall-am uninstall-etcDATA \ + uninstall-info-am uninstall-rcSCRIPTS + +syslog2iptables: $(srcdir)/syslog2iptables.rc + rm -f syslog2iptables + echo "#! " $(BASH) >syslog2iptables + cat $(srcdir)/syslog2iptables.rc >>syslog2iptables + chmod 755 syslog2iptables + +chkconfig: + /sbin/chkconfig --del syslog2iptables + /sbin/chkconfig --add syslog2iptables + /sbin/chkconfig --level 2345 syslog2iptables on + /etc/rc.d/init.d/syslog2iptables start # 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: