mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-24 14:24:59 +08:00
ef758b513c
(pkgvdatadir): Ditto. Versioned data directory. (pkgvmacrodir): Ditto. Versioned aclocal directory. (LN): New check for LN command. * Makefile.am (aclocal_DATA): Replaced with... (pkgvmacro_DATA): ...this. (install-data-local): Remove old shared resources. (install-exec-hook): Make versioned links to executables. (uninstall-hook): Remove versioned files. * libltdl/Makefile.am (ltdldatadir): Redefine in terms of pkgvdatadir. * libltdl/loaders/Makefile.am (ltdldatadir): Ditto. * libtoolize.m4sh: Copy macro files from versioned macro directory instead of shared aclocal directory. * doc/libtool.texi: Document it. * NEWS: Updated.
59 lines
2.2 KiB
Makefile
59 lines
2.2 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
##
|
|
## Copyright (C) 2004 Free Software Foundation
|
|
##
|
|
## This program is free software; you can redistribute it and/or modify
|
|
## it under the terms of the GNU General Public License as published by
|
|
## the Free Software Foundation; either version 2 of the License, or
|
|
## (at your option) any later version.
|
|
##
|
|
## This program is distributed in the hope that it will be useful,
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
## GNU General Public License for more details.
|
|
##
|
|
## You should have received a copy of the GNU General Public License
|
|
## along with this program; see the file COPYING. If not, write to
|
|
## the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
## Boston, MA 02111-1307, USA.
|
|
|
|
BUILT_SOURCES =
|
|
MOSTLYCLEANFILES =
|
|
EXTRA_DIST =
|
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
DEFS = -DHAVE_CONFIG_H="<$(CONFIG_H)>" -DLTDL
|
|
AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) \
|
|
-I.. -I$(srcdir)/..
|
|
AM_LDFLAGS = -no-undefined -module -avoid-version -export-dynamic
|
|
|
|
pkgincludedir = $(includedir)/libltdl
|
|
|
|
|
|
## The loaders are preopened by libltdl, itself always built from
|
|
## pic-objects (either as a shared library, or a convenience library),
|
|
## so the loaders themselves must be made from pic-objects too. We
|
|
## use convenience libraries for that purpose:
|
|
noinst_LTLIBRARIES = $(LT_DLLOADERS)
|
|
EXTRA_LTLIBRARIES = dlopen.la dld_link.la dyld.la load_add_on.la \
|
|
loadlibrary.la shl_load.la
|
|
|
|
## Build loaders (other than preopen) as modules:
|
|
dlopen_la_LIBADD = ../libdlloader.la $(LIBADD_DLOPEN)
|
|
shl_load_la_LIBADD = ../libdlloader.la $(LIBADD_SHL_LOAD)
|
|
dyld_la_LIBADD = ../libdlloader.la
|
|
load_add_on_la_LIBADD = ../libdlloader.la
|
|
loadlibrary_la_LIBADD = ../libdlloader.la
|
|
dld_link_la_LIBADD = ../libdlloader.la -ldld
|
|
|
|
|
|
## These are installed as a subdirectory of pkgdatadir so that
|
|
## libtoolize --ltdl can find them later:
|
|
ltdldatadir = $(pkgvdatadir)/libltdl/loaders
|
|
ltdldata_DATA = Makefile.am dld_link.c dlopen.c dyld.c \
|
|
load_add_on.c loadlibrary.c shl_load.c
|
|
|
|
../libdlloader.la:
|
|
cd ..; $(MAKE) $(AM_MAKEFLAGS) libdlloader.la
|