Annotation of embedaddon/istgt/Makefile.in, revision 1.1.1.2

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>