Mercurial > octave-nkf
annotate src/Makefile.am @ 15242:b7f9d2c99a06
fix library name for octave_config
* octave_config_LDADD: Link with
$(top_builddir)/libinterp/corefcn/libcorefcn.la, not
corefcn/libcorefcn.la.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 27 Aug 2012 18:06:48 -0400 |
parents | 2a36a5b89f98 |
children | b241e69306a5 |
rev | line source |
---|---|
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
1 # Makefile for Octave's src directory |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # |
14138
72c96de7a403
maint: update copyright notices for 2012
John W. Eaton <jwe@octave.org>
parents:
14023
diff
changeset
|
3 # Copyright (C) 1993-2012 John W. Eaton |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 # |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 # This file is part of Octave. |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
13024
diff
changeset
|
6 # |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 # Octave is free software; you can redistribute it and/or modify it |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 # under the terms of the GNU General Public License as published by the |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 # Free Software Foundation; either version 3 of the License, or (at |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 # your option) any later version. |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
13024
diff
changeset
|
11 # |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 # Octave is distributed in the hope that it will be useful, but WITHOUT |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
14 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 # for more details. |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
13024
diff
changeset
|
16 # |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 # You should have received a copy of the GNU General Public License |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 # along with Octave; see the file COPYING. If not, see |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 # <http://www.gnu.org/licenses/>. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
21 include $(top_srcdir)/build-aux/common.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 |
14397
670feb71afde
maint: Move @CPPFLAGS@ to end of AM_CPPFLAGS lists in Makefiles.
John W. Eaton <jwe@octave.org>
parents:
14348
diff
changeset
|
23 ## Search local directories before those specified by the user. |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 AM_CPPFLAGS = \ |
15195 | 25 -I$(srcdir)/../libinterp \ |
15132
3e5b00d964ad
Use $(top_builddir)/libgnu for parallelism with $(top_srcdir)/libgnu
Rik <rik@octave.org>
parents:
15131
diff
changeset
|
26 -I$(top_builddir)/libgnu -I$(top_srcdir)/libgnu |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
27 |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
28 if AMCOND_BUILD_COMPILED_AUX_PROGRAMS |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
29 bin_PROGRAMS = \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
30 mkoctfile \ |
15156
141b0b108292
allow building without gui to work
John W. Eaton <jwe@octave.org>
parents:
15139
diff
changeset
|
31 $(OCTAVE_PROGRAMS) \ |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
32 octave-config |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
33 |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
34 mkoctfile_SOURCES = |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
35 nodist_mkoctfile_SOURCES = mkoctfile.cc |
15132
3e5b00d964ad
Use $(top_builddir)/libgnu for parallelism with $(top_srcdir)/libgnu
Rik <rik@octave.org>
parents:
15131
diff
changeset
|
36 mkoctfile_LDADD = $(top_builddir)/libgnu/libgnu.la $(LIBS) |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
37 |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
38 octave_config_SOURCES = |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
39 nodist_octave_config_SOURCES = octave-config.cc |
15132
3e5b00d964ad
Use $(top_builddir)/libgnu for parallelism with $(top_srcdir)/libgnu
Rik <rik@octave.org>
parents:
15131
diff
changeset
|
40 octave_config_LDADD = \ |
15242
b7f9d2c99a06
fix library name for octave_config
John W. Eaton <jwe@octave.org>
parents:
15208
diff
changeset
|
41 $(top_builddir)/libinterp/corefcn/libcorefcn.la \ |
b7f9d2c99a06
fix library name for octave_config
John W. Eaton <jwe@octave.org>
parents:
15208
diff
changeset
|
42 $(top_builddir)/libgnu/libgnu.la \ |
b7f9d2c99a06
fix library name for octave_config
John W. Eaton <jwe@octave.org>
parents:
15208
diff
changeset
|
43 $(LIBS) |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
44 |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
45 BUILT_SOURCES_EXTRA = \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
46 mkoctfile.cc \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
47 octave-config.cc |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
48 else |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
49 bin_PROGRAMS = \ |
15139
bfc220d1de67
include gui in default Octave binary
John W. Eaton <jwe@octave.org>
parents:
15132
diff
changeset
|
50 octave \ |
bfc220d1de67
include gui in default Octave binary
John W. Eaton <jwe@octave.org>
parents:
15132
diff
changeset
|
51 octave-cli |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
52 |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
53 bin_SCRIPTS = \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
54 mkoctfile \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
55 octave-config |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
56 endif |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
57 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
58 EXTRA_DIST = \ |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
59 mkoctfile.in.cc \ |
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
60 mkoctfile.in.sh \ |
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
61 octave-config.in.cc \ |
15195 | 62 octave-config.in.sh |
15039
e753177cde93
maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
15016
diff
changeset
|
63 |
15139
bfc220d1de67
include gui in default Octave binary
John W. Eaton <jwe@octave.org>
parents:
15132
diff
changeset
|
64 OCTAVE_CORE_LIBS = \ |
15195 | 65 ../libinterp/liboctinterp.la \ |
13022
05534f03377d
maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents:
13016
diff
changeset
|
66 ../liboctave/liboctave.la \ |
15139
bfc220d1de67
include gui in default Octave binary
John W. Eaton <jwe@octave.org>
parents:
15132
diff
changeset
|
67 ../libcruft/libcruft.la |
bfc220d1de67
include gui in default Octave binary
John W. Eaton <jwe@octave.org>
parents:
15132
diff
changeset
|
68 |
15208
2a36a5b89f98
link gui in way that is more consistent with the rest of Octave
John W. Eaton <jwe@octave.org>
parents:
15196
diff
changeset
|
69 include ../libgui/src/link-deps.mk |
2a36a5b89f98
link gui in way that is more consistent with the rest of Octave
John W. Eaton <jwe@octave.org>
parents:
15196
diff
changeset
|
70 |
15139
bfc220d1de67
include gui in default Octave binary
John W. Eaton <jwe@octave.org>
parents:
15132
diff
changeset
|
71 octave_cli_SOURCES = main-cli.cc |
bfc220d1de67
include gui in default Octave binary
John W. Eaton <jwe@octave.org>
parents:
15132
diff
changeset
|
72 |
bfc220d1de67
include gui in default Octave binary
John W. Eaton <jwe@octave.org>
parents:
15132
diff
changeset
|
73 octave_cli_LDADD = \ |
bfc220d1de67
include gui in default Octave binary
John W. Eaton <jwe@octave.org>
parents:
15132
diff
changeset
|
74 $(OCTAVE_CORE_LIBS) |
13022
05534f03377d
maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents:
13016
diff
changeset
|
75 $(OCTAVE_LINK_DEPS) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
76 |
15139
bfc220d1de67
include gui in default Octave binary
John W. Eaton <jwe@octave.org>
parents:
15132
diff
changeset
|
77 octave_cli_LDFLAGS = \ |
13024
f3c53fea9fb5
maint: more linking tweaks
John W. Eaton <jwe@octave.org>
parents:
13022
diff
changeset
|
78 $(NO_UNDEFINED_LDFLAG) \ |
f3c53fea9fb5
maint: more linking tweaks
John W. Eaton <jwe@octave.org>
parents:
13022
diff
changeset
|
79 $(OCTAVE_LINK_OPTS) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
80 |
15156
141b0b108292
allow building without gui to work
John W. Eaton <jwe@octave.org>
parents:
15139
diff
changeset
|
81 if AMCOND_BUILD_GUI |
141b0b108292
allow building without gui to work
John W. Eaton <jwe@octave.org>
parents:
15139
diff
changeset
|
82 octave_SOURCES = main.cc |
15196
017f0b2e6933
rename gui directory to libgu
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
83 OCTAVE_GUI_LIBS = ../libgui/src/liboctgui.la |
017f0b2e6933
rename gui directory to libgu
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
84 OCTAVE_GUI_CPPFLAGS = -I$(top_srcdir)/libgui/src |
15156
141b0b108292
allow building without gui to work
John W. Eaton <jwe@octave.org>
parents:
15139
diff
changeset
|
85 else |
141b0b108292
allow building without gui to work
John W. Eaton <jwe@octave.org>
parents:
15139
diff
changeset
|
86 octave_SOURCES = main-cli.cc |
141b0b108292
allow building without gui to work
John W. Eaton <jwe@octave.org>
parents:
15139
diff
changeset
|
87 OCTAVE_GUI_LIBS = |
141b0b108292
allow building without gui to work
John W. Eaton <jwe@octave.org>
parents:
15139
diff
changeset
|
88 OCTAVE_GUI_CPPFLAGS = |
141b0b108292
allow building without gui to work
John W. Eaton <jwe@octave.org>
parents:
15139
diff
changeset
|
89 endif |
15139
bfc220d1de67
include gui in default Octave binary
John W. Eaton <jwe@octave.org>
parents:
15132
diff
changeset
|
90 |
15195 | 91 octave_CPPFLAGS = \ |
92 $(AM_CPPFLAGS) \ | |
93 $(OCTAVE_GUI_CPPFLAGS) | |
15139
bfc220d1de67
include gui in default Octave binary
John W. Eaton <jwe@octave.org>
parents:
15132
diff
changeset
|
94 |
bfc220d1de67
include gui in default Octave binary
John W. Eaton <jwe@octave.org>
parents:
15132
diff
changeset
|
95 octave_LDADD = \ |
15208
2a36a5b89f98
link gui in way that is more consistent with the rest of Octave
John W. Eaton <jwe@octave.org>
parents:
15196
diff
changeset
|
96 $(OCTAVE_GUI_LIBS) \ |
15139
bfc220d1de67
include gui in default Octave binary
John W. Eaton <jwe@octave.org>
parents:
15132
diff
changeset
|
97 $(OCTAVE_CORE_LIBS) \ |
15208
2a36a5b89f98
link gui in way that is more consistent with the rest of Octave
John W. Eaton <jwe@octave.org>
parents:
15196
diff
changeset
|
98 $(OCTAVE_GUI_LINK_DEPS) |
15139
bfc220d1de67
include gui in default Octave binary
John W. Eaton <jwe@octave.org>
parents:
15132
diff
changeset
|
99 |
15208
2a36a5b89f98
link gui in way that is more consistent with the rest of Octave
John W. Eaton <jwe@octave.org>
parents:
15196
diff
changeset
|
100 octave_LDFLAGS = \ |
2a36a5b89f98
link gui in way that is more consistent with the rest of Octave
John W. Eaton <jwe@octave.org>
parents:
15196
diff
changeset
|
101 $(NO_UNDEFINED_LDFLAG) \ |
2a36a5b89f98
link gui in way that is more consistent with the rest of Octave
John W. Eaton <jwe@octave.org>
parents:
15196
diff
changeset
|
102 $(OCTAVE_GUI_LINK_OPTS) |
15139
bfc220d1de67
include gui in default Octave binary
John W. Eaton <jwe@octave.org>
parents:
15132
diff
changeset
|
103 |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
104 if AMCOND_BUILD_COMPILED_AUX_PROGRAMS |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
105 octave-config.cc: octave-config.in.cc Makefile |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
106 @$(do_subst_default_vals) |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
107 |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
108 mkoctfile.cc: mkoctfile.in.cc Makefile |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
109 @$(do_subst_config_vals) |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
110 else |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
111 octave-config: octave-config.in.sh Makefile |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
112 @$(do_subst_default_vals) |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
113 chmod a+rx $@ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
114 |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
115 mkoctfile: mkoctfile.in.sh Makefile |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
116 @$(do_subst_config_vals) |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
117 chmod a+rx $@ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
118 endif |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
119 |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
120 install-exec-hook: make-version-links |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
121 |
15195 | 122 uninstall-local: remove-version-links |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
123 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
124 make-version-links: |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
125 cd $(DESTDIR)$(bindir) && \ |
12754
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
126 for f in $(basename $(bin_PROGRAMS)); do \ |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
127 mv $$f$(EXEEXT) $$f-$(version)$(EXEEXT) && \ |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
128 $(LN_S) $$f-$(version)$(EXEEXT) $$f$(EXEEXT); \ |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
129 done |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
130 if ! AMCOND_BUILD_COMPILED_AUX_PROGRAMS |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
131 cd $(DESTDIR)$(bindir) && \ |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
132 for f in $(basename $(bin_SCRIPTS)); do \ |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
133 mv $$f $$f-$(version) && \ |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
134 $(LN_S) $$f-$(version) $$f; \ |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
135 done |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
136 endif |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
137 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
138 remove-version-links: |
12754
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
139 for f in $(basename $(bin_PROGRAMS)); do \ |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
140 rm -f $(DESTDIR)$(bindir)/$$f-$(version)$(EXEEXT); \ |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
141 done |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
142 if ! AMCOND_BUILD_COMPILED_AUX_PROGRAMS |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
143 for f in $(basename $(bin_SCRIPTS)); do \ |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
144 rm -f $(DESTDIR)$(bindir)/$$f-$(version); \ |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
145 done |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
146 endif |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
147 |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
148 .PHONY: make-version-links remove-version-links |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
149 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
150 CLEANFILES = \ |
15196
017f0b2e6933
rename gui directory to libgu
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
151 $(bin_SCRIPTS) |