blob: f2d0c3835126a62d8bc6c428931d1fd3700a9087 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
--- Makefile.am.orig 2009-03-04 18:15:36.000000000 +0900
+++ Makefile.am 2011-08-08 15:35:03.000000000 +0900
@@ -9,7 +9,8 @@
SUBDIRS = asm builtin engine fft include io lib parse ${PLOTDIR}
-asirdir = ${libdir}/asir
+bindir = ${prefix}/bin
+asirdir = ${bindir}
asir_PROGRAMS = asir
asir_SOURCES = parse/main.c
asir_LDADD = libasir.a @ASIR_GCLIB@
@@ -90,33 +91,34 @@
${INSTALL_DATA} libasir-gc.a ${DESTDIR}${libdir}/libasir-gc.a
install-openxm: asir${EXEEXT} install-libasir install-libasir-gc
- -mkdir -p ${DESTDIR}${bindir}
- ${INSTALL_PROGRAM} asir ${DESTDIR}${bindir}
- -mkdir -p ${DESTDIR}${asirdir}
- (cd ${top_srcdir}/lib; ${MAKE} install-doc install-lib)
- -rm -f ${DESTDIR}${bindir}/ox_asir${EXEEXT}
- (cd ${DESTDIR}${bindir} ; ${LN_S} asir${EXEEXT} ox_asir${EXEEXT})
- -(cd ${DESTDIR}${asirdir}; \
- rm -f asir${EXEEXT} ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT})
- (cd ${DESTDIR}${asirdir} ; \
- ${LN_S} ../../bin/asir${EXEEXT} asir${EXEEXT} ; \
- ${LN_S} asir${EXEEXT} ox_asir${EXEEXT} ; \
- ${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \
- ${LN_S} asir${EXEEXT} ox_plot${EXEEXT})
- (cd ${top_srcdir}/include; ${MAKE} install)
- (cd ${top_srcdir}/parse; ${MAKE} install)
+ ${INSTALL_PROGRAM} ${asir_PROGRAMS} /usr/local/bin
+# -mkdir -p ${DESTDIR}${bindir}
+# ${INSTALL_PROGRAM} asir /usr/local/bin
+# -mkdir -p ${DESTDIR}${asirdir}
+# (cd ${top_srcdir}/lib; ${MAKE} install-doc install-lib)
+# -rm -f ${DESTDIR}${bindir}/ox_asir${EXEEXT}
+# (cd ${DESTDIR}${bindir} ; ${LN_S} asir${EXEEXT} ox_asir${EXEEXT})
+# -(cd ${DESTDIR}${asirdir}; \
+# rm -f asir${EXEEXT} ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT})
+# (cd ${DESTDIR}${asirdir} ; \
+# ${LN_S} ../../bin/asir${EXEEXT} asir${EXEEXT} ; \
+# ${LN_S} asir${EXEEXT} ox_asir${EXEEXT} ; \
+# ${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \
+# ${LN_S} asir${EXEEXT} ox_plot${EXEEXT})
+# (cd ${top_srcdir}/include; ${MAKE} install)
+# (cd ${top_srcdir}/parse; ${MAKE} install)
install-lib:
- (cd ${top_srcdir}/lib; ${MAKE} install-lib)
- -(cd ${DESTDIR}${asirdir}; \
- rm -f ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT})
- (cd ${DESTDIR}${asirdir} ; \
- ${LN_S} asir${EXEEXT} ox_asir${EXEEXT} ; \
- ${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \
- ${LN_S} asir${EXEEXT} ox_plot${EXEEXT})
- -mkdir -p ${DESTDIR}${bindir}
- -rm -f ${DESTDIR}${bindir}/asir${EXEEXT}
- (cd ${DESTDIR}${bindir} ; ${LN_S} ../lib/asir/asir${EXEEXT} asir${EXEEXT})
+# (cd ${top_srcdir}/lib; ${MAKE} install-lib)
+# -(cd ${DESTDIR}${asirdir}; \
+# rm -f ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT})
+# (cd ${DESTDIR}${asirdir} ; \
+# ${LN_S} asir${EXEEXT} ox_asir${EXEEXT} ; \
+# ${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \
+# ${LN_S} asir${EXEEXT} ox_plot${EXEEXT})
+# -mkdir -p ${DESTDIR}${bindir}
+# -rm -f ${DESTDIR}${bindir}/asir${EXEEXT}
+# (cd ${DESTDIR}${bindir} ; ${LN_S} ../lib/asir/asir${EXEEXT} asir${EXEEXT})
install-doc:
(cd ${top_srcdir}/lib; ${MAKE} install-doc)
|