2010-06-23 Miguel de Icaza <miguel@novell.com>
[mono.git] / mono / mini / Makefile.am
1 count=100000
2 mtest=for_loop
3 monodir=$(top_builddir)
4
5 # This is needed for automake dependency generation
6 if INCLUDED_LIBGC
7 libgc_libs=$(monodir)/libgc/libmonogc.la
8 libgc_static_libs=$(monodir)/libgc/libmonogc-static.la
9 else
10 libgc_libs=$(LIBGC_LIBS)
11 libgc_static_libs=$(LIBGC_STATIC_LIBS)
12 endif
13
14 libs=   \
15         $(monodir)/mono/metadata/libmonoruntime.la      \
16         $(monodir)/mono/io-layer/libwapi.la     \
17         $(monodir)/mono/utils/libmonoutils.la \
18         $(GLIB_LIBS)    \
19         $(libgc_libs)
20
21 static_libs=    \
22         $(monodir)/mono/metadata/libmonoruntime-static.la       \
23         $(monodir)/mono/io-layer/libwapi.la     \
24         $(monodir)/mono/utils/libmonoutils.la \
25         $(GLIB_LIBS)    \
26         $(libgc_static_libs)
27
28 CLASS=$(mcs_topdir)/class/lib/net_2_0
29
30 RUNTIME = MONO_PATH=$(CLASS) $(top_builddir)/runtime/mono-wrapper
31 RUNTIME_AOTCHECK = MONO_PATH=$(CLASS):. $(top_builddir)/runtime/mono-wrapper
32
33 MCS = $(RUNTIME) $(CLASS)/gmcs.exe -unsafe -nowarn:0162
34 ILASM = $(RUNTIME) $(CLASS)/ilasm.exe
35
36 AM_CFLAGS = \
37         -I$(top_srcdir)         \
38         $(GLIB_CFLAGS)          \
39         $(LLVM_CFLAGS)          \
40         $(PLATFORM_CFLAGS) $(ARCH_CFLAGS)
41
42 AM_CXXFLAGS = $(LLVM_CXXFLAGS) $(GLIB_CFLAGS)
43
44 if HOST_WIN32
45 export HOST_CC
46 # The mingw math.h has "extern inline" functions that dont appear in libs, so
47 # optimisation is required to actually inline them
48 PLATFORM_CFLAGS = -O
49 endif
50
51 # hack for automake to have the same source file in a library and a bin
52 genmdesc_CFLAGS = $(AM_CFLAGS)
53
54 if NO_VERSION_SCRIPT
55 monoldflags=$(export_ldflags)
56 monobinldflags=$(export_ldflags)
57 else
58 monoldflags=-Wl,-version-script=$(srcdir)/ldscript $(export_ldflags)
59 monobinldflags=-Wl,-version-script=$(srcdir)/ldscript.mono $(export_ldflags)
60 endif
61
62 if HOST_WIN32
63 libmono_2_0_la_LDFLAGS=-no-undefined -avoid-version -Wl,--kill-at $(monoldflags)
64 else
65 libmono_2_0_la_LDFLAGS=$(monoldflags) -version-info 1:0:0
66 endif
67
68 if JIT_SUPPORTED
69
70 if HOST_WIN32
71 bin_PROGRAMS = mono monow
72 else
73 bin_PROGRAMS = mono
74 endif
75
76 noinst_PROGRAMS = genmdesc
77
78 lib_LTLIBRARIES = libmono-2.0.la
79 noinst_LTLIBRARIES = libmono-static.la
80
81 if MOONLIGHT
82 noinst_LTLIBRARIES += libmono-moon.la
83 endif
84
85 endif
86
87 mono_SOURCES = \
88         main.c
89
90 mono_CFLAGS = $(AM_CFLAGS) $(BOEHM_DEFINES) $(LIBGC_CFLAGS)
91
92 # We build this after libmono was built so it contains the date when the final
93 # link was done
94 buildver.h: libmono-static.la
95         @echo "const char *build_date = \"`date`\";" > buildver.h
96
97 main.$(OBJEXT): buildver.h
98
99 if DTRACE_G_REQUIRED
100 LIBMONO_DTRACE_OBJECT = .libs/mono-dtrace.$(OBJEXT)
101 if STATIC_MONO
102 MONO_DTRACE_OBJECT = mono-dtrace.$(OBJEXT)
103 else
104 MONO_DTRACE_OBJECT = 
105 endif
106 else
107 MONO_DTRACE_OBJECT = 
108 LIBMONO_DTRACE_OBJECT = 
109 endif
110
111 if STATIC_MONO
112 # Link libmono into mono statically
113 # This leads to higher performance, especially with TLS
114 MONO_LIB=libmono-static.la
115 else 
116 MONO_LIB=libmono-2.0.la
117 endif
118
119 mono_LDADD = \
120         $(MONO_LIB)                     \
121         $(GLIB_LIBS)            \
122         $(LLVM_LIBS)            \
123         -lm     \
124         $(MONO_DTRACE_OBJECT) \
125         $(LLVM_LDFLAGS)
126
127 mono_LDFLAGS = \
128         $(static_flags) -export-dynamic $(monobinldflags) $(monobin_platform_ldflags)
129
130 if DTRACE_G_REQUIRED
131
132 mono-dtrace.$(OBJEXT): $(top_srcdir)/data/mono.d mini.lo $(monodir)/mono/metadata/libmonoruntime-static.la
133         DTRACE="$(DTRACE)" DTRACEFLAGS="$(DTRACEFLAGS)" AR="$(AR)" $(SHELL) $(top_srcdir)/data/dtrace-prelink.sh \
134         $@ $(top_srcdir)/data/mono.d $(monodir)/mono/metadata/libmonoruntime-static.la mini.lo
135
136 .libs/mono-dtrace.$(OBJEXT): $(top_srcdir)/data/mono.d mini.lo $(monodir)/mono/metadata/libmonoruntime.la
137         DTRACE="$(DTRACE)" DTRACEFLAGS="$(DTRACEFLAGS)" AR="$(AR)" $(SHELL) $(top_srcdir)/data/dtrace-prelink.sh \
138         --pic $@ $(top_srcdir)/data/mono.d $(monodir)/mono/metadata/libmonoruntime.la mini.lo
139
140 endif
141
142 # Create monow.exe, linked for the 'windows' subsystem
143 if HOST_WIN32
144 monow_LDADD = $(mono_LDADD)
145 monow_LDFLAGS = $(mono_LDFLAGS) -mwindows
146 monow_SOURCES = $(mono_SOURCES)
147 endif
148
149 genmdesc_SOURCES = \
150         mini.h          \
151         genmdesc.c      \
152         helpers.c       \
153         ../metadata/opcodes.c
154
155 # Don't link this against libmonoruntime to speed up rebuilds
156 genmdesc_LDADD = \
157         $(monodir)/mono/utils/libmonoutils.la -lm       \
158         $(GLIB_LIBS)
159
160 x86_sources = \
161         mini-x86.c              \
162         mini-x86.h              \
163         exceptions-x86.c        \
164         tramp-x86.c
165
166 amd64_sources = \
167         mini-amd64.c            \
168         mini-amd64.h            \
169         exceptions-amd64.c      \
170         tramp-amd64.c
171
172 ppc_sources = \
173         mini-ppc.c              \
174         mini-ppc.h              \
175         exceptions-ppc.c        \
176         tramp-ppc.c
177
178 arm_sources = \
179         mini-arm.c              \
180         mini-arm.h              \
181         exceptions-arm.c        \
182         tramp-arm.c
183
184 mips_sources = \
185         mini-mips.c             \
186         mini-mips.h             \
187         exceptions-mips.c       \
188         tramp-mips.c
189
190 sparc_sources = \
191         mini-sparc.c            \
192         mini-sparc.h            \
193         exceptions-sparc.c      \
194         tramp-sparc.c
195
196 s390_sources = \
197         mini-s390.c             \
198         mini-s390.h             \
199         exceptions-s390.c       \
200         tramp-s390.c
201
202 s390x_sources = \
203         mini-s390x.c            \
204         mini-s390x.h            \
205         exceptions-s390x.c      \
206         tramp-s390x.c
207
208 ia64_sources = \
209         mini-ia64.c             \
210         mini-ia64.h             \
211         exceptions-ia64.c       \
212         tramp-ia64.c
213
214 alpha_sources = \
215         mini-alpha.c            \
216         mini-alpha.h            \
217         exceptions-alpha.c      \
218         tramp-alpha.c
219
220 hppa_sources = \
221         mini-hppa.c             \
222         mini-hppa.h             \
223         exceptions-hppa.c       \
224         tramp-hppa.c
225
226 darwin_sources = \
227         mini-darwin.c
228
229 windows_sources = \
230         mini-windows.c
231
232 posix_sources = \
233         mini-posix.c
234
235 if ENABLE_LLVM
236 llvm_sources = \
237         mini-llvm.c             \
238         mini-llvm-cpp.cpp
239 endif
240
241 common_sources = \
242         mini.c                  \
243         ir-emit.h               \
244         method-to-ir.c          \
245         decompose.c             \
246         mini.h                  \
247         version.h               \
248         optflags-def.h          \
249         jit-icalls.h            \
250         jit-icalls.c            \
251         trace.c                 \
252         trace.h                 \
253         patch-info.h            \
254         mini-ops.h              \
255         mini-arch.h             \
256         dominators.c            \
257         cfold.c                 \
258         regalloc.c              \
259         regalloc.h              \
260         helpers.c               \
261         liveness.c              \
262         ssa.c                   \
263         abcremoval.c            \
264         abcremoval.h            \
265         ssapre.c                \
266         ssapre.h                \
267         local-propagation.c     \
268         driver.c                \
269         debug-mini.c            \
270         debug-mini.h            \
271         linear-scan.c           \
272         aot-compiler.c          \
273         aot-runtime.c           \
274         graph.c                 \
275         mini-codegen.c          \
276         mini-exceptions.c       \
277         mini-trampolines.c      \
278         declsec.c               \
279         declsec.h               \
280         wapihandles.c           \
281         branch-opts.c           \
282         mini-generic-sharing.c  \
283         regalloc2.c             \
284         simd-methods.h          \
285         tasklets.c              \
286         tasklets.h              \
287         simd-intrinsics.c       \
288         mini-unwind.h           \
289         unwind.c                \
290         image-writer.h          \
291         image-writer.c          \
292         dwarfwriter.h           \
293         dwarfwriter.c           \
294         mini-gc.h               \
295         mini-gc.c               \
296         debugger-agent.h        \
297         debugger-agent.c        \
298         debug-debugger.c        \
299         debug-debugger.h        \
300         xdebug.c
301
302 test_sources =                  \
303         basic-calls.cs          \
304         basic-long.cs           \
305         bench.cs                \
306         objects.cs              \
307         arrays.cs               \
308         basic-float.cs          \
309         basic-math.cs           \
310         basic.cs                \
311         exceptions.cs           \
312         devirtualization.cs     \
313         iltests.il.in           \
314         test.cs                 \
315         generics.cs             \
316         generics-variant-types.il\
317         basic-simd.cs
318
319 regtests=basic.exe basic-float.exe basic-long.exe basic-calls.exe objects.exe arrays.exe basic-math.exe exceptions.exe iltests.exe devirtualization.exe generics.exe basic-simd.exe
320
321 if X86
322 if PLATFORM_DARWIN
323 mdb_x86 = mdb-debug-info32-darwin.S
324 else
325 mdb_x86 = mdb-debug-info32.S
326 endif
327 arch_sources = $(x86_sources) $(mdb_x86)
328 arch_built=cpu-x86.h
329 arch_define=__i386__
330 endif
331
332 if AMD64
333 arch_sources = $(amd64_sources) mdb-debug-info64.S
334 arch_built=cpu-amd64.h
335 arch_define=__x86_64__
336 endif
337
338 if POWERPC
339 arch_sources = $(ppc_sources)
340 arch_built=cpu-ppc.h
341 arch_define=__ppc__
342 endif
343
344 if POWERPC64
345 arch_sources = $(ppc_sources)
346 arch_built=cpu-ppc64.h
347 arch_define=__ppc64__
348 endif
349
350 if MIPS
351 arch_sources = $(mips_sources)
352 arch_built=cpu-mips.h
353 arch_define=__mips__
354 endif
355
356 if ARM
357 # pick up arm_dpimacros.h and arm_fpamacros.h
358 ARCH_CFLAGS = -I../arch/arm
359 arch_sources = $(arm_sources)
360 arch_built=cpu-arm.h
361 arch_define=__arm__
362 endif
363
364 if SPARC
365 arch_sources = $(sparc_sources)
366 arch_built=cpu-sparc.h
367 arch_define=__sparc__
368 endif
369
370 if SPARC64
371 arch_sources = $(sparc_sources)
372 arch_built=cpu-sparc.h
373 arch_define=__sparc__
374 endif
375
376 if S390
377 arch_sources = $(s390_sources)
378 arch_built=cpu-s390.h
379 arch_define=__s390__
380 endif
381
382 if S390x
383 arch_sources = $(s390x_sources)
384 arch_built=cpu-s390x.h
385 arch_define=__s390__
386 endif
387
388 if IA64
389 arch_sources = $(ia64_sources)
390 arch_built = cpu-ia64.h
391 arch_define=__ia64__
392 endif
393
394 if ALPHA
395 arch_sources = $(alpha_sources) $(mono_debugger_sources)
396 arch_built = cpu-alpha.h
397 arch_define=__alpha__
398 endif
399
400 if HPPA
401 # Only support 32-bit targets for now
402 arch_sources = $(hppa_sources)
403 arch_built = cpu-hppa.h
404 arch_define=__hppa__
405 endif
406
407 if HOST_WIN32
408 os_sources = $(windows_sources)
409 monobin_platform_ldflags=
410 endif
411
412 if PLATFORM_SIGPOSIX
413 os_sources = $(posix_sources)
414 monobin_platform_ldflags=
415 endif
416
417 if PLATFORM_DARWIN
418 os_sources = $(darwin_sources) $(posix_sources)
419 #monobin_platform_ldflags=-sectcreate __TEXT __info_plist $(top_srcdir)/mono/mini/Info.plist -framework CoreFoundation
420 monobin_platform_ldflags=-framework CoreFoundation
421 endif
422
423 libmono_2_0_la_SOURCES = $(common_sources) $(llvm_sources) $(arch_sources) $(os_sources)
424 libmono_2_0_la_CFLAGS = $(AM_CFLAGS) $(BOEHM_DEFINES) $(LIBGC_CFLAGS)
425
426 if MOONLIGHT
427 libmono_moon_la_SOURCES = $(libmono_2_0_la_SOURCES)
428 libmono_moon_la_CFLAGS = $(AM_CFLAGS) $(BOEHM_DEFINES) $(LIBGC_CFLAGS)
429 endif
430
431 libmono_static_la_SOURCES = $(libmono_2_0_la_SOURCES)
432 libmono_static_la_CFLAGS = $(AM_CFLAGS) $(BOEHM_DEFINES) $(LIBGC_CFLAGS)
433 libmono_static_la_LDFLAGS = -static
434 libmono_static_la_LIBADD = $(static_libs) $(MONO_DTRACE_OBJECT)
435
436 nodist_libmono_static_la_SOURCES = $(nodist_libmono_la_SOURCES)
437 nodist_libmono_static_la_CFLAGS = $(AM_CFLAGS) $(BOEHM_DEFINES) $(LIBGC_CFLAGS)
438
439 BURGSRC= $(common_BURGSRC) $(arch_BURGSRC)
440
441 libmonoincludedir = $(includedir)/mono-$(API_VER)/mono/jit
442
443 libmonoinclude_HEADERS = jit.h
444
445 libmono_2_0_la_LIBADD = \
446         $(libs) $(LIBMONO_DTRACE_OBJECT)
447
448 if MOONLIGHT
449 libmono_moon_la_LIBADD = $(libmono_2_0_la_LIBADD)
450 endif
451
452 basic-simd.exe: basic-simd.cs
453         $(MCS) -out:$@ $< -r:TestDriver.dll -r:Mono.Simd.dll
454
455 generics.exe: generics.cs TestDriver.dll generics-variant-types.dll
456         $(MCS) -out:$@ $< -r:TestDriver.dll -r:generics-variant-types.dll
457
458 %.exe: %.cs TestDriver.dll
459         $(MCS) -out:$@ -unsafe $< -r:TestDriver.dll
460
461 iltests.il: iltests.il.in Makefile.am
462         echo '// DO NOT EDIT: This file has been generated from iltests.il.in' > iltests.il
463         cpp -Darch=$(arch_define) < $(srcdir)/iltests.il.in | sed 's/^#.*//' >> iltests.il
464
465 %.exe: %.il
466         $(ILASM) -output=$@ $<
467
468 TestDriver.dll: $(srcdir)/TestDriver.cs
469         $(MCS) -out:$@ -target:library $<
470
471 generics-variant-types.dll: generics-variant-types.il
472         $(ILASM) -dll -output=$@ $<
473
474 # we don't always use the perl impl because it's an additional
475 # build dependency for the poor windows users
476 # $(arch_define) is the preprocessor symbol that enables all the opcodes
477 # for the specific platform in mini-ops.h
478 if CROSS_COMPILING
479 GENMDESC_PRG=perl $(srcdir)/genmdesc.pl $(arch_define) $(srcdir)
480 else !CROSS_COMPILING
481 GENMDESC_PRG=./genmdesc
482 endif !CROSS_COMPILING
483
484 cpu-x86.h: cpu-x86.md genmdesc$(EXEEXT)
485         $(GENMDESC_PRG) cpu-x86.h x86_desc $(srcdir)/cpu-x86.md
486
487 cpu-amd64.h: cpu-amd64.md genmdesc$(EXEEXT)
488         $(GENMDESC_PRG) cpu-amd64.h amd64_desc $(srcdir)/cpu-amd64.md
489
490 cpu-ppc.h: cpu-ppc.md genmdesc$(EXEEXT)
491         $(GENMDESC_PRG) cpu-ppc.h ppcg4 $(srcdir)/cpu-ppc.md
492
493 cpu-ppc64.h: cpu-ppc64.md genmdesc$(EXEEXT)
494         $(GENMDESC_PRG) cpu-ppc64.h ppc64_cpu_desc $(srcdir)/cpu-ppc64.md
495
496 cpu-arm.h: cpu-arm.md genmdesc$(EXEEXT)
497         $(GENMDESC_PRG) cpu-arm.h arm_cpu_desc $(srcdir)/cpu-arm.md
498
499 cpu-sparc.h: cpu-sparc.md genmdesc$(EXEEXT)
500         $(GENMDESC_PRG) cpu-sparc.h sparc_desc $(srcdir)/cpu-sparc.md
501
502 cpu-s390.h: cpu-s390.md genmdesc$(EXEEXT)
503         $(GENMDESC_PRG) cpu-s390.h s390_cpu_desc $(srcdir)/cpu-s390.md
504
505 cpu-s390x.h: cpu-s390x.md genmdesc$(EXEEXT)
506         $(GENMDESC_PRG) cpu-s390x.h s390x_cpu_desc $(srcdir)/cpu-s390x.md
507
508 cpu-ia64.h: cpu-ia64.md genmdesc$(EXEEXT)
509         $(GENMDESC_PRG) cpu-ia64.h ia64_desc $(srcdir)/cpu-ia64.md
510
511 cpu-alpha.h: cpu-alpha.md genmdesc$(EXEEXT)
512         $(GENMDESC_PRG) cpu-alpha.h alpha_desc $(srcdir)/cpu-alpha.md
513
514 cpu-hppa.h: cpu-hppa.md genmdesc$(EXEEXT)
515         $(GENMDESC_PRG) cpu-hppa.h hppa_desc $(srcdir)/cpu-hppa.md
516
517 cpu-mips.h: cpu-mips.md genmdesc$(EXEEXT)
518         $(GENMDESC_PRG) cpu-mips.h mips_desc $(srcdir)/cpu-mips.md
519
520 testi: mono test.exe
521         $(RUNTIME) -v -v --ncompile 1 --compile Test:$(mtest) test.exe
522
523 # ensure the tests are actually correct
524 checktests: $(regtests)
525         for i in $(regtests); do $(RUNTIME) $$i; done
526
527 rcheck: mono $(regtests)
528         $(RUNTIME) --regression $(regtests)
529
530 aotcheck: mono $(regtests)
531         rm -f *.exe.so
532         $(RUNTIME) --aot $(regtests) || exit 1
533         for i in $(regtests); do $(RUNTIME_AOTCHECK) --regression $$i || exit 1; done
534         rm -f *.exe.so
535
536 # This currently only works on amd64/arm
537 fullaotcheck: mono $(regtests)
538         rm -rf fullaot-tmp
539         mkdir fullaot-tmp
540         cp $(CLASS)/mscorlib.dll $(CLASS)/System.Core.dll $(CLASS)/System.dll $(CLASS)/Mono.Posix.dll $(CLASS)/System.Configuration.dll $(CLASS)/System.Security.dll $(CLASS)/System.Xml.dll $(CLASS)/Mono.Security.dll $(CLASS)/Mono.Simd.dll $(regtests) generics-variant-types.dll TestDriver.dll fullaot-tmp/
541         cp $(regtests) fullaot-tmp/
542         MONO_PATH=fullaot-tmp $(top_builddir)/runtime/mono-wrapper --aot=full fullaot-tmp/* || exit 1
543         for i in $(regtests); do echo $$i; MONO_PATH=fullaot-tmp $(top_builddir)/runtime/mono-wrapper --full-aot fullaot-tmp/$$i --exclude '!FULLAOT' || exit 1; done
544
545 bench: mono test.exe
546         time env $(RUNTIME) --ncompile $(count) --compile Test:$(mtest) test.exe
547
548 mbench: test.exe
549         time $(monodir)/mono/jit/mono --ncompile $(count) --compile Test:$(mtest) test.exe
550
551 stat1: mono bench.exe
552         $(RUNTIME) --verbose --statfile stats.pl --regression bench.exe
553         perl viewstat.pl stats.pl
554
555 stat2: mono basic.exe
556         $(RUNTIME) --verbose --statfile stats.pl --regression basic.exe
557         perl viewstat.pl -e stats.pl
558
559 stat3: mono bench.exe
560         $(RUNTIME) --statfile stats.pl --ncompile 1000 --compile Tests:test_0_many_nested_loops bench.exe 
561         perl viewstat.pl stats.pl
562
563 docu: mini.sgm
564         docbook2txt mini.sgm
565
566 check-local: rcheck
567
568 clean-local:
569         rm -f mono a.out gmon.out *.o buildver.h test.exe
570
571 pkgconfigdir = $(libdir)/pkgconfig
572
573 if JIT_SUPPORTED
574 BUILT_SOURCES = version.h $(arch_built)
575 else
576 BUILT_SOURCES = version.h
577 endif
578
579 CLEANFILES= $(BUILT_SOURCES) *.exe *.dll
580 EXTRA_DIST = $(common_BURGSRC) TestDriver.cs ldscript ldscript.mono \
581         genmdesc.pl                             \
582         $(test_sources)                         \
583         $(x86_sources) cpu-x86.md               \
584         $(amd64_sources) cpu-amd64.md           \
585         $(ppc_sources) cpu-ppc.md cpu-ppc64.md  \
586         $(arm_sources) cpu-arm.md               \
587         $(mips_sources) cpu-mips.md             \
588         $(sparc_sources) cpu-sparc.md           \
589         $(s390_sources) cpu-s390.md             \
590         $(s390x_sources) cpu-s390x.md           \
591         $(ia64_sources) cpu-ia64.md             \
592         $(alpha_sources) cpu-alpha.md           \
593         $(hppa_sources) cpu-hppa.md             \
594         $(windows_sources)                      \
595         $(darwin_sources) Info.plist            \
596         $(posix_sources)
597
598 version.h: Makefile
599         if test -d $(top_srcdir)/.git; then svn_info="git log --no-color --first-parent -n1 --grep=git-svn-id: --pretty=format:%b | sed -n -e 's,git-svn-id: \(.*\)@\(.*\) .*,URL: \1 Revision: \2,p'"; fi; \
600         if test -d $(srcdir)/.svn; then svn_info='svn info'; fi; \
601         if test -n "$$svn_info"; then \
602                 (cd $(top_srcdir); \
603                         LANG=C; export LANG; \
604                         branch=`eval $$svn_info | sed -n -e '/URL/ s,.*source/\(.*\)/mono.*,/\1/mono,p'`; \
605                         version=`eval $$svn_info | sed -n -e '/Revision/ s/.*: //p'`; \
606                         echo "#define FULL_VERSION \"$$branch r$$version\""; \
607                 ); \
608         else \
609                 echo "#define FULL_VERSION \"tarball\""; \
610         fi > version.h
611
612 # Utility target for patching libtool to speed up linking
613 patch-libtool:
614         sed -e 's,if (for obj in $$oldobjs,if (for obj in "",g' < ../../libtool > 2; mv 2 ../../libtool
615         chmod a+x ../../libtool
616
617 tags:
618         etags -o TAGS `find .. -name "*.h" -o -name "*.c"`