Changeset 2596 for vendor/gnumake/current/Makefile.DOS.template
- Timestamp:
- Jun 20, 2012, 12:44:52 AM (13 years ago)
- Location:
- vendor/gnumake/current
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/gnumake/current
- Property svn:ignore deleted
-
vendor/gnumake/current/Makefile.DOS.template
r1989 r2596 3 3 # 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 5 # 2004, 2005, 2006, 2007 Free Software Foundation, Inc.5 # 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. 6 6 # This file is part of GNU Make. 7 7 # … … 86 86 man_MANS = make.1 87 87 88 INCLUDES = -I$(srcdir)/glob -DLIBDIR=\" c:/djgpp/lib\" -DINCLUDEDIR=\"c:/djgpp/include\" -DLOCALEDIR=\"$(localedir)\"88 INCLUDES = -I$(srcdir)/glob -DLIBDIR=\"$(prefix)$(libdir)\" -DINCLUDEDIR=\"$(prefix)$(includedir)\" -DLOCALEDIR=\"$(prefix)$(localedir)\" 89 89 90 90 BUILT_SOURCES = README build.sh-in … … 92 92 EXTRA_DIST = $(BUILT_SOURCES) $(man_MANS) README.customs remote-cstms.c make-stds.texi texinfo.tex SCOPTIONS SMakefile Makefile.ami README.Amiga config.ami amiga.c amiga.h NMakefile README.DOS configh.dos configure.bat makefile.com README.W32 build_w32.bat config.h-W32 subproc.bat make.lnk config.h-vms makefile.vms readme.vms vmsdir.h vmsfunctions.c vmsify.c 93 93 94 SUBDIRS = glob 94 SUBDIRS = glob doc 95 95 mkinstalldirs = ${exec_prefix}/bin/gmkdir -p 96 96 CONFIG_HEADER = config.h … … 116 116 TEXI2DVI = texi2dvi 117 117 TEXINFO_TEX = $(srcdir)/config/texinfo.tex 118 INFO_DEPS = make.info119 DVIS = make.dvi118 INFO_DEPS = doc/make.info 119 DVIS = doc/make.dvi 120 120 TEXINFOS = doc/make.texi 121 121 noinst_TEXINFOS = doc/fdl.texi doc/make-stds.texi 122 122 man1dir = $(mandir)/man1 123 123 MANS = $(man_MANS) 124 125 TEXI2HTML = texi2html126 TEXI2HTML_FLAGS = -split_chapter127 124 128 125 NROFF = nroff … … 192 189 # Documentation 193 190 194 make.info: doc/make.texi 195 make.dvi: doc/make.texi 191 make.info: make.texi 192 make.dvi: make.texi 193 make.ps: make.dvi make.texi 194 make.html: make.texi 196 195 197 196 … … 201 200 @command.com /c if exist make.info* del make.info* 202 201 @command.com /c if exist make.i* del make.i* 203 $(MAKEINFO) -I$(srcdir) /doc--no-split $< -o ./$@202 $(MAKEINFO) -I$(srcdir) --no-split $< -o ./$@ 204 203 205 204 .texi: 206 205 @command.com /c if exist make.info* del make.info* 207 206 @command.com /c if exist make.i* del make.i* 208 $(MAKEINFO) -I$(srcdir) /doc--no-split $< -o ./$@207 $(MAKEINFO) -I$(srcdir) --no-split $< -o ./$@ 209 208 210 209 .texi.dvi: 211 TEXINPUTS="$(srcdir) /doc;$$TEXINPUTS" MAKEINFO='$(MAKEINFO) -I $(srcdir)/doc' $(TEXI2DVI) $<210 TEXINPUTS="$(srcdir);$$TEXINPUTS" MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< 212 211 213 212 .dvi.ps: … … 216 215 # Other documentation formats 217 216 218 html: make_1.html 219 220 make_1.html: $(TEXINFOS) $(noinst_TEXINFOS) 221 $(TEXI2HTML) $(TEXI2HTML_FLAGS) $(srcdir)/doc/make.texi 217 html: html-recursive 218 219 .texi.html: 220 @command.com /c if exist make.html* del make.html* 221 $(MAKEINFO) --html -I$(srcdir) --no-split $< -o ./$@ 222 222 223 223 install-info-am: $(INFO_DEPS) 224 224 @$(NORMAL_INSTALL) 225 225 $(mkinstalldirs) $(DESTDIR)$(infodir) 226 @for file in $(INFO_DEPS); do d=$(srcdir); for ifile in `cd $$d && echo $$file`; do if test -f $$d/$$ifile; then echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; else : ; fi; done; done226 @for file in $(INFO_DEPS); do iifile=`echo $$file | sed "s|doc/||"`; d=$(srcdir); for ifile in `cd $$d && echo $$file`; do if test -f $$d/$$ifile; then echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$iifile"; $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$iifile; else : ; fi; done; done 227 227 @$(POST_INSTALL) 228 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then for file in $(INFO_DEPS); do echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file"; install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :; done; else : ; fi228 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then for file in $(INFO_DEPS); do iifile=`echo $$file | sed "s|doc/||"`; echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$iifile"; install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$iifile || :; done; else : ; fi 229 229 230 230 uninstall-info: … … 238 238 239 239 mostlyclean-aminfo: 240 -rm -f make.aux make.cp make.cps make.dvi make.fn make.fns make.ky \ 241 make.kys make.ps make.log make.pg make.toc make.tp make.tps \ 242 make.vr make.vrs make.op make.tr make.cv make.cn 240 -rm -f $(srcdir)/doc/make.aux $(srcdir)/doc/make.cp $(srcdir)/doc/make.cps $(srcdir)/doc/make.dvi \ 241 $(srcdir)/doc/make.fn $(srcdir)/doc/make.fns $(srcdir)/doc/make.ky $(srcdir)/doc/make.kys \ 242 $(srcdir)/doc/make.ps $(srcdir)/doc/make.log $(srcdir)/doc/make.pg $(srcdir)/doc/make.toc \ 243 $(srcdir)/doc/make.tp $(srcdir)/doc/make.tps $(srcdir)/doc/make.vr $(srcdir)/doc/make.vrs \ 244 $(srcdir)/doc/make.op $(srcdir)/doc/make.tr $(srcdir)/doc/make.cv $(srcdir)/doc/make.cn \ 245 $(srcdir)/doc/make.html 243 246 244 247 clean-aminfo: … … 292 295 # a single directory, yell bloody murder. 293 296 all-recursive: 294 ifeq ($( words $(SUBDIRS)), 1)297 ifeq ($(findstring glob, $(SUBDIRS)), glob) 295 298 @command.com /c if not exist glob\\nul md glob 296 @echo Making all in $(SUBDIRS) 297 $(MAKE) -C $(SUBDIRS) -f ../Makefile INCLUDES='-I$(srcdir) -I$(srcdir)/glob' DEFS='-I.. -I$(srcdir)' VPATH=$(srcdir)/glob libglob.a 298 else 299 @echo FATAL: There is more than one directory in "($(SUBDIRS))" 300 @$(EXIT_FAIL) 299 @echo Making all in glob 300 $(MAKE) -C glob -f ../Makefile INCLUDES='-I$(srcdir) -I$(srcdir)/glob' DEFS='-I.. -I$(srcdir)' VPATH=$(srcdir)/glob libglob.a 301 301 endif 302 302 … … 311 311 mostlyclean-recursive clean-recursive distclean-recursive \ 312 312 maintainer-clean-recursive check-recursive: 313 ifeq ($(words $(SUBDIRS)), 1) 314 @echo Making $(shell echo $@ | sed s/-recursive//) in $(SUBDIRS) 315 $(MAKE) -C $(SUBDIRS) -f ../Makefile $(shell echo $@ | sed s/-recursive//)-am 313 ifeq ($(words $(SUBDIRS)), 2) 314 @echo Making $(shell echo $@ | sed s/-recursive//) in glob 315 $(MAKE) -C glob -f ../Makefile $(shell echo $@ | sed s/-recursive//)-am 316 @echo Making $(shell echo $@ | sed s/-recursive//) in doc 317 $(MAKE) -C doc -f ../Makefile $(shell echo $@ | sed s/-recursive//)-am 316 318 else 317 @echo FATAL: There is more than onedirectory in "($(SUBDIRS))"319 @echo FATAL: There is more than two directory in "($(SUBDIRS))" 318 320 @$(EXIT_FAIL) 319 321 endif … … 323 325 324 326 tags-recursive: 325 ifeq ($(words $(SUBDIRS)), 1)327 ifeq ($(words $(SUBDIRS)), 2) 326 328 $(MAKE) tags-in-glob 327 329 else 328 @echo FATAL: There is more than onedirectory in "($(SUBDIRS))"330 @echo FATAL: There is more than two directory in "($(SUBDIRS))" 329 331 @$(EXIT_FAIL) 330 332 endif … … 377 379 $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook 378 380 379 info: $(INFO_DEPS) info-recursive 380 dvi: $(DVIS) dvi-recursive 381 info: info-recursive 382 info-recursive: 383 ifeq ($(findstring doc, $(SUBDIRS)), doc) 384 @command.com /c if not exist doc\\nul md doc 385 @echo Making all in doc 386 $(MAKE) -C doc -f ../Makefile VPATH=$(srcdir)/doc make.info 387 endif 388 389 dvi: dvi-recursive 390 dvi-recursive: 391 ifeq ($(findstring doc, $(SUBDIRS)), doc) 392 @command.com /c if not exist doc\\nul md doc 393 @echo Making all in doc 394 $(MAKE) -C doc -f ../Makefile VPATH=$(srcdir)/doc make.dvi 395 endif 396 397 ps: ps-recursive 398 ps-recursive: 399 ifeq ($(findstring doc, $(SUBDIRS)), doc) 400 @command.com /c if not exist doc\\nul md doc 401 @echo Making all in doc 402 $(MAKE) -C doc -f ../Makefile VPATH=$(srcdir)/doc make.ps 403 endif 404 405 html-recursive: 406 ifeq ($(findstring doc, $(SUBDIRS)), doc) 407 @command.com /c if not exist doc\\nul md doc 408 @echo Making all in doc 409 $(MAKE) -C doc -f ../Makefile VPATH=$(srcdir)/doc make.html 410 endif 411 381 412 check: all-am check-recursive check-local 382 413 @: … … 385 416 $(MAKE) all-recursive 386 417 387 all-am: Makefile $( INFO_DEPS) $(PROGRAMS) config.h418 all-am: Makefile $(PROGRAMS) config.h info 388 419 389 420 install-exec-am: install-binPROGRAMS
Note:
See TracChangeset
for help on using the changeset viewer.