File: Makefile.am

package info (click to toggle)
3dldf 2.0.3%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 12,508 kB
  • ctags: 7
  • sloc: makefile: 892; sh: 117; cpp: 5
file content (243 lines) | stat: -rw-r--r-- 7,882 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
#### 3DLDF-2.0.3/examples/Makefile.am
#### Created by Laurence D. Finston (LDF) Mon Nov  4 18:55:22 CET 2013

#### * Copyright and License.

#### This file is part of GNU 3DLDF, a package for three-dimensional drawing. 
#### Copyright (C) 2013 The Free Software Foundation

#### GNU 3DLDF is free software; you can redistribute it and/or modify 
#### it under the terms of the GNU General Public License as published by 
#### the Free Software Foundation; either version 3 of the License, or 
#### (at your option) any later version. 

#### GNU 3DLDF is distributed in the hope that it will be useful, 
#### but WITHOUT ANY WARRANTY; without even the implied warranty of 
#### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
#### GNU General Public License for more details. 

#### You should have received a copy of the GNU General Public License 
#### along with GNU 3DLDF; if not, write to the Free Software 
#### Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 

#### GNU 3DLDF is a GNU package.  
#### It is part of the GNU Project of the  
#### Free Software Foundation 
#### and is published under the GNU General Public License. 
#### See the website http://www.gnu.org 
#### for more information.   
#### GNU 3DLDF is available for downloading from 
#### http://www.gnu.org/software/3dldf/LDF.html. 

#### Please send bug reports to Laurence.Finston@@gmx.de
#### The mailing list help-3dldf@gnu.org is available for people to 
#### ask other users for help.  
#### The mailing list info-3dldf@gnu.org is for sending 
#### announcements to users. To subscribe to these mailing lists, send an 
#### email with "subscribe <email-address>" as the subject.  

#### The author can be contacted at: 

#### Laurence D. Finston 
#### c/o Free Software Foundation, Inc. 
#### 51 Franklin St, Fifth Floor 
#### Boston, MA  02110-1301  
#### USA

#### Laurence.Finston@gmx.de 



## * Top.

# ** Variables.

#### Automatic Variables.  For more, see Section 10.5.3, "Automatic Variables"
#### of the Make info manual.
#### LDF 2009.12.29.

#### $@:  Target
#### $<:  First prerequisite
#### $^:  The names of all the prerequisites, with spaces between them.
#### $*:  The stem with which an implicit rule matches

## * (1) Top.

# ** (2) Variables.

#### These aren't needed at present.  LDF 2013.11.05.

# stlltn05.txt
# stlltn05.mp

#### Errors now occur when these two files are passed to 3dldf as input.
#### The problems cannot be fixed easily.
#### LDF 2013.12.11.
#### elpsd_17.ldf
#### plyhd_05.ldf
####
#### LDF 2013.12.11.

#### Chess fonts may not be available.
#### chssbrds.ldf
#### chssbrds.txt
####
#### LDF 2013.12.11.

# The generated mp files need to be modified, so the mp files are included in
# the distribution.  Check this!  LDF 2013.11.05.

LDF_FILES := arc_1.ldf arc_1.ldf bldelem1.ldf bldelem2.ldf bldelem3.ldf \
             bldelem4.ldf bldelem5.ldf braik_01.ldf braik_02.ldf braik_03.ldf \
             clktwr_01.ldf cones01.ldf cubd_01.ldf cubd_02.ldf \
             cubd_06.ldf cycld_1.ldf cycld_2.ldf dodec_01.ldf dodec_02.ldf \
             dodec_03.ldf ellpln01.ldf elpdmd01.ldf elpsd_02.ldf elpsd_06.ldf \
             elpsd_13.ldf fctcn01.ldf goboards.ldf grrhm_02.ldf \
             grrhm_06.ldf hyprb_00.ldf hyprb_01.ldf hyprb_02.ldf hyprb_03.ldf \
             hyprb_04.ldf hyprb_05.ldf intrfr_2.ldf intrfr_3.ldf intrfr_5.ldf \
             intrfr_6.ldf intrfr_7.ldf kntpoly1.ldf plyhd_01.ldf \
             polyrhyt.ldf pprcut01.ldf prbla_00.ldf prbla_01.ldf prbla_05.ldf \
             prbla_06.ldf prbla_10.ldf prbla_11.ldf prbla_12.ldf rhmtrc_01.ldf \
             ripple_1.ldf ripple_2.ldf sphrmd01.ldf sphrmd02.ldf sphrmd03.ldf \
             stgrddc1.ldf stlltn01.ldf stlltn03.ldf strspr01.ldf sundl_01.ldf \
             sundl_02.ldf sundl_03.ldf tngnts_1.ldf trchd_1.ldf

TEX_FILES := arc_1.txt bldelem1.txt bldelem2.txt bldelem3.txt bldelem4.txt \
             bldelem5.txt braik_01.txt braik_02.txt braik_03.txt \
             clktwr_01.txt cycld_1.txt cycld_2.txt dodec_01.txt dodec_02.txt \
             dodec_03.txt ellpln01.txt elpdmd01.txt fctcn01.txt  \
             goboards.txt grrhm_06.txt hyprb_00.txt hyprb_01.txt \
             hyprb_02.txt intrfr_2.txt intrfr_3.txt intrfr_5.txt intrfr_6.txt \
             intrfr_7.txt kntpoly1.txt polyrhyt.txt pprcuts.txt prbla_00.txt prbla_01.txt \
             prbla_05.txt prbla_06.txt prbla_10.txt prbla_11.txt \
             prbla_12.txt rhmtrc_01.txt ripple_1.txt ripple_2.txt sphrmd01.txt \
             sphrmd02.txt sphrmd03.txt stgrddc1.txt stlltn01.txt stlltn02.txt \
             stlltn04.txt stlltns.txt strspr01.txt sundl_01.txt \
             sundl_02.txt sundl_03.txt tngnts_1.txt trchd_1.txt wave_1.txt \
             wave_2.txt

LMC_FILES := bldelem0.lmc bldelem1.lmc bldelem2.lmc bldelem3.lmc bldelem4.lmc \
             bldelem5.lmc dodec_02.lmc dodec_03.lmc elpdmd01.lmc polyrhyt.lmc \
             rhmtrc_01.lmc sphrmd00.lmc stlltns.lmc sundl_03.lmc

NON_GEN_MP_FILES := raster_0.mp stlltn02.mp stlltn04.mp wave_1.mp wave_2.mp

TOC_FILES := bldelem1.toc bldelem2.toc bldelem3.toc bldelem4.toc bldelem5.toc polyrhyt.toc


GEN_MP_FILES = $(LDF_FILES:.ldf=.mp)
DVI_FILES = $(TEX_FILES:.txt=.dvi)
PS_FILES = $(TEX_FILES:.txt=.ps)
PDF_FILES = $(TEX_FILES:.txt=.pdf)
EPS_FILES = $(TEX_FILES:.txt=.[0-9]*) pprcut01.[0-9]* stlltn03.[0-9]*
LOG_FILES = $(TEX_FILES:.txt=.log) pprcut01.log stlltn03.log
MPX_FILES = $(TEX_FILES:.txt=.mpx) pprcut01.mpx

export LDF_FILES
export TEX_FILES
export LMC_FILES
export NON_GEN_MP_FILES
export TOC_FILES
export GEN_MP_FILES
export DVI_FILES
export PS_FILES
export PDF_FILES
export EPS_FILES
export LOG_FILES
export MPX_FILES

export top_builddir

#### !! PLEASE NOTE:  The output of 'wave_1.ldf' and 'wave_2.ldf' must be
#### modified by hand, so they are not included in 'LDF_FILES', while 
#### 'wave_1.mp' and 'wave_2.mp' _are_ included in 'NON_GEN_MP_FILES'!
#### 'wave_1.ldf' and 'wave_2.ldf' are included in 'EXTRA_DIST'.
####
#### LDF 2013.11.05.

#### Removed the PostScript and PDF files from the distribution.
#### I will distribute them separately.
####
#### $(PS_FILES) $(PDF_FILES) 

EXTRA_DIST = 00README $(LDF_FILES) $(TEX_FILES) \
             $(NON_GEN_MP_FILES) $(LMC_FILES) Makefile.am Makefile.in Makefile_sub \
             fmt8511.txt fmtdina4.txt wave_1.ldf wave_1.mp.bak wave_2.ldf wave_2.mp.bak

PURGE_FILES := $(TOC_FILES) $(DVI_FILES) $(LOG_FILES) $(MPX_FILES) 


CLEANFILES := $(GEN_MP_FILES) ldf_1.log 

#### ** (2) Rules

#### *** (3) All

# .PHONY: all

all: 

#### *** (3) reset

#### This target removes the PostScript and PDF files.  LDF 2013.11.07.

.PHONY: reset

reset:
	$(MAKE) clean
	rm -f $(PS_FILES) $(PDF_FILES) 

#### *** (3) Clean

clean-local: 
	$(MAKE) purge

#### *** (3) Purge

#### 'EPS_FILES' must be specified explicitly, because it won't work with the 'clean' target:
#### The action for the latter is incompatible with the use of a regexp (i.e., '.[0-9]*') 
#### for the suffixes.  'EPS_FILES' is therefore not included in 'PURGE_FILES'.
#### 
#### LDF 2013.11.06.

.PHONY: purge

purge:
	rm -f $(EPS_FILES) $(PURGE_FILES)


.PHONY : rebuild

rebuild:
	$(MAKE) -f Makefile_sub rebuild

##check-local: rebuild

#### *** (3) Query

.PHONY: query

query:
	@echo "LDF_FILES == $(LDF_FILES)"
	@echo "PS_FILES == $(PS_FILES)"

# $(MAKE) -f Makefile_sub query
# @echo "TEX == $(TEX)"
# @echo "CXXCOMPILE == $(CXXCOMPILE)"
# @echo "SOURCEDIR == $(SOURCEDIR)"
# @echo "top_builddir == $(top_builddir)"
# @echo "3dldflb_c_files == $(3dldflb_c_files)"
# @echo "3dldflb_cpp_files == $(3dldflb_cpp_files)"
# @echo "CLEANFILES == $(CLEANFILES)"

# 
# @echo "CXX == $(CXX)"
# @echo "CXXLINK == $(CXXLINK)"
# @echo "CXXFLAGS == $(CXXFLAGS)"

## Local Variables:
## mode:Makefile
## outline-minor-mode:t
## outline-regexp:"## *\\*+"
## abbrev-mode:t
## End: