Makefile.in 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475
  1. ##############################################################################
  2. # Copyright (c) 1998-2007,2008 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.61 2008/10/04 22:58:31 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-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. $(ADA_INCLUDE) \
  139. $(ADA_OBJECTS) :
  140. sh $(top_srcdir)/mkdirs.sh $@
  141. install \
  142. install.libs :: $(ADA_INCLUDE)
  143. @echo installing package $(ALIB) in $(ADA_INCLUDE)
  144. @$(top_srcdir)/tar-copy.sh '$(ALIB)*.ad?' $(ADA_SRCDIR) $(ADA_INCLUDE)
  145. @$(top_srcdir)/tar-copy.sh '$(ALIB)[-.]*.ad?' $(ADA_SRCDIR) $(ADA_INCLUDE)
  146. @test $(srcdir) != ./ && $(top_srcdir)/tar-copy.sh '$(ALIB)*.ad?' $(srcdir)/../src $(ADA_INCLUDE)
  147. @test $(srcdir) != ./ && $(top_srcdir)/tar-copy.sh '$(ALIB)[-.]*.ad?' $(srcdir)/../src $(ADA_INCLUDE)
  148. install \
  149. install.libs :: $(ADA_OBJECTS)
  150. @echo installing package $(ALIB) in $(ADA_OBJECTS)
  151. @-chmod a-wx $(ADA_SRCDIR)/*.ali
  152. @$(top_srcdir)/tar-copy.sh '$(ALIB)*.ali' $(ADA_SRCDIR) $(ADA_OBJECTS)
  153. @$(top_srcdir)/tar-copy.sh '$(ALIB)[-.]*.ali' $(ADA_SRCDIR) $(ADA_OBJECTS)
  154. @-chmod u+x $(ADA_SRCDIR)/*.ali
  155. install \
  156. install.libs :: $(DESTDIR)$(bindir) adacurses-config
  157. $(INSTALL_PROG) adacurses-config $(DESTDIR)$(bindir)/$(ADACURSES_CONFIG)
  158. uninstall \
  159. uninstall.libs ::
  160. @echo removing package $(ALIB) from $(ADA_INCLUDE)
  161. -@cd $(ADA_INCLUDE) && rm -f $(ALIB)[-.]*
  162. uninstall \
  163. uninstall.libs ::
  164. @echo removing package $(ALIB) from $(ADA_OBJECTS)
  165. -@cd $(ADA_OBJECTS) && rm -f $(ALIB)[-.]*
  166. uninstall \
  167. uninstall.libs ::
  168. -rm -f $(DESTDIR)$(bindir)/$(ADACURSES_CONFIG)
  169. gen$x: gen.o
  170. @ECHO_LINK@ $(LINK) $(CFLAGS_NORMAL) gen.o $(LD_FLAGS) -o $@
  171. gen.o: $(srcdir)/gen.c
  172. $(HOST_CC) $(CFLAGS_NORMAL) -c -o $@ $(srcdir)/gen.c
  173. ################################################################################
  174. Character_Attribute_Set_Rep: gen$x
  175. $(WRAPPER) "$(GENERATE) B A" >$@
  176. Base_Defs: gen$x
  177. $(WRAPPER) "$(GENERATE) B B" >$@
  178. Color_Defs: gen$x
  179. $(WRAPPER) "$(GENERATE) B C" >$@
  180. Window_Offsets: gen$x
  181. $(WRAPPER) "$(GENERATE) B D" >$@
  182. Key_Definitions: gen$x
  183. $(WRAPPER) "$(GENERATE) B K" >$@
  184. Linker_Options: gen$x
  185. $(WRAPPER) "$(GENERATE) B L" >$@
  186. ACS_Map: gen$x
  187. $(WRAPPER) "$(GENERATE) B M" >$@
  188. Old_Keys: gen$x
  189. $(WRAPPER) "$(GENERATE) B O" >$@
  190. Public_Variables: gen$x
  191. $(WRAPPER) "$(GENERATE) B P" >$@
  192. AC_Rep: gen$x
  193. $(WRAPPER) "$(GENERATE) B R" >$@
  194. Version_Info: gen$x
  195. $(WRAPPER) "$(GENERATE) B V" >$@
  196. Trace_Defs: gen$x
  197. $(WRAPPER) "$(GENERATE) B T" >$@
  198. ################################################################################
  199. Menu_Opt_Rep: gen$x
  200. $(WRAPPER) "$(GENERATE) M R" >$@
  201. Menu_Base_Defs: gen$x
  202. $(WRAPPER) "$(GENERATE) M B" >$@
  203. Menu_Linker_Options: gen$x
  204. $(WRAPPER) "$(GENERATE) M L" >$@
  205. Item_Rep: gen$x
  206. $(WRAPPER) "$(GENERATE) M I" >$@
  207. ################################################################################
  208. Form_Opt_Rep: gen$x
  209. $(WRAPPER) "$(GENERATE) F R" >$@
  210. Form_Base_Defs: gen$x
  211. $(WRAPPER) "$(GENERATE) F B" >$@
  212. Form_Linker_Options: gen$x
  213. $(WRAPPER) "$(GENERATE) F L" >$@
  214. Field_Rep: gen$x
  215. $(WRAPPER) "$(GENERATE) F I" >$@
  216. ################################################################################
  217. Mouse_Base_Defs: gen$x
  218. $(WRAPPER) "$(GENERATE) P B" >$@
  219. Mouse_Event_Rep: gen$x
  220. $(WRAPPER) "$(GENERATE) P M" >$@
  221. Mouse_Events: gen$x
  222. $(WRAPPER) "$(GENERATE) B E" >$@
  223. Panel_Linker_Options: gen$x
  224. $(WRAPPER) "$(GENERATE) P L" >$@
  225. Chtype_Def: gen$x
  226. $(WRAPPER) "$(GENERATE) E C" >$@
  227. Eti_Defs: gen$x
  228. $(WRAPPER) "$(GENERATE) E E" >$@
  229. ################################################################################
  230. $(ADA_SRCDIR)/$(ABASE).ads: $(srcdir)/$(ABASE).ads.m4 \
  231. $(GEN_FILES1) $(srcdir)/normal.m4
  232. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  233. $(srcdir)/$(ABASE).ads.m4 |\
  234. $(DEL_ADAMODE) >$@
  235. $(ADA_SRCDIR)/$(ABASE).adb: $(srcdir)/$(ABASE).adb.m4 \
  236. $(GEN_FILES1) $(srcdir)/normal.m4
  237. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  238. $(srcdir)/$(ABASE).adb.m4 |\
  239. $(DEL_ADAMODE) >$@
  240. $(ADA_SRCDIR)/$(ABASE)-aux.ads: $(srcdir)/$(ABASE)-aux.ads.m4 \
  241. $(GEN_FILES5) $(srcdir)/normal.m4
  242. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  243. $(srcdir)/$(ABASE)-aux.ads.m4 |\
  244. $(DEL_ADAMODE) >$@
  245. $(ADA_SRCDIR)/$(ABASE)-trace.ads: $(srcdir)/$(ABASE)-trace.ads.m4 \
  246. $(GEN_FILES5) $(srcdir)/normal.m4
  247. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  248. $(srcdir)/$(ABASE)-trace.ads.m4 |\
  249. $(DEL_ADAMODE) >$@
  250. $(ADA_SRCDIR)/$(ABASE)-menus.ads: $(srcdir)/$(ABASE)-menus.ads.m4 \
  251. $(GEN_FILES2) $(srcdir)/normal.m4
  252. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  253. $(srcdir)/$(ABASE)-menus.ads.m4 |\
  254. $(DEL_ADAMODE) >$@
  255. $(ADA_SRCDIR)/$(ABASE)-forms.ads: $(srcdir)/$(ABASE)-forms.ads.m4 \
  256. $(GEN_FILES3) $(srcdir)/normal.m4
  257. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  258. $(srcdir)/$(ABASE)-forms.ads.m4 |\
  259. $(DEL_ADAMODE) >$@
  260. $(ADA_SRCDIR)/$(ABASE)-mouse.ads: $(srcdir)/$(ABASE)-mouse.ads.m4 \
  261. $(GEN_FILES4) $(srcdir)/normal.m4
  262. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  263. $(srcdir)/$(ABASE)-mouse.ads.m4 |\
  264. $(DEL_ADAMODE) >$@
  265. $(ADA_SRCDIR)/$(ABASE)-panels.ads: $(srcdir)/$(ABASE)-panels.ads.m4 \
  266. $(srcdir)/normal.m4
  267. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  268. $(srcdir)/$(ABASE)-panels.ads.m4 |\
  269. $(DEL_ADAMODE) >$@
  270. $(ADA_SRCDIR)/$(ABASE)-menus-menu_user_data.ads: \
  271. $(srcdir)/$(ABASE)-menus-menu_user_data.ads.m4 \
  272. $(srcdir)/normal.m4
  273. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  274. $(srcdir)/$(ABASE)-menus-menu_user_data.ads.m4 |\
  275. $(DEL_ADAMODE) >$@
  276. $(ADA_SRCDIR)/$(ABASE)-menus-item_user_data.ads: \
  277. $(srcdir)/$(ABASE)-menus-item_user_data.ads.m4 \
  278. $(srcdir)/normal.m4
  279. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  280. $(srcdir)/$(ABASE)-menus-item_user_data.ads.m4 |\
  281. $(DEL_ADAMODE) >$@
  282. $(ADA_SRCDIR)/$(ABASE)-forms-form_user_data.ads: \
  283. $(srcdir)/$(ABASE)-forms-form_user_data.ads.m4 \
  284. $(srcdir)/normal.m4
  285. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  286. $(srcdir)/$(ABASE)-forms-form_user_data.ads.m4 |\
  287. $(DEL_ADAMODE) >$@
  288. $(ADA_SRCDIR)/$(ABASE)-forms-field_types.ads: \
  289. $(srcdir)/$(ABASE)-forms-field_types.ads.m4 \
  290. $(srcdir)/normal.m4
  291. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  292. $(srcdir)/$(ABASE)-forms-field_types.ads.m4 |\
  293. $(DEL_ADAMODE) >$@
  294. $(ADA_SRCDIR)/$(ABASE)-forms-field_user_data.ads: \
  295. $(srcdir)/$(ABASE)-forms-field_user_data.ads.m4 \
  296. $(srcdir)/normal.m4
  297. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  298. $(srcdir)/$(ABASE)-forms-field_user_data.ads.m4 |\
  299. $(DEL_ADAMODE) >$@
  300. $(ADA_SRCDIR)/$(ABASE)-panels-user_data.ads: \
  301. $(srcdir)/$(ABASE)-panels-user_data.ads.m4 \
  302. $(srcdir)/normal.m4
  303. $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
  304. $(srcdir)/$(ABASE)-panels-user_data.ads.m4 |\
  305. $(DEL_ADAMODE) >$@
  306. install.progs ::
  307. tags:
  308. ctags *.[ch]
  309. @MAKE_UPPER_TAGS@TAGS:
  310. @MAKE_UPPER_TAGS@ etags *.[ch]
  311. mostlyclean ::
  312. -rm -f a.out core gen$x *.o
  313. -rm -f $(GEN_FILES1)
  314. -rm -f $(GEN_FILES2)
  315. -rm -f $(GEN_FILES3)
  316. -rm -f $(GEN_FILES4)
  317. -rm -f $(GEN_FILES5)
  318. clean :: mostlyclean
  319. -rm -f $(GEN_TARGETS) instab.tmp *.ad[bs] *.html *.ali *.tmp
  320. distclean :: clean
  321. -rm -f adacurses-config
  322. -rm -f Makefile
  323. realclean :: distclean
  324. HTML_DIR = ../../doc/html/ada
  325. instab.tmp : table.m4 $(GEN_SRC)
  326. @rm -f $@
  327. @for f in $(GEN_SRC) ; do \
  328. $(M4) $(M4FLAGS) -DM4MACRO=table.m4 $$f | $(DEL_ADAMODE) >> $@ ;\
  329. done;
  330. $(HTML_DIR)/table.html : instab.tmp
  331. @-touch $@
  332. @-chmod +w $@
  333. @echo '<!DOCTYPE HTML' > $@
  334. @echo 'PUBLIC "-//IETF//DTD HTML 3.0//EN">' >> $@
  335. @echo '<HTML>' >> $@
  336. @echo '<HEAD>' >> $@
  337. @echo '<TITLE>Correspondence between ncurses C and Ada functions</TITLE>' >>$@
  338. @echo '</HEAD>' >> $@
  339. @echo '<BODY>' >> $@
  340. @echo '<H1>Correspondence between ncurses C and Ada functions</H1>' >>$@
  341. @echo '<H2>Sorted by C function name</H2>' >>$@
  342. @echo '<TABLE ALIGN=CENTER BORDER>' >>$@
  343. @echo '<TR ALIGN=LEFT>' >>$@
  344. @echo '<TH>C name</TH><TH>Ada name</TH><TH>man page</TH></TR>' >>$@
  345. @sort < instab.tmp >> $@
  346. @echo '</TABLE></BODY></HTML>' >>$@
  347. @rm -f instab.tmp
  348. adahtml:
  349. @find $(HTML_DIR) -type f -exec rm -f {} \;
  350. @mkdir -p $(HTML_DIR)
  351. cp -p ../src/*.ad[sb] . && chmod +w *.ad[sb]
  352. ln -sf ../src/*.ali .
  353. @echo "Filtering generated files"
  354. @for f in $(GEN_SRC); do \
  355. h=`basename $$f` ;\
  356. g=`basename $$f .ads.m4` ;\
  357. if test "$$g" != "$$h" ; then \
  358. $(M4) $(M4FLAGS) -DM4MACRO=html.m4 $$f | $(DEL_ADAMODE) > $$g.ads ;\
  359. echo "... $$g.ads" ;\
  360. fi \
  361. done
  362. @-rm -f $(HTML_DIR)/$(ALIB)*.htm*
  363. $(GNATHTML) -d -f $(ALIB)*.ads
  364. for f in html/$(ALIB)*.htm*; do \
  365. a=`basename $$f` ; \
  366. sed -e 's/You may also.*body.*//' <$$f |\
  367. sed -e 's%GNAT%<A HREF="http://$(GNATHP)">GNAT</A>%g' |\
  368. sed -e 's%&lt;A HREF%<A HREF%g' |\
  369. sed -e 's%"&gt;%">%g' |\
  370. sed -e 's/3X/3x/g' |\
  371. sed -e 's/$$\([ABCDEFGHIJKLMNOPQRSTUVWXZabcdefghijklmnopqrstuvwxz0123456789_]*:.*\)\$$/@\1@/' |\
  372. sed -e 's%&lt;/A&gt;%</A>%g' > $$a.tmp ;\
  373. mv $$a.tmp $$f ;\
  374. done
  375. @rm -f *.ad[sb] *.ali *.tmp
  376. @for f in funcs.htm main.htm ; do \
  377. sed -e "\%<A HREF=funcs/ .htm>\[ \]</A>%d" < html/$$f > $$f ;\
  378. mv $$f html/$$f ;\
  379. done
  380. @rm -f "html/funcs/ .htm"
  381. @cp -pdrf html/* $(HTML_DIR)/
  382. @rm -rf html
  383. html : adahtml $(HTML_DIR)/table.html
  384. @echo made $@
  385. ###############################################################################
  386. # The remainder of this file is automatically generated during configuration
  387. ###############################################################################