diff options
Diffstat (limited to 'pkgtools/rcorder/files/Makefile.in')
-rw-r--r-- | pkgtools/rcorder/files/Makefile.in | 150 |
1 files changed, 150 insertions, 0 deletions
diff --git a/pkgtools/rcorder/files/Makefile.in b/pkgtools/rcorder/files/Makefile.in new file mode 100644 index 00000000000..a8349b239bb --- /dev/null +++ b/pkgtools/rcorder/files/Makefile.in @@ -0,0 +1,150 @@ +# $Id: Makefile.in,v 1.1 2004/08/27 03:06:07 jlam Exp $ + +@SET_MAKE@ +SHELL = @SHELL@ +VPATH=@srcdir@ + +PACKAGE_NAME= @PACKAGE_NAME@ +PACKAGE_VERSION= @PACKAGE_VERSION@ + +srcdir = @srcdir@ +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +bindir = @bindir@ +mandir = @mandir@ +sbindir = @sbindir@ +top_builddir = . + +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +mkinstalldirs = $(SHELL) $(srcdir)/mkinstalldirs +install_sh = $(SHELL) $(srcdir)/install-sh + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_HEADER = $(INSTALL_DATA) +transform = @program_transform_name@ +host_alias = @host_alias@ +host_triplet = @host@ +CANONICAL_HOST = @CANONICAL_HOST@ + +CC = @CC@ +CCLD = $(CC) +LIBS = @LIBS@ +CPPFLAGS = @CPPFLAGS@ +DEFS = @DEFS@ -I. -I@srcdir@ -DHOST=\"$(CANONICAL_HOST)\" -DVERSION=\"$(PACKAGE_VERSION)\" +CFLAGS = @CFLAGS@ +LDFLAGS = @LDFLAGS@ + +LINK = $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@ +COMPILE = $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) + +SRCS = ealloc.c hash.c rcorder.c +OBJS = ealloc.o hash.o rcorder.o + +DISTFILES = $(SRCS) AUTHORS COPYING INSTALL Makefile.in NEWS README aclocal.m4 \ +config.guess config.h.in config.sub configure configure.ac install-sh \ +missing mkinstalldirs regress.sh + +.c.o: + $(COMPILE) -c $< -o $@ + +all: rcorder + +rcorder: $(OBJS) + $(LINK) $(OBJS) $(LIBS) + +check: rcorder + @SHELL@ $(srcdir)/regress.sh + +clean: + rm -f *.o rcorder + +distclean: clean + rm -f Makefile config.h + rm -f config.status config.cache config.log configure.lineno + +maintainer-clean: distclean + rm -f configure config.h.in + +install: rcorder + $(mkinstalldirs) $(DESTDIR)$(sbindir) + @f=`echo rcorder|sed '$(transform)'`; \ + echo "$(INSTALL_PROGRAM) rcorder $(DESTDIR)$(sbindir)/$$f"; \ + $(INSTALL_PROGRAM) rcorder $(DESTDIR)$(sbindir)/$$f + $(mkinstalldirs) $(DESTDIR)$(mandir)/man8 + @f=`echo rcorder.8|sed '$(transform)'`; \ + echo "$(INSTALL_DATA) rcorder.8 $(DESTDIR)$(mandir)/man8/$$f"; \ + $(INSTALL_DATA) rcorder.8 $(DESTDIR)$(mandir)/man8/$$f + $(mkinstalldirs) $(DESTDIR)$(mandir)/cat8 + @f=`echo rcorder.cat8|sed '$(transform);s,\.cat8$$,.0,'`; \ + echo "$(INSTALL_DATA) rcorder.cat8 $(DESTDIR)$(mandir)/cat8/$$f"; \ + $(INSTALL_DATA) rcorder.cat8 $(DESTDIR)$(mandir)/cat8/$$f + +uninstall: + @f=`echo rcorder|sed '$(transform)'`; \ + echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \ + rm -f $(DESTDIR)$(sbindir)/$$f + +GZIP_ENV= --best +TAR= tar +distdir= $(PACKAGE_NAME)-$(PACKAGE_VERSION) + +distdir: $(DISTFILES) + -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir) + mkdir $(distdir) + @for file in $(DISTFILES); do \ + if test -f $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + $(mkinstalldirs) "$(distdir)/$$dir"; \ + fi; \ + if test -d $$d/$$file; then \ + cp -pR $$d/$$file $(distdir) \ + || 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: distdir + $(TAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir) + +distcheck: dist + -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir) + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(TAR) xf - + chmod -R a-w $(distdir); chmod a+w $(distdir) + mkdir $(distdir)/=build + mkdir $(distdir)/=inst + chmod a-w $(distdir) + dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \ + && cd $(distdir)/=build \ + && ../configure --srcdir=.. --prefix=$$dc_install_base \ + && $(MAKE) \ + && $(MAKE) check \ + && $(MAKE) install \ + && $(MAKE) uninstall \ + && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \ + || (echo "Error: files left after uninstall" 1>&2; \ + exit 1) ) \ + && $(MAKE) dist \ + && $(MAKE) distclean \ + && rm -f $(distdir).tar.gz \ + && (test `find . -type f -print | wc -l` -eq 0 \ + || (echo "Error: files left after distclean" 1>&2; \ + exit 1) ) + -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir) + @echo "$(distdir).tar.gz is ready for distribution" | \ + sed 'h;s/./=/g;p;x;p;x' |