Changeset 9a36761
- Timestamp:
- 06/10/09 19:55:47 (16 years ago)
- Branches:
- master
- Children:
- c7ecbc2
- Parents:
- b5884b3
- git-author:
- Mateusz Hromada <ruanda@…> (06/10/09 19:55:47)
- git-committer:
- Mateusz Hromada <ruanda@…> (06/10/09 19:55:47)
- Files:
-
- 1 deleted
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
auto/defaults
re4cec26 r9a36761 22 22 DEFAULT_CP='/bin/cp' 23 23 DEFAULT_CHMOD='/bin/chmod' 24 DEFAULT_MAKEINFO='/usr/bin/makeinfo' 25 DEFAULT_TEXI2DVI='/usr/bin/texi2dvi' 26 DEFAULT_TEXI2PDF='/usr/bin/texi2pdf' 27 DEFAULT_DVIPS='/usr/bin/dvips' 24 28 25 29 DEFAULT_CFLAGS='-g -O2 -Wall' -
auto/options
re4cec26 r9a36761 25 25 if [ -z "$CP" ]; then CP=$DEFAULT_CP; fi 26 26 if [ -z "$CHMOD" ]; then CHMOD=$DEFAULT_CHMOD; fi 27 if [ -z "$MAKEINFO" ]; then MAKEINFO=$DEFAULT_MAKEINFO; fi 28 if [ -z "$TEXI2DVI" ]; then TEXI2DVI=$DEFAULT_TEXI2DVI; fi 29 if [ -z "$TEXI2PDF" ]; then TEXI2PDF=$DEFAULT_TEXI2PDF; fi 30 if [ -z "$DVIPS" ]; then DVIPS=$DEFAULT_DVIPS; fi 27 31 28 32 if [ -z "$CFLAGS" ]; then CFLAGS=$DEFAULT_CFLAGS; fi … … 80 84 CP=*) CP="$value" ;; 81 85 CHMOD=*) CHMOD="$value" ;; 86 MAKEINFO=*) MAKEINFO="$value" ;; 87 TEXI2DVI=*) TEXI2DVI="$value" ;; 88 TEXI2PDF=*) TEXI2PDF="$value" ;; 89 DVIPS=*) DVIPS="$value" ;; 90 82 91 83 92 CFLAGS=*) CFLAGS="$value" ;; … … 136 145 CP cp command 137 146 CHMOD chmod command 147 MAKEINFO makeinfo command 148 TEXI2DVI texi2dvi command 149 TEXI2PDF texi2pdf command 150 DVIPS dvips command 151 138 152 139 153 CFLAGS C compiler flags -
auto/output/Makefile
rb5884b3 r9a36761 19 19 CP = $CP 20 20 CHMOD = $CHMOD 21 MAKEINFO = $MAKEINFO 22 TEXI2DVI = $TEXI2DVI 23 TEXI2PDF = $TEXI2PDF 24 DVIPS = $DVIPS 21 25 22 26 CFLAGS = $CFLAGS … … 44 48 ALL_FFLAGS = -t \$(FFLAGS) 45 49 46 VPATH = ./src 50 vpath %.c ./src 51 vpath %.l ./src 52 vpath %.pl ./src 53 vpath %.sed ./src 54 vpath %.sh ./src 55 vpath %.texinfo ./doc 47 56 48 57 PROGRAMS = tok sen fla gph kot unfla grp mar ser kon rm12 rs12 58 DOC_FILES = utt.info utt.dvi utt.html utt.pdf utt.ps 49 59 50 60 TOK_OBJ_FILES = tok.o tok_cmdline.o … … 102 112 .SUFFIXES: .l .y .h .c .pl .o 103 113 104 #.INTERMEDIATE: \$(patsubst %.l,%.c,\$(TOK_FLEX_FILES))105 #.INTERMEDIATE: \$(patsubst %.ggo,%.c,\$(TOK_GGO_FILES))106 #.INTERMEDIATE: \$(patsubst %.ggo,%.h,\$(TOK_GGO_FILES))107 #.INTERMEDIATE: \$(patsubst %.l,%.c,\$(SEN_FLEX_FILES))108 109 .PHONY: all110 all: \$(PROGRAMS)111 112 113 114 .PHONY: help 114 115 help: … … 120 121 \$(PR) --omit-pagination --width=80 --columns=4 121 122 123 .PHONY: all 124 all: \$(PROGRAMS) 125 126 .PHONY: install 127 install: all 128 129 .PHONY: install-strip 130 install: 131 132 .PHONY: info 133 info: utt.info 134 135 .PHONY: install-info 136 install-info: 137 138 .PHONY: dvi 139 dvi: utt.dvi 140 141 .PHONY: install-dvi 142 install-dvi: 143 144 .PHONY: html 145 html: utt.html 146 147 .PHONY: install-html 148 install-html: 149 150 .PHONY: pdf 151 pdf: utt.pdf 152 153 .PHONY: install-pdf 154 install-pdf: 155 156 .PHONY: ps 157 ps: utt.ps 158 159 .PHONY: install-ps 160 install-ps: 161 162 .PHONY: uninstall 163 uninstall: 122 164 123 165 .PHONY: clean … … 132 174 \$(RM) \$(FLA_OBJ_FILES) 133 175 \$(RM) \$(RS12_OBJ_FILES) 176 \$(RM) \$(DOC_FILES) 134 177 135 178 .PHONY: distclean … … 137 180 \$(RM) \$(CONFIG_FILES) 138 181 139 .PHONY: install140 install: all141 echo TODO: make install142 143 .PHONY: uninstall144 uninstall:145 echo TODO: make uninstall146 147 182 %.o: %.c 148 183 \$(CC) -c \$< -o \$@ \$(ALL_CFLAGS) … … 172 207 \$(CHMOD) a+x \$@ 173 208 209 %.info: %.texinfo 210 \$(MAKEINFO) \$< -o \$@ 211 212 %.dvi: %.texinfo 213 \$(TEXI2DVI) --build=clean \$< -o \$@ 214 215 %.html: %.texinfo 216 \$(MAKEINFO) --html --no-split \$< -o \$@ 217 218 %.pdf: %.texinfo 219 \$(TEXI2PDF) --build=clean \$< -o \$@ 220 221 %.ps: %.dvi 222 \$(DVIPS) \$< -o \$@ 223 174 224 EOF 175 225 -
auto/summary
re4cec26 r9a36761 40 40 CP : $CP 41 41 CHMOD : $CHMOD 42 MAKEINFO : $MAKEINFO 43 TEXI2DVI : $TEXI2DVI 44 TEXI2PDF : $TEXI2PDF 45 DVIPS : $DVIPS 42 46 43 47 CFLAGS : $CFLAGS
Note: See TracChangeset
for help on using the changeset viewer.