Date:2010-06-07 06:42:15 (13 years 6 months ago)
Author:Xiangfu Liu
Commit:cb4bdc4b0ce4a7b4a8092e0b154279b7394cb105
Message:[new package] Rubén Berenguel's ports

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
Files: 4th/Makefile (1 diff)
gnugo/Makefile (1 diff)
gnugo/patches/001_static_definition.patch (1 diff)
pmars/Makefile (1 diff)
pmars/patches/001-remove-static-define-in-makefile.patch (1 diff)
yacas/Makefile (1 diff)
yacas/patches/001_static_definition.patch (1 diff)

Change Details

4th/Makefile
1# Copyright (C) 2008 OpenWrt.org
2#
3# This is free software, licensed under the GNU General Public License v2.
4#
5
6include $(TOPDIR)/rules.mk
7##Nombre del paquete
8PKG_NAME:=4th
9## version del programa que vamos incluir en el paquete
10PKG_VERSION:=3.60.1-unix
11## numero de version del paquete
12PKG_RELEASE:=3
13##Nombre del archivo con el codigo fuente usamos las variables que acabamos de definir http://www.xs4all.nl/~thebeez/4tH/4th-3.60.1-unix.tar.gz
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15##Url donde se encuetra el el codigo fuente
16PKG_SOURCE_URL:=http://www.xs4all.nl/~thebeez/4tH/
17## programa con el que descomprimir el codigo fuente
18PKG_CAT:=zcat
19
20include $(INCLUDE_DIR)/package.mk
21#Definicion del paquet Titulo, seccion, categoria, la url del proyecto,
22#esto se usa para generar el ipkg y para incluirlo en el menuconfig
23define Package/4th
24    TITLE:=4th
25    SECTION:=Programming
26    CATEGORY:=prog
27    DEPENDS:=@BROKEN
28    URL:=http://www.xs4all.nl/~thebeez/4tH/
29endef
30#El directorio donde extraeremos los fuentes y realizaremos la compilacion
31#BUILD_DIR es una variable de etorno de OpenWrt es donde descomprimen/compilan los paquetes
32PKG_BUILD_DIR:=$(BUILD_DIR)/4th-$(PKG_VERSION)
33#Descripcion larga del programa
34define Package/4th/description
354th forth compiler
36endef
37#Si no hay que darles instrucciones especiales al ./configure esto se queda tal como esta.
38
39define Build/Prepare
40    #PKG_BUILD_DIR=$(PKG_BUILD_DIR)/src
41    $(call Build/Prepare/Default)
42    $(CP) $(PKG_BUILD_DIR)/sources/* $(PKG_BUILD_DIR)/
43endef
44
45define Build/Configure
46    $(call Build/Configure/Default)
47endef
48#Definimos donde se copiaran los binarios y las librerias cuando queramos instalarlo,
49#emacs genera el binario en el directorio src
50define Package/4th/install
51    $(INSTALL_DIR) $(1)/usr/sbin
52    $(INSTALL_BIN) $(PKG_BUILD_DIR)/4th $(1)/usr/sbin/
53endef
54#Instrucion final para construir el paquete.
55$(eval $(call BuildPackage,4th))
gnugo/Makefile
1# Copyright (C) 2008 OpenWrt.org
2#
3# This is free software, licensed under the GNU General Public License v2.
4#
5
6include $(TOPDIR)/rules.mk
7## Package name
8PKG_NAME:=gnugo
9## Package version we need (to match our download source)
10PKG_VERSION:=3.8
11## Release version (don't really needed, just for completeness)
12PKG_RELEASE:=3
13## Name of the file we will download, with the previous package name definitions
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15## Url with the PKG_SOURCE file
16PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/gnugo/
17## Program to uncompress the sources
18PKG_CAT:=zcat
19
20include $(INCLUDE_DIR)/package.mk
21# Definition of the package, for adding to menuconfig and creating the ipkg.
22define Package/gnugo
23    TITLE:=Go GNU from FSF
24    SECTION:=games
25    CATEGORY:=Games
26    DEPENDS:=@BROKEN
27    URL:=http://www.gnu.org/software/gnugo
28endef
29# Directory where the sources will be uncompiled and built BUILD_DIR
30# is an env variable from the OpenWrt toolchain, you don't need to set
31# it.
32PKG_BUILD_DIR:=$(BUILD_DIR)/gnugo-$(PKG_VERSION)
33# Long description of the package
34define Package/gnugo/description
35    GNU Go is a free program that plays the game of Go. GNU Go has played thousands of games on the NNGS Go server. GNU Go is now also playing regularly on the Legend Go Server in Taiwan, on the WING server in Japan, and many volunteers run GNU Go clients on KGS. GNU Go has established itself as the leading non-commercial go program in the recent tournaments that it has taken part in.
36endef
37# If ./configure does not need any options, leave it as follows
38define Package/gnugo/Build/Configure
39    $(call Build/Configure/Default)
40endef
41# Where will be copied the binaries and libraries after installation.
42# Gnugo creates the binary executable in the interface directory.
43define Package/gnugo/install
44    $(INSTALL_DIR) $(1)/usr/sbin
45    $(INSTALL_BIN) $(PKG_BUILD_DIR)/interface/gnugo $(1)/usr/sbin/
46endef
47# Final step for bulding the package
48$(eval $(call BuildPackage,gnugo))
gnugo/patches/001_static_definition.patch
1Only in gnugo-3.8: config.h
2Only in gnugo-3.8: config.log
3Only in gnugo-3.8: config.status
4Only in gnugo-3.8/doc: Makefile
5Only in gnugo-3.8/engine: aftermath.o
6Only in gnugo-3.8/engine: boardlib.o
7Only in gnugo-3.8/engine: board.o
8Only in gnugo-3.8/engine: breakin.o
9Only in gnugo-3.8/engine: cache.o
10Only in gnugo-3.8/engine: clock.o
11Only in gnugo-3.8/engine: combination.o
12Only in gnugo-3.8/engine: .deps
13Only in gnugo-3.8/engine: dragon.o
14Only in gnugo-3.8/engine: endgame.o
15Only in gnugo-3.8/engine: filllib.o
16Only in gnugo-3.8/engine: fuseki.o
17Only in gnugo-3.8/engine: genmove.o
18Only in gnugo-3.8/engine: globals.o
19Only in gnugo-3.8/engine: handicap.o
20Only in gnugo-3.8/engine: hash.o
21Only in gnugo-3.8/engine: influence.o
22Only in gnugo-3.8/engine: interface.o
23Only in gnugo-3.8/engine: libboard.a
24Only in gnugo-3.8/engine: libengine.a
25Only in gnugo-3.8/engine: Makefile
26Only in gnugo-3.8/engine: matchpat.o
27Only in gnugo-3.8/engine: montecarlo.o
28Only in gnugo-3.8/engine: movelist.o
29Only in gnugo-3.8/engine: move_reasons.o
30Only in gnugo-3.8/engine: optics.o
31Only in gnugo-3.8/engine: oracle.o
32Only in gnugo-3.8/engine: owl.o
33Only in gnugo-3.8/engine: persistent.o
34Only in gnugo-3.8/engine: printutils.o
35Only in gnugo-3.8/engine: readconnect.o
36Only in gnugo-3.8/engine: reading.o
37Only in gnugo-3.8/engine: semeai.o
38Only in gnugo-3.8/engine: sgfdecide.o
39Only in gnugo-3.8/engine: sgffile.o
40Only in gnugo-3.8/engine: shapes.o
41Only in gnugo-3.8/engine: showbord.o
42Only in gnugo-3.8/engine: surround.o
43Only in gnugo-3.8/engine: unconditional.o
44Only in gnugo-3.8/engine: utils.o
45Only in gnugo-3.8/engine: value_moves.o
46Only in gnugo-3.8/engine: worm.o
47Only in gnugo-3.8/interface: .deps
48Only in gnugo-3.8/interface: gmp.o
49Only in gnugo-3.8/interface: gnugo
50Only in gnugo-3.8/interface: gtp.o
51Only in gnugo-3.8/interface: main.o
52Only in gnugo-3.8/interface: Makefile
53Only in gnugo-3.8/interface: play_ascii.o
54Only in gnugo-3.8/interface: play_gmp.o
55Only in gnugo-3.8/interface: play_gtp.o
56Only in gnugo-3.8/interface: play_solo.o
57Only in gnugo-3.8/interface: play_test.o
58Only in gnugo-3.8: Makefile
59Only in gnugo-3.8/patterns: aa_attackpat.c
60Only in gnugo-3.8/patterns: aa_attackpat.o
61Only in gnugo-3.8/patterns: apatterns.c
62Only in gnugo-3.8/patterns: apatterns.o
63Only in gnugo-3.8/patterns: barriers.c
64Only in gnugo-3.8/patterns: barriers.o
65Only in gnugo-3.8/patterns: conn.c
66Only in gnugo-3.8/patterns: connections.o
67Only in gnugo-3.8/patterns: conn.o
68Only in gnugo-3.8/patterns: .deps
69Only in gnugo-3.8/patterns: dfa.o
70Only in gnugo-3.8/patterns: dpatterns.c
71Only in gnugo-3.8/patterns: dpatterns.o
72Only in gnugo-3.8/patterns: endgame.c
73Only in gnugo-3.8/patterns: endgame.o
74Only in gnugo-3.8/patterns: eyes.c
75Only in gnugo-3.8/patterns: eyes.o
76Only in gnugo-3.8/patterns: fuseki13.c
77Only in gnugo-3.8/patterns: fuseki13.o
78Only in gnugo-3.8/patterns: fuseki19.c
79Only in gnugo-3.8/patterns: fuseki19.o
80Only in gnugo-3.8/patterns: fuseki9.c
81Only in gnugo-3.8/patterns: fuseki9.o
82Only in gnugo-3.8/patterns: fusekipat.c
83Only in gnugo-3.8/patterns: fusekipat.o
84Only in gnugo-3.8/patterns: globals.o
85Only in gnugo-3.8/patterns: handipat.c
86Only in gnugo-3.8/patterns: handipat.o
87Only in gnugo-3.8/patterns: helpers.o
88Only in gnugo-3.8/patterns: influence.c
89Only in gnugo-3.8/patterns: influence.o
90Only in gnugo-3.8/patterns: joseki
91Only in gnugo-3.8/patterns: josekidb.c
92Only in gnugo-3.8/patterns: josekidb.o
93Only in gnugo-3.8/patterns: joseki.o
94Only in gnugo-3.8/patterns: libpatterns.a
95Only in gnugo-3.8/patterns: Makefile
96diff -crB gnugo-3.8/patterns/Makefile.am gnugo-3.8mod/patterns/Makefile.am
97*** gnugo-3.8/patterns/Makefile.am 2009-02-17 22:41:31.000000000 +0100
98--- gnugo-3.8mod/patterns/Makefile.am 2010-04-02 18:23:23.000000000 +0200
99***************
100*** 139,192 ****
101      ./joseki JT $(srcdir)/takamoku.sgf >takamoku.db
102
103  patterns.c : $(srcdir)/patterns.db $(srcdir)/patterns2.db mkpat$(EXEEXT)
104! ./mkpat -b pat -i $(srcdir)/patterns.db -i$(srcdir)/patterns2.db \
105                 -o patterns.c
106
107  josekidb.c : $(DBBUILT) mkpat$(EXEEXT)
108! ./mkpat -C joseki $(DBBUILT_INPUT) -o josekidb.c
109
110  apatterns.c : $(srcdir)/attack.db mkpat$(EXEEXT)
111! ./mkpat -X attpat -i $(srcdir)/attack.db -o apatterns.c
112
113  dpatterns.c : $(srcdir)/defense.db mkpat$(EXEEXT)
114! ./mkpat defpat -i $(srcdir)/defense.db -o dpatterns.c
115
116  conn.c : $(srcdir)/conn.db mkpat$(EXEEXT)
117! ./mkpat -c conn -i $(srcdir)/conn.db -o conn.c
118
119  endgame.c : $(srcdir)/endgame.db mkpat$(EXEEXT)
120! ./mkpat -b endpat -i $(srcdir)/endgame.db -o endgame.c
121
122  eyes.c: $(srcdir)/eyes.db mkeyes$(EXEEXT)
123      ./mkeyes < $(srcdir)/eyes.db >eyes.c
124
125  influence.c : $(srcdir)/influence.db mkpat$(EXEEXT)
126! ./mkpat -c influencepat -i $(srcdir)/influence.db -o influence.c
127
128  barriers.c : $(srcdir)/barriers.db mkpat$(EXEEXT)
129! ./mkpat -c -b barrierspat -i $(srcdir)/barriers.db -o barriers.c
130
131  aa_attackpat.c : $(srcdir)/aa_attackpats.db $(srcdir)/aa_attackpats.dtr mkpat$(EXEEXT)
132! ./mkpat $(DFAFLAGS) -b -t $(srcdir)/aa_attackpats.dtr aa_attackpat \
133                 -i $(srcdir)/aa_attackpats.db -o aa_attackpat.c
134
135  owl_attackpat.c : $(srcdir)/owl_attackpats.db $(srcdir)/owl_attackpats.dtr mkpat$(EXEEXT)
136! ./mkpat $(DFAFLAGS) -b -t $(srcdir)/owl_attackpats.dtr owl_attackpat \
137                 -i $(srcdir)/owl_attackpats.db -o owl_attackpat.c
138
139  oraclepat.c : $(srcdir)/oracle.db mkpat$(EXEEXT)
140! ./mkpat -b oracle -i $(srcdir)/oracle.db -o oraclepat.c
141
142  owl_vital_apat.c : $(srcdir)/owl_vital_apats.db $(srcdir)/owl_vital_apats.dtr mkpat$(EXEEXT)
143! ./mkpat $(DFAFLAGS) -b -t $(srcdir)/owl_vital_apats.dtr owl_vital_apat \
144                 -i $(srcdir)/owl_vital_apats.db -o owl_vital_apat.c
145
146  owl_defendpat.c : $(srcdir)/owl_defendpats.db $(srcdir)/owl_defendpats.dtr mkpat$(EXEEXT)
147! ./mkpat $(DFAFLAGS) -b -t $(srcdir)/owl_defendpats.dtr owl_defendpat \
148                 -i $(srcdir)/owl_defendpats.db -o owl_defendpat.c
149
150  fusekipat.c : $(srcdir)/fuseki.db mkpat$(EXEEXT)
151! ./mkpat -b fusekipat -i $(srcdir)/fuseki.db -o fusekipat.c
152
153  fuseki9.c : $(srcdir)/fuseki9.dbz uncompress_fuseki$(EXEEXT)
154      ./uncompress_fuseki 9 $(srcdir)/fuseki9.dbz c >fuseki9.c
155--- 139,192 ----
156      ./joseki JT $(srcdir)/takamoku.sgf >takamoku.db
157
158  patterns.c : $(srcdir)/patterns.db $(srcdir)/patterns2.db mkpat$(EXEEXT)
159! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat -b pat -i $(srcdir)/patterns.db -i$(srcdir)/patterns2.db \
160                 -o patterns.c
161
162  josekidb.c : $(DBBUILT) mkpat$(EXEEXT)
163! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat -C joseki $(DBBUILT_INPUT) -o josekidb.c
164
165  apatterns.c : $(srcdir)/attack.db mkpat$(EXEEXT)
166! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat -X attpat -i $(srcdir)/attack.db -o apatterns.c
167
168  dpatterns.c : $(srcdir)/defense.db mkpat$(EXEEXT)
169! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat defpat -i $(srcdir)/defense.db -o dpatterns.c
170
171  conn.c : $(srcdir)/conn.db mkpat$(EXEEXT)
172! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat -c conn -i $(srcdir)/conn.db -o conn.c
173
174  endgame.c : $(srcdir)/endgame.db mkpat$(EXEEXT)
175! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat -b endpat -i $(srcdir)/endgame.db -o endgame.c
176
177  eyes.c: $(srcdir)/eyes.db mkeyes$(EXEEXT)
178      ./mkeyes < $(srcdir)/eyes.db >eyes.c
179
180  influence.c : $(srcdir)/influence.db mkpat$(EXEEXT)
181! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat -c influencepat -i $(srcdir)/influence.db -o influence.c
182
183  barriers.c : $(srcdir)/barriers.db mkpat$(EXEEXT)
184! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat -c -b barrierspat -i $(srcdir)/barriers.db -o barriers.c
185
186  aa_attackpat.c : $(srcdir)/aa_attackpats.db $(srcdir)/aa_attackpats.dtr mkpat$(EXEEXT)
187! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat $(DFAFLAGS) -b -t $(srcdir)/aa_attackpats.dtr aa_attackpat \
188                 -i $(srcdir)/aa_attackpats.db -o aa_attackpat.c
189
190  owl_attackpat.c : $(srcdir)/owl_attackpats.db $(srcdir)/owl_attackpats.dtr mkpat$(EXEEXT)
191! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat $(DFAFLAGS) -b -t $(srcdir)/owl_attackpats.dtr owl_attackpat \
192                 -i $(srcdir)/owl_attackpats.db -o owl_attackpat.c
193
194  oraclepat.c : $(srcdir)/oracle.db mkpat$(EXEEXT)
195! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat -b oracle -i $(srcdir)/oracle.db -o oraclepat.c
196
197  owl_vital_apat.c : $(srcdir)/owl_vital_apats.db $(srcdir)/owl_vital_apats.dtr mkpat$(EXEEXT)
198! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat $(DFAFLAGS) -b -t $(srcdir)/owl_vital_apats.dtr owl_vital_apat \
199                 -i $(srcdir)/owl_vital_apats.db -o owl_vital_apat.c
200
201  owl_defendpat.c : $(srcdir)/owl_defendpats.db $(srcdir)/owl_defendpats.dtr mkpat$(EXEEXT)
202! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat $(DFAFLAGS) -b -t $(srcdir)/owl_defendpats.dtr owl_defendpat \
203                 -i $(srcdir)/owl_defendpats.db -o owl_defendpat.c
204
205  fusekipat.c : $(srcdir)/fuseki.db mkpat$(EXEEXT)
206! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat -b fusekipat -i $(srcdir)/fuseki.db -o fusekipat.c
207
208  fuseki9.c : $(srcdir)/fuseki9.dbz uncompress_fuseki$(EXEEXT)
209      ./uncompress_fuseki 9 $(srcdir)/fuseki9.dbz c >fuseki9.c
210***************
211*** 198,204 ****
212      ./uncompress_fuseki 19 $(srcdir)/fuseki19.dbz c >fuseki19.c
213
214  handipat.c : $(srcdir)/handicap.db mkpat$(EXEEXT)
215! ./mkpat -b handipat -i $(srcdir)/handicap.db -o handipat.c
216
217  mcpat.c : $(MC_DB) mkmcpat$(EXEEXT)
218      ./mkmcpat $(MC_DB) > mcpat.c
219--- 198,204 ----
220      ./uncompress_fuseki 19 $(srcdir)/fuseki19.dbz c >fuseki19.c
221
222  handipat.c : $(srcdir)/handicap.db mkpat$(EXEEXT)
223! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat -b handipat -i $(srcdir)/handicap.db -o handipat.c
224
225  mcpat.c : $(MC_DB) mkmcpat$(EXEEXT)
226      ./mkmcpat $(MC_DB) > mcpat.c
227diff -crB gnugo-3.8/patterns/Makefile.in gnugo-3.8mod/patterns/Makefile.in
228*** gnugo-3.8/patterns/Makefile.in 2009-02-18 01:50:06.000000000 +0100
229--- gnugo-3.8mod/patterns/Makefile.in 2010-04-02 20:30:00.000000000 +0200
230***************
231*** 614,703 ****
232      cd $(distdir) && rm $(GGBUILTSOURCES)
233
234  gogo.db : $(srcdir)/gogo.sgf joseki$(EXEEXT)
235! ./joseki JG $(srcdir)/gogo.sgf >gogo.db
236
237  hoshi_keima.db : $(srcdir)/hoshi_keima.sgf joseki$(EXEEXT)
238! ./joseki JHK $(srcdir)/hoshi_keima.sgf >hoshi_keima.db
239
240  hoshi_other.db : $(srcdir)/hoshi_other.sgf joseki$(EXEEXT)
241! ./joseki JHO $(srcdir)/hoshi_other.sgf >hoshi_other.db
242
243  komoku.db : $(srcdir)/komoku.sgf joseki$(EXEEXT)
244! ./joseki JK $(srcdir)/komoku.sgf >komoku.db
245
246  sansan.db : $(srcdir)/sansan.sgf joseki$(EXEEXT)
247! ./joseki JS $(srcdir)/sansan.sgf >sansan.db
248
249  mokuhazushi.db : $(srcdir)/mokuhazushi.sgf joseki$(EXEEXT)
250! ./joseki JM $(srcdir)/mokuhazushi.sgf >mokuhazushi.db
251
252  takamoku.db : $(srcdir)/takamoku.sgf joseki$(EXEEXT)
253! ./joseki JT $(srcdir)/takamoku.sgf >takamoku.db
254
255  patterns.c : $(srcdir)/patterns.db $(srcdir)/patterns2.db mkpat$(EXEEXT)
256! ./mkpat -b pat -i $(srcdir)/patterns.db -i$(srcdir)/patterns2.db \
257                 -o patterns.c
258
259  josekidb.c : $(DBBUILT) mkpat$(EXEEXT)
260! ./mkpat -C joseki $(DBBUILT_INPUT) -o josekidb.c
261
262  apatterns.c : $(srcdir)/attack.db mkpat$(EXEEXT)
263! ./mkpat -X attpat -i $(srcdir)/attack.db -o apatterns.c
264
265  dpatterns.c : $(srcdir)/defense.db mkpat$(EXEEXT)
266! ./mkpat defpat -i $(srcdir)/defense.db -o dpatterns.c
267
268  conn.c : $(srcdir)/conn.db mkpat$(EXEEXT)
269! ./mkpat -c conn -i $(srcdir)/conn.db -o conn.c
270
271  endgame.c : $(srcdir)/endgame.db mkpat$(EXEEXT)
272! ./mkpat -b endpat -i $(srcdir)/endgame.db -o endgame.c
273
274  eyes.c: $(srcdir)/eyes.db mkeyes$(EXEEXT)
275! ./mkeyes < $(srcdir)/eyes.db >eyes.c
276
277  influence.c : $(srcdir)/influence.db mkpat$(EXEEXT)
278! ./mkpat -c influencepat -i $(srcdir)/influence.db -o influence.c
279
280  barriers.c : $(srcdir)/barriers.db mkpat$(EXEEXT)
281! ./mkpat -c -b barrierspat -i $(srcdir)/barriers.db -o barriers.c
282
283  aa_attackpat.c : $(srcdir)/aa_attackpats.db $(srcdir)/aa_attackpats.dtr mkpat$(EXEEXT)
284! ./mkpat $(DFAFLAGS) -b -t $(srcdir)/aa_attackpats.dtr aa_attackpat \
285                 -i $(srcdir)/aa_attackpats.db -o aa_attackpat.c
286
287  owl_attackpat.c : $(srcdir)/owl_attackpats.db $(srcdir)/owl_attackpats.dtr mkpat$(EXEEXT)
288! ./mkpat $(DFAFLAGS) -b -t $(srcdir)/owl_attackpats.dtr owl_attackpat \
289                 -i $(srcdir)/owl_attackpats.db -o owl_attackpat.c
290
291  oraclepat.c : $(srcdir)/oracle.db mkpat$(EXEEXT)
292! ./mkpat -b oracle -i $(srcdir)/oracle.db -o oraclepat.c
293
294  owl_vital_apat.c : $(srcdir)/owl_vital_apats.db $(srcdir)/owl_vital_apats.dtr mkpat$(EXEEXT)
295! ./mkpat $(DFAFLAGS) -b -t $(srcdir)/owl_vital_apats.dtr owl_vital_apat \
296                 -i $(srcdir)/owl_vital_apats.db -o owl_vital_apat.c
297
298  owl_defendpat.c : $(srcdir)/owl_defendpats.db $(srcdir)/owl_defendpats.dtr mkpat$(EXEEXT)
299! ./mkpat $(DFAFLAGS) -b -t $(srcdir)/owl_defendpats.dtr owl_defendpat \
300                 -i $(srcdir)/owl_defendpats.db -o owl_defendpat.c
301
302  fusekipat.c : $(srcdir)/fuseki.db mkpat$(EXEEXT)
303! ./mkpat -b fusekipat -i $(srcdir)/fuseki.db -o fusekipat.c
304
305  fuseki9.c : $(srcdir)/fuseki9.dbz uncompress_fuseki$(EXEEXT)
306! ./uncompress_fuseki 9 $(srcdir)/fuseki9.dbz c >fuseki9.c
307
308  fuseki13.c : $(srcdir)/fuseki13.dbz uncompress_fuseki$(EXEEXT)
309! ./uncompress_fuseki 13 $(srcdir)/fuseki13.dbz c >fuseki13.c
310
311  fuseki19.c : $(srcdir)/fuseki19.dbz uncompress_fuseki$(EXEEXT)
312! ./uncompress_fuseki 19 $(srcdir)/fuseki19.dbz c >fuseki19.c
313
314  handipat.c : $(srcdir)/handicap.db mkpat$(EXEEXT)
315! ./mkpat -b handipat -i $(srcdir)/handicap.db -o handipat.c
316
317  mcpat.c : $(MC_DB) mkmcpat$(EXEEXT)
318! ./mkmcpat $(MC_DB) > mcpat.c
319  # Tell versions [3.59,3.63) of GNU make to not export all variables.
320  # Otherwise a system limit (for SysV at least) may be exceeded.
321  .NOEXPORT:
322--- 614,703 ----
323      cd $(distdir) && rm $(GGBUILTSOURCES)
324
325  gogo.db : $(srcdir)/gogo.sgf joseki$(EXEEXT)
326! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/joseki JG $(srcdir)/gogo.sgf >gogo.db
327
328  hoshi_keima.db : $(srcdir)/hoshi_keima.sgf joseki$(EXEEXT)
329! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/joseki JHK $(srcdir)/hoshi_keima.sgf >hoshi_keima.db
330
331  hoshi_other.db : $(srcdir)/hoshi_other.sgf joseki$(EXEEXT)
332! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/joseki JHO $(srcdir)/hoshi_other.sgf >hoshi_other.db
333
334  komoku.db : $(srcdir)/komoku.sgf joseki$(EXEEXT)
335! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/joseki JK $(srcdir)/komoku.sgf >komoku.db
336
337  sansan.db : $(srcdir)/sansan.sgf joseki$(EXEEXT)
338! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/joseki JS $(srcdir)/sansan.sgf >sansan.db
339
340  mokuhazushi.db : $(srcdir)/mokuhazushi.sgf joseki$(EXEEXT)
341! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/joseki JM $(srcdir)/mokuhazushi.sgf >mokuhazushi.db
342
343  takamoku.db : $(srcdir)/takamoku.sgf joseki$(EXEEXT)
344! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/joseki JT $(srcdir)/takamoku.sgf >takamoku.db
345
346  patterns.c : $(srcdir)/patterns.db $(srcdir)/patterns2.db mkpat$(EXEEXT)
347! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat -b pat -i $(srcdir)/patterns.db -i$(srcdir)/patterns2.db \
348                 -o patterns.c
349
350  josekidb.c : $(DBBUILT) mkpat$(EXEEXT)
351! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat -C joseki $(DBBUILT_INPUT) -o josekidb.c
352
353  apatterns.c : $(srcdir)/attack.db mkpat$(EXEEXT)
354! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat -X attpat -i $(srcdir)/attack.db -o apatterns.c
355
356  dpatterns.c : $(srcdir)/defense.db mkpat$(EXEEXT)
357! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat defpat -i $(srcdir)/defense.db -o dpatterns.c
358
359  conn.c : $(srcdir)/conn.db mkpat$(EXEEXT)
360! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat -c conn -i $(srcdir)/conn.db -o conn.c
361
362  endgame.c : $(srcdir)/endgame.db mkpat$(EXEEXT)
363! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat -b endpat -i $(srcdir)/endgame.db -o endgame.c
364
365  eyes.c: $(srcdir)/eyes.db mkeyes$(EXEEXT)
366! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkeyes < $(srcdir)/eyes.db >eyes.c
367
368  influence.c : $(srcdir)/influence.db mkpat$(EXEEXT)
369! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat -c influencepat -i $(srcdir)/influence.db -o influence.c
370
371  barriers.c : $(srcdir)/barriers.db mkpat$(EXEEXT)
372! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat -c -b barrierspat -i $(srcdir)/barriers.db -o barriers.c
373
374  aa_attackpat.c : $(srcdir)/aa_attackpats.db $(srcdir)/aa_attackpats.dtr mkpat$(EXEEXT)
375! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat $(DFAFLAGS) -b -t $(srcdir)/aa_attackpats.dtr aa_attackpat \
376                 -i $(srcdir)/aa_attackpats.db -o aa_attackpat.c
377
378  owl_attackpat.c : $(srcdir)/owl_attackpats.db $(srcdir)/owl_attackpats.dtr mkpat$(EXEEXT)
379! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat $(DFAFLAGS) -b -t $(srcdir)/owl_attackpats.dtr owl_attackpat \
380                 -i $(srcdir)/owl_attackpats.db -o owl_attackpat.c
381
382  oraclepat.c : $(srcdir)/oracle.db mkpat$(EXEEXT)
383! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat -b oracle -i $(srcdir)/oracle.db -o oraclepat.c
384
385  owl_vital_apat.c : $(srcdir)/owl_vital_apats.db $(srcdir)/owl_vital_apats.dtr mkpat$(EXEEXT)
386! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat $(DFAFLAGS) -b -t $(srcdir)/owl_vital_apats.dtr owl_vital_apat \
387                 -i $(srcdir)/owl_vital_apats.db -o owl_vital_apat.c
388
389  owl_defendpat.c : $(srcdir)/owl_defendpats.db $(srcdir)/owl_defendpats.dtr mkpat$(EXEEXT)
390! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat $(DFAFLAGS) -b -t $(srcdir)/owl_defendpats.dtr owl_defendpat \
391                 -i $(srcdir)/owl_defendpats.db -o owl_defendpat.c
392
393  fusekipat.c : $(srcdir)/fuseki.db mkpat$(EXEEXT)
394! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat -b fusekipat -i $(srcdir)/fuseki.db -o fusekipat.c
395
396  fuseki9.c : $(srcdir)/fuseki9.dbz uncompress_fuseki$(EXEEXT)
397! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/uncompress_fuseki 9 $(srcdir)/fuseki9.dbz c >fuseki9.c
398
399  fuseki13.c : $(srcdir)/fuseki13.dbz uncompress_fuseki$(EXEEXT)
400! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/uncompress_fuseki 13 $(srcdir)/fuseki13.dbz c >fuseki13.c
401
402  fuseki19.c : $(srcdir)/fuseki19.dbz uncompress_fuseki$(EXEEXT)
403! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/uncompress_fuseki 19 $(srcdir)/fuseki19.dbz c >fuseki19.c
404
405  handipat.c : $(srcdir)/handicap.db mkpat$(EXEEXT)
406! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkpat -b handipat -i $(srcdir)/handicap.db -o handipat.c
407
408  mcpat.c : $(MC_DB) mkmcpat$(EXEEXT)
409! /home/ruben/openwrt-xburst/testcode/gnugo-3.8/patterns/mkmcpat $(MC_DB) > mcpat.c
410  # Tell versions [3.59,3.63) of GNU make to not export all variables.
411  # Otherwise a system limit (for SysV at least) may be exceeded.
412  .NOEXPORT:
413Only in gnugo-3.8/patterns: mcpat.c
414Only in gnugo-3.8/patterns: mcpat.o
415Only in gnugo-3.8/patterns: mkeyes
416Only in gnugo-3.8/patterns: mkeyes.o
417Only in gnugo-3.8/patterns: mkmcpat
418Only in gnugo-3.8/patterns: mkmcpat.o
419Only in gnugo-3.8/patterns: mkpat
420Only in gnugo-3.8/patterns: mkpat.o
421Only in gnugo-3.8/patterns: oraclepat.c
422Only in gnugo-3.8/patterns: oraclepat.o
423Only in gnugo-3.8/patterns: owl_attackpat.c
424Only in gnugo-3.8/patterns: owl_attackpat.o
425Only in gnugo-3.8/patterns: owl_defendpat.c
426Only in gnugo-3.8/patterns: owl_defendpat.o
427Only in gnugo-3.8/patterns: owl_vital_apat.c
428Only in gnugo-3.8/patterns: owl_vital_apat.o
429Only in gnugo-3.8/patterns: patterns.c
430Only in gnugo-3.8/patterns: patterns.o
431Only in gnugo-3.8/patterns: transform.o
432Only in gnugo-3.8/patterns: uncompress_fuseki
433Only in gnugo-3.8/patterns: uncompress_fuseki.o
434Only in gnugo-3.8/regression: Makefile
435Only in gnugo-3.8/sgf: .deps
436Only in gnugo-3.8/sgf: libsgf.a
437Only in gnugo-3.8/sgf: Makefile
438Only in gnugo-3.8/sgf: sgfgen
439Only in gnugo-3.8/sgf: sgfgen.o
440Only in gnugo-3.8/sgf: sgfnode.o
441Only in gnugo-3.8/sgf: sgftree.o
442Only in gnugo-3.8/sgf: sgf_utils.o
443Only in gnugo-3.8: stamp-h1
444Only in gnugo-3.8/utils: .deps
445Only in gnugo-3.8/utils: getopt1.o
446Only in gnugo-3.8/utils: getopt.o
447Only in gnugo-3.8/utils: gg_utils.o
448Only in gnugo-3.8/utils: libutils.a
449Only in gnugo-3.8/utils: Makefile
450Only in gnugo-3.8/utils: random.o
451Only in gnugo-3.8/utils: winsocket.o
pmars/Makefile
1# Copyright (C) 2010 OpenWrt.org
2#
3# This is free software, licensed under the GNU General Public License v2.
4#
5
6include $(TOPDIR)/rules.mk
7PKG_NAME:=pmars
8PKG_VERSION:=0.9.2
9PKG_RELEASE:=3
10PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
11PKG_SOURCE_URL:=http://downloads.sourceforge.net/project/corewar/pMARS/0.9.2/pmars-0.9.2.tar.gz?use_mirror=mesh
12PKG_CAT:=zcat
13
14include $(INCLUDE_DIR)/package.mk
15define Package/pmars
16    TITLE:=Pmars
17    SECTION:=games
18    CATEGORY:=Games
19    DEPENDS:=@BROKEN
20    URL:=
21endef
22PKG_BUILD_DIR:=$(BUILD_DIR)/pmars-$(PKG_VERSION)
23define Package/pmars/description
24    PMARS
25endef
26
27TARGET_LDFLAGS+= \
28    -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
29
30MAKE_FLAGS += -C src
31
32define Package/pmars/Build/Compile
33    $(call Build/Compile/Default)
34endef
35
36define Package/pmars/install
37    $(INSTALL_DIR) $(1)/usr/bin
38    $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/pmars $(1)/usr/bin/
39endef
40
41$(eval $(call BuildPackage,pmars))
pmars/patches/001-remove-static-define-in-makefile.patch
1diff --git a/src/Makefile b/src/Makefile
2index 99c00bb..17a51ed 100644
3--- a/src/Makefile
4@@ -1,5 +1,5 @@
5 # generic UNIX makefile
6-CC = gcc # req. for linux
7+#CC = gcc # req. for linux
8 #CC = cc # if you don't have gcc
9 # Configuration options:
10 #
11@@ -16,11 +16,11 @@ CC = gcc # req. for linux
12 # (6) -DXWINGRAPHX 1 X-Windows graphics (UNIX)
13 # (7) -DPERMUTATE enables -P switch
14
15-CFLAGS = -O -DEXT94 -DXWINGRAPHX -DPERMUTATE
16+CFLAGS := $(CFLAGS) -O -DEXT94 -DPERMUTATE -DCURSESGRAPHX
17 LFLAGS = -x
18-# LIB = -lcurses -ltermlib # enable this one for curses display
19+LIB = -lncurses -ltermlib # enable this one for curses display
20 # LIB = -lvgagl -lvga # enable this one for Linux/SVGA
21-LIB = -L/usr/X11R6/lib -lX11 # enable this one for X11
22+# LIB = -L/usr/X11R6/lib -lX11 # enable this one for X11
23
24 .SUFFIXES: .o .c .c~ .man .doc .6
25 MAINFILE = pmars
26@@ -38,7 +38,7 @@ flags:
27 $(MAINFILE): $(OBJ1) $(OBJ2) $(OBJ3)
28     @echo Linking $(MAINFILE)
29     @$(CC) -o $(MAINFILE) $(OBJ1) $(OBJ2) $(OBJ3) $(LIB)
30- @strip $(MAINFILE)
31+ @$(STRIP) $(MAINFILE)
32     @echo done
33
34 token.o asm.o disasm.o: asm.h
yacas/Makefile
1# Copyright (C) 2008 OpenWrt.org
2#
3# This is free software, licensed under the GNU General Public License v2.
4#
5
6include $(TOPDIR)/rules.mk
7## Package name
8PKG_NAME:=yacas
9## Package version we need (to match our download source)
10PKG_VERSION:=1.2.2
11## Release version (don't really needed, just for completeness)
12PKG_RELEASE:=3
13## Name of the file we will download, with the previous package name definitions
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15## Url with the PKG_SOURCE file
16PKG_SOURCE_URL:=http://yacas.sourceforge.net/backups/
17## Program to uncompress the sources
18PKG_CAT:=zcat
19
20include $(INCLUDE_DIR)/package.mk
21# Definition of the package, for adding to menuconfig and creating the ipkg.
22define Package/yacas
23    TITLE:=yacas
24    SECTION:=Maths
25    CATEGORY:=Maths
26    DEPENDS:=@BROKEN
27    URL:=http://yacas.sourceforge.net
28endef
29
30# Directory where the sources will be uncompiled and built BUILD_DIR
31# is an env variable from the OpenWrt toolchain, you don't need to set
32# it.
33
34PKG_BUILD_DIR:=$(BUILD_DIR)/yacas-$(PKG_VERSION)
35
36# Long description of the package
37
38define Package/yacas/description
39    YACAS is an easy to use, general purpose Computer Algebra System, a program for symbolic manipulation of mathematical expressions. It uses its own programming language designed for symbolic as well as arbitrary-precision numerical computations. The system has a library of scripts that implement many of the symbolic algebra operations; new algorithms can be easily added to the library. YACAS comes with extensive documentation (hundreds of pages) covering the scripting language, the functionality that is already implemented in the system, and the algorithms we used.
40endef
41
42define Build/Prepare
43# The following is a dirty hack. To compile yacas you need to get
44# mkfastprimes to run in your host computer. To do so, in Prepare I
45# download the tar.gz in pkg_build_dir/temporaryyacas to configure and
46# make it to get this mkfastprimes compiled. configure has a problem:
47# it generates the Makefile in the current working directory... and cd
48# doesn't seem to change it. Thus, it would overwrite the Makefile in
49# ports/misc/yacas, a thing which we don't like. To solve it, copy
50# Makefile to Makefile2, configure-make and copy it back. The only
51# drawback of this approach is that ports/misc/yacas/ gets a little
52# full of miscellaneous, unneeded files, generated by configure. Once
53# we have mkfastprimes, we copy it to tmp, and then the applied patch
54# uses that file. It looks like pwd, export and several other
55# constructs don't work under openwrt's build-make environment, that
56# is why I just use $(CP) which looks like works correctly.
57    wget $(PKG_SOURCE_URL)$(PKG_NAME)-$(PKG_VERSION).tar.gz
58    mkdir /tmp/temporaryyacas
59    mv $(PKG_NAME)-$(PKG_VERSION).tar.gz /tmp/temporaryyacas/
60    cp Makefile Makefile2
61    tar -C /tmp/temporaryyacas/ -xvf /tmp/temporaryyacas/$(PKG_NAME)-$(PKG_VERSION).tar.gz
62    patch /tmp/temporaryyacas/$(PKG_NAME)-$(PKG_VERSION)/configure.in patches1/manmake.pat
63    patch /tmp/temporaryyacas/$(PKG_NAME)-$(PKG_VERSION)/Makefile.in patches1/manmake2.pat
64    /tmp/temporaryyacas/$(PKG_NAME)-$(PKG_VERSION)/configure
65    make
66    $(CP) src/mkfastprimes /tmp/mkfastprimes
67    cp Makefile2 Makefile
68    rm /tmp/temporaryyacas/ -rf
69    $(call Build/Prepare/Default)
70endef
71
72# Configure, in principle does not need any parameter
73
74define Package/yacas/Build/Configure
75    $(call Build/Configure/Default)
76endef
77
78# To end, copy the yacas binary to sbin, and all yacas scripts to
79# sin/yacas-scripts. When you have installed the ipkg you have to add
80# sin/yacas-scripts/ to the path, if you don't yacas won't do
81# anything. You can also cd to sbin/yacas-scripts and run yacas from
82# there. I'll have to check if configure or make has a configuration
83# parameter to set the scripts folder.
84
85define Package/yacas/install
86    $(INSTALL_DIR) $(1)/usr/sbin
87    $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/yacas $(1)/usr/sbin/
88    mkdir $(1)/usr/sbin/yacas-scripts/
89    cp -r $(PKG_BUILD_DIR)/scripts/* $(1)/usr/sbin/yacas-scripts/
90endef
91
92# Final step for bulding the package
93
94$(eval $(call BuildPackage,yacas))
95
96
yacas/patches/001_static_definition.patch
1diff -crB yacas-1.2.2old/configure.in yacas-1.2.2new/configure.in
2*** yacas-1.2.2old/configure.in 2007-09-27 15:21:46.000000000 +0200
3--- yacas-1.2.2new/configure.in 2010-05-01 00:25:08.000000000 +0200
4***************
5*** 235,240 ****
6      scripts/Makefile
7      JavaYacas/Makefile
8      tests/Makefile
9! manmake/Makefile
10      src/Makefile)
11
12--- 235,240 ----
13      scripts/Makefile
14      JavaYacas/Makefile
15      tests/Makefile
16! #manmake/Makefile
17      src/Makefile)
18
19diff -crB yacas-1.2.2old/Makefile.am yacas-1.2.2new/Makefile.am
20*** yacas-1.2.2old/Makefile.am 2007-09-16 21:53:44.000000000 +0200
21--- yacas-1.2.2new/Makefile.am 2010-05-01 00:34:16.000000000 +0200
22***************
23*** 9,15 ****
24  ## suite in "tests". In addition, one of the tests to be run is generated in
25  ## "manmake".
26
27! SUBDIRS = . docs src scripts manmake tests JavaYacas
28
29  ## A script to be installed in the directory for binaries
30  bin_SCRIPTS =
31--- 9,15 ----
32  ## suite in "tests". In addition, one of the tests to be run is generated in
33  ## "manmake".
34
35! SUBDIRS = . docs src scripts tests JavaYacas
36
37  ## A script to be installed in the directory for binaries
38  bin_SCRIPTS =
39***************
40*** 25,36 ****
41  # the "distcheck" target does "make dvi", we want it to build the texdocs
42  dvi: texdocs
43
44- texdocs:
45- cd manmake ; make ps-docs pdf-docs
46-
47- # this target will create all HTML docs in case they are disabled by configure
48-
49- htmldocs:
50- cd manmake; make manicon.html
51-
52
53--- 25,28 ----
54diff -crB yacas-1.2.2old/Makefile.in yacas-1.2.2new/Makefile.in
55*** yacas-1.2.2old/Makefile.in 2007-09-27 15:24:37.000000000 +0200
56--- yacas-1.2.2new/Makefile.in 2010-05-01 00:33:54.000000000 +0200
57***************
58*** 99,105 ****
59  psdir = @psdir@
60  scriptdir = @scriptdir@
61
62! SUBDIRS = . docs src scripts manmake tests JavaYacas
63
64  bin_SCRIPTS =
65
66--- 99,105 ----
67  psdir = @psdir@
68  scriptdir = @scriptdir@
69
70! SUBDIRS = . docs src scripts tests JavaYacas
71
72  bin_SCRIPTS =
73
74***************
75*** 470,482 ****
76  # the "distcheck" target does "make dvi", we want it to build the texdocs
77  dvi: texdocs
78
79- texdocs:
80- cd manmake ; make ps-docs pdf-docs
81-
82- # this target will create all HTML docs in case they are disabled by configure
83-
84- htmldocs:
85- cd manmake; make manicon.html
86- # Tell versions [3.59,3.63) of GNU make to not export all variables.
87- # Otherwise a system limit (for SysV at least) may be exceeded.
88  .NOEXPORT:
89--- 470,473 ----
90diff -crB yacas-1.2.2old/manmake/Makefile.am yacas-1.2.2new/manmake/Makefile.am
91*** yacas-1.2.2old/manmake/Makefile.am 2007-09-16 21:53:45.000000000 +0200
92--- yacas-1.2.2new/manmake/Makefile.am 2010-05-01 00:27:47.000000000 +0200
93***************
94*** 1,250 ****
95! ## Makefile.am -- Process this file with automake to produce Makefile.in
96
97! # $(srcdir) is the manmake/ directory and $(top_srcdir) is the Yacas tree
98! # so this file should work even if we are building Yacas in a different directory
99
100! # newly compiled version of yacas in ../src (not necessarily under $(srcdir))
101! ouryacas = ../src/yacas --rootdir $(top_srcdir)/scripts/:../scripts/
102
103! # top target
104! ## BOOKS_HTML is either "manicon.html" or empty
105! ## PS_DOCS is either "ps-docs" or empty
106! ## PDF_DOCS is either "pdf-docs" or empty
107! all-am: @BOOKS_HTML@ @PS_DOCS@ @PDF_DOCS@ hints
108
109! noinst_PROGRAMS = manripper removeduplicates
110
111! manripper_SOURCES = manripper.cpp
112
113! removeduplicates_SOURCES = removeduplicates.cpp
114
115! hints: manripper removeduplicates $(REFSOURCES) $(REFPROGSOURCES) ref.book.txt refprog.book.txt
116! rm -f hints.unsorted
117! for file in ref.book.txt $(REFSOURCES) refprog.book.txt $(REFPROGSOURCES); do \
118! ./manripper $(srcdir)/"$$file" >> hints.unsorted ; done
119! sort -t ":" hints.unsorted > hints.sorted
120! ./removeduplicates hints.sorted hints.singlesorted
121! echo "::::" > tail.txt
122! cat hints.singlesorted tail.txt > hints
123
124! ## ytxt2tex is to be installed in $(bindir).
125! bin_SCRIPTS = ytxt2tex
126! ## It needs the following scripts:
127! ytxt2tex_DEPS = book2TeX.sh book2TeX.ys txt2yacasdoc.pl
128
129! BOOKS = intro.book coding.book ref.book refprog.book essays.book \
130! Algo.book
131
132! BOOKSOURCES = intro.book.txt coding.book.txt ref.book.txt refprog.book.txt \
133! essays.book.txt Algo.book.txt
134
135! PS_DOCS = intro.book.ps coding.book.ps essays.book.ps ref.book.ps \
136! refprog.book.ps Algo.book.ps
137
138! PDF_DOCS = intro.book.pdf coding.book.pdf essays.book.pdf ref.book.pdf \
139! refprog.book.pdf Algo.book.pdf
140
141! # refprog.html is not listed because it is generated together with ref.html
142! HTMLBOOKS = intromanual.html codingmanual.html essaysmanual.html refmanual.html refprogmanual.html \
143! Algomanual.html
144
145! INTROCHAPTERS = FDL.chapt cl-options.chapt config.chapt addons.chapt
146
147
148
149! INTROSOURCES = FDL.chapt.txt cl-options.chapt.txt config.chapt.txt addons.chapt.txt
150
151
152! ALGOCHAPTERS = algo-basic.chapt algo-numapprox.chapt \
153! algorithms-elemfunc.chapt algorithms-specfunc.chapt \
154! algorithms-numtheory.chapt algorithms-integration.chapt \
155! algorithms-multivar.chapt SturmSequences.chapt FDL.chapt \
156! algo-refs.chapt algo-contfrac.chapt algorithms-transforms.chapt
157
158! ALGOSOURCES = algo-basic.chapt.txt algo-numapprox.chapt.txt \
159! algorithms-elemfunc.chapt.txt algorithms-specfunc.chapt.txt \
160! algorithms-numtheory.chapt.txt algorithms-integration.chapt.txt \
161! algorithms-multivar.chapt.txt SturmSequences.chapt.txt FDL.chapt.txt \
162! algo-refs.chapt.txt algo-contfrac.chapt.txt algorithms-transforms.chapt.txt
163
164! REFCHAPTERS = arith.chapt calc.chapt complex.chapt solvers.chapt simplify.chapt ode.chapt linalg.chapt \
165! univar.chapt lists.chapt functional.chapt controlflow.chapt \
166! preds.chapt logic.chapt const.chapt vars.chapt io.chapt \
167! numtheory.chapt strings.chapt transforms.chapt cl-options.chapt \
168! probability-and-statistics.chapt FDL.chapt
169
170! REFSOURCES = arith.chapt.txt calc.chapt.txt complex.chapt.txt \
171! solvers.chapt.txt simplify.chapt.txt ode.chapt.txt \
172! linalg.chapt.txt univar.chapt.txt lists.chapt.txt cl-options.chapt.txt \
173! functional.chapt.txt controlflow.chapt.txt preds.chapt.txt \
174! logic.chapt.txt const.chapt.txt vars.chapt.txt io.chapt.txt \
175! numtheory.chapt.txt strings.chapt.txt transforms.chapt.txt \
176! probability-and-statistics.chapt.txt FDL.chapt.txt
177
178
179! REFPROGCHAPTERS = FDL.chapt glossary.chapt \
180! GPL.chapt numerics.chapt
181! # GPL.chapt has no .txt source
182! REFPROGSOURCES = FDL.chapt.txt glossary.chapt.txt \
183! numerics.chapt.txt
184
185! CODINGCHAPTERS = YacasDebugger.chapt FDL.chapt
186! CODINGSOURCES = YacasDebugger.chapt.txt FDL.chapt.txt
187
188! ESSAYCHAPTERS = ABIN-grammar.chapt \
189! SimpleTools.chapt CVS-Howto.chapt YacasDocs.chapt \
190! wester-1994.chapt new.chapt paper.chapt \
191! wordproblems.chapt FDL.chapt BuildSystem.chapt
192
193! ESSAYSOURCES = ABIN-grammar.chapt.txt \
194! SimpleTools.chapt.txt CVS-Howto.chapt.txt YacasDocs.chapt.txt \
195! paper.chapt.txt wester-1994.chapt.txt new.chapt.txt \
196! wordproblems.chapt.txt FDL.chapt.txt BuildSystem.chapt.txt
197
198
199! # Yacas test code extracted from the docs
200! TESTCODESNIPPETS = wester-1994.yts ref.book.yts refprog.book.yts
201
202! ## This means: build wester-1994.yts etc. if running tests
203! check_SCRIPTS = $(TESTCODESNIPPETS)
204
205
206! EXTRA_DIST = txt2example.pl book2txt.sh book2txt.ys \
207! book2xml.sh book2xml.ys \
208! book2ys.sh book2ys.ys ys2book.pl \
209! ytxt2tex $(ytxt2tex_DEPS) \
210! manualmaker indexmaker styleplain \
211! $(REFSOURCES) $(BOOKSOURCES) $(ESSAYSOURCES) $(CODINGSOURCES) \
212! $(INTROSOURCES) \
213! $(REFPROGSOURCES) $(ALGOSOURCES) \
214! dummies hints
215
216! # Stuff for automatic generation of Yacas books
217
218! SUFFIXES = .chapt.txt .chapt .book.tex .book.txt .book .tex .dvi .ps .pdf .ys
219
220! .chapt.txt.chapt:
221! perl $(srcdir)/txt2yacasdoc.pl < $< > $@
222
223! .book.txt.book:
224! perl $(srcdir)/txt2yacasdoc.pl < $< > $@
225
226! .book.book.tex:
227! sh $(srcdir)/book2TeX.sh -run "$(ouryacas)" $< $@
228
229! .tex.dvi:
230! latex $< > /dev/null
231! latex $< > /dev/null
232! # The perl filter is used to help the 'makeindex' command:
233! # 1) replace \verb|...| by \verb=...=
234! # 2) escape ()|@! using a preceding quote "
235! # Note that @ and ! are not always escaped because they are sometimes part of the index entry and sometimes control chars. Heuristics are used to guess correctly.
236! @perl -pe 's/(\\verb)\|([^|]*)\|/$$1=$$2=/g;s/([()|])/"$$1/g;if(/\@/){s/!/"!/g;};s/\@([^\\])/"\@$$1/g;'<$*.idx>$*.1.idx
237! @makeindex $*.1.idx -o $*.ind || echo "***Warning: a problem with 'makeindex'"
238! latex $< > /dev/null
239
240! .dvi.ps:
241! dvips -q -o $@ $<
242! @echo "***Documentation created:" $*.ps
243
244! .dvi.pdf:
245! pdflatex $* > /dev/null
246! @echo "***Documentation created:" $*.pdf
247
248! .chapt.ys:
249! sh $(srcdir)/book2ys.sh -run "$(ouryacas)" $< $@
250
251! .chapt.yts:
252! sh $(srcdir)/book2ys.sh -run "$(ouryacas)" $< $@
253
254! # generate test code from book sources
255
256! ref.book.yts: $(REFSOURCES) $(srcdir)/txt2example.pl
257! @echo "// tests for ref.book" > $@
258! for file in $(REFSOURCES); do perl $(srcdir)/txt2example.pl $(srcdir)/$$file >> $@; done
259
260! refprog.book.yts: $(REFPROGSOURCES) $(srcdir)/txt2example.pl
261! @echo "// tests for refprog.book" > $@
262! for file in $(REFPROGSOURCES); do perl $(srcdir)/txt2example.pl $(srcdir)/$$file >> $@; done
263
264
265! # specify books that need chapters
266! essays.book.tex: essays.book $(ESSAYCHAPTERS)
267! ref.book.tex : ref.book $(REFCHAPTERS)
268! refprog.book.tex : refprog.book $(REFPROGCHAPTERS)
269! coding.book.tex : coding.book $(CODINGCHAPTERS)
270! intro.book.tex: intro.book $(INTROCHAPTERS)
271! Algo.book.tex: Algo.book $(ALGOCHAPTERS)
272
273! # special "virtual" chapter built from corefunctions.h. This is printed by a special program "gencorefunctions", compiled together with yacas.
274
275
276! # special chapter copied from the GPL (need to replace "<" and ">")
277! GPL.chapt: $(top_srcdir)/COPYING
278! cat $(top_srcdir)/COPYING | sed -e 's,<,{<},g;s,>,{>},g;' | perl $(srcdir)/txt2yacasdoc.pl > $@
279
280
281
282! ps-docs: $(PS_DOCS)
283! pdf-docs: $(PDF_DOCS)
284
285! CLEANFILES = books.html *.tex *.dvi *.aux *.idx *.ind *.ilg *.toc *.log *.ps *.pdf *.funcs.js \
286! coding*.html intro*.html ref*.html essays*.html Algo*.html *.o core *~ texdocs.c \
287! $(REFCHAPTERS) $(ESSAYCHAPTERS) $(REFPROGCHAPTERS) $(CODINGCHAPTERS) \
288! $(TESTCODESNIPPETS) $(ALGOCHAPTERS) $(BOOKS) manicon.html
289
290! # The top HTML docs target is now "manicon.html" that is built by GenerateIndex().
291! # The dependence on $(HTMLBOOKS) is only to make sure that all HTML docs
292! # are built - in fact manicon.html is a constant file and has no dependencies.
293! manicon.html: books.html $(HTMLBOOKS)
294
295! # books.html only depends on top book files (*.book.txt).
296! books.html: $(BOOKS) $(srcdir)/indexmaker $(srcdir)/styleplain
297! -echo '[DefaultDirectory("$(srcdir)/"); Use("indexmaker"); GenerateIndex();];' | $(ouryacas) -fpc
298
299! intromanual.html : intro.book $(INTROCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
300! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("intro");];' | $(ouryacas) -fpc
301
302! codingmanual.html : coding.book $(CODINGCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
303! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("coding");];' | $(ouryacas) -fpc
304
305! essaysmanual.html : essays.book $(ESSAYCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
306! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("essays");];' | $(ouryacas) -fpc
307
308! refmanual.html : ref.book $(REFCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
309! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("ref");];' | $(ouryacas) -fpc
310
311! refprogmanual.html : ref.book $(REFCHAPTERS) refprog.book $(REFPROGCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
312! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("refprog");];' | $(ouryacas) -fpc
313
314! Algomanual.html : Algo.book $(ALGOCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
315! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("Algo");];' | $(ouryacas) -fpc
316
317! ## Hook to install documentation
318! install-data-local: @INSTALL_HTML@ @INSTALL_PS@ install-scripts install-hints
319
320! install-hints: hints
321! $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/documentation
322! $(INSTALL_DATA) hints $(DESTDIR)$(pkgdatadir)/documentation/hints
323
324! install-scripts: $(ytxt2tex_DEPS)
325! $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/manmake/
326! -for file in $(ytxt2tex_DEPS); do \
327! $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(pkgdatadir)/manmake/$$file; \
328! done
329
330! install-html: books.html
331! $(mkinstalldirs) $(DESTDIR)$(htmldir)/
332! $(INSTALL_DATA) $(top_srcdir)/docs/yacaslogo.gif $(DESTDIR)$(htmldir)/
333! -for file in *.html; do \
334! $(INSTALL_DATA) $$file $(DESTDIR)$(htmldir)/$$file; \
335! done
336
337! install-ps: ps-docs
338! $(mkinstalldirs) $(DESTDIR)$(psdir)/
339! -for file in $(PS_DOCS); do \
340! $(INSTALL_DATA) $$file $(DESTDIR)$(psdir)/$$file; \
341! done
342
343! # gzip $(DESTDIR)$(psdir)/$$file;
344
345--- 1,250 ----
346! # ## Makefile.am -- Process this file with automake to produce Makefile.in
347
348! # # $(srcdir) is the manmake/ directory and $(top_srcdir) is the Yacas tree
349! # # so this file should work even if we are building Yacas in a different directory
350
351! # # newly compiled version of yacas in ../src (not necessarily under $(srcdir))
352! # ouryacas = ../src/yacas --rootdir $(top_srcdir)/scripts/:../scripts/
353
354! # # top target
355! # ## BOOKS_HTML is either "manicon.html" or empty
356! # ## PS_DOCS is either "ps-docs" or empty
357! # ## PDF_DOCS is either "pdf-docs" or empty
358! # all-am: @BOOKS_HTML@ @PS_DOCS@ @PDF_DOCS@ hints
359
360! # noinst_PROGRAMS = manripper removeduplicates
361
362! # manripper_SOURCES = manripper.cpp
363
364! # removeduplicates_SOURCES = removeduplicates.cpp
365
366! # hints: manripper removeduplicates $(REFSOURCES) $(REFPROGSOURCES) ref.book.txt refprog.book.txt
367! # rm -f hints.unsorted
368! # for file in ref.book.txt $(REFSOURCES) refprog.book.txt $(REFPROGSOURCES); do \
369! # ./manripper $(srcdir)/"$$file" >> hints.unsorted ; done
370! # sort -t ":" hints.unsorted > hints.sorted
371! # ./removeduplicates hints.sorted hints.singlesorted
372! # echo "::::" > tail.txt
373! # cat hints.singlesorted tail.txt > hints
374
375! # ## ytxt2tex is to be installed in $(bindir).
376! # bin_SCRIPTS = ytxt2tex
377! # ## It needs the following scripts:
378! # ytxt2tex_DEPS = book2TeX.sh book2TeX.ys txt2yacasdoc.pl
379
380! # BOOKS = intro.book coding.book ref.book refprog.book essays.book \
381! # Algo.book
382
383! # BOOKSOURCES = intro.book.txt coding.book.txt ref.book.txt refprog.book.txt \
384! # essays.book.txt Algo.book.txt
385
386! # PS_DOCS = intro.book.ps coding.book.ps essays.book.ps ref.book.ps \
387! # refprog.book.ps Algo.book.ps
388
389! # PDF_DOCS = intro.book.pdf coding.book.pdf essays.book.pdf ref.book.pdf \
390! # refprog.book.pdf Algo.book.pdf
391
392! # # refprog.html is not listed because it is generated together with ref.html
393! # HTMLBOOKS = intromanual.html codingmanual.html essaysmanual.html refmanual.html refprogmanual.html \
394! # Algomanual.html
395
396! # INTROCHAPTERS = FDL.chapt cl-options.chapt config.chapt addons.chapt
397
398
399
400! # INTROSOURCES = FDL.chapt.txt cl-options.chapt.txt config.chapt.txt addons.chapt.txt
401
402
403! # ALGOCHAPTERS = algo-basic.chapt algo-numapprox.chapt \
404! # algorithms-elemfunc.chapt algorithms-specfunc.chapt \
405! # algorithms-numtheory.chapt algorithms-integration.chapt \
406! # algorithms-multivar.chapt SturmSequences.chapt FDL.chapt \
407! # algo-refs.chapt algo-contfrac.chapt algorithms-transforms.chapt
408
409! # ALGOSOURCES = algo-basic.chapt.txt algo-numapprox.chapt.txt \
410! # algorithms-elemfunc.chapt.txt algorithms-specfunc.chapt.txt \
411! # algorithms-numtheory.chapt.txt algorithms-integration.chapt.txt \
412! # algorithms-multivar.chapt.txt SturmSequences.chapt.txt FDL.chapt.txt \
413! # algo-refs.chapt.txt algo-contfrac.chapt.txt algorithms-transforms.chapt.txt
414
415! # REFCHAPTERS = arith.chapt calc.chapt complex.chapt solvers.chapt simplify.chapt ode.chapt linalg.chapt \
416! # univar.chapt lists.chapt functional.chapt controlflow.chapt \
417! # preds.chapt logic.chapt const.chapt vars.chapt io.chapt \
418! # numtheory.chapt strings.chapt transforms.chapt cl-options.chapt \
419! # probability-and-statistics.chapt FDL.chapt
420
421! # REFSOURCES = arith.chapt.txt calc.chapt.txt complex.chapt.txt \
422! # solvers.chapt.txt simplify.chapt.txt ode.chapt.txt \
423! # linalg.chapt.txt univar.chapt.txt lists.chapt.txt cl-options.chapt.txt \
424! # functional.chapt.txt controlflow.chapt.txt preds.chapt.txt \
425! # logic.chapt.txt const.chapt.txt vars.chapt.txt io.chapt.txt \
426! # numtheory.chapt.txt strings.chapt.txt transforms.chapt.txt \
427! # probability-and-statistics.chapt.txt FDL.chapt.txt
428
429
430! # REFPROGCHAPTERS = FDL.chapt glossary.chapt \
431! # GPL.chapt numerics.chapt
432! # # GPL.chapt has no .txt source
433! # REFPROGSOURCES = FDL.chapt.txt glossary.chapt.txt \
434! # numerics.chapt.txt
435
436! # CODINGCHAPTERS = YacasDebugger.chapt FDL.chapt
437! # CODINGSOURCES = YacasDebugger.chapt.txt FDL.chapt.txt
438
439! # ESSAYCHAPTERS = ABIN-grammar.chapt \
440! # SimpleTools.chapt CVS-Howto.chapt YacasDocs.chapt \
441! # wester-1994.chapt new.chapt paper.chapt \
442! # wordproblems.chapt FDL.chapt BuildSystem.chapt
443
444! # ESSAYSOURCES = ABIN-grammar.chapt.txt \
445! # SimpleTools.chapt.txt CVS-Howto.chapt.txt YacasDocs.chapt.txt \
446! # paper.chapt.txt wester-1994.chapt.txt new.chapt.txt \
447! # wordproblems.chapt.txt FDL.chapt.txt BuildSystem.chapt.txt
448
449
450! # # Yacas test code extracted from the docs
451! # TESTCODESNIPPETS = wester-1994.yts ref.book.yts refprog.book.yts
452
453! # ## This means: build wester-1994.yts etc. if running tests
454! # check_SCRIPTS = $(TESTCODESNIPPETS)
455
456
457! # EXTRA_DIST = txt2example.pl book2txt.sh book2txt.ys \
458! # book2xml.sh book2xml.ys \
459! # book2ys.sh book2ys.ys ys2book.pl \
460! # ytxt2tex $(ytxt2tex_DEPS) \
461! # manualmaker indexmaker styleplain \
462! # $(REFSOURCES) $(BOOKSOURCES) $(ESSAYSOURCES) $(CODINGSOURCES) \
463! # $(INTROSOURCES) \
464! # $(REFPROGSOURCES) $(ALGOSOURCES) \
465! # dummies hints
466
467! # # Stuff for automatic generation of Yacas books
468
469! # SUFFIXES = .chapt.txt .chapt .book.tex .book.txt .book .tex .dvi .ps .pdf .ys
470
471! # .chapt.txt.chapt:
472! # perl $(srcdir)/txt2yacasdoc.pl < $< > $@
473
474! # .book.txt.book:
475! # perl $(srcdir)/txt2yacasdoc.pl < $< > $@
476
477! # .book.book.tex:
478! # sh $(srcdir)/book2TeX.sh -run "$(ouryacas)" $< $@
479
480! # .tex.dvi:
481! # latex $< > /dev/null
482! # latex $< > /dev/null
483! # # The perl filter is used to help the 'makeindex' command:
484! # # 1) replace \verb|...| by \verb=...=
485! # # 2) escape ()|@! using a preceding quote "
486! # # Note that @ and ! are not always escaped because they are sometimes part of the index entry and sometimes control chars. Heuristics are used to guess correctly.
487! # @perl -pe 's/(\\verb)\|([^|]*)\|/$$1=$$2=/g;s/([()|])/"$$1/g;if(/\@/){s/!/"!/g;};s/\@([^\\])/"\@$$1/g;'<$*.idx>$*.1.idx
488! # @makeindex $*.1.idx -o $*.ind || echo "***Warning: a problem with 'makeindex'"
489! # latex $< > /dev/null
490
491! # .dvi.ps:
492! # dvips -q -o $@ $<
493! # @echo "***Documentation created:" $*.ps
494
495! # .dvi.pdf:
496! # pdflatex $* > /dev/null
497! # @echo "***Documentation created:" $*.pdf
498
499! # .chapt.ys:
500! # sh $(srcdir)/book2ys.sh -run "$(ouryacas)" $< $@
501
502! # .chapt.yts:
503! # sh $(srcdir)/book2ys.sh -run "$(ouryacas)" $< $@
504
505! # # generate test code from book sources
506
507! # ref.book.yts: $(REFSOURCES) $(srcdir)/txt2example.pl
508! # @echo "// tests for ref.book" > $@
509! # for file in $(REFSOURCES); do perl $(srcdir)/txt2example.pl $(srcdir)/$$file >> $@; done
510
511! # refprog.book.yts: $(REFPROGSOURCES) $(srcdir)/txt2example.pl
512! # @echo "// tests for refprog.book" > $@
513! # for file in $(REFPROGSOURCES); do perl $(srcdir)/txt2example.pl $(srcdir)/$$file >> $@; done
514
515
516! # # specify books that need chapters
517! # essays.book.tex: essays.book $(ESSAYCHAPTERS)
518! # ref.book.tex : ref.book $(REFCHAPTERS)
519! # refprog.book.tex : refprog.book $(REFPROGCHAPTERS)
520! # coding.book.tex : coding.book $(CODINGCHAPTERS)
521! # intro.book.tex: intro.book $(INTROCHAPTERS)
522! # Algo.book.tex: Algo.book $(ALGOCHAPTERS)
523
524! # # special "virtual" chapter built from corefunctions.h. This is printed by a special program "gencorefunctions", compiled together with yacas.
525
526
527! # # special chapter copied from the GPL (need to replace "<" and ">")
528! # GPL.chapt: $(top_srcdir)/COPYING
529! # cat $(top_srcdir)/COPYING | sed -e 's,<,{<},g;s,>,{>},g;' | perl $(srcdir)/txt2yacasdoc.pl > $@
530
531
532
533! # ps-docs: $(PS_DOCS)
534! # pdf-docs: $(PDF_DOCS)
535
536! # CLEANFILES = books.html *.tex *.dvi *.aux *.idx *.ind *.ilg *.toc *.log *.ps *.pdf *.funcs.js \
537! # coding*.html intro*.html ref*.html essays*.html Algo*.html *.o core *~ texdocs.c \
538! # $(REFCHAPTERS) $(ESSAYCHAPTERS) $(REFPROGCHAPTERS) $(CODINGCHAPTERS) \
539! # $(TESTCODESNIPPETS) $(ALGOCHAPTERS) $(BOOKS) manicon.html
540
541! # # The top HTML docs target is now "manicon.html" that is built by GenerateIndex().
542! # # The dependence on $(HTMLBOOKS) is only to make sure that all HTML docs
543! # # are built - in fact manicon.html is a constant file and has no dependencies.
544! # manicon.html: books.html $(HTMLBOOKS)
545
546! # # books.html only depends on top book files (*.book.txt).
547! # books.html: $(BOOKS) $(srcdir)/indexmaker $(srcdir)/styleplain
548! # -echo '[DefaultDirectory("$(srcdir)/"); Use("indexmaker"); GenerateIndex();];' | $(ouryacas) -fpc
549
550! # intromanual.html : intro.book $(INTROCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
551! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("intro");];' | $(ouryacas) -fpc
552
553! # codingmanual.html : coding.book $(CODINGCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
554! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("coding");];' | $(ouryacas) -fpc
555
556! # essaysmanual.html : essays.book $(ESSAYCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
557! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("essays");];' | $(ouryacas) -fpc
558
559! # refmanual.html : ref.book $(REFCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
560! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("ref");];' | $(ouryacas) -fpc
561
562! # refprogmanual.html : ref.book $(REFCHAPTERS) refprog.book $(REFPROGCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
563! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("refprog");];' | $(ouryacas) -fpc
564
565! # Algomanual.html : Algo.book $(ALGOCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
566! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("Algo");];' | $(ouryacas) -fpc
567
568! # ## Hook to install documentation
569! # install-data-local: @INSTALL_HTML@ @INSTALL_PS@ install-scripts install-hints
570
571! # install-hints: hints
572! # $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/documentation
573! # $(INSTALL_DATA) hints $(DESTDIR)$(pkgdatadir)/documentation/hints
574
575! # install-scripts: $(ytxt2tex_DEPS)
576! # $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/manmake/
577! # -for file in $(ytxt2tex_DEPS); do \
578! # $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(pkgdatadir)/manmake/$$file; \
579! # done
580
581! # install-html: books.html
582! # $(mkinstalldirs) $(DESTDIR)$(htmldir)/
583! # $(INSTALL_DATA) $(top_srcdir)/docs/yacaslogo.gif $(DESTDIR)$(htmldir)/
584! # -for file in *.html; do \
585! # $(INSTALL_DATA) $$file $(DESTDIR)$(htmldir)/$$file; \
586! # done
587
588! # install-ps: ps-docs
589! # $(mkinstalldirs) $(DESTDIR)$(psdir)/
590! # -for file in $(PS_DOCS); do \
591! # $(INSTALL_DATA) $$file $(DESTDIR)$(psdir)/$$file; \
592! # done
593
594! # # gzip $(DESTDIR)$(psdir)/$$file;
595
596diff -crB yacas-1.2.2old/manmake/Makefile.in yacas-1.2.2new/manmake/Makefile.in
597*** yacas-1.2.2old/manmake/Makefile.in 2007-09-27 15:24:37.000000000 +0200
598--- yacas-1.2.2new/manmake/Makefile.in 2010-05-01 00:27:59.000000000 +0200
599***************
600*** 1,598 ****
601! # Makefile.in generated by automake 1.6.3 from Makefile.am.
602! # @configure_input@
603
604! # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
605! # Free Software Foundation, Inc.
606! # This Makefile.in is free software; the Free Software Foundation
607! # gives unlimited permission to copy and/or distribute it,
608! # with or without modifications, as long as this notice is preserved.
609!
610! # This program is distributed in the hope that it will be useful,
611! # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
612! # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
613! # PARTICULAR PURPOSE.
614!
615! @SET_MAKE@
616!
617! # $(srcdir) is the manmake/ directory and $(top_srcdir) is the Yacas tree
618! # so this file should work even if we are building Yacas in a different directory
619! SHELL = @SHELL@
620!
621! srcdir = @srcdir@
622! top_srcdir = @top_srcdir@
623! VPATH = @srcdir@
624! prefix = @prefix@
625! exec_prefix = @exec_prefix@
626!
627! bindir = @bindir@
628! sbindir = @sbindir@
629! libexecdir = @libexecdir@
630! datadir = @datadir@
631! sysconfdir = @sysconfdir@
632! sharedstatedir = @sharedstatedir@
633! localstatedir = @localstatedir@
634! libdir = @libdir@
635! infodir = @infodir@
636! mandir = @mandir@
637! includedir = @includedir@
638! oldincludedir = /usr/include
639! pkgdatadir = $(datadir)/@PACKAGE@
640! pkglibdir = $(libdir)/@PACKAGE@
641! pkgincludedir = $(includedir)/@PACKAGE@
642! top_builddir = ..
643!
644! ACLOCAL = @ACLOCAL@
645! AUTOCONF = @AUTOCONF@
646! AUTOMAKE = @AUTOMAKE@
647! AUTOHEADER = @AUTOHEADER@
648!
649! am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
650! INSTALL = @INSTALL@
651! INSTALL_PROGRAM = @INSTALL_PROGRAM@
652! INSTALL_DATA = @INSTALL_DATA@
653! install_sh_DATA = $(install_sh) -c -m 644
654! install_sh_PROGRAM = $(install_sh) -c
655! install_sh_SCRIPT = $(install_sh) -c
656! INSTALL_SCRIPT = @INSTALL_SCRIPT@
657! INSTALL_HEADER = $(INSTALL_DATA)
658! transform = @program_transform_name@
659! NORMAL_INSTALL = :
660! PRE_INSTALL = :
661! POST_INSTALL = :
662! NORMAL_UNINSTALL = :
663! PRE_UNINSTALL = :
664! POST_UNINSTALL = :
665! host_alias = @host_alias@
666! host_triplet = @host@
667!
668! EXEEXT = @EXEEXT@
669! OBJEXT = @OBJEXT@
670! PATH_SEPARATOR = @PATH_SEPARATOR@
671! AMTAR = @AMTAR@
672! AR = @AR@
673! AWK = @AWK@
674! BOOKS_HTML = @BOOKS_HTML@
675! CC = @CC@
676! CHECK_ARCHIVE = @CHECK_ARCHIVE@
677! COMPRESSOR_PRG = @COMPRESSOR_PRG@
678! CPP = @CPP@
679! CXX = @CXX@
680! DEPDIR = @DEPDIR@
681! INSTALL_ARCHIVE = @INSTALL_ARCHIVE@
682! INSTALL_HTML = @INSTALL_HTML@
683! INSTALL_PS = @INSTALL_PS@
684! INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
685! PACKAGE = @PACKAGE@
686!
687! PDF_DOCS = intro.book.pdf coding.book.pdf essays.book.pdf ref.book.pdf \
688! refprog.book.pdf Algo.book.pdf
689!
690!
691! PS_DOCS = intro.book.ps coding.book.ps essays.book.ps ref.book.ps \
692! refprog.book.ps Algo.book.ps
693!
694! RELEASE = @RELEASE@
695! SCRIPTS_DAT = @SCRIPTS_DAT@
696! STRIP = @STRIP@
697! VERSION = @VERSION@
698! am__include = @am__include@
699! am__quote = @am__quote@
700! have_dvips = @have_dvips@
701! have_gzip = @have_gzip@
702! have_latex = @have_latex@
703! have_makeindex = @have_makeindex@
704! have_pdflatex = @have_pdflatex@
705! have_perl = @have_perl@
706! htmldir = @htmldir@
707! install_sh = @install_sh@
708! psdir = @psdir@
709! scriptdir = @scriptdir@
710!
711! # newly compiled version of yacas in ../src (not necessarily under $(srcdir))
712! ouryacas = ../src/yacas --rootdir $(top_srcdir)/scripts/:../scripts/
713!
714! noinst_PROGRAMS = manripper removeduplicates
715!
716! manripper_SOURCES = manripper.cpp
717!
718! removeduplicates_SOURCES = removeduplicates.cpp
719!
720! bin_SCRIPTS = ytxt2tex
721! ytxt2tex_DEPS = book2TeX.sh book2TeX.ys txt2yacasdoc.pl
722!
723! BOOKS = intro.book coding.book ref.book refprog.book essays.book \
724! Algo.book
725!
726!
727! BOOKSOURCES = intro.book.txt coding.book.txt ref.book.txt refprog.book.txt \
728! essays.book.txt Algo.book.txt
729!
730!
731! # refprog.html is not listed because it is generated together with ref.html
732! HTMLBOOKS = intromanual.html codingmanual.html essaysmanual.html refmanual.html refprogmanual.html \
733! Algomanual.html
734!
735!
736! INTROCHAPTERS = FDL.chapt cl-options.chapt config.chapt addons.chapt
737!
738! INTROSOURCES = FDL.chapt.txt cl-options.chapt.txt config.chapt.txt addons.chapt.txt
739!
740! ALGOCHAPTERS = algo-basic.chapt algo-numapprox.chapt \
741! algorithms-elemfunc.chapt algorithms-specfunc.chapt \
742! algorithms-numtheory.chapt algorithms-integration.chapt \
743! algorithms-multivar.chapt SturmSequences.chapt FDL.chapt \
744! algo-refs.chapt algo-contfrac.chapt algorithms-transforms.chapt
745!
746!
747! ALGOSOURCES = algo-basic.chapt.txt algo-numapprox.chapt.txt \
748! algorithms-elemfunc.chapt.txt algorithms-specfunc.chapt.txt \
749! algorithms-numtheory.chapt.txt algorithms-integration.chapt.txt \
750! algorithms-multivar.chapt.txt SturmSequences.chapt.txt FDL.chapt.txt \
751! algo-refs.chapt.txt algo-contfrac.chapt.txt algorithms-transforms.chapt.txt
752!
753!
754! REFCHAPTERS = arith.chapt calc.chapt complex.chapt solvers.chapt simplify.chapt ode.chapt linalg.chapt \
755! univar.chapt lists.chapt functional.chapt controlflow.chapt \
756! preds.chapt logic.chapt const.chapt vars.chapt io.chapt \
757! numtheory.chapt strings.chapt transforms.chapt cl-options.chapt \
758! probability-and-statistics.chapt FDL.chapt
759!
760!
761! REFSOURCES = arith.chapt.txt calc.chapt.txt complex.chapt.txt \
762! solvers.chapt.txt simplify.chapt.txt ode.chapt.txt \
763! linalg.chapt.txt univar.chapt.txt lists.chapt.txt cl-options.chapt.txt \
764! functional.chapt.txt controlflow.chapt.txt preds.chapt.txt \
765! logic.chapt.txt const.chapt.txt vars.chapt.txt io.chapt.txt \
766! numtheory.chapt.txt strings.chapt.txt transforms.chapt.txt \
767! probability-and-statistics.chapt.txt FDL.chapt.txt
768!
769!
770! REFPROGCHAPTERS = FDL.chapt glossary.chapt \
771! GPL.chapt numerics.chapt
772!
773! # GPL.chapt has no .txt source
774! REFPROGSOURCES = FDL.chapt.txt glossary.chapt.txt \
775! numerics.chapt.txt
776!
777!
778! CODINGCHAPTERS = YacasDebugger.chapt FDL.chapt
779! CODINGSOURCES = YacasDebugger.chapt.txt FDL.chapt.txt
780!
781! ESSAYCHAPTERS = ABIN-grammar.chapt \
782! SimpleTools.chapt CVS-Howto.chapt YacasDocs.chapt \
783! wester-1994.chapt new.chapt paper.chapt \
784! wordproblems.chapt FDL.chapt BuildSystem.chapt
785!
786!
787! ESSAYSOURCES = ABIN-grammar.chapt.txt \
788! SimpleTools.chapt.txt CVS-Howto.chapt.txt YacasDocs.chapt.txt \
789! paper.chapt.txt wester-1994.chapt.txt new.chapt.txt \
790! wordproblems.chapt.txt FDL.chapt.txt BuildSystem.chapt.txt
791!
792!
793! # Yacas test code extracted from the docs
794! TESTCODESNIPPETS = wester-1994.yts ref.book.yts refprog.book.yts
795!
796! check_SCRIPTS = $(TESTCODESNIPPETS)
797!
798! EXTRA_DIST = txt2example.pl book2txt.sh book2txt.ys \
799! book2xml.sh book2xml.ys \
800! book2ys.sh book2ys.ys ys2book.pl \
801! ytxt2tex $(ytxt2tex_DEPS) \
802! manualmaker indexmaker styleplain \
803! $(REFSOURCES) $(BOOKSOURCES) $(ESSAYSOURCES) $(CODINGSOURCES) \
804! $(INTROSOURCES) \
805! $(REFPROGSOURCES) $(ALGOSOURCES) \
806! dummies hints
807!
808!
809!
810! # Stuff for automatic generation of Yacas books
811! SUFFIXES = .chapt.txt .chapt .book.tex .book.txt .book .tex .dvi .ps .pdf .ys
812!
813! CLEANFILES = books.html *.tex *.dvi *.aux *.idx *.ind *.ilg *.toc *.log *.ps *.pdf *.funcs.js \
814! coding*.html intro*.html ref*.html essays*.html Algo*.html *.o core *~ texdocs.c \
815! $(REFCHAPTERS) $(ESSAYCHAPTERS) $(REFPROGCHAPTERS) $(CODINGCHAPTERS) \
816! $(TESTCODESNIPPETS) $(ALGOCHAPTERS) $(BOOKS) manicon.html
817!
818! subdir = manmake
819! mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
820! CONFIG_HEADER = $(top_builddir)/config.h
821! CONFIG_CLEAN_FILES =
822! noinst_PROGRAMS = manripper$(EXEEXT) removeduplicates$(EXEEXT)
823! PROGRAMS = $(noinst_PROGRAMS)
824!
825! am_manripper_OBJECTS = manripper.$(OBJEXT)
826! manripper_OBJECTS = $(am_manripper_OBJECTS)
827! manripper_LDADD = $(LDADD)
828! manripper_DEPENDENCIES =
829! manripper_LDFLAGS =
830! am_removeduplicates_OBJECTS = removeduplicates.$(OBJEXT)
831! removeduplicates_OBJECTS = $(am_removeduplicates_OBJECTS)
832! removeduplicates_LDADD = $(LDADD)
833! removeduplicates_DEPENDENCIES =
834! removeduplicates_LDFLAGS =
835! SCRIPTS = $(bin_SCRIPTS)
836!
837!
838! DEFS = @DEFS@
839! DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
840! CPPFLAGS = @CPPFLAGS@
841! LDFLAGS = @LDFLAGS@
842! LIBS = @LIBS@
843! depcomp = $(SHELL) $(top_srcdir)/depcomp
844! am__depfiles_maybe = depfiles
845! @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/manripper.Po \
846! @AMDEP_TRUE@ ./$(DEPDIR)/removeduplicates.Po
847! CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
848! $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
849! CXXLD = $(CXX)
850! CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
851! -o $@
852! CXXFLAGS = @CXXFLAGS@
853! CFLAGS = @CFLAGS@
854! COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
855! $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
856! CCLD = $(CC)
857! LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
858! DIST_SOURCES = $(manripper_SOURCES) $(removeduplicates_SOURCES)
859! DIST_COMMON = README Makefile.am Makefile.in
860! SOURCES = $(manripper_SOURCES) $(removeduplicates_SOURCES)
861!
862! all: all-am
863!
864! .SUFFIXES:
865! .SUFFIXES: .chapt.txt .chapt .book.tex .book.txt .book .tex .dvi .ps .pdf .ys .cpp .o .obj .yts
866! $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
867! cd $(top_srcdir) && \
868! $(AUTOMAKE) --gnu manmake/Makefile
869! Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
870! cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
871!
872! clean-noinstPROGRAMS:
873! -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
874! manripper$(EXEEXT): $(manripper_OBJECTS) $(manripper_DEPENDENCIES)
875! @rm -f manripper$(EXEEXT)
876! $(CXXLINK) $(manripper_LDFLAGS) $(manripper_OBJECTS) $(manripper_LDADD) $(LIBS)
877! removeduplicates$(EXEEXT): $(removeduplicates_OBJECTS) $(removeduplicates_DEPENDENCIES)
878! @rm -f removeduplicates$(EXEEXT)
879! $(CXXLINK) $(removeduplicates_LDFLAGS) $(removeduplicates_OBJECTS) $(removeduplicates_LDADD) $(LIBS)
880! binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
881! install-binSCRIPTS: $(bin_SCRIPTS)
882! @$(NORMAL_INSTALL)
883! $(mkinstalldirs) $(DESTDIR)$(bindir)
884! @list='$(bin_SCRIPTS)'; for p in $$list; do \
885! if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
886! if test -f $$d$$p; then \
887! f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
888! echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
889! $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
890! else :; fi; \
891! done
892!
893! uninstall-binSCRIPTS:
894! @$(NORMAL_UNINSTALL)
895! @list='$(bin_SCRIPTS)'; for p in $$list; do \
896! f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
897! echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
898! rm -f $(DESTDIR)$(bindir)/$$f; \
899! done
900!
901! mostlyclean-compile:
902! -rm -f *.$(OBJEXT) core *.core
903!
904! distclean-compile:
905! -rm -f *.tab.c
906!
907! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/manripper.Po@am__quote@
908! @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/removeduplicates.Po@am__quote@
909!
910! distclean-depend:
911! -rm -rf ./$(DEPDIR)
912!
913! .cpp.o:
914! @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
915! @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
916! @AMDEP_TRUE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
917! $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
918!
919! .cpp.obj:
920! @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
921! @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
922! @AMDEP_TRUE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
923! $(CXXCOMPILE) -c -o $@ `cygpath -w $<`
924! CXXDEPMODE = @CXXDEPMODE@
925! uninstall-info-am:
926!
927! ETAGS = etags
928! ETAGSFLAGS =
929!
930! tags: TAGS
931!
932! ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
933! list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
934! unique=`for i in $$list; do \
935! if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
936! done | \
937! $(AWK) ' { files[$$0] = 1; } \
938! END { for (i in files) print i; }'`; \
939! mkid -fID $$unique
940!
941! TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
942! $(TAGS_FILES) $(LISP)
943! tags=; \
944! here=`pwd`; \
945! list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
946! unique=`for i in $$list; do \
947! if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
948! done | \
949! $(AWK) ' { files[$$0] = 1; } \
950! END { for (i in files) print i; }'`; \
951! test -z "$(ETAGS_ARGS)$$tags$$unique" \
952! || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
953! $$tags $$unique
954!
955! GTAGS:
956! here=`$(am__cd) $(top_builddir) && pwd` \
957! && cd $(top_srcdir) \
958! && gtags -i $(GTAGS_ARGS) $$here
959!
960! distclean-tags:
961! -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
962! DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
963!
964! top_distdir = ..
965! distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
966!
967! distdir: $(DISTFILES)
968! @list='$(DISTFILES)'; for file in $$list; do \
969! if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
970! dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
971! if test "$$dir" != "$$file" && test "$$dir" != "."; then \
972! dir="/$$dir"; \
973! $(mkinstalldirs) "$(distdir)$$dir"; \
974! else \
975! dir=''; \
976! fi; \
977! if test -d $$d/$$file; then \
978! if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
979! cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
980! fi; \
981! cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
982! else \
983! test -f $(distdir)/$$file \
984! || cp -p $$d/$$file $(distdir)/$$file \
985! || exit 1; \
986! fi; \
987! done
988! check-am: all-am
989! $(MAKE) $(AM_MAKEFLAGS) $(check_SCRIPTS)
990! check: check-am
991! all-am: Makefile $(PROGRAMS) $(SCRIPTS)
992!
993! installdirs:
994! $(mkinstalldirs) $(DESTDIR)$(bindir)
995!
996! install: install-am
997! install-exec: install-exec-am
998! install-data: install-data-am
999! uninstall: uninstall-am
1000!
1001! install-am: all-am
1002! @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1003!
1004! installcheck: installcheck-am
1005! install-strip:
1006! $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1007! INSTALL_STRIP_FLAG=-s \
1008! `test -z '$(STRIP)' || \
1009! echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1010! mostlyclean-generic:
1011!
1012! clean-generic:
1013! -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1014!
1015! distclean-generic:
1016! -rm -f Makefile $(CONFIG_CLEAN_FILES)
1017!
1018! maintainer-clean-generic:
1019! @echo "This command is intended for maintainers to use"
1020! @echo "it deletes files that may require special tools to rebuild."
1021! clean: clean-am
1022!
1023! clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
1024!
1025! distclean: distclean-am
1026!
1027! distclean-am: clean-am distclean-compile distclean-depend \
1028! distclean-generic distclean-tags
1029!
1030! dvi: dvi-am
1031!
1032! dvi-am:
1033!
1034! info: info-am
1035!
1036! info-am:
1037!
1038! install-data-am: install-data-local
1039!
1040! install-exec-am: install-binSCRIPTS
1041!
1042! install-info: install-info-am
1043!
1044! install-man:
1045!
1046! installcheck-am:
1047!
1048! maintainer-clean: maintainer-clean-am
1049!
1050! maintainer-clean-am: distclean-am maintainer-clean-generic
1051!
1052! mostlyclean: mostlyclean-am
1053!
1054! mostlyclean-am: mostlyclean-compile mostlyclean-generic
1055!
1056! uninstall-am: uninstall-binSCRIPTS uninstall-info-am
1057!
1058! .PHONY: GTAGS all all-am check check-am clean clean-generic \
1059! clean-noinstPROGRAMS distclean distclean-compile \
1060! distclean-depend distclean-generic distclean-tags distdir dvi \
1061! dvi-am info info-am install install-am install-binSCRIPTS \
1062! install-data install-data-am install-data-local install-exec \
1063! install-exec-am install-info install-info-am install-man \
1064! install-strip installcheck installcheck-am installdirs \
1065! maintainer-clean maintainer-clean-generic mostlyclean \
1066! mostlyclean-compile mostlyclean-generic tags uninstall \
1067! uninstall-am uninstall-binSCRIPTS uninstall-info-am
1068!
1069!
1070! # top target
1071! all-am: @BOOKS_HTML@ @PS_DOCS@ @PDF_DOCS@ hints
1072!
1073! hints: manripper removeduplicates $(REFSOURCES) $(REFPROGSOURCES) ref.book.txt refprog.book.txt
1074! rm -f hints.unsorted
1075! for file in ref.book.txt $(REFSOURCES) refprog.book.txt $(REFPROGSOURCES); do \
1076! ./manripper $(srcdir)/"$$file" >> hints.unsorted ; done
1077! sort -t ":" hints.unsorted > hints.sorted
1078! ./removeduplicates hints.sorted hints.singlesorted
1079! echo "::::" > tail.txt
1080! cat hints.singlesorted tail.txt > hints
1081!
1082! .chapt.txt.chapt:
1083! perl $(srcdir)/txt2yacasdoc.pl < $< > $@
1084!
1085! .book.txt.book:
1086! perl $(srcdir)/txt2yacasdoc.pl < $< > $@
1087!
1088! .book.book.tex:
1089! sh $(srcdir)/book2TeX.sh -run "$(ouryacas)" $< $@
1090!
1091! .tex.dvi:
1092! latex $< > /dev/null
1093! latex $< > /dev/null
1094! # The perl filter is used to help the 'makeindex' command:
1095! # 1) replace \verb|...| by \verb=...=
1096! # 2) escape ()|@! using a preceding quote "
1097! # Note that @ and ! are not always escaped because they are sometimes part of the index entry and sometimes control chars. Heuristics are used to guess correctly.
1098! @perl -pe 's/(\\verb)\|([^|]*)\|/$$1=$$2=/g;s/([()|])/"$$1/g;if(/\@/){s/!/"!/g;};s/\@([^\\])/"\@$$1/g;'<$*.idx>$*.1.idx
1099! @makeindex $*.1.idx -o $*.ind || echo "***Warning: a problem with 'makeindex'"
1100! latex $< > /dev/null
1101!
1102! .dvi.ps:
1103! dvips -q -o $@ $<
1104! @echo "***Documentation created:" $*.ps
1105!
1106! .dvi.pdf:
1107! pdflatex $* > /dev/null
1108! @echo "***Documentation created:" $*.pdf
1109!
1110! .chapt.ys:
1111! sh $(srcdir)/book2ys.sh -run "$(ouryacas)" $< $@
1112!
1113! .chapt.yts:
1114! sh $(srcdir)/book2ys.sh -run "$(ouryacas)" $< $@
1115!
1116! # generate test code from book sources
1117!
1118! ref.book.yts: $(REFSOURCES) $(srcdir)/txt2example.pl
1119! @echo "// tests for ref.book" > $@
1120! for file in $(REFSOURCES); do perl $(srcdir)/txt2example.pl $(srcdir)/$$file >> $@; done
1121!
1122! refprog.book.yts: $(REFPROGSOURCES) $(srcdir)/txt2example.pl
1123! @echo "// tests for refprog.book" > $@
1124! for file in $(REFPROGSOURCES); do perl $(srcdir)/txt2example.pl $(srcdir)/$$file >> $@; done
1125!
1126! # specify books that need chapters
1127! essays.book.tex: essays.book $(ESSAYCHAPTERS)
1128! ref.book.tex : ref.book $(REFCHAPTERS)
1129! refprog.book.tex : refprog.book $(REFPROGCHAPTERS)
1130! coding.book.tex : coding.book $(CODINGCHAPTERS)
1131! intro.book.tex: intro.book $(INTROCHAPTERS)
1132! Algo.book.tex: Algo.book $(ALGOCHAPTERS)
1133!
1134! # special "virtual" chapter built from corefunctions.h. This is printed by a special program "gencorefunctions", compiled together with yacas.
1135!
1136! # special chapter copied from the GPL (need to replace "<" and ">")
1137! GPL.chapt: $(top_srcdir)/COPYING
1138! cat $(top_srcdir)/COPYING | sed -e 's,<,{<},g;s,>,{>},g;' | perl $(srcdir)/txt2yacasdoc.pl > $@
1139!
1140! ps-docs: $(PS_DOCS)
1141! pdf-docs: $(PDF_DOCS)
1142!
1143! # The top HTML docs target is now "manicon.html" that is built by GenerateIndex().
1144! # The dependence on $(HTMLBOOKS) is only to make sure that all HTML docs
1145! # are built - in fact manicon.html is a constant file and has no dependencies.
1146! manicon.html: books.html $(HTMLBOOKS)
1147!
1148! # books.html only depends on top book files (*.book.txt).
1149! books.html: $(BOOKS) $(srcdir)/indexmaker $(srcdir)/styleplain
1150! -echo '[DefaultDirectory("$(srcdir)/"); Use("indexmaker"); GenerateIndex();];' | $(ouryacas) -fpc
1151!
1152! intromanual.html : intro.book $(INTROCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1153! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("intro");];' | $(ouryacas) -fpc
1154!
1155! codingmanual.html : coding.book $(CODINGCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1156! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("coding");];' | $(ouryacas) -fpc
1157!
1158! essaysmanual.html : essays.book $(ESSAYCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1159! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("essays");];' | $(ouryacas) -fpc
1160!
1161! refmanual.html : ref.book $(REFCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1162! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("ref");];' | $(ouryacas) -fpc
1163!
1164! refprogmanual.html : ref.book $(REFCHAPTERS) refprog.book $(REFPROGCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1165! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("refprog");];' | $(ouryacas) -fpc
1166!
1167! Algomanual.html : Algo.book $(ALGOCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1168! -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("Algo");];' | $(ouryacas) -fpc
1169!
1170! install-data-local: @INSTALL_HTML@ @INSTALL_PS@ install-scripts install-hints
1171!
1172! install-hints: hints
1173! $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/documentation
1174! $(INSTALL_DATA) hints $(DESTDIR)$(pkgdatadir)/documentation/hints
1175!
1176! install-scripts: $(ytxt2tex_DEPS)
1177! $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/manmake/
1178! -for file in $(ytxt2tex_DEPS); do \
1179! $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(pkgdatadir)/manmake/$$file; \
1180! done
1181!
1182! install-html: books.html
1183! $(mkinstalldirs) $(DESTDIR)$(htmldir)/
1184! $(INSTALL_DATA) $(top_srcdir)/docs/yacaslogo.gif $(DESTDIR)$(htmldir)/
1185! -for file in *.html; do \
1186! $(INSTALL_DATA) $$file $(DESTDIR)$(htmldir)/$$file; \
1187! done
1188!
1189! install-ps: ps-docs
1190! $(mkinstalldirs) $(DESTDIR)$(psdir)/
1191! -for file in $(PS_DOCS); do \
1192! $(INSTALL_DATA) $$file $(DESTDIR)$(psdir)/$$file; \
1193! done
1194!
1195! # gzip $(DESTDIR)$(psdir)/$$file;
1196! # Tell versions [3.59,3.63) of GNU make to not export all variables.
1197! # Otherwise a system limit (for SysV at least) may be exceeded.
1198! .NOEXPORT:
1199--- 1,598 ----
1200! # # Makefile.in generated by automake 1.6.3 from Makefile.am.
1201! # # @configure_input@
1202
1203! # # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
1204! # # Free Software Foundation, Inc.
1205! # # This Makefile.in is free software; the Free Software Foundation
1206! # # gives unlimited permission to copy and/or distribute it,
1207! # # with or without modifications, as long as this notice is preserved.
1208!
1209! # # This program is distributed in the hope that it will be useful,
1210! # # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
1211! # # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1212! # # PARTICULAR PURPOSE.
1213!
1214! # @SET_MAKE@
1215!
1216! # # $(srcdir) is the manmake/ directory and $(top_srcdir) is the Yacas tree
1217! # # so this file should work even if we are building Yacas in a different directory
1218! # SHELL = @SHELL@
1219!
1220! # srcdir = @srcdir@
1221! # top_srcdir = @top_srcdir@
1222! # VPATH = @srcdir@
1223! # prefix = @prefix@
1224! # exec_prefix = @exec_prefix@
1225!
1226! # bindir = @bindir@
1227! # sbindir = @sbindir@
1228! # libexecdir = @libexecdir@
1229! # datadir = @datadir@
1230! # sysconfdir = @sysconfdir@
1231! # sharedstatedir = @sharedstatedir@
1232! # localstatedir = @localstatedir@
1233! # libdir = @libdir@
1234! # infodir = @infodir@
1235! # mandir = @mandir@
1236! # includedir = @includedir@
1237! # oldincludedir = /usr/include
1238! # pkgdatadir = $(datadir)/@PACKAGE@
1239! # pkglibdir = $(libdir)/@PACKAGE@
1240! # pkgincludedir = $(includedir)/@PACKAGE@
1241! # top_builddir = ..
1242!
1243! # ACLOCAL = @ACLOCAL@
1244! # AUTOCONF = @AUTOCONF@
1245! # AUTOMAKE = @AUTOMAKE@
1246! # AUTOHEADER = @AUTOHEADER@
1247!
1248! # am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
1249! # INSTALL = @INSTALL@
1250! # INSTALL_PROGRAM = @INSTALL_PROGRAM@
1251! # INSTALL_DATA = @INSTALL_DATA@
1252! # install_sh_DATA = $(install_sh) -c -m 644
1253! # install_sh_PROGRAM = $(install_sh) -c
1254! # install_sh_SCRIPT = $(install_sh) -c
1255! # INSTALL_SCRIPT = @INSTALL_SCRIPT@
1256! # INSTALL_HEADER = $(INSTALL_DATA)
1257! # transform = @program_transform_name@
1258! # NORMAL_INSTALL = :
1259! # PRE_INSTALL = :
1260! # POST_INSTALL = :
1261! # NORMAL_UNINSTALL = :
1262! # PRE_UNINSTALL = :
1263! # POST_UNINSTALL = :
1264! # host_alias = @host_alias@
1265! # host_triplet = @host@
1266!
1267! # EXEEXT = @EXEEXT@
1268! # OBJEXT = @OBJEXT@
1269! # PATH_SEPARATOR = @PATH_SEPARATOR@
1270! # AMTAR = @AMTAR@
1271! # AR = @AR@
1272! # AWK = @AWK@
1273! # BOOKS_HTML = @BOOKS_HTML@
1274! # CC = @CC@
1275! # CHECK_ARCHIVE = @CHECK_ARCHIVE@
1276! # COMPRESSOR_PRG = @COMPRESSOR_PRG@
1277! # CPP = @CPP@
1278! # CXX = @CXX@
1279! # DEPDIR = @DEPDIR@
1280! # INSTALL_ARCHIVE = @INSTALL_ARCHIVE@
1281! # INSTALL_HTML = @INSTALL_HTML@
1282! # INSTALL_PS = @INSTALL_PS@
1283! # INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
1284! # PACKAGE = @PACKAGE@
1285!
1286! # PDF_DOCS = intro.book.pdf coding.book.pdf essays.book.pdf ref.book.pdf \
1287! # refprog.book.pdf Algo.book.pdf
1288!
1289!
1290! # PS_DOCS = intro.book.ps coding.book.ps essays.book.ps ref.book.ps \
1291! # refprog.book.ps Algo.book.ps
1292!
1293! # RELEASE = @RELEASE@
1294! # SCRIPTS_DAT = @SCRIPTS_DAT@
1295! # STRIP = @STRIP@
1296! # VERSION = @VERSION@
1297! # am__include = @am__include@
1298! # am__quote = @am__quote@
1299! # have_dvips = @have_dvips@
1300! # have_gzip = @have_gzip@
1301! # have_latex = @have_latex@
1302! # have_makeindex = @have_makeindex@
1303! # have_pdflatex = @have_pdflatex@
1304! # have_perl = @have_perl@
1305! # htmldir = @htmldir@
1306! # install_sh = @install_sh@
1307! # psdir = @psdir@
1308! # scriptdir = @scriptdir@
1309!
1310! # # newly compiled version of yacas in ../src (not necessarily under $(srcdir))
1311! # ouryacas = ../src/yacas --rootdir $(top_srcdir)/scripts/:../scripts/
1312!
1313! # noinst_PROGRAMS = manripper removeduplicates
1314!
1315! # manripper_SOURCES = manripper.cpp
1316!
1317! # removeduplicates_SOURCES = removeduplicates.cpp
1318!
1319! # bin_SCRIPTS = ytxt2tex
1320! # ytxt2tex_DEPS = book2TeX.sh book2TeX.ys txt2yacasdoc.pl
1321!
1322! # BOOKS = intro.book coding.book ref.book refprog.book essays.book \
1323! # Algo.book
1324!
1325!
1326! # BOOKSOURCES = intro.book.txt coding.book.txt ref.book.txt refprog.book.txt \
1327! # essays.book.txt Algo.book.txt
1328!
1329!
1330! # # refprog.html is not listed because it is generated together with ref.html
1331! # HTMLBOOKS = intromanual.html codingmanual.html essaysmanual.html refmanual.html refprogmanual.html \
1332! # Algomanual.html
1333!
1334!
1335! # INTROCHAPTERS = FDL.chapt cl-options.chapt config.chapt addons.chapt
1336!
1337! # INTROSOURCES = FDL.chapt.txt cl-options.chapt.txt config.chapt.txt addons.chapt.txt
1338!
1339! # ALGOCHAPTERS = algo-basic.chapt algo-numapprox.chapt \
1340! # algorithms-elemfunc.chapt algorithms-specfunc.chapt \
1341! # algorithms-numtheory.chapt algorithms-integration.chapt \
1342! # algorithms-multivar.chapt SturmSequences.chapt FDL.chapt \
1343! # algo-refs.chapt algo-contfrac.chapt algorithms-transforms.chapt
1344!
1345!
1346! # ALGOSOURCES = algo-basic.chapt.txt algo-numapprox.chapt.txt \
1347! # algorithms-elemfunc.chapt.txt algorithms-specfunc.chapt.txt \
1348! # algorithms-numtheory.chapt.txt algorithms-integration.chapt.txt \
1349! # algorithms-multivar.chapt.txt SturmSequences.chapt.txt FDL.chapt.txt \
1350! # algo-refs.chapt.txt algo-contfrac.chapt.txt algorithms-transforms.chapt.txt
1351!
1352!
1353! # REFCHAPTERS = arith.chapt calc.chapt complex.chapt solvers.chapt simplify.chapt ode.chapt linalg.chapt \
1354! # univar.chapt lists.chapt functional.chapt controlflow.chapt \
1355! # preds.chapt logic.chapt const.chapt vars.chapt io.chapt \
1356! # numtheory.chapt strings.chapt transforms.chapt cl-options.chapt \
1357! # probability-and-statistics.chapt FDL.chapt
1358!
1359!
1360! # REFSOURCES = arith.chapt.txt calc.chapt.txt complex.chapt.txt \
1361! # solvers.chapt.txt simplify.chapt.txt ode.chapt.txt \
1362! # linalg.chapt.txt univar.chapt.txt lists.chapt.txt cl-options.chapt.txt \
1363! # functional.chapt.txt controlflow.chapt.txt preds.chapt.txt \
1364! # logic.chapt.txt const.chapt.txt vars.chapt.txt io.chapt.txt \
1365! # numtheory.chapt.txt strings.chapt.txt transforms.chapt.txt \
1366! # probability-and-statistics.chapt.txt FDL.chapt.txt
1367!
1368!
1369! # REFPROGCHAPTERS = FDL.chapt glossary.chapt \
1370! # GPL.chapt numerics.chapt
1371!
1372! # # GPL.chapt has no .txt source
1373! # REFPROGSOURCES = FDL.chapt.txt glossary.chapt.txt \
1374! # numerics.chapt.txt
1375!
1376!
1377! # CODINGCHAPTERS = YacasDebugger.chapt FDL.chapt
1378! # CODINGSOURCES = YacasDebugger.chapt.txt FDL.chapt.txt
1379!
1380! # ESSAYCHAPTERS = ABIN-grammar.chapt \
1381! # SimpleTools.chapt CVS-Howto.chapt YacasDocs.chapt \
1382! # wester-1994.chapt new.chapt paper.chapt \
1383! # wordproblems.chapt FDL.chapt BuildSystem.chapt
1384!
1385!
1386! # ESSAYSOURCES = ABIN-grammar.chapt.txt \
1387! # SimpleTools.chapt.txt CVS-Howto.chapt.txt YacasDocs.chapt.txt \
1388! # paper.chapt.txt wester-1994.chapt.txt new.chapt.txt \
1389! # wordproblems.chapt.txt FDL.chapt.txt BuildSystem.chapt.txt
1390!
1391!
1392! # # Yacas test code extracted from the docs
1393! # TESTCODESNIPPETS = wester-1994.yts ref.book.yts refprog.book.yts
1394!
1395! # check_SCRIPTS = $(TESTCODESNIPPETS)
1396!
1397! # EXTRA_DIST = txt2example.pl book2txt.sh book2txt.ys \
1398! # book2xml.sh book2xml.ys \
1399! # book2ys.sh book2ys.ys ys2book.pl \
1400! # ytxt2tex $(ytxt2tex_DEPS) \
1401! # manualmaker indexmaker styleplain \
1402! # $(REFSOURCES) $(BOOKSOURCES) $(ESSAYSOURCES) $(CODINGSOURCES) \
1403! # $(INTROSOURCES) \
1404! # $(REFPROGSOURCES) $(ALGOSOURCES) \
1405! # dummies hints
1406!
1407!
1408!
1409! # # Stuff for automatic generation of Yacas books
1410! # SUFFIXES = .chapt.txt .chapt .book.tex .book.txt .book .tex .dvi .ps .pdf .ys
1411!
1412! # CLEANFILES = books.html *.tex *.dvi *.aux *.idx *.ind *.ilg *.toc *.log *.ps *.pdf *.funcs.js \
1413! # coding*.html intro*.html ref*.html essays*.html Algo*.html *.o core *~ texdocs.c \
1414! # $(REFCHAPTERS) $(ESSAYCHAPTERS) $(REFPROGCHAPTERS) $(CODINGCHAPTERS) \
1415! # $(TESTCODESNIPPETS) $(ALGOCHAPTERS) $(BOOKS) manicon.html
1416!
1417! # subdir = manmake
1418! # mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
1419! # CONFIG_HEADER = $(top_builddir)/config.h
1420! # CONFIG_CLEAN_FILES =
1421! # noinst_PROGRAMS = manripper$(EXEEXT) removeduplicates$(EXEEXT)
1422! # PROGRAMS = $(noinst_PROGRAMS)
1423!
1424! # am_manripper_OBJECTS = manripper.$(OBJEXT)
1425! # manripper_OBJECTS = $(am_manripper_OBJECTS)
1426! # manripper_LDADD = $(LDADD)
1427! # manripper_DEPENDENCIES =
1428! # manripper_LDFLAGS =
1429! # am_removeduplicates_OBJECTS = removeduplicates.$(OBJEXT)
1430! # removeduplicates_OBJECTS = $(am_removeduplicates_OBJECTS)
1431! # removeduplicates_LDADD = $(LDADD)
1432! # removeduplicates_DEPENDENCIES =
1433! # removeduplicates_LDFLAGS =
1434! # SCRIPTS = $(bin_SCRIPTS)
1435!
1436!
1437! # DEFS = @DEFS@
1438! # DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
1439! # CPPFLAGS = @CPPFLAGS@
1440! # LDFLAGS = @LDFLAGS@
1441! # LIBS = @LIBS@
1442! # depcomp = $(SHELL) $(top_srcdir)/depcomp
1443! # am__depfiles_maybe = depfiles
1444! # @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/manripper.Po \
1445! # @AMDEP_TRUE@ ./$(DEPDIR)/removeduplicates.Po
1446! # CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
1447! # $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
1448! # CXXLD = $(CXX)
1449! # CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
1450! # -o $@
1451! # CXXFLAGS = @CXXFLAGS@
1452! # CFLAGS = @CFLAGS@
1453! # COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
1454! # $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
1455! # CCLD = $(CC)
1456! # LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
1457! # DIST_SOURCES = $(manripper_SOURCES) $(removeduplicates_SOURCES)
1458! # DIST_COMMON = README Makefile.am Makefile.in
1459! # SOURCES = $(manripper_SOURCES) $(removeduplicates_SOURCES)
1460!
1461! # all: all-am
1462!
1463! # .SUFFIXES:
1464! # .SUFFIXES: .chapt.txt .chapt .book.tex .book.txt .book .tex .dvi .ps .pdf .ys .cpp .o .obj .yts
1465! # $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
1466! # cd $(top_srcdir) && \
1467! # $(AUTOMAKE) --gnu manmake/Makefile
1468! # Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
1469! # cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
1470!
1471! # clean-noinstPROGRAMS:
1472! # -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
1473! # manripper$(EXEEXT): $(manripper_OBJECTS) $(manripper_DEPENDENCIES)
1474! # @rm -f manripper$(EXEEXT)
1475! # $(CXXLINK) $(manripper_LDFLAGS) $(manripper_OBJECTS) $(manripper_LDADD) $(LIBS)
1476! # removeduplicates$(EXEEXT): $(removeduplicates_OBJECTS) $(removeduplicates_DEPENDENCIES)
1477! # @rm -f removeduplicates$(EXEEXT)
1478! # $(CXXLINK) $(removeduplicates_LDFLAGS) $(removeduplicates_OBJECTS) $(removeduplicates_LDADD) $(LIBS)
1479! # binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
1480! # install-binSCRIPTS: $(bin_SCRIPTS)
1481! # @$(NORMAL_INSTALL)
1482! # $(mkinstalldirs) $(DESTDIR)$(bindir)
1483! # @list='$(bin_SCRIPTS)'; for p in $$list; do \
1484! # if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1485! # if test -f $$d$$p; then \
1486! # f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
1487! # echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
1488! # $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
1489! # else :; fi; \
1490! # done
1491!
1492! # uninstall-binSCRIPTS:
1493! # @$(NORMAL_UNINSTALL)
1494! # @list='$(bin_SCRIPTS)'; for p in $$list; do \
1495! # f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
1496! # echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
1497! # rm -f $(DESTDIR)$(bindir)/$$f; \
1498! # done
1499!
1500! # mostlyclean-compile:
1501! # -rm -f *.$(OBJEXT) core *.core
1502!
1503! # distclean-compile:
1504! # -rm -f *.tab.c
1505!
1506! # @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/manripper.Po@am__quote@
1507! # @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/removeduplicates.Po@am__quote@
1508!
1509! # distclean-depend:
1510! # -rm -rf ./$(DEPDIR)
1511!
1512! # .cpp.o:
1513! # @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1514! # @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
1515! # @AMDEP_TRUE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1516! # $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
1517!
1518! # .cpp.obj:
1519! # @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1520! # @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
1521! # @AMDEP_TRUE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1522! # $(CXXCOMPILE) -c -o $@ `cygpath -w $<`
1523! # CXXDEPMODE = @CXXDEPMODE@
1524! # uninstall-info-am:
1525!
1526! # ETAGS = etags
1527! # ETAGSFLAGS =
1528!
1529! # tags: TAGS
1530!
1531! # ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
1532! # list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1533! # unique=`for i in $$list; do \
1534! # if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1535! # done | \
1536! # $(AWK) ' { files[$$0] = 1; } \
1537! # END { for (i in files) print i; }'`; \
1538! # mkid -fID $$unique
1539!
1540! # TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
1541! # $(TAGS_FILES) $(LISP)
1542! # tags=; \
1543! # here=`pwd`; \
1544! # list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1545! # unique=`for i in $$list; do \
1546! # if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1547! # done | \
1548! # $(AWK) ' { files[$$0] = 1; } \
1549! # END { for (i in files) print i; }'`; \
1550! # test -z "$(ETAGS_ARGS)$$tags$$unique" \
1551! # || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1552! # $$tags $$unique
1553!
1554! # GTAGS:
1555! # here=`$(am__cd) $(top_builddir) && pwd` \
1556! # && cd $(top_srcdir) \
1557! # && gtags -i $(GTAGS_ARGS) $$here
1558!
1559! # distclean-tags:
1560! # -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
1561! # DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
1562!
1563! # top_distdir = ..
1564! # distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
1565!
1566! # distdir: $(DISTFILES)
1567! # @list='$(DISTFILES)'; for file in $$list; do \
1568! # if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1569! # dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
1570! # if test "$$dir" != "$$file" && test "$$dir" != "."; then \
1571! # dir="/$$dir"; \
1572! # $(mkinstalldirs) "$(distdir)$$dir"; \
1573! # else \
1574! # dir=''; \
1575! # fi; \
1576! # if test -d $$d/$$file; then \
1577! # if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1578! # cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
1579! # fi; \
1580! # cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
1581! # else \
1582! # test -f $(distdir)/$$file \
1583! # || cp -p $$d/$$file $(distdir)/$$file \
1584! # || exit 1; \
1585! # fi; \
1586! # done
1587! # check-am: all-am
1588! # $(MAKE) $(AM_MAKEFLAGS) $(check_SCRIPTS)
1589! # check: check-am
1590! # all-am: Makefile $(PROGRAMS) $(SCRIPTS)
1591!
1592! # installdirs:
1593! # $(mkinstalldirs) $(DESTDIR)$(bindir)
1594!
1595! # install: install-am
1596! # install-exec: install-exec-am
1597! # install-data: install-data-am
1598! # uninstall: uninstall-am
1599!
1600! # install-am: all-am
1601! # @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1602!
1603! # installcheck: installcheck-am
1604! # install-strip:
1605! # $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1606! # INSTALL_STRIP_FLAG=-s \
1607! # `test -z '$(STRIP)' || \
1608! # echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1609! # mostlyclean-generic:
1610!
1611! # clean-generic:
1612! # -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1613!
1614! # distclean-generic:
1615! # -rm -f Makefile $(CONFIG_CLEAN_FILES)
1616!
1617! # maintainer-clean-generic:
1618! # @echo "This command is intended for maintainers to use"
1619! # @echo "it deletes files that may require special tools to rebuild."
1620! # clean: clean-am
1621!
1622! # clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
1623!
1624! # distclean: distclean-am
1625!
1626! # distclean-am: clean-am distclean-compile distclean-depend \
1627! # distclean-generic distclean-tags
1628!
1629! # dvi: dvi-am
1630!
1631! # dvi-am:
1632!
1633! # info: info-am
1634!
1635! # info-am:
1636!
1637! # install-data-am: install-data-local
1638!
1639! # install-exec-am: install-binSCRIPTS
1640!
1641! # install-info: install-info-am
1642!
1643! # install-man:
1644!
1645! # installcheck-am:
1646!
1647! # maintainer-clean: maintainer-clean-am
1648!
1649! # maintainer-clean-am: distclean-am maintainer-clean-generic
1650!
1651! # mostlyclean: mostlyclean-am
1652!
1653! # mostlyclean-am: mostlyclean-compile mostlyclean-generic
1654!
1655! # uninstall-am: uninstall-binSCRIPTS uninstall-info-am
1656!
1657! # .PHONY: GTAGS all all-am check check-am clean clean-generic \
1658! # clean-noinstPROGRAMS distclean distclean-compile \
1659! # distclean-depend distclean-generic distclean-tags distdir dvi \
1660! # dvi-am info info-am install install-am install-binSCRIPTS \
1661! # install-data install-data-am install-data-local install-exec \
1662! # install-exec-am install-info install-info-am install-man \
1663! # install-strip installcheck installcheck-am installdirs \
1664! # maintainer-clean maintainer-clean-generic mostlyclean \
1665! # mostlyclean-compile mostlyclean-generic tags uninstall \
1666! # uninstall-am uninstall-binSCRIPTS uninstall-info-am
1667!
1668!
1669! # # top target
1670! # all-am: @BOOKS_HTML@ @PS_DOCS@ @PDF_DOCS@ hints
1671!
1672! # hints: manripper removeduplicates $(REFSOURCES) $(REFPROGSOURCES) ref.book.txt refprog.book.txt
1673! # rm -f hints.unsorted
1674! # for file in ref.book.txt $(REFSOURCES) refprog.book.txt $(REFPROGSOURCES); do \
1675! # ./manripper $(srcdir)/"$$file" >> hints.unsorted ; done
1676! # sort -t ":" hints.unsorted > hints.sorted
1677! # ./removeduplicates hints.sorted hints.singlesorted
1678! # echo "::::" > tail.txt
1679! # cat hints.singlesorted tail.txt > hints
1680!
1681! # .chapt.txt.chapt:
1682! # perl $(srcdir)/txt2yacasdoc.pl < $< > $@
1683!
1684! # .book.txt.book:
1685! # perl $(srcdir)/txt2yacasdoc.pl < $< > $@
1686!
1687! # .book.book.tex:
1688! # sh $(srcdir)/book2TeX.sh -run "$(ouryacas)" $< $@
1689!
1690! # .tex.dvi:
1691! # latex $< > /dev/null
1692! # latex $< > /dev/null
1693! # # The perl filter is used to help the 'makeindex' command:
1694! # # 1) replace \verb|...| by \verb=...=
1695! # # 2) escape ()|@! using a preceding quote "
1696! # # Note that @ and ! are not always escaped because they are sometimes part of the index entry and sometimes control chars. Heuristics are used to guess correctly.
1697! # @perl -pe 's/(\\verb)\|([^|]*)\|/$$1=$$2=/g;s/([()|])/"$$1/g;if(/\@/){s/!/"!/g;};s/\@([^\\])/"\@$$1/g;'<$*.idx>$*.1.idx
1698! # @makeindex $*.1.idx -o $*.ind || echo "***Warning: a problem with 'makeindex'"
1699! # latex $< > /dev/null
1700!
1701! # .dvi.ps:
1702! # dvips -q -o $@ $<
1703! # @echo "***Documentation created:" $*.ps
1704!
1705! # .dvi.pdf:
1706! # pdflatex $* > /dev/null
1707! # @echo "***Documentation created:" $*.pdf
1708!
1709! # .chapt.ys:
1710! # sh $(srcdir)/book2ys.sh -run "$(ouryacas)" $< $@
1711!
1712! # .chapt.yts:
1713! # sh $(srcdir)/book2ys.sh -run "$(ouryacas)" $< $@
1714!
1715! # # generate test code from book sources
1716!
1717! # ref.book.yts: $(REFSOURCES) $(srcdir)/txt2example.pl
1718! # @echo "// tests for ref.book" > $@
1719! # for file in $(REFSOURCES); do perl $(srcdir)/txt2example.pl $(srcdir)/$$file >> $@; done
1720!
1721! # refprog.book.yts: $(REFPROGSOURCES) $(srcdir)/txt2example.pl
1722! # @echo "// tests for refprog.book" > $@
1723! # for file in $(REFPROGSOURCES); do perl $(srcdir)/txt2example.pl $(srcdir)/$$file >> $@; done
1724!
1725! # # specify books that need chapters
1726! # essays.book.tex: essays.book $(ESSAYCHAPTERS)
1727! # ref.book.tex : ref.book $(REFCHAPTERS)
1728! # refprog.book.tex : refprog.book $(REFPROGCHAPTERS)
1729! # coding.book.tex : coding.book $(CODINGCHAPTERS)
1730! # intro.book.tex: intro.book $(INTROCHAPTERS)
1731! # Algo.book.tex: Algo.book $(ALGOCHAPTERS)
1732!
1733! # # special "virtual" chapter built from corefunctions.h. This is printed by a special program "gencorefunctions", compiled together with yacas.
1734!
1735! # # special chapter copied from the GPL (need to replace "<" and ">")
1736! # GPL.chapt: $(top_srcdir)/COPYING
1737! # cat $(top_srcdir)/COPYING | sed -e 's,<,{<},g;s,>,{>},g;' | perl $(srcdir)/txt2yacasdoc.pl > $@
1738!
1739! # ps-docs: $(PS_DOCS)
1740! # pdf-docs: $(PDF_DOCS)
1741!
1742! # # The top HTML docs target is now "manicon.html" that is built by GenerateIndex().
1743! # # The dependence on $(HTMLBOOKS) is only to make sure that all HTML docs
1744! # # are built - in fact manicon.html is a constant file and has no dependencies.
1745! # manicon.html: books.html $(HTMLBOOKS)
1746!
1747! # # books.html only depends on top book files (*.book.txt).
1748! # books.html: $(BOOKS) $(srcdir)/indexmaker $(srcdir)/styleplain
1749! # -echo '[DefaultDirectory("$(srcdir)/"); Use("indexmaker"); GenerateIndex();];' | $(ouryacas) -fpc
1750!
1751! # intromanual.html : intro.book $(INTROCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1752! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("intro");];' | $(ouryacas) -fpc
1753!
1754! # codingmanual.html : coding.book $(CODINGCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1755! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("coding");];' | $(ouryacas) -fpc
1756!
1757! # essaysmanual.html : essays.book $(ESSAYCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1758! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("essays");];' | $(ouryacas) -fpc
1759!
1760! # refmanual.html : ref.book $(REFCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1761! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("ref");];' | $(ouryacas) -fpc
1762!
1763! # refprogmanual.html : ref.book $(REFCHAPTERS) refprog.book $(REFPROGCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1764! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("refprog");];' | $(ouryacas) -fpc
1765!
1766! # Algomanual.html : Algo.book $(ALGOCHAPTERS) $(srcdir)/manualmaker $(srcdir)/styleplain
1767! # -@echo '[DefaultDirectory("$(srcdir)/"); Use("manualmaker"); GenerateBook("Algo");];' | $(ouryacas) -fpc
1768!
1769! # install-data-local: @INSTALL_HTML@ @INSTALL_PS@ install-scripts install-hints
1770!
1771! # install-hints: hints
1772! # $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/documentation
1773! # $(INSTALL_DATA) hints $(DESTDIR)$(pkgdatadir)/documentation/hints
1774!
1775! # install-scripts: $(ytxt2tex_DEPS)
1776! # $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/manmake/
1777! # -for file in $(ytxt2tex_DEPS); do \
1778! # $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(pkgdatadir)/manmake/$$file; \
1779! # done
1780!
1781! # install-html: books.html
1782! # $(mkinstalldirs) $(DESTDIR)$(htmldir)/
1783! # $(INSTALL_DATA) $(top_srcdir)/docs/yacaslogo.gif $(DESTDIR)$(htmldir)/
1784! # -for file in *.html; do \
1785! # $(INSTALL_DATA) $$file $(DESTDIR)$(htmldir)/$$file; \
1786! # done
1787!
1788! # install-ps: ps-docs
1789! # $(mkinstalldirs) $(DESTDIR)$(psdir)/
1790! # -for file in $(PS_DOCS); do \
1791! # $(INSTALL_DATA) $$file $(DESTDIR)$(psdir)/$$file; \
1792! # done
1793!
1794! # # gzip $(DESTDIR)$(psdir)/$$file;
1795! # # Tell versions [3.59,3.63) of GNU make to not export all variables.
1796! # # Otherwise a system limit (for SysV at least) may be exceeded.
1797! # .NOEXPORT:
1798diff -crB yacas-1.2.2old/src/Makefile.in yacas-1.2.2new/src/Makefile.in
1799*** yacas-1.2.2old/src/Makefile.in 2007-09-27 15:24:38.000000000 +0200
1800--- yacas-1.2.2new/src/Makefile.in 2010-05-01 00:08:09.000000000 +0200
1801***************
1802*** 597,603 ****
1803  $(srcdir)/platmath.cpp: fastprimes.c
1804
1805  fastprimes.c: mkfastprimes
1806! ./mkfastprimes > fastprimes.c
1807
1808  clean-compile:
1809      test -z "libyacasplatform.a" || rm -rf libyacasplatform.a
1810--- 597,603 ----
1811  $(srcdir)/platmath.cpp: fastprimes.c
1812
1813  fastprimes.c: mkfastprimes
1814! /tmp/mkfastprimes > fastprimes.c
1815
1816  clean-compile:
1817      test -z "libyacasplatform.a" || rm -rf libyacasplatform.a

Archive Download the corresponding diff file



interactive