Makefile.in 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  1. ##############################################################################
  2. # Copyright (c) 1998-2008,2009 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.63 2009/01/11 01:11:35 tom Exp $
  32. #
  33. .SUFFIXES:
  34. SHELL = /bin/sh
  35. THIS = Makefile
  36. x = @PROG_EXT@
  37. top_srcdir = @top_srcdir@
  38. DESTDIR = @DESTDIR@
  39. srcdir = @srcdir@
  40. prefix = @prefix@
  41. exec_prefix = @exec_prefix@
  42. bindir = @bindir@
  43. ADA_INCLUDE = $(DESTDIR)@ADA_INCLUDE@
  44. ADA_OBJECTS = $(DESTDIR)@ADA_OBJECTS@
  45. INSTALL = @INSTALL@
  46. INSTALL_PROG = @INSTALL_PROGRAM@
  47. INSTALL_DATA = @INSTALL_DATA@
  48. AWK = @AWK@
  49. LN_S = @LN_S@
  50. CC = @CC@
  51. HOST_CC = @BUILD_CC@
  52. CFLAGS = @CFLAGS@
  53. CPPFLAGS = @ACPPFLAGS@ \
  54. -DHAVE_CONFIG_H -I$(srcdir)
  55. CCFLAGS = $(CPPFLAGS) $(CFLAGS)
  56. CFLAGS_NORMAL = $(CCFLAGS)
  57. CFLAGS_DEBUG = $(CCFLAGS) @CC_G_OPT@ -DTRACE
  58. CFLAGS_PROFILE = $(CCFLAGS) -pg
  59. CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@
  60. CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
  61. REL_VERSION = @cf_cv_rel_version@
  62. ABI_VERSION = @cf_cv_abi_version@
  63. LOCAL_LIBDIR = @top_builddir@/lib
  64. LINK = $(HOST_CC)
  65. LD_FLAGS = @LD_MODEL@ $(LOCAL_LIBS) @LDFLAGS@ @LIBS@ @LOCAL_LDFLAGS2@ $(LDFLAGS) @TINFO_ARGS2@
  66. RANLIB = @RANLIB@
  67. M4 = m4
  68. M4FLAGS = -DNCURSES_EXT_FUNCS=@NCURSES_EXT_FUNCS@
  69. ADACURSES_CONFIG = adacurses@DFT_ARG_SUFFIX@-config
  70. WRAPPER = sh $(top_srcdir)/misc/shlib
  71. GENERATE = ./gen$x '@DFT_ARG_SUFFIX@'
  72. DEL_ADAMODE = sed -e '/^\-\-\ \ \-\*\-\ ada\ \-\*\-.*/d'
  73. GNATHTML = `type -p gnathtml || type -p gnathtml.pl`
  74. GNATHP = www.gnat.com
  75. ################################################################################
  76. ALIB = @cf_ada_package@
  77. ABASE = $(ALIB)-curses
  78. ADA_SRCDIR = ../src
  79. GEN_FILES0 = Base_Defs
  80. GEN_FILES1 = ACS_Map \
  81. AC_Rep \
  82. Base_Defs \
  83. Character_Attribute_Set_Rep \
  84. Color_Defs \
  85. Key_Definitions \
  86. Linker_Options \
  87. Old_Keys \
  88. Public_Variables \
  89. Trace_Defs \
  90. Version_Info \
  91. Window_Offsets
  92. GEN_FILES2 = Menu_Opt_Rep \
  93. Menu_Base_Defs \
  94. Menu_Linker_Options \
  95. Item_Rep
  96. GEN_FILES3 = Form_Opt_Rep \
  97. Form_Base_Defs \
  98. Form_Linker_Options \
  99. Field_Rep
  100. GEN_FILES4 = Mouse_Base_Defs \
  101. Mouse_Event_Rep \
  102. Mouse_Events \
  103. Panel_Linker_Options
  104. GEN_FILES5 = Chtype_Def \
  105. Eti_Defs
  106. GEN_TARGETS = $(ADA_SRCDIR)/$(ABASE).ads \
  107. $(ADA_SRCDIR)/$(ABASE).adb \
  108. $(ADA_SRCDIR)/$(ABASE)-aux.ads \
  109. $(ADA_SRCDIR)/$(ABASE)-trace.ads \
  110. $(ADA_SRCDIR)/$(ABASE)-menus.ads \
  111. $(ADA_SRCDIR)/$(ABASE)-forms.ads \
  112. $(ADA_SRCDIR)/$(ABASE)-mouse.ads \
  113. $(ADA_SRCDIR)/$(ABASE)-panels.ads \
  114. $(ADA_SRCDIR)/$(ABASE)-menus-menu_user_data.ads \
  115. $(ADA_SRCDIR)/$(ABASE)-menus-item_user_data.ads \
  116. $(ADA_SRCDIR)/$(ABASE)-forms-form_user_data.ads \
  117. $(ADA_SRCDIR)/$(ABASE)-forms-field_types.ads \
  118. $(ADA_SRCDIR)/$(ABASE)-forms-field_user_data.ads \
  119. $(ADA_SRCDIR)/$(ABASE)-panels-user_data.ads
  120. GEN_SRC = $(srcdir)/$(ABASE).ads.m4 \
  121. $(srcdir)/$(ABASE).adb.m4 \
  122. $(srcdir)/$(ABASE)-aux.ads.m4 \
  123. $(srcdir)/$(ABASE)-trace.ads.m4 \
  124. $(srcdir)/$(ABASE)-menus.ads.m4 \
  125. $(srcdir)/$(ABASE)-forms.ads.m4 \
  126. $(srcdir)/$(ABASE)-mouse.ads.m4 \
  127. $(srcdir)/$(ABASE)-panels.ads.m4 \
  128. $(srcdir)/$(ABASE)-menus-menu_user_data.ads.m4 \
  129. $(srcdir)/$(ABASE)-menus-item_user_data.ads.m4 \
  130. $(srcdir)/$(ABASE)-forms-form_user_data.ads.m4 \
  131. $(srcdir)/$(ABASE)-forms-field_types.ads.m4 \
  132. $(srcdir)/$(ABASE)-forms-field_user_data.ads.m4 \
  133. $(srcdir)/$(ABASE)-panels-user_data.ads.m4
  134. all \
  135. libs : $(GEN_TARGETS)
  136. @echo made $@
  137. sources:
  138. $(DESTDIR)$(bindir) \
  139. $(ADA_INCLUDE) \
  140. $(ADA_OBJECTS) :
  141. sh $(top_srcdir)/mkdirs.sh $@
  142. install \
  143. install.libs :: $(ADA_INCLUDE)
  144. @echo installing package $(ALIB) in $(ADA_INCLUDE)
  145. @$(top_srcdir)/tar-copy.sh '$(ALIB)*.ad?' $(ADA_SRCDIR) $(ADA_INCLUDE)
  146. @$(top_srcdir)/tar-copy.sh '$(ALIB)[-.]*.ad?' $(ADA_SRCDIR) $(ADA_INCLUDE)
  147. @test $(srcdir) != ./ && $(top_srcdir)/tar-copy.sh '$(ALIB)*.ad?' $(srcdir)/../src $(ADA_INCLUDE)
  148. @test $(srcdir) != ./ && $(top_srcdir)/tar-copy.sh '$(ALIB)[-.]*.ad?' $(srcdir)/../src $(ADA_INCLUDE)
  149. install \
  150. install.libs :: $(ADA_OBJECTS)
  151. @echo installing package $(ALIB) in $(ADA_OBJECTS)
  152. @-chmod a-wx $(ADA_SRCDIR)/*.ali
  153. @$(top_srcdir)/tar-copy.sh '$(ALIB)*.ali' $(ADA_SRCDIR) $(ADA_OBJECTS)
  154. @$(top_srcdir)/tar-copy.sh '$(ALIB)[-.]*.ali' $(ADA_SRCDIR) $(ADA_OBJECTS)
  155. @-chmod u+x $(ADA_SRCDIR)/*.ali
  156. install \
  157. install.libs :: $(DESTDIR)$(bindir) $(ADACURSES_CONFIG)
  158. $(INSTALL_PROG) $(ADACURSES_CONFIG) $(DESTDIR)$(bindir)/$(ADACURSES_CONFIG)
  159. uninstall \
  160. uninstall.libs ::
  161. @echo removing package $(ALIB) from $(ADA_INCLUDE)
  162. -@cd $(ADA_INCLUDE) && rm -f $(ALIB)[-.]*
  163. uninstall \
  164. uninstall.libs ::
  165. @echo removing package $(ALIB) from $(ADA_OBJECTS)
  166. -@cd $(ADA_OBJECTS) && rm -f $(ALIB)[-.]*
  167. uninstall \
  168. uninstall.libs ::
  169. -rm -f $(DESTDIR)$(bindir)/$(ADACURSES_CONFIG)
  170. gen$x: gen.o
  171. @ECHO_LINK@ $(LINK) $(CFLAGS_NORMAL) gen.o $(LD_FLAGS) -o $@
  172. gen.o: $(srcdir)/gen.c
  173. $(HOST_CC) $(CFLAGS_NORMAL) -c -o $@ $(srcdir)/gen.c
  174. ################################################################################
  175. Character_Attribute_Set_Rep: gen$x
  176. $(WRAPPER) "$(GENERATE) B A" >$@
  177. Base_Defs: gen$x
  178. $(WRAPPER) "$(GENERATE) B B" >$@
  179. Color_Defs: gen$x
  180. $(WRAPPER) "$(GENERATE) B C" >$@
  181. Window_Offsets: gen$x
  182. $(WRAPPER) "$(GENERATE) B D" >$@
  183. Key_Definitions: gen$x
  184. $(WRAPPER) "$(GENERATE) B K" >$@
  185. Linker_Options: gen$x
  186. $(WRAPPER) "$(GENERATE) B L" >$@
  187. ACS_Map: gen$x
  188. $(WRAPPER) "$(GENERATE) B M" >$@
  189. Old_Keys: gen$x
  190. $(WRAPPER) "$(GENERATE) B O" >$@
  191. Public_Variables: gen$x
  192. $(WRAPPER) "$(GENERATE) B P" >$@
  193. AC_Rep: gen$x
  194. $(WRAPPER) "$(GENERATE) B R" >$@
  195. Version_Info: gen$x
  196. $(WRAPPER) "$(GENERATE) B V" >$@
  197. Trace_Defs: gen$x
  198. $(WRAPPER) "$(GENERATE) B T" >$@
  199. ################################################################################
  200. Menu_Opt_Rep: gen$x
  201. $(WRAPPER) "$(GENERATE) M R" >$@
  202. Menu_Base_Defs: gen$x
  203. $(WRAPPER) "$(GENERATE) M B" >$@
  204. Menu_Linker_Options: gen$x
  205. $(WRAPPER) "$(GENERATE) M L" >$@
  206. Item_Rep: gen$x
  207. $(WRAPPER) "$(GENERATE) M I" >$@
  208. ################################################################################
  209. Form_Opt_Rep: gen$x
  210. $(WRAPPER) "$(GENERATE) F R" >$@
  211. Form_Base_Defs: gen$x
  212. $(WRAPPER) "$(GENERATE) F B" >$@
  213. Form_Linker_Options: gen$x
  214. $(WRAPPER) "$(GENERATE) F L" >$@
  215. Field_Rep: gen$x
  216. $(WRAPPER) "$(GENERATE) F I" >$@
  217. ################################################################################
  218. Mouse_Base_Defs: gen$x
  219. $(WRAPPER) "$(GENERATE) P B" >$@
  220. Mouse_Event_Rep: gen$x
  221. $(WRAPPER) "$(GENERATE) P M" >$@
  222. Mouse_Events: gen$x
  223. $(WRAPPER) "$(GENERATE) B E" >$@
  224. Panel_Linker_Options: gen$x
  225. $(WRAPPER) "$(GENERATE) P L" >$@
  226. Chtype_Def: gen$x
  227. $(WRAPPER) "$(GENERATE) E C" >$@
  228. Eti_Defs: gen$x
  229. $(WRAPPER) "$(GENERATE) E E" >$@
  230. ################################################################################
  231. $(ADA_SRCDIR)/$(ABASE).ads: $(srcdir)/$(ABASE).ads.m4 \
  232. $(GEN_FILES1) $(srcdir)/normal.m4
  233. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  234. $(srcdir)/$(ABASE).ads.m4 |\
  235. $(DEL_ADAMODE) >$@
  236. $(ADA_SRCDIR)/$(ABASE).adb: $(srcdir)/$(ABASE).adb.m4 \
  237. $(GEN_FILES1) $(srcdir)/normal.m4
  238. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  239. $(srcdir)/$(ABASE).adb.m4 |\
  240. $(DEL_ADAMODE) >$@
  241. $(ADA_SRCDIR)/$(ABASE)-aux.ads: $(srcdir)/$(ABASE)-aux.ads.m4 \
  242. $(GEN_FILES5) $(srcdir)/normal.m4
  243. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  244. $(srcdir)/$(ABASE)-aux.ads.m4 |\
  245. $(DEL_ADAMODE) >$@
  246. $(ADA_SRCDIR)/$(ABASE)-trace.ads: $(srcdir)/$(ABASE)-trace.ads.m4 \
  247. $(GEN_FILES5) $(srcdir)/normal.m4
  248. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  249. $(srcdir)/$(ABASE)-trace.ads.m4 |\
  250. $(DEL_ADAMODE) >$@
  251. $(ADA_SRCDIR)/$(ABASE)-menus.ads: $(srcdir)/$(ABASE)-menus.ads.m4 \
  252. $(GEN_FILES2) $(srcdir)/normal.m4
  253. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  254. $(srcdir)/$(ABASE)-menus.ads.m4 |\
  255. $(DEL_ADAMODE) >$@
  256. $(ADA_SRCDIR)/$(ABASE)-forms.ads: $(srcdir)/$(ABASE)-forms.ads.m4 \
  257. $(GEN_FILES3) $(srcdir)/normal.m4
  258. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  259. $(srcdir)/$(ABASE)-forms.ads.m4 |\
  260. $(DEL_ADAMODE) >$@
  261. $(ADA_SRCDIR)/$(ABASE)-mouse.ads: $(srcdir)/$(ABASE)-mouse.ads.m4 \
  262. $(GEN_FILES4) $(srcdir)/normal.m4
  263. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  264. $(srcdir)/$(ABASE)-mouse.ads.m4 |\
  265. $(DEL_ADAMODE) >$@
  266. $(ADA_SRCDIR)/$(ABASE)-panels.ads: $(srcdir)/$(ABASE)-panels.ads.m4 \
  267. $(srcdir)/normal.m4
  268. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  269. $(srcdir)/$(ABASE)-panels.ads.m4 |\
  270. $(DEL_ADAMODE) >$@
  271. $(ADA_SRCDIR)/$(ABASE)-menus-menu_user_data.ads: \
  272. $(srcdir)/$(ABASE)-menus-menu_user_data.ads.m4 \
  273. $(srcdir)/normal.m4
  274. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  275. $(srcdir)/$(ABASE)-menus-menu_user_data.ads.m4 |\
  276. $(DEL_ADAMODE) >$@
  277. $(ADA_SRCDIR)/$(ABASE)-menus-item_user_data.ads: \
  278. $(srcdir)/$(ABASE)-menus-item_user_data.ads.m4 \
  279. $(srcdir)/normal.m4
  280. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  281. $(srcdir)/$(ABASE)-menus-item_user_data.ads.m4 |\
  282. $(DEL_ADAMODE) >$@
  283. $(ADA_SRCDIR)/$(ABASE)-forms-form_user_data.ads: \
  284. $(srcdir)/$(ABASE)-forms-form_user_data.ads.m4 \
  285. $(srcdir)/normal.m4
  286. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  287. $(srcdir)/$(ABASE)-forms-form_user_data.ads.m4 |\
  288. $(DEL_ADAMODE) >$@
  289. $(ADA_SRCDIR)/$(ABASE)-forms-field_types.ads: \
  290. $(srcdir)/$(ABASE)-forms-field_types.ads.m4 \
  291. $(srcdir)/normal.m4
  292. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  293. $(srcdir)/$(ABASE)-forms-field_types.ads.m4 |\
  294. $(DEL_ADAMODE) >$@
  295. $(ADA_SRCDIR)/$(ABASE)-forms-field_user_data.ads: \
  296. $(srcdir)/$(ABASE)-forms-field_user_data.ads.m4 \
  297. $(srcdir)/normal.m4
  298. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  299. $(srcdir)/$(ABASE)-forms-field_user_data.ads.m4 |\
  300. $(DEL_ADAMODE) >$@
  301. $(ADA_SRCDIR)/$(ABASE)-panels-user_data.ads: \
  302. $(srcdir)/$(ABASE)-panels-user_data.ads.m4 \
  303. $(srcdir)/normal.m4
  304. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  305. $(srcdir)/$(ABASE)-panels-user_data.ads.m4 |\
  306. $(DEL_ADAMODE) >$@
  307. install.progs ::
  308. tags:
  309. ctags *.[ch]
  310. @MAKE_UPPER_TAGS@TAGS:
  311. @MAKE_UPPER_TAGS@ etags *.[ch]
  312. mostlyclean ::
  313. -rm -f a.out core gen$x *.o
  314. -rm -f $(GEN_FILES1)
  315. -rm -f $(GEN_FILES2)
  316. -rm -f $(GEN_FILES3)
  317. -rm -f $(GEN_FILES4)
  318. -rm -f $(GEN_FILES5)
  319. clean :: mostlyclean
  320. -rm -f $(GEN_TARGETS) instab.tmp *.ad[bs] *.html *.ali *.tmp
  321. distclean :: clean
  322. -rm -f $(ADACURSES_CONFIG)
  323. -rm -f Makefile
  324. realclean :: distclean
  325. HTML_DIR = ../../doc/html/ada
  326. instab.tmp : table.m4 $(GEN_SRC)
  327. @rm -f $@
  328. @for f in $(GEN_SRC) ; do \
  329. $(M4) $(M4FLAGS) -DM4MACRO=table.m4 $$f | $(DEL_ADAMODE) >> $@ ;\
  330. done;
  331. $(HTML_DIR)/table.html : instab.tmp
  332. @-touch $@
  333. @-chmod +w $@
  334. @echo '<!DOCTYPE HTML' > $@
  335. @echo 'PUBLIC "-//IETF//DTD HTML 3.0//EN">' >> $@
  336. @echo '<HTML>' >> $@
  337. @echo '<HEAD>' >> $@
  338. @echo '<TITLE>Correspondence between ncurses C and Ada functions</TITLE>' >>$@
  339. @echo '</HEAD>' >> $@
  340. @echo '<BODY>' >> $@
  341. @echo '<H1>Correspondence between ncurses C and Ada functions</H1>' >>$@
  342. @echo '<H2>Sorted by C function name</H2>' >>$@
  343. @echo '<TABLE ALIGN=CENTER BORDER>' >>$@
  344. @echo '<TR ALIGN=LEFT>' >>$@
  345. @echo '<TH>C name</TH><TH>Ada name</TH><TH>man page</TH></TR>' >>$@
  346. @sort < instab.tmp >> $@
  347. @echo '</TABLE></BODY></HTML>' >>$@
  348. @rm -f instab.tmp
  349. adahtml:
  350. @find $(HTML_DIR) -type f -exec rm -f {} \;
  351. @mkdir -p $(HTML_DIR)
  352. cp -p ../src/*.ad[sb] . && chmod +w *.ad[sb]
  353. ln -sf ../src/*.ali .
  354. @echo "Filtering generated files"
  355. @for f in $(GEN_SRC); do \
  356. h=`basename $$f` ;\
  357. g=`basename $$f .ads.m4` ;\
  358. if test "$$g" != "$$h" ; then \
  359. $(M4) $(M4FLAGS) -DM4MACRO=html.m4 $$f | $(DEL_ADAMODE) > $$g.ads ;\
  360. echo "... $$g.ads" ;\
  361. fi \
  362. done
  363. @-rm -f $(HTML_DIR)/$(ALIB)*.htm*
  364. $(GNATHTML) -d -f $(ALIB)*.ads
  365. for f in html/$(ALIB)*.htm*; do \
  366. a=`basename $$f` ; \
  367. sed -e 's/You may also.*body.*//' <$$f |\
  368. sed -e 's%GNAT%<A HREF="http://$(GNATHP)">GNAT</A>%g' |\
  369. sed -e 's%&lt;A HREF%<A HREF%g' |\
  370. sed -e 's%"&gt;%">%g' |\
  371. sed -e 's/3X/3x/g' |\
  372. sed -e 's/$$\([ABCDEFGHIJKLMNOPQRSTUVWXZabcdefghijklmnopqrstuvwxz0123456789_]*:.*\)\$$/@\1@/' |\
  373. sed -e 's%&lt;/A&gt;%</A>%g' > $$a.tmp ;\
  374. mv $$a.tmp $$f ;\
  375. done
  376. @rm -f *.ad[sb] *.ali *.tmp
  377. @for f in funcs.htm main.htm ; do \
  378. sed -e "\%<A HREF=funcs/ .htm>\[ \]</A>%d" < html/$$f > $$f ;\
  379. mv $$f html/$$f ;\
  380. done
  381. @rm -f "html/funcs/ .htm"
  382. @cp -pdrf html/* $(HTML_DIR)/
  383. @rm -rf html
  384. html : adahtml $(HTML_DIR)/table.html
  385. @echo made $@
  386. ###############################################################################
  387. # The remainder of this file is automatically generated during configuration
  388. ###############################################################################