root/doc_inner/gnu_global/S/2412.html

/* [<][>][^][v][top][bottom][index][help] */
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>Makefile</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.6.5' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/Makefile</h2>
<em class='comment'>/* [&lt;][&gt;][^][v][top]<a href='#BOTTOM'>[bottom]</a><a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</em>
<hr />
<pre>
<a id='L1' name='L1'></a>.PHONY: all srcall gtags \
<a id='L2' name='L2'></a>        check valgrind \
<a id='L3' name='L3'></a>        doc alldoc doc_inner \
<a id='L4' name='L4'></a>        install uninstall \
<a id='L5' name='L5'></a>        version gittag \
<a id='L6' name='L6'></a>        clean src-clean gtags-clean \
<a id='L7' name='L7'></a>        test-clean doc-clean doc_inner-clean
<a id='L8' name='L8'></a>
<a id='L9' name='L9'></a>CAT := cat
<a id='L10' name='L10'></a>CP := cp -v
<a id='L11' name='L11'></a>ECHO := /bin/echo
<a id='L12' name='L12'></a>EXPR := expr
<a id='L13' name='L13'></a>GIT := git
<a id='L14' name='L14'></a>GREP := grep
<a id='L15' name='L15'></a>GTAGS := gtags
<a id='L16' name='L16'></a>INSTALL := install
<a id='L17' name='L17'></a>SED := sed
<a id='L18' name='L18'></a>WC := wc
<a id='L19' name='L19'></a>WHICH := which
<a id='L20' name='L20'></a>XARGS := xargs
<a id='L21' name='L21'></a>
<a id='L22' name='L22'></a>prefix ?= ~
<a id='L23' name='L23'></a>bindir ?= $(prefix)/bin
<a id='L24' name='L24'></a>libdir ?= $(prefix)/share
<a id='L25' name='L25'></a>
<a id='L26' name='L26'></a>VERSION := $(shell $(CAT) VERSION)
<a id='L27' name='L27'></a>
<a id='L28' name='L28'></a>VERSIONGITREF := $(shell $(GIT) show-ref -s --tags $(VERSION))
<a id='L29' name='L29'></a>
<a id='L30' name='L30'></a>MASTERGITREF := $(shell $(GIT) show-ref -s refs/heads/master)
<a id='L31' name='L31'></a>
<a id='L32' name='L32'></a>VERSIONFILES := include/version.h \
<a id='L33' name='L33'></a>        test/system/casl2_opt/opt_v/0.txt \
<a id='L34' name='L34'></a>        test/system/comet2_opt/opt_v/0.txt \
<a id='L35' name='L35'></a>        test/system/dumpword/opt_v/0.txt
<a id='L36' name='L36'></a>
<a id='L37' name='L37'></a>CMDFILES := casl2 comet2 dumpword casl2rev comet2monitor
<a id='L38' name='L38'></a>
<a id='L39' name='L39'></a>all: build INSTALL gtags
<a id='L40' name='L40'></a>
<a id='L41' name='L41'></a>build: version
<a id='L42' name='L42'></a>        $(MAKE) -C src all
<a id='L43' name='L43'></a>        @(for f in $(CMDFILES); do if test ! -e $$f -o src/$$f -nt $$f; then $(CP) src/$$f $$f; fi; done)
<a id='L44' name='L44'></a>
<a id='L45' name='L45'></a>gtags:
<a id='L46' name='L46'></a>        $(if $(strip $(shell $(WHICH) $(GTAGS))),$(GTAGS),@$(ECHO) '$(GTAGS): not found')
<a id='L47' name='L47'></a>
<a id='L48' name='L48'></a>INSTALL: doc/install.txt
<a id='L49' name='L49'></a>        $(CP) $&lt; $@
<a id='L50' name='L50'></a>
<a id='L51' name='L51'></a>doc/install.txt:
<a id='L52' name='L52'></a>        $(MAKE) -C doc base
<a id='L53' name='L53'></a>
<a id='L54' name='L54'></a>alldoc:
<a id='L55' name='L55'></a>        $(MAKE) -C doc all
<a id='L56' name='L56'></a>
<a id='L57' name='L57'></a>doc_inner:
<a id='L58' name='L58'></a>        $(MAKE) -C doc_inner all
<a id='L59' name='L59'></a>
<a id='L60' name='L60'></a>check:
<a id='L61' name='L61'></a>        $(MAKE) -sC test/system
<a id='L62' name='L62'></a>
<a id='L63' name='L63'></a>smoke:
<a id='L64' name='L64'></a>        $(MAKE) -sC test/system smoke
<a id='L65' name='L65'></a>
<a id='L66' name='L66'></a>smoke-valgrind:
<a id='L67' name='L67'></a>        $(MAKE) -sC test/system smoke-valgrind
<a id='L68' name='L68'></a>
<a id='L69' name='L69'></a>valgrind:
<a id='L70' name='L70'></a>        $(MAKE) -sC test/system valgrind
<a id='L71' name='L71'></a>
<a id='L72' name='L72'></a>install: casl2 comet2 dumpword install-info
<a id='L73' name='L73'></a>        $(INSTALL) -d $(bindir)
<a id='L74' name='L74'></a>        $(INSTALL) $(CMDFILES) $(bindir)/
<a id='L75' name='L75'></a>
<a id='L76' name='L76'></a>install-info:
<a id='L77' name='L77'></a>        $(MAKE) -C doc install-info
<a id='L78' name='L78'></a>
<a id='L79' name='L79'></a>uninstall: uninstall-info
<a id='L80' name='L80'></a>        $(RM) $(prefix $(bindir)/,$(CMDFILES))
<a id='L81' name='L81'></a>
<a id='L82' name='L82'></a>version: $(VERSIONFILES)
<a id='L83' name='L83'></a>        @$(ECHO) "YACASL2 Version: $(VERSION)"
<a id='L84' name='L84'></a>
<a id='L85' name='L85'></a>$(VERSIONFILES): VERSION
<a id='L86' name='L86'></a>        @$(SED) -e "s/@@VERSION@@/$(VERSION)/g" $@.version &gt;$@
<a id='L87' name='L87'></a>
<a id='L88' name='L88'></a>gittag:
<a id='L89' name='L89'></a>        if test `$(GIT) status -s | $(WC) -l` -gt 0; then $(ECHO) "Error: commit, first."; exit 1; fi; if test "$(VERSIONGITREF)" != "$(MASTERGITREF)"; then $(GIT) tag $(VERSION); fi
<a id='L90' name='L90'></a>
<a id='L91' name='L91'></a>distclean: cmd-clean src-distclean gtags-clean version-clean clean
<a id='L92' name='L92'></a>
<a id='L93' name='L93'></a>clean: src-clean doc-clean doc_inner-clean
<a id='L94' name='L94'></a>
<a id='L95' name='L95'></a>cmd-clean:
<a id='L96' name='L96'></a>        $(RM) $(CMDFILES)
<a id='L97' name='L97'></a>
<a id='L98' name='L98'></a>src-clean:
<a id='L99' name='L99'></a>        $(MAKE) -sC src clean
<a id='L100' name='L100'></a>
<a id='L101' name='L101'></a>src-distclean:
<a id='L102' name='L102'></a>        $(MAKE) -sC src distclean
<a id='L103' name='L103'></a>
<a id='L104' name='L104'></a>gtags-clean:
<a id='L105' name='L105'></a>        $(RM) GPATH GRTAGS GSYMS GTAGS
<a id='L106' name='L106'></a>
<a id='L107' name='L107'></a>doc-clean:
<a id='L108' name='L108'></a>        $(MAKE) -sC doc clean
<a id='L109' name='L109'></a>
<a id='L110' name='L110'></a>doc_inner-clean:
<a id='L111' name='L111'></a>        $(MAKE) -sC doc_inner clean
<a id='L112' name='L112'></a>
<a id='L113' name='L113'></a>version-clean:
<a id='L114' name='L114'></a>        $(RM) $(VERSIONFILES)
<a id='L115' name='L115'></a>
<a id='L116' name='L116'></a>test-clean:
<a id='L117' name='L117'></a>        $(MAKE) -sC test clean
</pre>
<hr />
<a id='BOTTOM' name='BOTTOM'></a>
<em class='comment'>/* [&lt;][&gt;][^][v]<a href='#TOP'>[top]</a>[bottom]<a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</em>
</body>
</html>

/* [<][>][^][v][top][bottom][index][help] */