-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
--HG-- extra : convert_revision : svn%3A30ab2afb-5f51-4bfe-ae8b-bcb573c66ba7/trunk%4036
- Loading branch information
Showing
10 changed files
with
166 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
default: $(TARGET) | ||
|
||
install:: install_target | ||
|
||
install_target:: $(TARGET) | ||
$(INSTALL) $(INSTALLDIROPT) $(docdir) | ||
$(LTINST) $(INSTALL) $(INSTALLDOCOPT) $< $(docdir) | ||
|
||
clean: $(SRCDIR)/Makefile | ||
-rm -f $(TEXGARBAGE) | ||
|
||
distclean:: clean | ||
|
||
targetclean:: clean | ||
|
||
realclean:: clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
ifdef BIBTEX | ||
ifdef PDFLATEX | ||
%.pdf: $(SRCDIR)/%.tex | ||
TEXINPUTS=$(TEXINPUTS) $(PDFLATEX) $< | ||
BIBINPUTS=$(BIBINPUTS) $(BIBTEX) $(@:%.pdf=%) | ||
TEXINPUTS=$(TEXINPUTS) $(PDFLATEX) $< | ||
TEXINPUTS=$(TEXINPUTS) $(PDFLATEX) $< | ||
TEXINPUTS=$(TEXINPUTS) $(PDFLATEX) $< | ||
endif | ||
|
||
ifdef PSLATEX | ||
%.ps: $(SRCDIR)/%.tex | ||
TEXINPUTS=$(TEXINPUTS) $(PSLATEX) $< | ||
BIBINPUTS=$(BIBINPUTS) $(BIBTEX) $(@:%.ps=%) | ||
TEXINPUTS=$(TEXINPUTS) $(PSLATEX) $< | ||
TEXINPUTS=$(TEXINPUTS) $(PSLATEX) $< | ||
TEXINPUTS=$(TEXINPUTS) $(PSLATEX) $< | ||
endif | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Emacs should use -*- Makefile -*- mode. | ||
|
||
# this is usually overridden | ||
TARGET_TO_MAKE = $(shell basename `pwd`) | ||
|
||
ifndef SRCDIR | ||
SRCDIR = . | ||
endif | ||
SRCTOPDIR = $(SRCDIR)/$(TOPDIR) | ||
|
||
host = @host@ | ||
host_cpu = @host_cpu@ | ||
host_vendor = @host_vendor@ | ||
host_os = @host_os@ | ||
|
||
target = @target@ | ||
target_cpu = @target_cpu@ | ||
target_vendor = @target_vendor@ | ||
target_os = @target_os@ | ||
|
||
LIBINT_VERSION = @LIBINT_VERSION@ | ||
LIBINT_SO_VERSION = @LIBINT_SO_VERSION@ | ||
BUILDID = @BUILDID@ | ||
|
||
PDFLATEX = @PDFLATEX@ | ||
PSLATEX = @PSLATEX@ | ||
BIBTEX = @BIBTEX@ | ||
# The document suffix (pdf or ps) | ||
# Preferentially make pdf manuals, only revert to ps if necessary | ||
ifdef BIBTEX | ||
ifdef PSLATEX | ||
DOCSUF = ps | ||
LATEX = $(PSLATEX) | ||
endif | ||
ifdef PDFLATEX | ||
DOCSUF = pdf | ||
LATEX = $(PDFLATEX) | ||
endif | ||
endif | ||
TEXINPUTS = :$(SRCDIR):$(SRCDIR)/..: | ||
BIBINPUTS = $(TEXINPUTS) | ||
TEXGARBAGE = *.bbl *.blg *.aux *.log *.ps *.pdf | ||
|
||
INSTALL = @INSTALL@ | ||
INSTALLDIROPT = -d -m 0755 | ||
INSTALLDOCOPT = -m 0644 | ||
|
||
prefix=@prefix@ | ||
exec_prefix=@exec_prefix@ | ||
docdir=$(prefix)/doc | ||
includedir=@libintincludedir@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
TOPDIR=.. | ||
ifndef SRCDIR | ||
SRCDIR=$(shell pwd) | ||
endif | ||
|
||
include $(TOPDIR)/Makedirlist | ||
|
||
SUBDIRS = progman | ||
|
||
default:: | ||
for dir in $(SUBDIRS); \ | ||
do \ | ||
(cd $${dir} && $(MAKE) $(JOBS)) || exit 1; \ | ||
done | ||
|
||
ifndef DODEPEND | ||
DODEPENDOPT = "DODEPEND=no" | ||
endif | ||
|
||
install:: | ||
for dir in $(SUBDIRS); \ | ||
do \ | ||
(cd $${dir} && $(MAKE) $(DODEPENDOPT) install) || exit 1; \ | ||
done | ||
|
||
install_target:: | ||
for dir in $(SUBDIRS); \ | ||
do \ | ||
(cd $${dir} && $(MAKE) $(DODEPENDOPT) install_target) || exit 1; \ | ||
done | ||
|
||
clean:: | ||
for dir in $(SUBDIRS); \ | ||
do \ | ||
(cd $${dir} && $(MAKE) $(DODEPENDOPT) clean) || exit 1; \ | ||
done | ||
|
||
distclean:: | ||
for dir in $(SUBDIRS); \ | ||
do \ | ||
(cd $${dir} && $(MAKE) $(DODEPENDOPT) distclean) || exit 1; \ | ||
done | ||
|
||
targetclean:: | ||
for dir in $(SUBDIRS); \ | ||
do \ | ||
(cd $${dir} && $(MAKE) $(DODEPENDOPT) targetclean) || exit 1; \ | ||
done | ||
|
||
realclean:: | ||
for dir in $(SUBDIRS); \ | ||
do \ | ||
(cd $${dir} && $(MAKE) $(DODEPENDOPT) realclean) || exit 1; \ | ||
done | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
TOPDIR=../.. | ||
ifndef SRCDIR | ||
SRCDIR=$(shell pwd) | ||
endif | ||
TOPOBJDIR = $(shell ls -d `pwd`/$(TOPDIR)) | ||
|
||
TARGET = progman.$(DOCSUF) | ||
|
||
include $(TOPDIR)/doc/MakeVars | ||
include $(TOPDIR)/doc/MakeRules | ||
include $(TOPDIR)/doc/MakeSuffixRules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters