Annotation of embedaddon/istgt/Makefile.in, revision 1.1
1.1 ! misho 1: # top Makefile
! 2:
! 3: top_srcdir = @top_srcdir@
! 4: srcdir = @srcdir@
! 5:
! 6: prefix = @prefix@
! 7: exec_prefix = @exec_prefix@
! 8: bindir = @bindir@
! 9: sbindir = @sbindir@
! 10: sysconfdir = @sysconfdir@
! 11: datadir = @datarootdir@
! 12: libexecdir = @libexecdir@
! 13:
! 14: PACKAGE_NAME = @PACKAGE_NAME@
! 15: PACKAGE_STRING = @PACKAGE_STRING@
! 16: PACKAGE_TARNAME = @PACKAGE_TARNAME@
! 17: PACKAGE_VERSION = @PACKAGE_VERSION@
! 18:
! 19: document = COPYRIGHT README INSTALL ChangeLog.jp
! 20:
! 21: VER_H = src/istgt_ver.h
! 22: DISTBASE = istgt
! 23: DISTVER = `sed -e '/ISTGT_VERSION/!d' -e 's/[^0-9.]*\([0-9.a-z]*\).*/\1/' $(VER_H)`
! 24: DISTEXTVER = `sed -e '/ISTGT_EXTRA_VERSION/!d' -e 's/[^0-9.]*\([0-9.a-z]*\).*/\1/' $(VER_H)`
! 25: #DISTDIR = $(PACKAGE_NAME)-$(PACKAGE_VERSION)
! 26: #DISTDIR = $(DISTBASE)-$(DISTVER)-$(DISTEXTVER)
! 27: DISTDIR = $(DISTBASE)-$(DISTEXTVER)
! 28: DISTNAME = $(DISTDIR).tar.gz
! 29: DISTFILES = Makefile.in configure.in install-sh configure \
! 30: $(header) $(source) $(ctl_header) $(ctl_source) \
! 31: $(document) $(sample)
! 32:
! 33: SUBDIRS = src etc doc
! 34:
! 35: #########################################################################
! 36:
! 37: all:
! 38: for subdir in $(SUBDIRS); do \
! 39: (cd $$subdir; $(MAKE) $@) || exit $$?; \
! 40: done
! 41:
! 42: install:
! 43: for subdir in $(SUBDIRS); do \
! 44: (cd $$subdir; $(MAKE) $@) || exit $$?; \
! 45: done
! 46:
! 47: install-doc:
! 48: for subdir in doc; do \
! 49: (cd $$subdir; $(MAKE) $@) || exit $$?; \
! 50: done
! 51:
! 52:
! 53: dist: distdir
! 54: rm -rf $(DISTDIR) $(DISTNAME)
! 55: mkdir $(DISTDIR)
! 56: for file in $(DISTFILES); do \
! 57: cp -p $(srcdir)/$$file $(DISTDIR); \
! 58: done
! 59: for subdir in $(SUBDIRS); do \
! 60: (cd $$subdir; $(MAKE) subdir=$$subdir $@) || exit $$?; \
! 61: done
! 62: tar cf - $(DISTDIR) | gzip -9c > $(DISTNAME)
! 63: rm -rf $(DISTDIR) distdir
! 64:
! 65: distdir:
! 66: echo $(DISTDIR) >$@
! 67:
! 68: clean: local-clean
! 69: for subdir in $(SUBDIRS); do \
! 70: (cd $$subdir; $(MAKE) $@) || exit $$?; \
! 71: done
! 72:
! 73: distclean: clean local-distclean
! 74: for subdir in $(SUBDIRS); do \
! 75: (cd $$subdir; $(MAKE) $@) || exit $$?; \
! 76: done
! 77:
! 78: local-clean:
! 79: -rm -f a.out *.o *.core
! 80: -rm -f *~
! 81:
! 82: local-distclean: local-clean
! 83: -rm -f Makefile config.status config.cache config.log config.h
! 84: -rm -f $(DISTNAME) distdir
! 85:
! 86: depend:
! 87: for subdir in $(SUBDIRS); do \
! 88: (cd $$subdir; $(MAKE) $@) || exit $$?; \
! 89: done
! 90:
! 91: #########################################################################
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>