OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [etc/] [Makefile.in] - Blame information for rev 57

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 lampret
#
2
# Makefile.in for etc
3
#
4
 
5
prefix          = @prefix@
6
exec_prefix     = @exec_prefix@
7
 
8
srcdir  = @srcdir@
9
VPATH   = @srcdir@
10
 
11
bindir  = @bindir@
12
libdir  = @libdir@
13
tooldir = $(libdir)
14
datadir = @datadir@
15
 
16
mandir  = @mandir@
17
man1dir = $(mandir)/man1
18
man2dir = $(mandir)/man2
19
man3dir = $(mandir)/man3
20
man4dir = $(mandir)/man4
21
man5dir = $(mandir)/man5
22
man6dir = $(mandir)/man6
23
man7dir = $(mandir)/man7
24
man8dir = $(mandir)/man8
25
man9dir = $(mandir)/man9
26
infodir = @infodir@
27
 
28
SHELL = /bin/sh
29
 
30
INSTALL         = @INSTALL@
31
INSTALL_PROGRAM = @INSTALL_PROGRAM@
32
INSTALL_DATA    = @INSTALL_DATA@
33
 
34 56 joel
MAKEINFO = `if [ -f ../texinfo/makeinfo/makeinfo ]; \
35
        then echo ../texinfo/makeinfo/makeinfo; \
36
        else echo makeinfo; fi`
37
TEXI2DVI = `if [ -f ../texinfo/util/texi2dvi ]; \
38
        then echo ../texinfo/util/texi2dvi; \
39
        else echo texi2dvi; fi`
40
TEXI2HTML = texi2html
41
DVIPS = dvips
42 39 lampret
 
43
# Where to find texinfo.tex to format documentation with TeX.
44
TEXIDIR = $(srcdir)/../texinfo
45
 
46
#### Host, target, and site specific Makefile fragments come in here.
47
###
48
 
49 56 joel
INFOFILES = standards.info configure.info
50
DVIFILES = standards.dvi configure.dvi
51 39 lampret
 
52
all:
53
 
54
install:
55
 
56
uninstall:
57
 
58 56 joel
info:
59
        for f in $(INFOFILES); do \
60
          if test -f $(srcdir)/`echo $$f | sed -e 's/.info$$/.texi/'`; then \
61
            if $(MAKE) "MAKEINFO=$(MAKEINFO)" $$f; then \
62
              true; \
63
            else \
64
              exit 1; \
65
            fi; \
66
          fi; \
67
        done
68 39 lampret
 
69
install-info: info
70 56 joel
        $(SHELL) $(srcdir)/../mkinstalldirs $(infodir)
71
        if test ! -f standards.info; then cd $(srcdir); fi; \
72
        if test -f standards.info; then \
73
          for i in standards.info*; do \
74
            $(INSTALL_DATA) $$i $(infodir)/$$i; \
75
          done; \
76
        fi
77
        if test ! -f configure.info; then cd $(srcdir); fi; \
78
        if test -f configure.info; then \
79
          for i in configure.info*; do \
80
            $(INSTALL_DATA) $$i $(infodir)/$$i; \
81
          done; \
82
        fi
83
 
84
dvi:
85
        for f in $(DVIFILES); do \
86
          if test -f $(srcdir)/`echo $$f | sed -e 's/.dvi$$/.texi/'`; then \
87
            if $(MAKE) "TEXI2DVI=$(TEXI2DVI)" $$f; then \
88
              true; \
89
            else \
90
              exit 1; \
91
            fi; \
92
          fi; \
93 39 lampret
        done
94
 
95
standards.info: $(srcdir)/standards.texi $(srcdir)/make-stds.texi
96
        $(MAKEINFO) --no-split -I$(srcdir) -o standards.info $(srcdir)/standards.texi
97
 
98
standards.dvi: $(srcdir)/standards.texi
99
        TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/standards.texi
100
 
101 56 joel
standards.ps: standards.dvi
102
        $(DVIPS) standards.dvi -o standards.ps
103 39 lampret
 
104 56 joel
# makeinfo requires images to be in the current directory.
105
configure.info: $(srcdir)/configure.texi $(srcdir)/configdev.tin $(srcdir)/configbuild.tin
106
        rm -f configdev.txt configbuild.txt
107
        cp $(srcdir)/configdev.tin configdev.txt
108
        cp $(srcdir)/configbuild.tin configbuild.txt
109
        $(MAKEINFO) -I$(srcdir) -o configure.info $(srcdir)/configure.texi
110
        rm -f configdev.txt configbuild.txt
111
 
112
# texi2dvi wants both the .txt and the .eps files.
113
configure.dvi: $(srcdir)/configure.texi $(srcdir)/configdev.tin $(srcdir)/configbuild.tin $(srcdir)/configdev.ein $(srcdir)/configbuild.ein
114
        rm -f configdev.txt configbuild.txt
115
        cp $(srcdir)/configdev.tin configdev.txt
116
        cp $(srcdir)/configbuild.tin configbuild.txt
117
        rm -f configdev.eps configbuild.eps
118
        cp $(srcdir)/configdev.ein configdev.eps
119
        cp $(srcdir)/configbuild.ein configbuild.eps
120
        TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/configure.texi
121
        rm -f configdev.txt configbuild.txt
122
        rm -f configdev.eps configbuild.eps
123
 
124
# dvips requires images to be in the current directory
125
configure.ps: configure.dvi $(srcdir)/configdev.ein $(srcdir)/configbuild.ein
126
        rm -f configdev.eps configbuild.eps
127
        cp $(srcdir)/configdev.ein configdev.eps
128
        cp $(srcdir)/configbuild.ein configbuild.eps
129
        $(DVIPS) configure.dvi -o configure.ps
130
        rm -f configdev.eps configbuild.eps
131
 
132
configure.html: $(srcdir)/configure.texi
133
        $(TEXI2HTML) -split_chapter $(srcdir)/configure.texi
134
 
135 39 lampret
clean:
136
        rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.log
137
        rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs
138 56 joel
        rm -f configdev.txt configbuild.txt configdev.eps configbuild.eps
139
        rm -f configdev.jpg configbuild.jpg
140 39 lampret
 
141
mostlyclean: clean
142
 
143
distclean:   clean
144
        rm -f Makefile config.status config.cache
145
 
146
maintainer-clean realclean:   distclean
147
        rm -f *.info*
148
 
149
Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
150
        $(SHELL) ./config.status
151
 
152
## these last targets are for standards.texi conformance
153
dist:
154
check:
155
installcheck:
156
TAGS:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.