22 |
## the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
## the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
23 |
## Boston, MA 02110-1301, USA. |
## Boston, MA 02110-1301, USA. |
24 |
|
|
25 |
ACLOCAL_AMFLAGS = -I m4 |
ACLOCAL_AMFLAGS = -I libltdl/m4 |
26 |
|
|
27 |
BUILD_SUBDIRS = . libltdl |
DIST_SUBDIRS = . |
28 |
SUBDIRS = $(BUILD_SUBDIRS) |
|
29 |
DIST_SUBDIRS = $(BUILD_SUBDIRS) |
BUILT_SOURCES = libtool |
30 |
EXTRA_DIST = |
|
31 |
|
CLEANFILES = |
32 |
|
MOSTLYCLEANFILES = |
33 |
|
DISTCLEANFILES = |
34 |
|
|
35 |
|
EXTRA_DIST = libltdl/COPYING.LIB \ |
36 |
|
libltdl/Makefile.am \ |
37 |
|
libltdl/Makefile.in \ |
38 |
|
libltdl/README \ |
39 |
|
libltdl/config-h.in \ |
40 |
|
libltdl/configure \ |
41 |
|
libltdl/configure.ac \ |
42 |
|
libltdl/aclocal.m4 \ |
43 |
|
libltdl/m4/lt~obsolete.m4 |
44 |
|
|
45 |
|
auxdir = libltdl/config |
46 |
|
m4dir = libltdl/m4 |
47 |
|
|
48 |
# Using `cd' in backquotes may print the directory name, use this instead: |
# Using `cd' in backquotes may print the directory name, use this instead: |
49 |
lt__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
lt__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
63 |
$(edit) -e "s,@TIMESTAMP\@,$$TIMESTAMP,g" \ |
$(edit) -e "s,@TIMESTAMP\@,$$TIMESTAMP,g" \ |
64 |
-e 's,@aclocal_DATA\@,$(aclocalfiles),g' \ |
-e 's,@aclocal_DATA\@,$(aclocalfiles),g' \ |
65 |
-e "s,@pkgltdl_files\@,$(ltdldatafiles),g" \ |
-e "s,@pkgltdl_files\@,$(ltdldatafiles),g" \ |
66 |
|
-e "s,@pkgconfig_files\@,$(auxfiles),g" \ |
67 |
$(srcdir)/libtoolize.in > libtoolize.tmp |
$(srcdir)/libtoolize.in > libtoolize.tmp |
68 |
chmod a+x libtoolize.tmp |
chmod a+x libtoolize.tmp |
69 |
chmod a-w libtoolize.tmp |
chmod a-w libtoolize.tmp |
75 |
$(srcdir)/libtoolize.in: $(sh_files) libtoolize.m4sh Makefile.am |
$(srcdir)/libtoolize.in: $(sh_files) libtoolize.m4sh Makefile.am |
76 |
cd $(srcdir); \ |
cd $(srcdir); \ |
77 |
rm -f libtoolize.in; \ |
rm -f libtoolize.in; \ |
78 |
$(M4SH) -B ./config libtoolize.m4sh > libtoolize.in |
$(M4SH) -B $(auxdir) libtoolize.m4sh > libtoolize.in |
79 |
|
|
80 |
libtool: $(top_builddir)/config.status $(srcdir)/config/ltmain.sh \ |
libtool: $(top_builddir)/config.status $(srcdir)/$(auxdir)/ltmain.sh \ |
81 |
$(srcdir)/stamp-vcl |
$(srcdir)/stamp-vcl |
82 |
cd $(top_builddir) && $(SHELL) ./config.status $@ |
cd $(top_builddir) && $(SHELL) ./config.status $@ |
83 |
|
|
121 |
*) TIMESTAMP="" ;; \ |
*) TIMESTAMP="" ;; \ |
122 |
esac |
esac |
123 |
|
|
124 |
sh_files = config/general.m4sh config/getopt.m4sh |
sh_files = $(auxdir)/general.m4sh $(auxdir)/getopt.m4sh |
125 |
EXTRA_DIST += bootstrap libtoolize.in config/ltmain.m4sh config/mkstamp \ |
EXTRA_DIST += bootstrap libtoolize.in $(auxdir)/ltmain.m4sh \ |
126 |
$(sh_files) stamp-vcl ChangeLog.1996 ChangeLog.1997 \ |
$(auxdir)/mkstamp $(sh_files) stamp-vcl \ |
127 |
ChangeLog.1998 ChangeLog.1999 ChangeLog.2000 ChangeLog.2001 \ |
ChangeLog.1996 ChangeLog.1997 ChangeLog.1998 \ |
128 |
ChangeLog.2002 ChangeLog.2003 |
ChangeLog.1999 ChangeLog.2000 ChangeLog.2001 \ |
129 |
CLEANFILES = libtool libtoolize \ |
ChangeLog.2002 ChangeLog.2003 ChangeLog.2004 |
130 |
libtoolize.tmp config/ltmain.tmp m4/ltversion.tmp |
CLEANFILES += libtool libtoolize libtoolize.tmp \ |
131 |
DISTCLEANFILES = |
$(auxdir)/ltmain.tmp $(m4dir)/ltversion.tmp |
|
|
|
|
# These are required by libtoolize and must be executable when installed. |
|
|
# Since _SCRIPTS gets the program transform applied we make them |
|
|
# executable by hand |
|
|
nobase_dist_pkgdata_DATA = config/config.guess config/config.sub \ |
|
|
config/ltmain.sh config/install-sh |
|
|
|
|
|
# Everything that gets picked up by aclocal is automatically distributed, |
|
|
# this is the list of macro files we install on the user's system. |
|
|
aclocalfiles = m4/argz.m4 m4/libtool.m4 m4/ltdl.m4 \ |
|
|
m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4 |
|
132 |
|
|
133 |
## We know that $(srcdir)/ChangeLog has been edited if stamp-vcl |
## We know that $(srcdir)/ChangeLog has been edited if stamp-vcl |
134 |
## needs updating, so we assume we have write access to $(srcdir). |
## needs updating, so we assume we have write access to $(srcdir). |
135 |
## If we try to maintain ./stamp-vcl to avoid writing to a possibly |
## If we try to maintain ./stamp-vcl to avoid writing to a possibly |
136 |
## read-only $(srcdir), then when the two stamp-vcls differ, distcheck |
## read-only $(srcdir), then when the two stamp-vcls differ, distcheck |
137 |
## will try to update the one in the read-only source tree it makes. |
## will try to update the one in the read-only source tree it makes. |
138 |
MKSTAMP = $(SHELL) $(srcdir)/config/mkstamp |
MKSTAMP = $(SHELL) $(srcdir)/$(auxdir)/mkstamp |
139 |
$(srcdir)/stamp-vcl: vcl-tmp clean-ltmain-sh ChangeLog |
$(srcdir)/stamp-vcl: vcl-tmp clean-ltmain-sh ChangeLog |
140 |
vcl-tmp: |
vcl-tmp: |
141 |
@set dummy `$(MKSTAMP) < $(srcdir)/ChangeLog`; shift; \ |
@set dummy `$(MKSTAMP) < $(srcdir)/ChangeLog`; shift; \ |
150 |
## source tree version in current builds. |
## source tree version in current builds. |
151 |
clean-ltmain-sh: |
clean-ltmain-sh: |
152 |
@-test "$(srcdir)" = "$(top_builddir)" || \ |
@-test "$(srcdir)" = "$(top_builddir)" || \ |
153 |
rm -f "$(top_builddir)/config/ltmain.sh" |
rm -f "$(top_builddir)/$(auxdir)/ltmain.sh" |
154 |
|
|
155 |
# We build ltversion.m4 here, instead of from config.status, |
# We build ltversion.m4 here, instead of from config.status, |
156 |
# because config.status is rerun each time one of configure's |
# because config.status is rerun each time one of configure's |
159 |
# a loop otherwise. |
# a loop otherwise. |
160 |
# Use `$(srcdir)/m4' for the benefit of non-GNU makes: this is |
# Use `$(srcdir)/m4' for the benefit of non-GNU makes: this is |
161 |
# how ltversion.m4 appears in our dependencies. |
# how ltversion.m4 appears in our dependencies. |
162 |
EXTRA_DIST += m4/ltversion.in m4/ltversion.m4 |
EXTRA_DIST += $(m4dir)/ltversion.in $(m4dir)/ltversion.m4 |
163 |
$(srcdir)/m4/ltversion.m4: m4/ltversion.in configure.ac $(srcdir)/stamp-vcl |
$(srcdir)/$(m4dir)/ltversion.m4: $(m4dir)/ltversion.in configure.ac $(srcdir)/stamp-vcl |
164 |
set dummy `$(MKSTAMP) < $(srcdir)/ChangeLog`; shift; \ |
set dummy `$(MKSTAMP) < $(srcdir)/ChangeLog`; shift; \ |
165 |
cd $(srcdir); \ |
cd $(srcdir); \ |
166 |
rm -f m4/ltversion.tmp; \ |
rm -f $(m4dir)/ltversion.tmp; \ |
167 |
serial=`echo $$1 | sed 's,^1[.],,g'`; \ |
serial=`echo $$1 | sed 's,^1[.],,g'`; \ |
168 |
input="ltversion.in"; \ |
input="ltversion.in"; \ |
169 |
$(edit) -e "s,@MACRO_REVISION\@,$$1,g" \ |
$(edit) -e "s,@MACRO_REVISION\@,$$1,g" \ |
170 |
-e "s,@MACRO_SERIAL\@,$$serial,g" \ |
-e "s,@MACRO_SERIAL\@,$$serial,g" \ |
171 |
m4/ltversion.in > m4/ltversion.tmp; \ |
$(m4dir)/ltversion.in > $(m4dir)/ltversion.tmp; \ |
172 |
chmod a-w m4/ltversion.tmp; \ |
chmod a-w $(m4dir)/ltversion.tmp; \ |
173 |
mv -f m4/ltversion.tmp m4/ltversion.m4 |
mv -f $(m4dir)/ltversion.tmp $(m4dir)/ltversion.m4 |
174 |
|
|
175 |
## And for similar reasons, ltmain.sh can't be built from config.status. |
## And for similar reasons, ltmain.sh can't be built from config.status. |
176 |
## !WARNING! If you edit this rule to change the contents of ltmain.sh, |
## !WARNING! If you edit this rule to change the contents of ltmain.sh, |
177 |
## you must `touch $(srcdir)/config/ltmain.in' from the |
## you must `touch $(srcdir)/$(auxdir)/ltmain.in' from the |
178 |
## shell if you need ltmain.sh to be regenerated. Ideally, we |
## shell if you need ltmain.sh to be regenerated. Ideally, we |
179 |
## should make this rule depend on Makefile but that will break |
## should make this rule depend on Makefile but that will break |
180 |
## distcheck (at least) by rebuilding ltmain.sh in the source |
## distcheck (at least) by rebuilding ltmain.sh in the source |
181 |
## tree whenever config.status regenerates the Makefile. |
## tree whenever config.status regenerates the Makefile. |
182 |
EXTRA_DIST += config/ltmain.sh |
EXTRA_DIST += $(auxdir)/ltmain.sh |
183 |
$(srcdir)/config/ltmain.sh: $(sh_files) config/ltmain.m4sh configure.ac \ |
$(srcdir)/$(auxdir)/ltmain.sh: $(sh_files) $(auxdir)/ltmain.m4sh configure.ac \ |
184 |
$(srcdir)/stamp-vcl |
$(srcdir)/stamp-vcl |
185 |
$(timestamp); \ |
$(timestamp); \ |
186 |
cd $(srcdir); \ |
cd $(srcdir); \ |
187 |
rm -f config/ltmain.in config/ltmain.tmp config/ltmain.sh; \ |
rm -f $(auxdir)/ltmain.in $(auxdir)/ltmain.tmp \ |
188 |
$(M4SH) -B ./config config/ltmain.m4sh > config/ltmain.in; \ |
$(auxdir)/ltmain.sh; \ |
189 |
|
$(M4SH) -B $(auxdir) $(auxdir)/ltmain.m4sh \ |
190 |
|
> $(auxdir)/ltmain.in; \ |
191 |
input="ltmain.m4sh"; \ |
input="ltmain.m4sh"; \ |
192 |
$(edit) -e "s,@TIMESTAMP\@,$$TIMESTAMP,g" \ |
$(edit) -e "s,@TIMESTAMP\@,$$TIMESTAMP,g" \ |
193 |
-e "s,@package_revision\@,$$1,g" \ |
-e "s,@package_revision\@,$$1,g" \ |
194 |
config/ltmain.in > config/ltmain.tmp; \ |
$(auxdir)/ltmain.in > $(auxdir)/ltmain.tmp; \ |
195 |
rm -f config/ltmain.in; \ |
rm -f $(auxdir)/ltmain.in; \ |
196 |
chmod a-w config/ltmain.tmp; \ |
chmod a-w $(auxdir)/ltmain.tmp; \ |
197 |
mv -f config/ltmain.tmp config/ltmain.sh |
mv -f $(auxdir)/ltmain.tmp $(auxdir)/ltmain.sh |
198 |
|
|
199 |
|
$(srcdir)/libltdl/Makefile.am: Makefile.am |
200 |
|
cd $(srcdir); \ |
201 |
|
in=Makefile.am; out=libltdl/Makefile.am; \ |
202 |
|
rm -f $$out; \ |
203 |
|
$(SED) -n '/^.. Makefile.am -- /,/^.. Boston, MA/p' $$in > $$out; \ |
204 |
|
{ echo 'ACLOCAL_AMFLAGS = -I m4'; \ |
205 |
|
echo 'AUTOMAKE_OPTIONS = foreign'; \ |
206 |
|
echo 'BUILT_SOURCES ='; \ |
207 |
|
echo 'EXTRA_DIST ='; \ |
208 |
|
echo 'CLEANFILES ='; \ |
209 |
|
echo 'MOSTLYCLEANFILES ='; \ |
210 |
|
} >> $$out; \ |
211 |
|
$(SED) -n '/^. %%% BEGIN /,/^. %%% END / \ |
212 |
|
{ s,libltdl_,,; s,libltdl/,,; s,: libltdl/,: ,; \ |
213 |
|
s,\$$(libltdl_,$$(,; p; }' $$in >> $$out; |
214 |
|
chmod a-w $(srcdir)/libltdl/Makefile.am |
215 |
|
|
216 |
|
$(srcdir)/libltdl/Makefile.in: libltdl/Makefile.am |
217 |
|
cd $(srcdir)/libltdl && $(AUTOMAKE) Makefile |
218 |
|
|
219 |
|
|
220 |
|
## -------- ## |
221 |
|
## Libltdl. ## |
222 |
|
## -------- ## |
223 |
|
|
224 |
|
# %%% BEGIN libltdl/Makefile.am |
225 |
|
|
226 |
|
DEFS = -DHAVE_CONFIG_H="<$(CONFIG_H)>" -DLTDL |
227 |
|
|
228 |
|
# -I$(srcdir) is needed for user that built libltdl with a sub-Automake |
229 |
|
# (not as a sub-package!) using 'nostdinc': |
230 |
|
AM_CPPFLAGS = -I. -I$(srcdir) -Ilibltdl -I$(srcdir)/libltdl \ |
231 |
|
-I$(srcdir)/libltdl/libltdl |
232 |
|
AM_LDFLAGS = -no-undefined |
233 |
|
VERSION_INFO = -version-info 6:0:0 |
234 |
|
|
235 |
|
noinst_LTLIBRARIES = $(LT_DLLOADERS) |
236 |
|
|
237 |
|
if INSTALL_LTDL |
238 |
|
ltdlincludedir = $(includedir)/libltdl |
239 |
|
ltdlinclude_HEADERS = libltdl/libltdl/lt_system.h \ |
240 |
|
libltdl/libltdl/lt_error.h \ |
241 |
|
libltdl/libltdl/lt_dlloader.h |
242 |
|
include_HEADERS = libltdl/ltdl.h |
243 |
|
lib_LTLIBRARIES = libltdl/libltdl.la |
244 |
|
endif |
245 |
|
|
246 |
|
if CONVENIENCE_LTDL |
247 |
|
noinst_LTLIBRARIES += libltdl/libltdlc.la |
248 |
|
endif |
249 |
|
|
250 |
|
libltdl_libltdl_la_SOURCES = libltdl/libltdl/lt__alloc.h \ |
251 |
|
libltdl/libltdl/lt__dirent.h \ |
252 |
|
libltdl/libltdl/lt__glibc.h \ |
253 |
|
libltdl/libltdl/lt__private.h \ |
254 |
|
libltdl/libltdl/lt__strl.h \ |
255 |
|
libltdl/libltdl/lt_dlloader.h \ |
256 |
|
libltdl/libltdl/lt_error.h \ |
257 |
|
libltdl/libltdl/lt_system.h \ |
258 |
|
libltdl/libltdl/slist.h \ |
259 |
|
libltdl/loaders/preopen.c \ |
260 |
|
libltdl/lt__alloc.c \ |
261 |
|
libltdl/lt_dlloader.c \ |
262 |
|
libltdl/lt_error.c \ |
263 |
|
libltdl/ltdl.c \ |
264 |
|
libltdl/ltdl.h \ |
265 |
|
libltdl/slist.c |
266 |
|
|
267 |
|
libltdl_libltdl_la_CPPFLAGS = -DLTDLOPEN=$(LTDLOPEN) $(AM_CPPFLAGS) |
268 |
|
libltdl_libltdl_la_LDFLAGS = $(AM_LDFLAGS) $(VERSION_INFO) $(LT_DLPREOPEN) |
269 |
|
libltdl_libltdl_la_LIBADD = $(LTLIBOBJS) |
270 |
|
libltdl_libltdl_la_DEPENDENCIES = $(LT_DLLOADERS) $(LTLIBOBJS) |
271 |
|
|
272 |
|
libltdl_libltdlc_la_SOURCES = $(libltdl_libltdl_la_SOURCES) |
273 |
|
libltdl_libltdlc_la_CPPFLAGS = -DLTDLOPEN=$(LTDLOPEN)c $(AM_CPPFLAGS) |
274 |
|
libltdl_libltdlc_la_LDFLAGS = $(AM_LDFLAGS) $(LT_DLPREOPEN) |
275 |
|
libltdl_libltdlc_la_LIBADD = $(libltdl_libltdl_la_LIBADD) |
276 |
|
libltdl_libltdlc_la_DEPENDENCIES= $(libltdl_libltdl_la_DEPENDENCIES) |
277 |
|
|
278 |
|
## The loaders are preopened by libltdl, itself always built from |
279 |
|
## pic-objects (either as a shared library, or a convenience library), |
280 |
|
## so the loaders themselves must be made from pic-objects too. We |
281 |
|
## use convenience libraries for that purpose: |
282 |
|
EXTRA_LTLIBRARIES = libltdl/dlopen.la \ |
283 |
|
libltdl/dld_link.la \ |
284 |
|
libltdl/dyld.la \ |
285 |
|
libltdl/load_add_on.la \ |
286 |
|
libltdl/loadlibrary.la \ |
287 |
|
libltdl/shl_load.la |
288 |
|
|
289 |
|
libltdl_dlopen_la_SOURCES = libltdl/loaders/dlopen.c |
290 |
|
libltdl_dlopen_la_LDFLAGS = -module -avoid-version |
291 |
|
libltdl_dlopen_la_LIBADD = $(LIBADD_DLOPEN) |
292 |
|
|
293 |
|
libltdl_dld_link_la_SOURCES = libltdl/loaders/dld_link.c |
294 |
|
libltdl_dld_link_la_LDFLAGS = -module -avoid-version |
295 |
|
libltdl_dld_link_la_LIBADD = -ldld |
296 |
|
|
297 |
|
libltdl_dyld_la_SOURCES = libltdl/loaders/dyld.c |
298 |
|
libltdl_dyld_la_LDFLAGS = -module -avoid-version |
299 |
|
|
300 |
|
libltdl_load_add_on_la_SOURCES = libltdl/loaders/load_add_on.c |
301 |
|
libltdl_load_add_on_la_LDFLAGS = -module -avoid-version |
302 |
|
|
303 |
|
libltdl_loadlibrary_la_SOURCES = libltdl/loaders/loadlibrary.c |
304 |
|
libltdl_loadlibrary_la_LDFLAGS = -module -avoid-version |
305 |
|
|
306 |
|
libltdl_shl_load_la_SOURCES = libltdl/loaders/shl_load.c |
307 |
|
libltdl_shl_load_la_LDFLAGS = -module -avoid-version |
308 |
|
libltdl_shl_load_la_LIBADD = $(LIBADD_SHL_LOAD) |
309 |
|
|
310 |
|
## Make sure these will be cleaned even when they're not built by default: |
311 |
|
CLEANFILES += libltdl/libltdl.la \ |
312 |
|
libltdl/libltdlc.la \ |
313 |
|
libltdl/libdlloader.la |
314 |
|
|
315 |
|
## Automake-1.9.6 doesn't clean subdir AC_LIBOBJ compiled objects |
316 |
|
## automatically: |
317 |
|
CLEANFILES += $(LIBOBJS) $(LTLIBOBJS) |
318 |
|
|
319 |
|
|
320 |
|
## --------------------------- ## |
321 |
|
## Gnulib Makefile.am snippets ## |
322 |
|
## --------------------------- ## |
323 |
|
|
324 |
|
BUILT_SOURCES += libltdl/$(ARGZ_H) |
325 |
|
EXTRA_DIST += libltdl/argz_.h |
326 |
|
|
327 |
|
# We need the following in order to create an <argz.h> when the system |
328 |
|
# doesn't have one that works with the given compiler. |
329 |
|
all-local $(lib_OBJECTS): libltdl/$(ARGZ_H) |
330 |
|
libltdl/argz.h: libltdl/argz_.h |
331 |
|
cp $(srcdir)/libltdl/argz_.h $@-t |
332 |
|
mv $@-t $@ |
333 |
|
MOSTLYCLEANFILES += libltdl/argz.h \ |
334 |
|
libltdl/argz.h-t |
335 |
|
|
336 |
|
# %%% END libltdl/Makefile.am |
337 |
|
|
338 |
|
|
339 |
## -------------- ## |
## -------------- ## |
355 |
## Installation. ## |
## Installation. ## |
356 |
## ------------- ## |
## ------------- ## |
357 |
|
|
358 |
|
# These are required by libtoolize and must be executable when installed. |
359 |
|
# The timestamps on these files must be preserved carefully so we install, |
360 |
|
# uninstall and set executable with custom rules here. |
361 |
|
auxexefiles = config/compile config/config.guess config/config.sub \ |
362 |
|
config/depcomp config/install-sh config/missing |
363 |
|
auxfiles = $(auxexefiles) config/ltmain.sh |
364 |
|
|
365 |
|
# Everything that gets picked up by aclocal is automatically distributed, |
366 |
|
# this is the list of macro files we install on the user's system. |
367 |
|
aclocalfiles = m4/argz.m4 m4/libtool.m4 m4/ltdl.m4 m4/ltoptions.m4 \ |
368 |
|
m4/ltsugar.m4 m4/ltversion.m4 |
369 |
|
|
370 |
## These are installed as a subdirectory of pkgdatadir so that |
## These are installed as a subdirectory of pkgdatadir so that |
371 |
## libtoolize --ltdl can find them later: |
## libtoolize --ltdl can find them later: |
372 |
ltdldatadir = $(pkgdatadir)/libltdl |
ltdldatafiles = libltdl/COPYING.LIB \ |
373 |
ltdldatafiles = COPYING.LIB README \ |
libltdl/README \ |
374 |
Makefile.am Makefile.in \ |
libltdl/Makefile.am \ |
375 |
argz_.h argz.c \ |
libltdl/Makefile.in \ |
376 |
configure.ac configure \ |
libltdl/aclocal.m4 \ |
377 |
libltdl/lt__alloc.h \ |
libltdl/config-h.in \ |
378 |
libltdl/lt__dirent.h \ |
libltdl/configure.ac \ |
379 |
libltdl/lt__glibc.h \ |
libltdl/configure \ |
380 |
libltdl/lt__private.h \ |
libltdl/argz_.h \ |
381 |
libltdl/lt__strl.h \ |
libltdl/argz.c \ |
382 |
libltdl/lt_dlloader.h \ |
libltdl/loaders/dld_link.c \ |
383 |
libltdl/lt_error.h \ |
libltdl/loaders/dlopen.c \ |
384 |
libltdl/lt_system.h \ |
libltdl/loaders/dyld.c \ |
385 |
libltdl/slist.h \ |
libltdl/loaders/load_add_on.c \ |
386 |
loaders/dld_link.c \ |
libltdl/loaders/loadlibrary.c \ |
387 |
loaders/dlopen.c \ |
libltdl/loaders/shl_load.c \ |
388 |
loaders/dyld.c \ |
libltdl/lt__dirent.c \ |
389 |
loaders/load_add_on.c \ |
libltdl/lt__strl.c \ |
390 |
loaders/loadlibrary.c \ |
$(libltdl_libltdl_la_SOURCES) |
|
loaders/preopen.c \ |
|
|
loaders/shl_load.c \ |
|
|
lt__alloc.c \ |
|
|
lt__dirent.c \ |
|
|
lt__strl.c \ |
|
|
lt_dlloader.c \ |
|
|
lt_error.c \ |
|
|
ltdl.c ltdl.h \ |
|
|
slist.c |
|
391 |
|
|
392 |
install-data-local: |
install-data-local: libltdl/Makefile.in |
393 |
## Don't install over the top of an old pkgdatadir |
## Don't install over the top of an old pkgdatadir |
394 |
-rm -rf $(DESTDIR)$(pkgdatadir) |
-rm -rf $(DESTDIR)$(pkgdatadir) |
395 |
## To avoid spurious reconfiguration when the user installs these files |
## To avoid spurious reconfiguration when the user installs these files |
396 |
## with libtoolize, we have to preserve their timestamps carefully: |
## with libtoolize, we have to preserve their timestamps carefully: |
397 |
$(mkinstalldirs) $(DESTDIR)$(ltdldatadir) |
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir) |
398 |
( cd $(srcdir)/libltdl && $(AMTAR) chf - $(ltdldatafiles); ) \ |
( cd $(srcdir) && $(AMTAR) chf - $(ltdldatafiles); ) \ |
399 |
| ( umask 0 && cd $(DESTDIR)$(ltdldatadir) && $(AMTAR) xf -; ) |
| ( umask 0 && cd $(DESTDIR)$(pkgdatadir) && $(AMTAR) xf -; ) |
400 |
|
## And similarly copy the config auxilliary files into the master tree |
401 |
|
( cd $(srcdir)/libltdl && $(AMTAR) chf - $(auxfiles); ) \ |
402 |
|
| ( umask 0 && cd $(DESTDIR)$(pkgdatadir) && $(AMTAR) xf -; ) |
403 |
|
@for f in : $(auxexefiles); do \ |
404 |
|
test "X$$f" = X: && continue; \ |
405 |
|
echo "chmod +x '$(DESTDIR)$(pkgdatadir)/$$f'"; \ |
406 |
|
chmod +x "$(DESTDIR)$(pkgdatadir)/$$f"; \ |
407 |
|
done |
408 |
|
## Put a copy of the libtool m4 macros in the aclocal dir |
409 |
$(mkinstalldirs) $(DESTDIR)$(aclocaldir) |
$(mkinstalldirs) $(DESTDIR)$(aclocaldir) |
410 |
@for p in $(aclocalfiles); do \ |
@for p in $(aclocalfiles); do \ |
411 |
f=`echo "$$p" | sed 's|^.*/||'`; \ |
f=`echo "$$p" | sed 's|^.*/||'`; \ |
412 |
aclocalfiles="$$aclocalfiles $$f"; \ |
aclocalfiles="$$aclocalfiles $$f"; \ |
413 |
done; \ |
done; \ |
414 |
( cd $(srcdir)/m4 && $(AMTAR) chf - $$aclocalfiles; ) \ |
( cd $(srcdir)/$(m4dir) && $(AMTAR) chf - $$aclocalfiles; ) \ |
415 |
| ( umask 0 && cd $(DESTDIR)$(aclocaldir) && $(AMTAR) xf -; ) |
| ( umask 0 && cd $(DESTDIR)$(aclocaldir) && $(AMTAR) xf -; ) |
416 |
chown -R root $(DESTDIR)$(ltdldatadir) && \ |
chown -R root $(DESTDIR)$(pkgdatadir) && \ |
417 |
chgrp -R root $(DESTDIR)$(ltdldatadir) || : |
chgrp -R root $(DESTDIR)$(pkgdatadir) || : |
|
|
|
|
install-data-hook: |
|
|
chmod +x $(DESTDIR)$(pkgdatadir)/config/config.guess |
|
|
chmod +x $(DESTDIR)$(pkgdatadir)/config/config.sub |
|
|
chmod +x $(DESTDIR)$(pkgdatadir)/config/install-sh |
|
418 |
|
|
419 |
|
|
420 |
## ------------- ## |
## ------------- ## |
430 |
f=`echo "$$p" | sed 's|^.*/||'`; \ |
f=`echo "$$p" | sed 's|^.*/||'`; \ |
431 |
echo " rm -rf '$(DESTDIR)$(aclocaldir)/$$f'"; \ |
echo " rm -rf '$(DESTDIR)$(aclocaldir)/$$f'"; \ |
432 |
rm -f "$(DESTDIR)$(aclocaldir)/$$f"; \ |
rm -f "$(DESTDIR)$(aclocaldir)/$$f"; \ |
433 |
done; |
done |
434 |
|
## Uninstall files from install-data-local rule above: |
435 |
|
@for f in $(ltdldatafiles) $(auxfiles); do \ |
436 |
|
test -f $(DESTDIR)$(pkgdatadir)/$$f || continue; \ |
437 |
|
echo "rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \ |
438 |
|
rm -f $(DESTDIR)$(pkgdatadir)/$$f; \ |
439 |
|
done |
440 |
|
|
441 |
|
|
|
## Ship README.alpha only in alpha release, but renamed to README |
|
442 |
dist-hook: |
dist-hook: |
443 |
|
## Ship README.alpha only in alpha release, but renamed to README |
444 |
-@test -f $(distdir)/README.alpha && \ |
-@test -f $(distdir)/README.alpha && \ |
445 |
case $(VERSION) in \ |
case $(VERSION) in \ |
446 |
*[a-z]) mv $(distdir)/README.alpha $(distdir)/README ;; \ |
*[a-z]) mv $(distdir)/README.alpha $(distdir)/README ;; \ |
458 |
tests/duplicate_members.at \ |
tests/duplicate_members.at \ |
459 |
tests/inherited_flags.at \ |
tests/inherited_flags.at \ |
460 |
tests/libtoolize.at \ |
tests/libtoolize.at \ |
461 |
|
tests/standalone.at \ |
462 |
tests/stresstest.at \ |
tests/stresstest.at \ |
463 |
tests/link-order.at \ |
tests/link-order.at \ |
464 |
tests/convenience.at \ |
tests/convenience.at \ |
497 |
|
|
498 |
tests/atconfig: config.status |
tests/atconfig: config.status |
499 |
$(SHELL) ./config.status tests/atconfig |
$(SHELL) ./config.status tests/atconfig |
500 |
|
|
501 |
DISTCLEANFILES += tests/atconfig |
DISTCLEANFILES += tests/atconfig |
502 |
|
|
503 |
CD_TESTDIR = abs_srcdir=`$(lt__cd) $(srcdir) && pwd`; cd tests |
CD_TESTDIR = abs_srcdir=`$(lt__cd) $(srcdir) && pwd`; cd tests |
619 |
|
|
620 |
# Use `$(srcdir)/tests' for the benefit of non-GNU makes: this is |
# Use `$(srcdir)/tests' for the benefit of non-GNU makes: this is |
621 |
# how defs.in appears in our dependencies. |
# how defs.in appears in our dependencies. |
622 |
$(srcdir)/tests/defs.in: config/general.m4sh tests/defs.m4sh Makefile.am |
$(srcdir)/tests/defs.in: $(auxdir)/general.m4sh tests/defs.m4sh Makefile.am |
623 |
cd $(srcdir); \ |
cd $(srcdir); \ |
624 |
rm -f tests/defs.in; \ |
rm -f tests/defs.in; \ |
625 |
$(M4SH) -B ./config tests/defs.m4sh > tests/defs.in |
$(M4SH) -B $(auxdir) tests/defs.m4sh > tests/defs.in |
626 |
|
|
627 |
# We need to remove any files that the above tests created. |
# We need to remove any files that the above tests created. |
628 |
clean-local-legacy: |
clean-local-legacy: |