26a624328ba0fb1e78f5945de24e7beec159d153
[ncurses.git] / Ada95 / gen / Makefile.in
1 ##############################################################################
2 # Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.                #
3 #                                                                            #
4 # Permission is hereby granted, free of charge, to any person obtaining a    #
5 # copy of this software and associated documentation files (the "Software"), #
6 # to deal in the Software without restriction, including without limitation  #
7 # the rights to use, copy, modify, merge, publish, distribute, distribute    #
8 # with modifications, sublicense, and/or sell copies of the Software, and to #
9 # permit persons to whom the Software is furnished to do so, subject to the  #
10 # following conditions:                                                      #
11 #                                                                            #
12 # The above copyright notice and this permission notice shall be included in #
13 # all copies or substantial portions of the Software.                        #
14 #                                                                            #
15 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
16 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,   #
17 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL    #
18 # THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER      #
19 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING    #
20 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER        #
21 # DEALINGS IN THE SOFTWARE.                                                  #
22 #                                                                            #
23 # Except as contained in this notice, the name(s) of the above copyright     #
24 # holders shall not be used in advertising or otherwise to promote the sale, #
25 # use or other dealings in this Software without prior written               #
26 # authorization.                                                             #
27 ##############################################################################
28 #
29 #  Author:  Juergen Pfeifer, 1996
30 #
31 #  $Id: Makefile.in,v 1.64 2010/02/21 01:48:47 tom Exp $
32 #
33 .SUFFIXES:
34
35 SHELL           = /bin/sh
36 THIS            = Makefile
37
38 x               = @PROG_EXT@
39
40 top_srcdir      = @top_srcdir@
41 DESTDIR         = @DESTDIR@
42 srcdir          = @srcdir@
43 prefix          = @prefix@
44 exec_prefix     = @exec_prefix@
45 bindir          = @bindir@
46 includedir      = @includedir@
47
48 ADA_INCLUDE     = $(DESTDIR)@ADA_INCLUDE@
49 ADA_OBJECTS     = $(DESTDIR)@ADA_OBJECTS@
50
51 INSTALL         = @INSTALL@
52 INSTALL_PROG    = @INSTALL_PROGRAM@
53 INSTALL_DATA    = @INSTALL_DATA@
54
55 AWK             = @AWK@
56 LN_S            = @LN_S@
57
58 CC              = @CC@
59 HOST_CC         = @BUILD_CC@
60 CFLAGS          = @CFLAGS@
61
62 CPPFLAGS        = @ACPPFLAGS@ \
63                   -DHAVE_CONFIG_H -I$(srcdir)
64
65 CCFLAGS         = $(CPPFLAGS) $(CFLAGS)
66 CFLAGS_NORMAL   = $(CCFLAGS)
67 CFLAGS_DEBUG    = $(CCFLAGS) @CC_G_OPT@ -DTRACE
68 CFLAGS_PROFILE  = $(CCFLAGS) -pg
69 CFLAGS_SHARED   = $(CCFLAGS) @CC_SHARED_OPTS@
70
71 CFLAGS_DEFAULT  = $(CFLAGS_@DFT_UPR_MODEL@)
72
73 REL_VERSION     = @cf_cv_rel_version@
74 ABI_VERSION     = @cf_cv_abi_version@
75 LOCAL_LIBDIR    = @top_builddir@/lib
76
77 LINK            = $(HOST_CC)
78 LD_FLAGS        = @LD_MODEL@ $(LOCAL_LIBS) @LDFLAGS@ @LIBS@ @LOCAL_LDFLAGS2@ $(LDFLAGS) @TINFO_ARGS2@
79
80 RANLIB          = @RANLIB@
81
82 M4              = m4
83 M4FLAGS         = -DNCURSES_EXT_FUNCS=@NCURSES_EXT_FUNCS@
84
85 ADACURSES_CONFIG = adacurses@DFT_ARG_SUFFIX@-config
86
87 WRAPPER         = sh $(top_srcdir)/misc/shlib
88 GENERATE        = ./gen$x '@DFT_ARG_SUFFIX@'
89 DEL_ADAMODE     = sed -e '/^\-\-\ \ \-\*\-\ ada\ \-\*\-.*/d'
90
91 GNATHTML        = `type -p gnathtml || type -p gnathtml.pl`
92 GNATHP          = www.gnat.com
93
94 ################################################################################
95 ALIB            = @cf_ada_package@
96 ABASE           = $(ALIB)-curses
97
98 ADA_SRCDIR      = ../src
99
100 GEN_FILES0      = Base_Defs
101
102 GEN_FILES1      = ACS_Map                               \
103                   AC_Rep                                \
104                   Base_Defs                             \
105                   Character_Attribute_Set_Rep           \
106                   Color_Defs                            \
107                   Key_Definitions                       \
108                   Linker_Options                        \
109                   Old_Keys                              \
110                   Public_Variables                      \
111                   Trace_Defs                            \
112                   Version_Info                          \
113                   Window_Offsets
114
115 GEN_FILES2      = Menu_Opt_Rep                          \
116                   Menu_Base_Defs                        \
117                   Menu_Linker_Options                   \
118                   Item_Rep
119
120 GEN_FILES3      = Form_Opt_Rep                          \
121                   Form_Base_Defs                        \
122                   Form_Linker_Options                   \
123                   Field_Rep
124
125 GEN_FILES4      = Mouse_Base_Defs                       \
126                   Mouse_Event_Rep                       \
127                   Mouse_Events                          \
128                   Panel_Linker_Options
129
130 GEN_FILES5      = Chtype_Def                            \
131                   Eti_Defs
132
133 GEN_TARGETS     = $(ADA_SRCDIR)/$(ABASE).ads                            \
134                   $(ADA_SRCDIR)/$(ABASE).adb                            \
135                   $(ADA_SRCDIR)/$(ABASE)-aux.ads                        \
136                   $(ADA_SRCDIR)/$(ABASE)-trace.ads                      \
137                   $(ADA_SRCDIR)/$(ABASE)-menus.ads                      \
138                   $(ADA_SRCDIR)/$(ABASE)-forms.ads                      \
139                   $(ADA_SRCDIR)/$(ABASE)-mouse.ads                      \
140                   $(ADA_SRCDIR)/$(ABASE)-panels.ads                     \
141                   $(ADA_SRCDIR)/$(ABASE)-menus-menu_user_data.ads       \
142                   $(ADA_SRCDIR)/$(ABASE)-menus-item_user_data.ads       \
143                   $(ADA_SRCDIR)/$(ABASE)-forms-form_user_data.ads       \
144                   $(ADA_SRCDIR)/$(ABASE)-forms-field_types.ads          \
145                   $(ADA_SRCDIR)/$(ABASE)-forms-field_user_data.ads      \
146                   $(ADA_SRCDIR)/$(ABASE)-panels-user_data.ads
147
148 GEN_SRC         = $(srcdir)/$(ABASE).ads.m4                             \
149                   $(srcdir)/$(ABASE).adb.m4                             \
150                   $(srcdir)/$(ABASE)-aux.ads.m4                         \
151                   $(srcdir)/$(ABASE)-trace.ads.m4                       \
152                   $(srcdir)/$(ABASE)-menus.ads.m4                       \
153                   $(srcdir)/$(ABASE)-forms.ads.m4                       \
154                   $(srcdir)/$(ABASE)-mouse.ads.m4                       \
155                   $(srcdir)/$(ABASE)-panels.ads.m4                      \
156                   $(srcdir)/$(ABASE)-menus-menu_user_data.ads.m4        \
157                   $(srcdir)/$(ABASE)-menus-item_user_data.ads.m4        \
158                   $(srcdir)/$(ABASE)-forms-form_user_data.ads.m4        \
159                   $(srcdir)/$(ABASE)-forms-field_types.ads.m4           \
160                   $(srcdir)/$(ABASE)-forms-field_user_data.ads.m4       \
161                   $(srcdir)/$(ABASE)-panels-user_data.ads.m4
162
163
164 all \
165 libs :  $(GEN_TARGETS)
166         @echo made $@
167
168 sources:
169
170 $(DESTDIR)$(bindir) \
171 $(ADA_INCLUDE) \
172 $(ADA_OBJECTS) :
173         sh $(top_srcdir)/mkdirs.sh $@
174
175 install \
176 install.libs :: $(ADA_INCLUDE)
177         @echo installing package $(ALIB) in $(ADA_INCLUDE)
178         @$(top_srcdir)/tar-copy.sh '$(ALIB)*.ad?' $(ADA_SRCDIR) $(ADA_INCLUDE)
179         @$(top_srcdir)/tar-copy.sh '$(ALIB)[-.]*.ad?' $(ADA_SRCDIR) $(ADA_INCLUDE)
180         @test $(srcdir) != ./ && $(top_srcdir)/tar-copy.sh '$(ALIB)*.ad?' $(srcdir)/../src $(ADA_INCLUDE)
181         @test $(srcdir) != ./ && $(top_srcdir)/tar-copy.sh '$(ALIB)[-.]*.ad?' $(srcdir)/../src $(ADA_INCLUDE)
182
183 install \
184 install.libs :: $(ADA_OBJECTS)
185         @echo installing package $(ALIB) in $(ADA_OBJECTS)
186         @-chmod a-wx $(ADA_SRCDIR)/*.ali
187         @$(top_srcdir)/tar-copy.sh '$(ALIB)*.ali' $(ADA_SRCDIR) $(ADA_OBJECTS)
188         @$(top_srcdir)/tar-copy.sh '$(ALIB)[-.]*.ali' $(ADA_SRCDIR) $(ADA_OBJECTS)
189         @-chmod u+x $(ADA_SRCDIR)/*.ali
190
191 install \
192 install.libs :: $(DESTDIR)$(bindir) $(ADACURSES_CONFIG)
193         $(INSTALL_PROG) $(ADACURSES_CONFIG) $(DESTDIR)$(bindir)/$(ADACURSES_CONFIG)
194
195 uninstall \
196 uninstall.libs ::
197         @echo removing package $(ALIB) from $(ADA_INCLUDE)
198         -@cd $(ADA_INCLUDE) && rm -f $(ALIB)[-.]*
199
200 uninstall \
201 uninstall.libs ::
202         @echo removing package $(ALIB) from $(ADA_OBJECTS)
203         -@cd $(ADA_OBJECTS) && rm -f $(ALIB)[-.]*
204
205 uninstall \
206 uninstall.libs ::
207         -rm -f $(DESTDIR)$(bindir)/$(ADACURSES_CONFIG)
208
209 gen$x:  gen.o
210         @ECHO_LINK@ $(LINK) $(CFLAGS_NORMAL) gen.o $(LD_FLAGS) -o $@
211
212 gen.o:  $(srcdir)/gen.c
213         $(HOST_CC) $(CFLAGS_NORMAL) -c -o $@ $(srcdir)/gen.c
214 ################################################################################
215 Character_Attribute_Set_Rep: gen$x
216         $(WRAPPER) "$(GENERATE) B A" >$@
217
218 Base_Defs: gen$x
219         $(WRAPPER) "$(GENERATE) B B" >$@
220
221 Color_Defs: gen$x
222         $(WRAPPER) "$(GENERATE) B C" >$@
223
224 Window_Offsets: gen$x
225         $(WRAPPER) "$(GENERATE) B D" >$@
226
227 Key_Definitions: gen$x
228         $(WRAPPER) "$(GENERATE) B K" >$@
229
230 Linker_Options: gen$x
231         $(WRAPPER) "$(GENERATE) B L" >$@
232
233 ACS_Map: gen$x
234         $(WRAPPER) "$(GENERATE) B M" >$@
235
236 Old_Keys: gen$x
237         $(WRAPPER) "$(GENERATE) B O" >$@
238
239 Public_Variables: gen$x
240         $(WRAPPER) "$(GENERATE) B P" >$@
241
242 AC_Rep: gen$x
243         $(WRAPPER) "$(GENERATE) B R" >$@
244
245 Version_Info: gen$x
246         $(WRAPPER) "$(GENERATE) B V" >$@
247
248 Trace_Defs: gen$x
249         $(WRAPPER) "$(GENERATE) B T" >$@
250 ################################################################################
251 Menu_Opt_Rep: gen$x
252         $(WRAPPER) "$(GENERATE) M R" >$@
253
254 Menu_Base_Defs: gen$x
255         $(WRAPPER) "$(GENERATE) M B" >$@
256
257 Menu_Linker_Options: gen$x
258         $(WRAPPER) "$(GENERATE) M L" >$@
259
260 Item_Rep: gen$x
261         $(WRAPPER) "$(GENERATE) M I" >$@
262 ################################################################################
263 Form_Opt_Rep: gen$x
264         $(WRAPPER) "$(GENERATE) F R" >$@
265
266 Form_Base_Defs: gen$x
267         $(WRAPPER) "$(GENERATE) F B" >$@
268
269 Form_Linker_Options: gen$x
270         $(WRAPPER) "$(GENERATE) F L" >$@
271
272 Field_Rep: gen$x
273         $(WRAPPER) "$(GENERATE) F I" >$@
274 ################################################################################
275 Mouse_Base_Defs: gen$x
276         $(WRAPPER) "$(GENERATE) P B" >$@
277
278 Mouse_Event_Rep: gen$x
279         $(WRAPPER) "$(GENERATE) P M" >$@
280
281 Mouse_Events: gen$x
282         $(WRAPPER) "$(GENERATE) B E" >$@
283
284 Panel_Linker_Options: gen$x
285         $(WRAPPER) "$(GENERATE) P L" >$@
286
287 Chtype_Def: gen$x
288         $(WRAPPER) "$(GENERATE) E C" >$@
289
290 Eti_Defs: gen$x
291         $(WRAPPER) "$(GENERATE) E E" >$@
292 ################################################################################
293 $(ADA_SRCDIR)/$(ABASE).ads:     $(srcdir)/$(ABASE).ads.m4 \
294                                 $(GEN_FILES1) $(srcdir)/normal.m4
295         $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
296         $(srcdir)/$(ABASE).ads.m4 |\
297         $(DEL_ADAMODE) >$@
298
299 $(ADA_SRCDIR)/$(ABASE).adb:     $(srcdir)/$(ABASE).adb.m4 \
300                                 $(GEN_FILES1) $(srcdir)/normal.m4
301         $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
302         $(srcdir)/$(ABASE).adb.m4 |\
303         $(DEL_ADAMODE) >$@
304
305 $(ADA_SRCDIR)/$(ABASE)-aux.ads: $(srcdir)/$(ABASE)-aux.ads.m4 \
306                                 $(GEN_FILES5) $(srcdir)/normal.m4
307         $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
308         $(srcdir)/$(ABASE)-aux.ads.m4 |\
309         $(DEL_ADAMODE) >$@
310
311 $(ADA_SRCDIR)/$(ABASE)-trace.ads: $(srcdir)/$(ABASE)-trace.ads.m4 \
312                                 $(GEN_FILES5) $(srcdir)/normal.m4
313         $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
314         $(srcdir)/$(ABASE)-trace.ads.m4 |\
315         $(DEL_ADAMODE) >$@
316
317 $(ADA_SRCDIR)/$(ABASE)-menus.ads: $(srcdir)/$(ABASE)-menus.ads.m4 \
318                                   $(GEN_FILES2) $(srcdir)/normal.m4
319         $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
320         $(srcdir)/$(ABASE)-menus.ads.m4 |\
321         $(DEL_ADAMODE) >$@
322
323 $(ADA_SRCDIR)/$(ABASE)-forms.ads: $(srcdir)/$(ABASE)-forms.ads.m4 \
324                                   $(GEN_FILES3) $(srcdir)/normal.m4
325         $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
326         $(srcdir)/$(ABASE)-forms.ads.m4 |\
327         $(DEL_ADAMODE) >$@
328
329 $(ADA_SRCDIR)/$(ABASE)-mouse.ads: $(srcdir)/$(ABASE)-mouse.ads.m4 \
330                                   $(GEN_FILES4) $(srcdir)/normal.m4
331         $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
332         $(srcdir)/$(ABASE)-mouse.ads.m4 |\
333         $(DEL_ADAMODE) >$@
334
335 $(ADA_SRCDIR)/$(ABASE)-panels.ads: $(srcdir)/$(ABASE)-panels.ads.m4 \
336                                    $(srcdir)/normal.m4
337         $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
338         $(srcdir)/$(ABASE)-panels.ads.m4 |\
339         $(DEL_ADAMODE) >$@
340
341 $(ADA_SRCDIR)/$(ABASE)-menus-menu_user_data.ads: \
342                 $(srcdir)/$(ABASE)-menus-menu_user_data.ads.m4 \
343                 $(srcdir)/normal.m4
344         $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
345         $(srcdir)/$(ABASE)-menus-menu_user_data.ads.m4 |\
346         $(DEL_ADAMODE) >$@
347
348 $(ADA_SRCDIR)/$(ABASE)-menus-item_user_data.ads: \
349                 $(srcdir)/$(ABASE)-menus-item_user_data.ads.m4 \
350                 $(srcdir)/normal.m4
351         $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
352         $(srcdir)/$(ABASE)-menus-item_user_data.ads.m4 |\
353         $(DEL_ADAMODE) >$@
354
355 $(ADA_SRCDIR)/$(ABASE)-forms-form_user_data.ads: \
356                 $(srcdir)/$(ABASE)-forms-form_user_data.ads.m4 \
357                 $(srcdir)/normal.m4
358         $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
359         $(srcdir)/$(ABASE)-forms-form_user_data.ads.m4 |\
360         $(DEL_ADAMODE) >$@
361
362 $(ADA_SRCDIR)/$(ABASE)-forms-field_types.ads: \
363                 $(srcdir)/$(ABASE)-forms-field_types.ads.m4 \
364                 $(srcdir)/normal.m4
365         $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
366         $(srcdir)/$(ABASE)-forms-field_types.ads.m4 |\
367         $(DEL_ADAMODE) >$@
368
369 $(ADA_SRCDIR)/$(ABASE)-forms-field_user_data.ads: \
370                 $(srcdir)/$(ABASE)-forms-field_user_data.ads.m4 \
371                 $(srcdir)/normal.m4
372         $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
373         $(srcdir)/$(ABASE)-forms-field_user_data.ads.m4 |\
374         $(DEL_ADAMODE) >$@
375
376 $(ADA_SRCDIR)/$(ABASE)-panels-user_data.ads: \
377                 $(srcdir)/$(ABASE)-panels-user_data.ads.m4 \
378                 $(srcdir)/normal.m4
379         $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
380         $(srcdir)/$(ABASE)-panels-user_data.ads.m4 |\
381         $(DEL_ADAMODE) >$@
382
383 install.progs ::
384
385 tags:
386         ctags *.[ch]
387
388 @MAKE_UPPER_TAGS@TAGS:
389 @MAKE_UPPER_TAGS@       etags *.[ch]
390
391 mostlyclean ::
392         -rm -f a.out core gen$x *.o
393         -rm -f $(GEN_FILES1)
394         -rm -f $(GEN_FILES2)
395         -rm -f $(GEN_FILES3)
396         -rm -f $(GEN_FILES4)
397         -rm -f $(GEN_FILES5)
398
399 clean :: mostlyclean
400         -rm -f $(GEN_TARGETS) instab.tmp *.ad[bs] *.html *.ali *.tmp
401
402 distclean :: clean
403         -rm -f $(ADACURSES_CONFIG)
404         -rm -f Makefile
405
406 realclean :: distclean
407
408 HTML_DIR = ../../doc/html/ada
409
410 instab.tmp : table.m4 $(GEN_SRC)
411         @rm -f $@
412         @for f in $(GEN_SRC) ; do \
413           $(M4) $(M4FLAGS) -DM4MACRO=table.m4 $$f | $(DEL_ADAMODE) >> $@ ;\
414         done;
415
416 $(HTML_DIR)/table.html : instab.tmp
417         @-touch $@
418         @-chmod +w $@
419         @echo '<!DOCTYPE HTML'  > $@
420         @echo 'PUBLIC "-//IETF//DTD HTML 3.0//EN">' >> $@
421         @echo '<HTML>' >> $@
422         @echo '<HEAD>' >> $@
423         @echo '<TITLE>Correspondence between ncurses C and Ada functions</TITLE>' >>$@
424         @echo '</HEAD>' >> $@
425         @echo '<BODY>' >> $@
426         @echo '<H1>Correspondence between ncurses C and Ada functions</H1>' >>$@
427         @echo '<H2>Sorted by C function name</H2>' >>$@
428         @echo '<TABLE ALIGN=CENTER BORDER>' >>$@
429         @echo '<TR ALIGN=LEFT>' >>$@
430         @echo '<TH>C name</TH><TH>Ada name</TH><TH>man page</TH></TR>' >>$@
431         @sort < instab.tmp >> $@
432         @echo '</TABLE></BODY></HTML>' >>$@
433         @rm -f instab.tmp
434
435 adahtml:
436         @find $(HTML_DIR) -type f -exec rm -f {} \;
437         @mkdir -p $(HTML_DIR)
438         cp -p ../src/*.ad[sb] . && chmod +w *.ad[sb]
439         ln -sf ../src/*.ali .
440         @echo "Filtering generated files"
441         @for f in $(GEN_SRC); do \
442            h=`basename $$f` ;\
443            g=`basename $$f .ads.m4` ;\
444            if test "$$g" != "$$h" ; then \
445               $(M4) $(M4FLAGS) -DM4MACRO=html.m4 $$f | $(DEL_ADAMODE) > $$g.ads ;\
446               echo "... $$g.ads" ;\
447            fi \
448         done
449         @-rm -f $(HTML_DIR)/$(ALIB)*.htm*
450         $(GNATHTML) -d -f $(ALIB)*.ads
451         for f in html/$(ALIB)*.htm*; do \
452            a=`basename $$f` ; \
453            sed -e 's/You may also.*body.*//' <$$f |\
454            sed -e 's%GNAT%<A HREF="http://$(GNATHP)">GNAT</A>%g' |\
455            sed -e 's%&lt;A HREF%<A HREF%g' |\
456            sed -e 's%"&gt;%">%g' |\
457            sed -e 's/3X/3x/g' |\
458            sed -e 's/$$\([ABCDEFGHIJKLMNOPQRSTUVWXZabcdefghijklmnopqrstuvwxz0123456789_]*:.*\)\$$/@\1@/' |\
459            sed -e 's%&lt;/A&gt;%</A>%g' > $$a.tmp ;\
460            mv $$a.tmp $$f ;\
461         done
462         @rm -f *.ad[sb] *.ali *.tmp
463         @for f in funcs.htm main.htm ; do \
464           sed -e "\%<A HREF=funcs/ .htm>\[ \]</A>%d" < html/$$f > $$f ;\
465           mv $$f html/$$f ;\
466         done
467         @rm -f "html/funcs/ .htm"
468         @cp -pdrf html/* $(HTML_DIR)/
469         @rm -rf html
470
471 html : adahtml $(HTML_DIR)/table.html
472         @echo made $@
473
474 ###############################################################################
475 # The remainder of this file is automatically generated during configuration
476 ###############################################################################